@@ -9,7 +9,7 @@ import { Layout } from '@src/components/layout';
9
9
import { GA_TRACKING_ID } from '@src/constants/statistics' ;
10
10
import { useDispatch , useStore } from '@src/contexts/calendarStore' ;
11
11
import { useAllTheme , useTheme } from '@src/contexts/themeStore' ;
12
- import CalendarControl from '@src/factory/calendarControl ' ;
12
+ import CalendarCore from '@src/factory/calendarCore ' ;
13
13
import Month from '@src/factory/month' ;
14
14
import { isVisibleEvent } from '@src/helpers/events' ;
15
15
import { createDateMatrixOfMonth , getWeekDates } from '@src/helpers/grid' ;
@@ -41,7 +41,7 @@ function MockComponent() {
41
41
) ;
42
42
}
43
43
44
- class MockCalendar extends CalendarControl {
44
+ class MockCalendar extends CalendarCore {
45
45
protected getComponent ( ) {
46
46
return < MockComponent /> ;
47
47
}
@@ -205,7 +205,7 @@ describe('destroy', () => {
205
205
} ) ;
206
206
207
207
describe ( 'openFormPopup' , ( ) => {
208
- class MockPopupCalendar extends CalendarControl {
208
+ class MockPopupCalendar extends CalendarCore {
209
209
protected getComponent ( ) {
210
210
return < Layout > mock</ Layout > ; // popup component is rendered in Layout component
211
211
}
@@ -336,7 +336,7 @@ describe('prev/next/today', () => {
336
336
337
337
return < div > month: { month } </ div > ;
338
338
}
339
- class MockCalendarMonth extends CalendarControl {
339
+ class MockCalendarMonth extends CalendarCore {
340
340
protected getComponent ( ) {
341
341
return < MockMonthView /> ;
342
342
}
@@ -431,7 +431,7 @@ describe('prev/next/today', () => {
431
431
</ div >
432
432
) ;
433
433
}
434
- class MockCalendarWeek extends CalendarControl {
434
+ class MockCalendarWeek extends CalendarCore {
435
435
protected getComponent ( ) {
436
436
return < MockWeekView /> ;
437
437
}
@@ -550,7 +550,7 @@ describe('prev/next/today', () => {
550
550
</ div >
551
551
) ;
552
552
}
553
- class MockCalendarDay extends CalendarControl {
553
+ class MockCalendarDay extends CalendarCore {
554
554
protected getComponent ( ) {
555
555
return < MockDayView /> ;
556
556
}
@@ -651,7 +651,7 @@ describe('setTheme', () => {
651
651
</ div >
652
652
) ;
653
653
}
654
- class MockCalendarTheme extends CalendarControl {
654
+ class MockCalendarTheme extends CalendarCore {
655
655
protected getComponent ( ) {
656
656
return < MockThemeView /> ;
657
657
}
@@ -725,7 +725,7 @@ describe('getOptions/setOptions', () => {
725
725
</ div >
726
726
) ;
727
727
}
728
- class MockCalendarOptions extends CalendarControl {
728
+ class MockCalendarOptions extends CalendarCore {
729
729
protected getComponent ( ) {
730
730
return < MockOptionsView /> ;
731
731
}
@@ -803,7 +803,7 @@ describe('setCalendars', () => {
803
803
</ div >
804
804
) ;
805
805
}
806
- class MockCalendarCalendars extends CalendarControl {
806
+ class MockCalendarCalendars extends CalendarCore {
807
807
protected getComponent ( ) {
808
808
return < MockCalendarsView /> ;
809
809
}
@@ -867,7 +867,7 @@ describe('setCalendarColor', () => {
867
867
</ div >
868
868
) ;
869
869
}
870
- class MockCalendarColor extends CalendarControl {
870
+ class MockCalendarColor extends CalendarCore {
871
871
protected getComponent ( ) {
872
872
return < MockCalendarColorView /> ;
873
873
}
@@ -1018,7 +1018,7 @@ describe('hideMoreView', () => {
1018
1018
describe ( 'getElement' , ( ) => {
1019
1019
const eventModel = new EventModel ( { calendarId : 'mockCalendarId' , id : 'mockEventId' } ) ;
1020
1020
const mockEventUIModel = new EventUIModel ( eventModel ) ;
1021
- class MockCalenderEvent extends CalendarControl {
1021
+ class MockCalenderEvent extends CalendarCore {
1022
1022
protected getComponent ( ) {
1023
1023
return (
1024
1024
< div >
@@ -1091,7 +1091,7 @@ describe('setCalendarVisibility', () => {
1091
1091
</ div >
1092
1092
) ;
1093
1093
}
1094
- class MockCalenderEvent extends CalendarControl {
1094
+ class MockCalenderEvent extends CalendarCore {
1095
1095
protected getComponent ( ) {
1096
1096
return < MockHorizontalEvents /> ;
1097
1097
}
0 commit comments