mario-education 2.0.258-staging → 2.0.260-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/containers/CheckInSetup/components/step-2/FrequencyDeliverySection.d.ts +1 -0
- package/dist/containers/CheckInSetup/components/step-2/RoutineTabBar.d.ts +1 -0
- package/dist/containers/CheckInSetup/hooks/useCheckInSetup.d.ts +1 -0
- package/dist/containers/CheckInSetup/utils/apiTypes.d.ts +2 -0
- package/dist/containers/CheckInSetup/utils/types.d.ts +4 -2
- package/dist/index-BKzqmHP_.cjs +4 -0
- package/dist/index-DL8yKQ9f.js +8320 -0
- package/dist/index.js +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/mario-education.css +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ interface Props {
|
|
|
6
6
|
totalQuestions: number;
|
|
7
7
|
onChangeLogic: (logic: DeliveryLogic) => void;
|
|
8
8
|
onChangeSchedule: (schedule: ScheduleType) => void;
|
|
9
|
+
isEarlyElementary?: boolean;
|
|
9
10
|
}
|
|
10
11
|
declare const FrequencyDeliverySection: FC<Props>;
|
|
11
12
|
export default FrequencyDeliverySection;
|
|
@@ -38,6 +38,7 @@ export declare const useCheckInSetup: () => {
|
|
|
38
38
|
isEarlyYearsEnabled: boolean;
|
|
39
39
|
isElementaryEnabled: boolean;
|
|
40
40
|
isSecondaryEnabled: boolean;
|
|
41
|
+
isHighSchoolEnabled: boolean;
|
|
41
42
|
};
|
|
42
43
|
activeTab: CheckInTabKey;
|
|
43
44
|
onTabChange: (nextTab: CheckInTabKey) => Promise<void>;
|
|
@@ -56,6 +56,7 @@ export interface CheckInQuestionsResponse {
|
|
|
56
56
|
isEarlyYearsEnabled: boolean;
|
|
57
57
|
isElementaryEnabled: boolean;
|
|
58
58
|
isSecondaryEnabled: boolean;
|
|
59
|
+
isHighSchoolEnabled?: boolean;
|
|
59
60
|
isSetup: boolean;
|
|
60
61
|
routines: CheckInRoutineResponseDto[];
|
|
61
62
|
}
|
|
@@ -64,6 +65,7 @@ export interface CheckInConfigUpdateDto {
|
|
|
64
65
|
isEarlyYearsEnabled: boolean;
|
|
65
66
|
isElementaryEnabled: boolean;
|
|
66
67
|
isSecondaryEnabled: boolean;
|
|
68
|
+
isHighSchoolEnabled?: boolean;
|
|
67
69
|
}
|
|
68
70
|
export interface CustomOpenFieldQuestionInputDto {
|
|
69
71
|
id?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type SystemType = 'US' | 'UK';
|
|
2
2
|
export type DeliveryLogic = 'rotated' | 'full';
|
|
3
3
|
export type ScheduleType = 'weekly' | 'biweekly' | 'monthly';
|
|
4
|
-
export type CheckInTabKey = 'elementary' | 'middle_school' | 'high_school' | 'secondary';
|
|
5
|
-
export type RoutineKey = 'us-elementary' | 'us-secondary' | 'us-middle_school' | 'us-high_school' | 'uk-elementary' | 'uk-secondary' | 'uk-middle_school' | 'uk-high_school';
|
|
4
|
+
export type CheckInTabKey = 'early_elementary' | 'elementary' | 'middle_school' | 'high_school' | 'secondary';
|
|
5
|
+
export type RoutineKey = 'us-early_elementary' | 'us-elementary' | 'us-secondary' | 'us-middle_school' | 'us-high_school' | 'uk-early_elementary' | 'uk-elementary' | 'uk-secondary' | 'uk-middle_school' | 'uk-high_school';
|
|
6
6
|
export declare function getRoutineKey(system: SystemType, grade: CheckInTabKey): RoutineKey;
|
|
7
7
|
export interface Question {
|
|
8
8
|
id: string;
|
|
@@ -35,10 +35,12 @@ export interface SetupConfig {
|
|
|
35
35
|
high_school: boolean;
|
|
36
36
|
};
|
|
37
37
|
routine: {
|
|
38
|
+
'us-early_elementary': GradeConfig;
|
|
38
39
|
'us-elementary': GradeConfig;
|
|
39
40
|
'us-secondary': GradeConfig;
|
|
40
41
|
'us-middle_school': GradeConfig;
|
|
41
42
|
'us-high_school': GradeConfig;
|
|
43
|
+
'uk-early_elementary': GradeConfig;
|
|
42
44
|
'uk-elementary': GradeConfig;
|
|
43
45
|
'uk-secondary': GradeConfig;
|
|
44
46
|
'uk-middle_school': GradeConfig;
|