@@ -91,7 +91,7 @@ class SchedulerAgenda extends WorkSpace {
9191 if ( this . _$groupTable ) {
9292 this . _$groupTable . remove ( ) ;
9393 this . _$groupTable = null ;
94- this . _detachGroupCountClass ( ) ;
94+ this . detachGroupCountClass ( ) ;
9595 }
9696 } else if ( ! this . _$groupTable ) {
9797 this . _initGroupTable ( ) ;
@@ -114,37 +114,37 @@ class SchedulerAgenda extends WorkSpace {
114114 return false ;
115115 }
116116
117- _isVerticalGroupedWorkSpace ( ) {
117+ protected override isVerticalGroupedWorkSpace ( ) {
118118 return false ;
119119 }
120120
121- _getElementClass ( ) {
121+ protected override getElementClass ( ) {
122122 return AGENDA_CLASS ;
123123 }
124124
125125 _calculateStartViewDate ( ) {
126126 return agendaUtils . calculateStartViewDate ( this . option ( 'currentDate' ) as any , this . option ( 'startDayHour' ) as any ) ;
127127 }
128128
129- _getRowCount ( ) {
129+ protected override getRowCount ( ) {
130130 return this . option ( 'agendaDuration' ) as number ;
131131 }
132132
133133 _getCellCount ( ) {
134134 return 1 ;
135135 }
136136
137- _getTimePanelRowCount ( ) {
137+ protected override getTimePanelRowCount ( ) {
138138 return this . option ( 'agendaDuration' ) as number ;
139139 }
140140
141- _renderAllDayPanel ( ) { return noop ( ) ; }
141+ protected override renderAllDayPanel ( ) { return noop ( ) ; }
142142
143- _updateAllDayVisibility ( ) { return noop ( ) ; }
143+ protected override updateAllDayVisibility ( ) { return noop ( ) ; }
144144
145145 _updateAllDayHeight ( ) { return noop ( ) ; }
146146
147- _initWorkSpaceUnits ( ) {
147+ protected override initWorkSpaceUnits ( ) {
148148 this . _initGroupTable ( ) ;
149149 this . _$timePanel = $ ( '<table>' ) . attr ( 'aria-hidden' , true ) . addClass ( TIME_PANEL_CLASS ) ;
150150 this . _$dateTable = $ ( '<table>' ) . attr ( 'aria-hidden' , true ) . addClass ( DATE_TABLE_CLASS ) ;
@@ -159,10 +159,10 @@ class SchedulerAgenda extends WorkSpace {
159159 }
160160 }
161161
162- _renderView ( ) {
162+ protected override renderView ( ) {
163163 this . _startViewDate = this . _calculateStartViewDate ( ) ;
164164 this . _rows = [ ] ;
165- this . _initPositionHelper ( ) ;
165+ this . initPositionHelper ( ) ;
166166 }
167167
168168 _recalculateAgenda ( rows ) {
@@ -176,14 +176,14 @@ class SchedulerAgenda extends WorkSpace {
176176 this . _rows = rows ;
177177
178178 if ( this . _$groupTable ) {
179- cellTemplates = this . _renderGroupHeader ( ) ;
179+ cellTemplates = this . renderGroupHeader ( ) ;
180180 this . _setGroupHeaderCellsHeight ( ) ;
181181 }
182182
183- this . _renderTimePanel ( ) ;
184- this . _renderDateTable ( ) ;
183+ this . renderTimePanel ( ) ;
184+ this . renderDateTable ( ) ;
185185 ( this . invoke as any ) ( 'onAgendaReady' , rows ) ;
186- this . _applyCellTemplates ( cellTemplates ) ;
186+ this . applyCellTemplates ( cellTemplates ) ;
187187 this . _dateTableScrollable . update ( ) ;
188188 }
189189
@@ -194,15 +194,15 @@ class SchedulerAgenda extends WorkSpace {
194194 this . _dateTableScrollable . $content ( ) . append ( this . _$noDataContainer ) ;
195195 }
196196
197- _setTableSizes ( ) { return noop ( ) ; }
197+ protected override setTableSizes ( ) { return noop ( ) ; }
198198
199- _toggleHorizontalScrollClass ( ) { return noop ( ) ; }
199+ protected override toggleHorizontalScrollClass ( ) { return noop ( ) ; }
200200
201201 // eslint-disable-next-line @typescript-eslint/no-unused-vars
202202 _createCrossScrollingConfig ( argument ?: any ) { return noop ( ) ; }
203203
204204 _setGroupHeaderCellsHeight ( ) {
205- const $cells = this . _getGroupHeaderCells ( ) . filter ( ( _ , element ) => ! element . getAttribute ( 'rowSpan' ) ) ;
205+ const $cells = this . getGroupHeaderCells ( ) . filter ( ( _ , element ) => ! element . getAttribute ( 'rowSpan' ) ) ;
206206 const rows = this . _removeEmptyRows ( this . _rows ) ;
207207
208208 if ( ! rows . length ) {
@@ -232,7 +232,7 @@ class SchedulerAgenda extends WorkSpace {
232232 return result ;
233233 }
234234
235- _attachGroupCountClass ( ) {
235+ protected override attachGroupCountClass ( ) {
236236 const className = getVerticalGroupCountClass ( this . option ( 'groups' ) ) ;
237237 ( this . $element ( ) as any ) . addClass ( className ) ;
238238 }
@@ -252,11 +252,11 @@ class SchedulerAgenda extends WorkSpace {
252252 return result ;
253253 }
254254
255- _getGroupHeaderContainer ( ) {
255+ protected override getGroupHeaderContainer ( ) {
256256 return this . _$groupTable ;
257257 }
258258
259- _makeGroupRows ( ) {
259+ protected override makeGroupRows ( ) {
260260 const resourceManager = this . option ( 'getResourceManager' ) ( ) ;
261261 const allAppointments = ( this . option ( 'getFilteredItems' ) as any ) ( ) ;
262262 const tree = reduceResourcesTree (
@@ -273,7 +273,7 @@ class SchedulerAgenda extends WorkSpace {
273273 cellTag : 'th' ,
274274 groupTableClass : GROUP_TABLE_CLASS ,
275275 groupRowClass : GROUP_ROW_CLASS ,
276- groupCellClass : this . _getGroupHeaderClass ( ) ,
276+ groupCellClass : this . getGroupHeaderClass ( ) ,
277277 groupCellCustomContent ( cell : HTMLDivElement , cellTextElement : HTMLElement , index : number , node : GroupNode ) {
278278 const container = domAdapter . createElement ( 'div' ) ;
279279 container . className = getGroupHeaderContentClass ;
@@ -328,11 +328,11 @@ class SchedulerAgenda extends WorkSpace {
328328 }
329329 }
330330
331- _createWorkSpaceElements ( ) {
332- this . _createWorkSpaceStaticElements ( ) ;
331+ protected override createWorkSpaceElements ( ) {
332+ this . createWorkSpaceStaticElements ( ) ;
333333 }
334334
335- _createWorkSpaceStaticElements ( ) {
335+ protected override createWorkSpaceStaticElements ( ) {
336336 this . _$dateTableContainer . append ( this . _$dateTable ) ;
337337 this . _dateTableScrollable . $content ( ) . append ( this . _$dateTableScrollableContent ) ;
338338
@@ -344,17 +344,17 @@ class SchedulerAgenda extends WorkSpace {
344344 this . $element ( ) . append ( this . _dateTableScrollable . $element ( ) ) ;
345345 }
346346
347- _renderDateTable ( ) {
348- this . _renderTableBody ( {
347+ protected override renderDateTable ( ) {
348+ this . renderTableBody ( {
349349 container : getPublicElement ( this . _$dateTable ) ,
350350 rowClass : DATE_TABLE_ROW_CLASS ,
351- cellClass : this . _getDateTableCellClass ( ) ,
351+ cellClass : this . getDateTableCellClass ( ) ,
352352 } ) ;
353353 }
354354
355- _attachTablesEvents ( ) { return noop ( ) ; }
355+ protected override attachTablesEvents ( ) { return noop ( ) ; }
356356
357- _attachEvents ( ) { return noop ( ) ; }
357+ protected override attachEvents ( ) { return noop ( ) ; }
358358
359359 _cleanCellDataCache ( ) { return noop ( ) ; }
360360
@@ -380,7 +380,7 @@ class SchedulerAgenda extends WorkSpace {
380380 }
381381
382382 // eslint-disable-next-line @typescript-eslint/no-unused-vars
383- _renderTableBody ( options : any , delayCellTemplateRendering ?: any ) {
383+ protected override renderTableBody ( options : any , delayCellTemplateRendering ?: any ) {
384384 const cellTemplates : any [ ] = [ ] ;
385385 const cellTemplateOpt = options . cellTemplate ;
386386
@@ -429,7 +429,7 @@ class SchedulerAgenda extends WorkSpace {
429429 }
430430
431431 $ ( options . container ) . append ( $ ( '<tbody>' ) . append ( this . _$rows ) ) ;
432- this . _applyCellTemplates ( cellTemplates ) ;
432+ this . applyCellTemplates ( cellTemplates ) ;
433433 }
434434
435435 _setLastRowClass ( ) {
@@ -440,10 +440,10 @@ class SchedulerAgenda extends WorkSpace {
440440 }
441441 }
442442
443- _renderTimePanel ( ) {
444- this . _renderTableBody ( {
443+ protected override renderTimePanel ( ) {
444+ this . renderTableBody ( {
445445 container : getPublicElement ( this . _$timePanel ) ,
446- rowCount : this . _getTimePanelRowCount ( ) ,
446+ rowCount : this . getTimePanelRowCount ( ) ,
447447 cellCount : 1 ,
448448 rowClass : TIME_PANEL_ROW_CLASS ,
449449 cellClass : TIME_PANEL_CELL_CLASS ,
@@ -491,7 +491,7 @@ class SchedulerAgenda extends WorkSpace {
491491 onDataSourceChanged ( appointments ?: SafeAppointment [ ] ) {
492492 super . onDataSourceChanged ( ) ;
493493
494- this . _renderView ( ) ;
494+ this . renderView ( ) ;
495495
496496 const rows = this . _calculateRows ( appointments ) ;
497497 this . _recalculateAgenda ( rows ) ;
0 commit comments