@@ -22,7 +22,7 @@ import type { OptionChanged } from '@ts/core/widget/types';
2222import type { SwipeEndEvent , SwipeStartEvent , SwipeUpdateEvent } from '@ts/events/m_swipe' ;
2323import type { DataChange , ItemRenderInfo } from '@ts/ui/collection/collection_widget.base' ;
2424
25- import { _translator , animation } from './m_multi_view .animation' ;
25+ import { _translator , animation } from './multi_view .animation' ;
2626
2727// STYLE multiView
2828
@@ -109,12 +109,10 @@ class MultiView<
109109 ] ) ;
110110 }
111111
112- // eslint-disable-next-line class-methods-use-this
113112 _itemClass ( ) : string {
114113 return MULTIVIEW_ITEM_CLASS ;
115114 }
116115
117- // eslint-disable-next-line class-methods-use-this
118116 _itemDataKey ( ) : string {
119117 return MULTIVIEW_ITEM_DATA_KEY ;
120118 }
@@ -156,7 +154,7 @@ class MultiView<
156154 let normalizedIndex = index ;
157155
158156 if ( this . _isAllItemsHidden ( ) ) {
159- return ;
157+ return undefined ;
160158 }
161159
162160 if ( index < 0 ) {
@@ -308,7 +306,6 @@ class MultiView<
308306 } ) ;
309307 }
310308
311- // eslint-disable-next-line class-methods-use-this
312309 _getElementAria ( ) : Record < string , string > {
313310 return {
314311 role : 'group' ,
@@ -336,7 +333,6 @@ class MultiView<
336333 } ) ;
337334 }
338335
339- // eslint-disable-next-line class-methods-use-this
340336 _getItemAria ( args : {
341337 itemIndex : number ;
342338 itemsCount : number ;
@@ -423,7 +419,6 @@ class MultiView<
423419 this . _updateItemsVisibility ( selectedIndex ) ;
424420 }
425421
426- // eslint-disable-next-line class-methods-use-this
427422 _setAriaSelectionAttribute ( ) : void { }
428423
429424 _updateSelection ( addedSelection : number [ ] , removedSelection : number [ ] ) : void {
@@ -584,7 +579,7 @@ class MultiView<
584579 return index ;
585580 }
586581
587- // eslint-disable-next-line @typescript-eslint/no-unused-vars,class-methods-use-this
582+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
588583 _postprocessSwipe ( args : { swipedTabsIndex : number } ) : void { }
589584
590585 _swipeEndHandler ( e : SwipeEndEvent [ 'event' ] ) : void {
0 commit comments