vue-announcer
Advanced tools
Comparing version
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/vue-a11y/vue-announcer/compare/v1.0.0...v1.0.1) (2018-05-22) | ||
<a name="1.0.0"></a> | ||
@@ -7,0 +12,0 @@ # [1.0.0](https://github.com/vue-a11y/vue-announcer/compare/v0.1.1...v1.0.0) (2018-05-22) |
@@ -1,1 +0,1 @@ | ||
define(function(){'use strict';var a={name:'VueAnnouncer',data:function a(){return{content:''}},created:function a(){this.$announcer.data=this.$data}},b=a,c=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c("div",{staticClass:"announcer",attrs:{id:"announcer","aria-live":"polite","aria-atomic":"true"},domProps:{textContent:a._s(a.content)}})},d=[];c._withStripped=!0;var e=typeof c!=='undefined'?{render:c,staticRenderFns:d}:{},f=function(a){if(!a){return}a("data-v-81147d56_0",{source:"\n.announcer[data-v-81147d56] {\r\n position: absolute;\r\n left: -10000px;\r\n top: auto;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\n}\r\n",map:undefined,media:undefined})},g="data-v-81147d56",i=undefined,j=!1;function k(a,b,c,d,e,f,g,i){var j=c||{};{j.__file="D:\\Work\\Projetos\\Open-source\\Github\\Organization\\vue-a11y\\repositories\\vue-a11y-announcer\\src\\vue-announcer.vue"};j.render||(j.render=a.render,j.staticRenderFns=a.staticRenderFns,j._compiled=!0,e&&(j.functional=!0));j._scopeId=d;{var k;b&&(k=function(a){b.call(this,g(a))});if(k!==undefined){if(j.functional){var l=j.render;j.render=function c(a,b){k.call(b);return l(a,b)}}else{var m=j.beforeCreate;j.beforeCreate=m?[].concat(m,k):[k]}}};return j}function l(){var a=document.head||document.getElementsByTagName('head')[0],b=l.styles||(l.styles={}),c=typeof navigator!=='undefined'&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function f(d,e){if(document.querySelector('style[data-vue-ssr-id~="'+d+'"]')){return}var g=c?e.media||'default':d,h=b[g]||(b[g]={ids:[],parts:[],element:undefined});if(!h.ids.includes(d)){var i=e.source,j=h.ids.length;h.ids.push(d);c&&(h.element=h.element||document.querySelector('style[data-group='+g+']'));if(!h.element){var k=h.element=document.createElement('style');k.type='text/css';e.media&&k.setAttribute('media',e.media);c&&(k.setAttribute('data-group',g),k.setAttribute('data-next-index','0'));a.appendChild(k)}c&&(j=parseInt(h.element.getAttribute('data-next-index')),h.element.setAttribute('data-next-index',j+1));if(h.element.styleSheet)h.parts.push(i),h.element.styleSheet.cssText=h.parts.filter(Boolean).join('\n');else{var l=document.createTextNode(i),m=h.element.childNodes;m[j]&&h.element.removeChild(m[j]);m.length?h.element.insertBefore(l,m[j]):h.element.appendChild(l)}}}}var m=k(e,f,typeof b==='undefined'?{}:b,g,j,i,typeof l!=='undefined'?l:function(){},typeof __vue_create_injector_ssr__!=='undefined'?__vue_create_injector_ssr__:function(){}),n={complementRoute:'has loaded'};function o(a,b,c){b===void 0&&(b={});c===void 0&&(c=null);b=Object.assign({},b,n);a.component('VueAnnouncer',m);a.prototype.$announcer={set:function c(b){var d=this;this.data&&(this.data.content='',a.nextTick().then(function(){d.data.content=b}))},data:null};c&&c.afterEach(function(c){a.prototype.$announcer.set(((c.meta.announcer||document.title.trim())+" "+b.complementRoute))})}typeof window!=='undefined'&&typeof window.Vue!=='undefined'&&window.Vue.use(o);return o}) | ||
define(function(){'use strict';var a={name:'VueAnnouncer',data:function a(){return{content:''}},created:function a(){this.$announcer.data=this.$data}},b=a,c=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c('div',{staticClass:"announcer",attrs:{"id":"announcer","aria-live":"polite","aria-atomic":"true"},domProps:{"textContent":a._s(a.content)}})},d=[],e=typeof c!=='undefined'?{render:c,staticRenderFns:d}:{},f=function(a){if(!a){return}a("data-v-d2ab3a3c_0",{source:"\n.announcer[data-v-d2ab3a3c]{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden\n}",map:undefined,media:undefined})},g="data-v-d2ab3a3c",i=undefined,j=!1;function k(a,b,c,d,e,f,g,i){var j=c||{};j.render||(j.render=a.render,j.staticRenderFns=a.staticRenderFns,j._compiled=!0,e&&(j.functional=!0));j._scopeId=d;{var k;b&&(k=function(a){b.call(this,g(a))});if(k!==undefined){if(j.functional){var l=j.render;j.render=function c(a,b){k.call(b);return l(a,b)}}else{var m=j.beforeCreate;j.beforeCreate=m?[].concat(m,k):[k]}}};return j}function l(){var a=document.head||document.getElementsByTagName('head')[0],b=l.styles||(l.styles={}),c=typeof navigator!=='undefined'&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function f(d,e){if(document.querySelector('style[data-vue-ssr-id~="'+d+'"]')){return}var g=c?e.media||'default':d,h=b[g]||(b[g]={ids:[],parts:[],element:undefined});if(!h.ids.includes(d)){var i=e.source,j=h.ids.length;h.ids.push(d);e.map&&(i+='\n/*# sourceURL='+e.map.sources[0]+' */',i+='\n/*# sourceMappingURL=data:application/json;base64,'+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+' */');c&&(h.element=h.element||document.querySelector('style[data-group='+g+']'));if(!h.element){var k=h.element=document.createElement('style');k.type='text/css';e.media&&k.setAttribute('media',e.media);c&&(k.setAttribute('data-group',g),k.setAttribute('data-next-index','0'));a.appendChild(k)}c&&(j=parseInt(h.element.getAttribute('data-next-index')),h.element.setAttribute('data-next-index',j+1));if(h.element.styleSheet)h.parts.push(i),h.element.styleSheet.cssText=h.parts.filter(Boolean).join('\n');else{var l=document.createTextNode(i),m=h.element.childNodes;m[j]&&h.element.removeChild(m[j]);m.length?h.element.insertBefore(l,m[j]):h.element.appendChild(l)}}}}var m=k(e,f,typeof b==='undefined'?{}:b,g,j,i,typeof l!=='undefined'?l:function(){},typeof __vue_create_injector_ssr__!=='undefined'?__vue_create_injector_ssr__:function(){}),n={complementRoute:'has loaded'};function o(a,b,c){b===void 0&&(b={});c===void 0&&(c=null);b=Object.assign({},b,n);a.component('VueAnnouncer',m);a.prototype.$announcer={set:function c(b){var d=this;this.data&&(this.data.content='',a.nextTick().then(function(){d.data.content=b}))},data:null};c&&c.afterEach(function(c){a.prototype.$announcer.set(((c.meta.announcer||document.title.trim())+" "+b.complementRoute))})}typeof window!=='undefined'&&typeof window.Vue!=='undefined'&&window.Vue.use(o);return o}) |
@@ -1,1 +0,1 @@ | ||
'use strict';var script={name:'VueAnnouncer',data:function a(){return{content:''}},created:function a(){this.$announcer.data=this.$data}},__vue_script__=script,__vue_render__=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c("div",{staticClass:"announcer",attrs:{id:"announcer","aria-live":"polite","aria-atomic":"true"},domProps:{textContent:a._s(a.content)}})},__vue_staticRenderFns__=[];__vue_render__._withStripped=!0;var __vue_template__=typeof __vue_render__!=='undefined'?{render:__vue_render__,staticRenderFns:__vue_staticRenderFns__}:{},__vue_inject_styles__=function(a){if(!a){return}a("data-v-81147d56_0",{source:"\n.announcer[data-v-81147d56] {\r\n position: absolute;\r\n left: -10000px;\r\n top: auto;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\n}\r\n",map:undefined,media:undefined})},__vue_scope_id__="data-v-81147d56",__vue_module_identifier__=undefined,__vue_is_functional_template__=!1;function __vue_normalize__(a,b,c,d,e,f,g,i){var j=c||{};{j.__file="D:\\Work\\Projetos\\Open-source\\Github\\Organization\\vue-a11y\\repositories\\vue-a11y-announcer\\src\\vue-announcer.vue"};j.render||(j.render=a.render,j.staticRenderFns=a.staticRenderFns,j._compiled=!0,e&&(j.functional=!0));j._scopeId=d;{var k;b&&(k=function(a){b.call(this,g(a))});if(k!==undefined){if(j.functional){var l=j.render;j.render=function c(a,b){k.call(b);return l(a,b)}}else{var m=j.beforeCreate;j.beforeCreate=m?[].concat(m,k):[k]}}};return j}function __vue_create_injector__(){var a=document.head||document.getElementsByTagName('head')[0],b=__vue_create_injector__.styles||(__vue_create_injector__.styles={}),c=typeof navigator!=='undefined'&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function f(d,e){if(document.querySelector('style[data-vue-ssr-id~="'+d+'"]')){return}var g=c?e.media||'default':d,h=b[g]||(b[g]={ids:[],parts:[],element:undefined});if(!h.ids.includes(d)){var i=e.source,j=h.ids.length;h.ids.push(d);c&&(h.element=h.element||document.querySelector('style[data-group='+g+']'));if(!h.element){var k=h.element=document.createElement('style');k.type='text/css';e.media&&k.setAttribute('media',e.media);c&&(k.setAttribute('data-group',g),k.setAttribute('data-next-index','0'));a.appendChild(k)}c&&(j=parseInt(h.element.getAttribute('data-next-index')),h.element.setAttribute('data-next-index',j+1));if(h.element.styleSheet)h.parts.push(i),h.element.styleSheet.cssText=h.parts.filter(Boolean).join('\n');else{var l=document.createTextNode(i),m=h.element.childNodes;m[j]&&h.element.removeChild(m[j]);m.length?h.element.insertBefore(l,m[j]):h.element.appendChild(l)}}}}var VueAnnouncer=__vue_normalize__(__vue_template__,__vue_inject_styles__,typeof __vue_script__==='undefined'?{}:__vue_script__,__vue_scope_id__,__vue_is_functional_template__,__vue_module_identifier__,typeof __vue_create_injector__!=='undefined'?__vue_create_injector__:function(){},typeof __vue_create_injector_ssr__!=='undefined'?__vue_create_injector_ssr__:function(){}),OPTIONS={complementRoute:'has loaded'};function install(a,b,c){b===void 0&&(b={});c===void 0&&(c=null);b=Object.assign({},b,OPTIONS);a.component('VueAnnouncer',VueAnnouncer);a.prototype.$announcer={set:function c(b){var d=this;this.data&&(this.data.content='',a.nextTick().then(function(){d.data.content=b}))},data:null};c&&c.afterEach(function(c){a.prototype.$announcer.set(((c.meta.announcer||document.title.trim())+" "+b.complementRoute))})}typeof window!=='undefined'&&typeof window.Vue!=='undefined'&&window.Vue.use(install);module.exports=install | ||
'use strict';var script={name:'VueAnnouncer',data:function a(){return{content:''}},created:function a(){this.$announcer.data=this.$data}},__vue_script__=script,__vue_render__=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c('div',{staticClass:"announcer",attrs:{"id":"announcer","aria-live":"polite","aria-atomic":"true"},domProps:{"textContent":a._s(a.content)}})},__vue_staticRenderFns__=[],__vue_template__=typeof __vue_render__!=='undefined'?{render:__vue_render__,staticRenderFns:__vue_staticRenderFns__}:{},__vue_inject_styles__=function(a){if(!a){return}a("data-v-d2ab3a3c_0",{source:"\n.announcer[data-v-d2ab3a3c]{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden\n}",map:undefined,media:undefined})},__vue_scope_id__="data-v-d2ab3a3c",__vue_module_identifier__=undefined,__vue_is_functional_template__=!1;function __vue_normalize__(a,b,c,d,e,f,g,i){var j=c||{};j.render||(j.render=a.render,j.staticRenderFns=a.staticRenderFns,j._compiled=!0,e&&(j.functional=!0));j._scopeId=d;{var k;b&&(k=function(a){b.call(this,g(a))});if(k!==undefined){if(j.functional){var l=j.render;j.render=function c(a,b){k.call(b);return l(a,b)}}else{var m=j.beforeCreate;j.beforeCreate=m?[].concat(m,k):[k]}}};return j}function __vue_create_injector__(){var a=document.head||document.getElementsByTagName('head')[0],b=__vue_create_injector__.styles||(__vue_create_injector__.styles={}),c=typeof navigator!=='undefined'&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function f(d,e){if(document.querySelector('style[data-vue-ssr-id~="'+d+'"]')){return}var g=c?e.media||'default':d,h=b[g]||(b[g]={ids:[],parts:[],element:undefined});if(!h.ids.includes(d)){var i=e.source,j=h.ids.length;h.ids.push(d);e.map&&(i+='\n/*# sourceURL='+e.map.sources[0]+' */',i+='\n/*# sourceMappingURL=data:application/json;base64,'+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+' */');c&&(h.element=h.element||document.querySelector('style[data-group='+g+']'));if(!h.element){var k=h.element=document.createElement('style');k.type='text/css';e.media&&k.setAttribute('media',e.media);c&&(k.setAttribute('data-group',g),k.setAttribute('data-next-index','0'));a.appendChild(k)}c&&(j=parseInt(h.element.getAttribute('data-next-index')),h.element.setAttribute('data-next-index',j+1));if(h.element.styleSheet)h.parts.push(i),h.element.styleSheet.cssText=h.parts.filter(Boolean).join('\n');else{var l=document.createTextNode(i),m=h.element.childNodes;m[j]&&h.element.removeChild(m[j]);m.length?h.element.insertBefore(l,m[j]):h.element.appendChild(l)}}}}var VueAnnouncer=__vue_normalize__(__vue_template__,__vue_inject_styles__,typeof __vue_script__==='undefined'?{}:__vue_script__,__vue_scope_id__,__vue_is_functional_template__,__vue_module_identifier__,typeof __vue_create_injector__!=='undefined'?__vue_create_injector__:function(){},typeof __vue_create_injector_ssr__!=='undefined'?__vue_create_injector_ssr__:function(){}),OPTIONS={complementRoute:'has loaded'};function install(a,b,c){b===void 0&&(b={});c===void 0&&(c=null);b=Object.assign({},b,OPTIONS);a.component('VueAnnouncer',VueAnnouncer);a.prototype.$announcer={set:function c(b){var d=this;this.data&&(this.data.content='',a.nextTick().then(function(){d.data.content=b}))},data:null};c&&c.afterEach(function(c){a.prototype.$announcer.set(((c.meta.announcer||document.title.trim())+" "+b.complementRoute))})}typeof window!=='undefined'&&typeof window.Vue!=='undefined'&&window.Vue.use(install);module.exports=install |
@@ -1,1 +0,1 @@ | ||
var script={name:'VueAnnouncer',data:function a(){return{content:''}},created:function a(){this.$announcer.data=this.$data}},__vue_script__=script,__vue_render__=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c("div",{staticClass:"announcer",attrs:{id:"announcer","aria-live":"polite","aria-atomic":"true"},domProps:{textContent:a._s(a.content)}})},__vue_staticRenderFns__=[];__vue_render__._withStripped=!0;var __vue_template__=typeof __vue_render__!=='undefined'?{render:__vue_render__,staticRenderFns:__vue_staticRenderFns__}:{},__vue_inject_styles__=function(a){if(!a){return}a("data-v-81147d56_0",{source:"\n.announcer[data-v-81147d56] {\r\n position: absolute;\r\n left: -10000px;\r\n top: auto;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\n}\r\n",map:undefined,media:undefined})},__vue_scope_id__="data-v-81147d56",__vue_module_identifier__=undefined,__vue_is_functional_template__=!1;function __vue_normalize__(a,b,c,d,e,f,g,i){var j=c||{};{j.__file="D:\\Work\\Projetos\\Open-source\\Github\\Organization\\vue-a11y\\repositories\\vue-a11y-announcer\\src\\vue-announcer.vue"};j.render||(j.render=a.render,j.staticRenderFns=a.staticRenderFns,j._compiled=!0,e&&(j.functional=!0));j._scopeId=d;{var k;b&&(k=function(a){b.call(this,g(a))});if(k!==undefined){if(j.functional){var l=j.render;j.render=function c(a,b){k.call(b);return l(a,b)}}else{var m=j.beforeCreate;j.beforeCreate=m?[].concat(m,k):[k]}}};return j}function __vue_create_injector__(){var a=document.head||document.getElementsByTagName('head')[0],b=__vue_create_injector__.styles||(__vue_create_injector__.styles={}),c=typeof navigator!=='undefined'&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function f(d,e){if(document.querySelector('style[data-vue-ssr-id~="'+d+'"]')){return}var g=c?e.media||'default':d,h=b[g]||(b[g]={ids:[],parts:[],element:undefined});if(!h.ids.includes(d)){var i=e.source,j=h.ids.length;h.ids.push(d);c&&(h.element=h.element||document.querySelector('style[data-group='+g+']'));if(!h.element){var k=h.element=document.createElement('style');k.type='text/css';e.media&&k.setAttribute('media',e.media);c&&(k.setAttribute('data-group',g),k.setAttribute('data-next-index','0'));a.appendChild(k)}c&&(j=parseInt(h.element.getAttribute('data-next-index')),h.element.setAttribute('data-next-index',j+1));if(h.element.styleSheet)h.parts.push(i),h.element.styleSheet.cssText=h.parts.filter(Boolean).join('\n');else{var l=document.createTextNode(i),m=h.element.childNodes;m[j]&&h.element.removeChild(m[j]);m.length?h.element.insertBefore(l,m[j]):h.element.appendChild(l)}}}}var VueAnnouncer=__vue_normalize__(__vue_template__,__vue_inject_styles__,typeof __vue_script__==='undefined'?{}:__vue_script__,__vue_scope_id__,__vue_is_functional_template__,__vue_module_identifier__,typeof __vue_create_injector__!=='undefined'?__vue_create_injector__:function(){},typeof __vue_create_injector_ssr__!=='undefined'?__vue_create_injector_ssr__:function(){}),OPTIONS={complementRoute:'has loaded'};function install(a,b,c){b===void 0&&(b={});c===void 0&&(c=null);b=Object.assign({},b,OPTIONS);a.component('VueAnnouncer',VueAnnouncer);a.prototype.$announcer={set:function c(b){var d=this;this.data&&(this.data.content='',a.nextTick().then(function(){d.data.content=b}))},data:null};c&&c.afterEach(function(c){a.prototype.$announcer.set(((c.meta.announcer||document.title.trim())+" "+b.complementRoute))})}typeof window!=='undefined'&&typeof window.Vue!=='undefined'&&window.Vue.use(install);export default install | ||
var script={name:'VueAnnouncer',data:function a(){return{content:''}},created:function a(){this.$announcer.data=this.$data}},__vue_script__=script,__vue_render__=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c('div',{staticClass:"announcer",attrs:{"id":"announcer","aria-live":"polite","aria-atomic":"true"},domProps:{"textContent":a._s(a.content)}})},__vue_staticRenderFns__=[],__vue_template__=typeof __vue_render__!=='undefined'?{render:__vue_render__,staticRenderFns:__vue_staticRenderFns__}:{},__vue_inject_styles__=function(a){if(!a){return}a("data-v-d2ab3a3c_0",{source:"\n.announcer[data-v-d2ab3a3c]{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden\n}",map:undefined,media:undefined})},__vue_scope_id__="data-v-d2ab3a3c",__vue_module_identifier__=undefined,__vue_is_functional_template__=!1;function __vue_normalize__(a,b,c,d,e,f,g,i){var j=c||{};j.render||(j.render=a.render,j.staticRenderFns=a.staticRenderFns,j._compiled=!0,e&&(j.functional=!0));j._scopeId=d;{var k;b&&(k=function(a){b.call(this,g(a))});if(k!==undefined){if(j.functional){var l=j.render;j.render=function c(a,b){k.call(b);return l(a,b)}}else{var m=j.beforeCreate;j.beforeCreate=m?[].concat(m,k):[k]}}};return j}function __vue_create_injector__(){var a=document.head||document.getElementsByTagName('head')[0],b=__vue_create_injector__.styles||(__vue_create_injector__.styles={}),c=typeof navigator!=='undefined'&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function f(d,e){if(document.querySelector('style[data-vue-ssr-id~="'+d+'"]')){return}var g=c?e.media||'default':d,h=b[g]||(b[g]={ids:[],parts:[],element:undefined});if(!h.ids.includes(d)){var i=e.source,j=h.ids.length;h.ids.push(d);e.map&&(i+='\n/*# sourceURL='+e.map.sources[0]+' */',i+='\n/*# sourceMappingURL=data:application/json;base64,'+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+' */');c&&(h.element=h.element||document.querySelector('style[data-group='+g+']'));if(!h.element){var k=h.element=document.createElement('style');k.type='text/css';e.media&&k.setAttribute('media',e.media);c&&(k.setAttribute('data-group',g),k.setAttribute('data-next-index','0'));a.appendChild(k)}c&&(j=parseInt(h.element.getAttribute('data-next-index')),h.element.setAttribute('data-next-index',j+1));if(h.element.styleSheet)h.parts.push(i),h.element.styleSheet.cssText=h.parts.filter(Boolean).join('\n');else{var l=document.createTextNode(i),m=h.element.childNodes;m[j]&&h.element.removeChild(m[j]);m.length?h.element.insertBefore(l,m[j]):h.element.appendChild(l)}}}}var VueAnnouncer=__vue_normalize__(__vue_template__,__vue_inject_styles__,typeof __vue_script__==='undefined'?{}:__vue_script__,__vue_scope_id__,__vue_is_functional_template__,__vue_module_identifier__,typeof __vue_create_injector__!=='undefined'?__vue_create_injector__:function(){},typeof __vue_create_injector_ssr__!=='undefined'?__vue_create_injector_ssr__:function(){}),OPTIONS={complementRoute:'has loaded'};function install(a,b,c){b===void 0&&(b={});c===void 0&&(c=null);b=Object.assign({},b,OPTIONS);a.component('VueAnnouncer',VueAnnouncer);a.prototype.$announcer={set:function c(b){var d=this;this.data&&(this.data.content='',a.nextTick().then(function(){d.data.content=b}))},data:null};c&&c.afterEach(function(c){a.prototype.$announcer.set(((c.meta.announcer||document.title.trim())+" "+b.complementRoute))})}typeof window!=='undefined'&&typeof window.Vue!=='undefined'&&window.Vue.use(install);export default install |
@@ -1,1 +0,1 @@ | ||
!function(a,b){typeof exports==='object'&&typeof module!=='undefined'?module.exports=b():typeof define==='function'&&define.amd?define(b):(a.VueAnnouncer=b())}(this,(function(){'use strict';var a={name:'VueAnnouncer',data:function a(){return{content:''}},created:function a(){this.$announcer.data=this.$data}},b=a,c=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c("div",{staticClass:"announcer",attrs:{id:"announcer","aria-live":"polite","aria-atomic":"true"},domProps:{textContent:a._s(a.content)}})},d=[];c._withStripped=!0;var e=typeof c!=='undefined'?{render:c,staticRenderFns:d}:{},f=function(a){if(!a){return}a("data-v-81147d56_0",{source:"\n.announcer[data-v-81147d56] {\r\n position: absolute;\r\n left: -10000px;\r\n top: auto;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\n}\r\n",map:undefined,media:undefined})},g="data-v-81147d56",i=undefined,j=!1;function k(a,b,c,d,e,f,g,i){var j=c||{};{j.__file="D:\\Work\\Projetos\\Open-source\\Github\\Organization\\vue-a11y\\repositories\\vue-a11y-announcer\\src\\vue-announcer.vue"};j.render||(j.render=a.render,j.staticRenderFns=a.staticRenderFns,j._compiled=!0,e&&(j.functional=!0));j._scopeId=d;{var k;b&&(k=function(a){b.call(this,g(a))});if(k!==undefined){if(j.functional){var l=j.render;j.render=function c(a,b){k.call(b);return l(a,b)}}else{var m=j.beforeCreate;j.beforeCreate=m?[].concat(m,k):[k]}}};return j}function l(){var a=document.head||document.getElementsByTagName('head')[0],b=l.styles||(l.styles={}),c=typeof navigator!=='undefined'&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function f(d,e){if(document.querySelector('style[data-vue-ssr-id~="'+d+'"]')){return}var g=c?e.media||'default':d,h=b[g]||(b[g]={ids:[],parts:[],element:undefined});if(!h.ids.includes(d)){var i=e.source,j=h.ids.length;h.ids.push(d);c&&(h.element=h.element||document.querySelector('style[data-group='+g+']'));if(!h.element){var k=h.element=document.createElement('style');k.type='text/css';e.media&&k.setAttribute('media',e.media);c&&(k.setAttribute('data-group',g),k.setAttribute('data-next-index','0'));a.appendChild(k)}c&&(j=parseInt(h.element.getAttribute('data-next-index')),h.element.setAttribute('data-next-index',j+1));if(h.element.styleSheet)h.parts.push(i),h.element.styleSheet.cssText=h.parts.filter(Boolean).join('\n');else{var l=document.createTextNode(i),m=h.element.childNodes;m[j]&&h.element.removeChild(m[j]);m.length?h.element.insertBefore(l,m[j]):h.element.appendChild(l)}}}}var m=k(e,f,typeof b==='undefined'?{}:b,g,j,i,typeof l!=='undefined'?l:function(){},typeof __vue_create_injector_ssr__!=='undefined'?__vue_create_injector_ssr__:function(){}),n={complementRoute:'has loaded'};function o(a,b,c){b===void 0&&(b={});c===void 0&&(c=null);b=Object.assign({},b,n);a.component('VueAnnouncer',m);a.prototype.$announcer={set:function c(b){var d=this;this.data&&(this.data.content='',a.nextTick().then(function(){d.data.content=b}))},data:null};c&&c.afterEach(function(c){a.prototype.$announcer.set(((c.meta.announcer||document.title.trim())+" "+b.complementRoute))})}typeof window!=='undefined'&&typeof window.Vue!=='undefined'&&window.Vue.use(o);return o})) | ||
!function(a,b){typeof exports==='object'&&typeof module!=='undefined'?module.exports=b():typeof define==='function'&&define.amd?define(b):(a.VueAnnouncer=b())}(this,(function(){'use strict';var a={name:'VueAnnouncer',data:function a(){return{content:''}},created:function a(){this.$announcer.data=this.$data}},b=a,c=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c('div',{staticClass:"announcer",attrs:{"id":"announcer","aria-live":"polite","aria-atomic":"true"},domProps:{"textContent":a._s(a.content)}})},d=[],e=typeof c!=='undefined'?{render:c,staticRenderFns:d}:{},f=function(a){if(!a){return}a("data-v-d2ab3a3c_0",{source:"\n.announcer[data-v-d2ab3a3c]{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden\n}",map:undefined,media:undefined})},g="data-v-d2ab3a3c",i=undefined,j=!1;function k(a,b,c,d,e,f,g,i){var j=c||{};j.render||(j.render=a.render,j.staticRenderFns=a.staticRenderFns,j._compiled=!0,e&&(j.functional=!0));j._scopeId=d;{var k;b&&(k=function(a){b.call(this,g(a))});if(k!==undefined){if(j.functional){var l=j.render;j.render=function c(a,b){k.call(b);return l(a,b)}}else{var m=j.beforeCreate;j.beforeCreate=m?[].concat(m,k):[k]}}};return j}function l(){var a=document.head||document.getElementsByTagName('head')[0],b=l.styles||(l.styles={}),c=typeof navigator!=='undefined'&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function f(d,e){if(document.querySelector('style[data-vue-ssr-id~="'+d+'"]')){return}var g=c?e.media||'default':d,h=b[g]||(b[g]={ids:[],parts:[],element:undefined});if(!h.ids.includes(d)){var i=e.source,j=h.ids.length;h.ids.push(d);e.map&&(i+='\n/*# sourceURL='+e.map.sources[0]+' */',i+='\n/*# sourceMappingURL=data:application/json;base64,'+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+' */');c&&(h.element=h.element||document.querySelector('style[data-group='+g+']'));if(!h.element){var k=h.element=document.createElement('style');k.type='text/css';e.media&&k.setAttribute('media',e.media);c&&(k.setAttribute('data-group',g),k.setAttribute('data-next-index','0'));a.appendChild(k)}c&&(j=parseInt(h.element.getAttribute('data-next-index')),h.element.setAttribute('data-next-index',j+1));if(h.element.styleSheet)h.parts.push(i),h.element.styleSheet.cssText=h.parts.filter(Boolean).join('\n');else{var l=document.createTextNode(i),m=h.element.childNodes;m[j]&&h.element.removeChild(m[j]);m.length?h.element.insertBefore(l,m[j]):h.element.appendChild(l)}}}}var m=k(e,f,typeof b==='undefined'?{}:b,g,j,i,typeof l!=='undefined'?l:function(){},typeof __vue_create_injector_ssr__!=='undefined'?__vue_create_injector_ssr__:function(){}),n={complementRoute:'has loaded'};function o(a,b,c){b===void 0&&(b={});c===void 0&&(c=null);b=Object.assign({},b,n);a.component('VueAnnouncer',m);a.prototype.$announcer={set:function c(b){var d=this;this.data&&(this.data.content='',a.nextTick().then(function(){d.data.content=b}))},data:null};c&&c.afterEach(function(c){a.prototype.$announcer.set(((c.meta.announcer||document.title.trim())+" "+b.complementRoute))})}typeof window!=='undefined'&&typeof window.Vue!=='undefined'&&window.Vue.use(o);return o})) |
{ | ||
"name": "vue-announcer", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple way with Vue to announce any information to the screen readers.", | ||
@@ -8,3 +8,3 @@ "main": "dist/vue-announcer.js", | ||
"dev": "rollup --config rollup.config.dev.js --watch", | ||
"dist": "rollup --config rollup.config.prod.js", | ||
"dist": "rollup --config rollup.config.prod.js --environment NODE_ENV:production", | ||
"release": "standard-version", | ||
@@ -11,0 +11,0 @@ "test": "node_modules/.bin/cypress run", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
39366
0.05%0
-100%