@@ -69,6 +69,7 @@ var ResizeObserver = { render: function render() {
69
69
var object = document . createElement ( 'object' ) ;
70
70
this . _resizeObject = object ;
71
71
object . setAttribute ( 'style' , 'display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;' ) ;
72
+ object . setAttribute ( 'aria-hidden' , 'true' ) ;
72
73
object . onload = this . addResizeHandlers ;
73
74
object . type = 'text/html' ;
74
75
if ( isIE ) {
@@ -94,21 +95,21 @@ function install(Vue) {
94
95
/* You shouldn't have to modify the code below */
95
96
96
97
// Plugin
97
- var plugin$2 = {
98
+ var plugin = {
98
99
// eslint-disable-next-line no-undef
99
- version : "0.4.2 " ,
100
+ version : "0.4.3 " ,
100
101
install : install
101
102
} ;
102
103
103
104
// Auto-install
104
- var GlobalVue$1 = null ;
105
+ var GlobalVue = null ;
105
106
if ( typeof window !== 'undefined' ) {
106
- GlobalVue$1 = window . Vue ;
107
+ GlobalVue = window . Vue ;
107
108
} else if ( typeof global !== 'undefined' ) {
108
- GlobalVue$1 = global . Vue ;
109
+ GlobalVue = global . Vue ;
109
110
}
110
- if ( GlobalVue$1 ) {
111
- GlobalVue$1 . use ( plugin$2 ) ;
111
+ if ( GlobalVue ) {
112
+ GlobalVue . use ( plugin ) ;
112
113
}
113
114
114
115
function throwValueError ( value ) {
@@ -163,30 +164,32 @@ function install$1(Vue) {
163
164
/* You shouldn't have to modify the code below */
164
165
165
166
// Plugin
166
- var plugin$4 = {
167
+ var plugin$2 = {
167
168
// eslint-disable-next-line no-undef
168
169
version : "0.3.1" ,
169
170
install : install$1
170
171
} ;
171
172
172
173
// Auto-install
173
- var GlobalVue$2 = null ;
174
+ var GlobalVue$1 = null ;
174
175
if ( typeof window !== 'undefined' ) {
175
- GlobalVue$2 = window . Vue ;
176
+ GlobalVue$1 = window . Vue ;
176
177
} else if ( typeof global !== 'undefined' ) {
177
- GlobalVue$2 = global . Vue ;
178
+ GlobalVue$1 = global . Vue ;
178
179
}
179
- if ( GlobalVue$2 ) {
180
- GlobalVue$2 . use ( plugin$4 ) ;
180
+ if ( GlobalVue$1 ) {
181
+ GlobalVue$1 . use ( plugin$2 ) ;
181
182
}
182
183
183
184
var VirtualScroller = { render : function render ( ) {
184
- var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ; return _c ( _vm . mainTag , { directives : [ { name : "observe-visibility" , rawName : "v-observe-visibility" , value : _vm . handleVisibilityChange , expression : "handleVisibilityChange" } ] , tag : "component" , staticClass : "virtual-scroller" , class : _vm . cssClass , on : { "scroll" : _vm . handleScroll } } , [ _vm . _t ( "before-container" , [ _c ( _vm . containerTag , { ref : "itemContainer" , tag : "component" , staticClass : "item-container" , class : _vm . containerClass , style : _vm . itemContainerStyle } , [ _vm . _t ( "before-content" , [ _c ( _vm . contentTag , { ref : "items" , tag : "component" , staticClass : "items" , class : _vm . contentClass , style : _vm . itemsStyle } , [ _vm . renderers ? _vm . _l ( _vm . visibleItems , function ( item , index ) {
185
- return _c ( _vm . renderers [ item [ _vm . typeField ] ] , { key : _vm . keysEnabled && item [ _vm . keyField ] || '' , tag : "component" , staticClass : "item" , attrs : { "item" : item , "item-index" : _vm . _startIndex + index } } ) ;
185
+ var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ; return _c ( _vm . mainTag , { directives : [ { name : "observe-visibility" , rawName : "v-observe-visibility" , value : _vm . handleVisibilityChange , expression : "handleVisibilityChange" } ] , tag : "component" , staticClass : "virtual-scroller" , class : _vm . cssClass , on : { "&scroll" : function scroll ( $event ) {
186
+ _vm . handleScroll ( $event ) ;
187
+ } } } , [ _vm . _t ( "before-container" ) , _vm . _v ( " " ) , _c ( _vm . containerTag , { ref : "itemContainer" , tag : "component" , staticClass : "item-container" , class : _vm . containerClass , style : _vm . itemContainerStyle } , [ _vm . _t ( "before-content" ) , _vm . _v ( " " ) , _c ( _vm . contentTag , { ref : "items" , tag : "component" , staticClass : "items" , class : _vm . contentClass , style : _vm . itemsStyle } , [ _vm . renderers ? _vm . _l ( _vm . visibleItems , function ( item , index ) {
188
+ return _c ( _vm . renderers [ item [ _vm . typeField ] ] , { key : _vm . keysEnabled && item [ _vm . keyField ] || undefined , tag : "component" , staticClass : "item" , attrs : { "item" : item , "item-index" : _vm . _startIndex + index } } ) ;
186
189
} ) : [ _vm . _l ( _vm . visibleItems , function ( item , index ) {
187
- return _vm . _t ( "default" , null , { item : item , itemIndex : _vm . _startIndex + index , itemKey : _vm . keysEnabled && item [ _vm . keyField ] || '' } ) ;
188
- } ) ] ] , 2 ) , _vm . _v ( " " ) , _vm . _t ( "after-content" ) ] ) ] , 2 ) , _vm . _v ( " " ) , _vm . _t ( "after-container" , [ _c ( 'resize-observer' , { on : { "notify" : _vm . handleResize } } ) ] ) ] ) ] , 2 ) ;
189
- } , staticRenderFns : [ ] , _scopeId : 'data-v-2b1f2e05 ' ,
190
+ return _vm . _t ( "default" , null , { item : item , itemIndex : _vm . _startIndex + index , itemKey : _vm . keysEnabled && item [ _vm . keyField ] || undefined } ) ;
191
+ } ) ] ] , 2 ) , _vm . _v ( " " ) , _vm . _t ( "after-content" ) ] , 2 ) , _vm . _v ( " " ) , _vm . _t ( "after-container" ) , _vm . _v ( " " ) , _c ( 'resize-observer' , { on : { "notify" : _vm . handleResize } } ) ] , 2 ) ;
192
+ } , staticRenderFns : [ ] , _scopeId : 'data-v-727d6836 ' ,
190
193
name : 'virtual-scroller' ,
191
194
192
195
components : {
@@ -556,9 +559,9 @@ function registerComponents(Vue, prefix) {
556
559
Vue . component ( prefix + 'virtual-scroller' , VirtualScroller ) ;
557
560
}
558
561
559
- var plugin = {
562
+ var plugin$4 = {
560
563
// eslint-disable-next-line no-undef
561
- version : "0.10.6 " ,
564
+ version : "0.10.8 " ,
562
565
install : function install ( Vue , options ) {
563
566
var finalOptions = Object . assign ( { } , {
564
567
installComponents : true ,
@@ -572,15 +575,15 @@ var plugin = {
572
575
} ;
573
576
574
577
// Auto-install
575
- var GlobalVue = null ;
578
+ var GlobalVue$2 = null ;
576
579
if ( typeof window !== 'undefined' ) {
577
- GlobalVue = window . Vue ;
580
+ GlobalVue$2 = window . Vue ;
578
581
} else if ( typeof global !== 'undefined' ) {
579
- GlobalVue = global . Vue ;
582
+ GlobalVue$2 = global . Vue ;
580
583
}
581
- if ( GlobalVue ) {
582
- GlobalVue . use ( plugin ) ;
584
+ if ( GlobalVue$2 ) {
585
+ GlobalVue$2 . use ( plugin$4 ) ;
583
586
}
584
587
588
+ export default plugin$4 ;
585
589
export { VirtualScroller } ;
586
- export default plugin ;
0 commit comments