mario-education 2.4.574-feedback → 2.4.575-feedback

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.
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { IConcernMetricTab } from "../configs/types";
3
- declare const _default: React.MemoExoticComponent<({ studentSkillQuestion, classFontSize, safetyData, stressData, monthsOneToOne, dayOfWeekOneToOne, handleHoverTooltip, avgQuestionLastMonth, studentPressure, timeOfDay, metricWeeks, lowMetricStudents, metricDataMonths, metricDataWeeks, metricMonths, studentMetricPercent, stressValue }: IConcernMetricTab) => JSX.Element>;
3
+ declare const _default: React.MemoExoticComponent<({ studentSkillQuestion, classFontSize, safetyData, stressData, monthsOneToOne, dayOfWeekOneToOne, handleHoverTooltip, avgQuestionLastMonth, studentPressure, timeOfDay, metricWeeks, lowMetricStudents, metricDataMonths, metricDataWeeks, metricMonths, studentMetricPercent, stressValue, safetyValue }: IConcernMetricTab) => JSX.Element>;
4
4
  export default _default;
@@ -0,0 +1,8 @@
1
+ import { IEducatorConversationKpi } from '../configs/types';
2
+ interface IProps {
3
+ educators: IEducatorConversationKpi[];
4
+ open: boolean;
5
+ onClose: Function;
6
+ }
7
+ declare const EducatorConversationModal: ({ educators, open, onClose }: IProps) => JSX.Element;
8
+ export default EducatorConversationModal;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { IGenerateDashboardChart } from "../configs/types";
3
- declare const _default: React.MemoExoticComponent<({ typeChart, activeColumn, series, months, name, dayOfWeek, colors, textColors, avgQuestionLastMonth, studentCount, studentPercentage, responseStudent, classFontSize, avgContent, print, width, height, titleClassFontSize, min, hiddenKpi, timeOfDay, weeklySeries, weeks, description, skillClass, kpiClassName, lowMetricStudents, studentMetricPercent, noGradient, setOptionDate, stressValue, noAvgTotal }: IGenerateDashboardChart) => JSX.Element>;
3
+ declare const _default: React.MemoExoticComponent<({ typeChart, activeColumn, series, months, name, dayOfWeek, colors, textColors, avgQuestionLastMonth, studentCount, studentPercentage, responseStudent, classFontSize, avgContent, print, width, height, titleClassFontSize, min, hiddenKpi, timeOfDay, weeklySeries, weeks, description, skillClass, kpiClassName, lowMetricStudents, studentMetricPercent, noGradient, setOptionDate, stressValue, noAvgTotal, onActiveColumn, }: IGenerateDashboardChart) => JSX.Element>;
4
4
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { IReadinessToLearnTab } from "../configs/types";
2
- declare const ReadinessToLearnTab: ({ dataReadinessOfChart, handleHoverTooltip, classFontSize, dataOverallReadyToLearn, dayOfWeekOneToOne, monthsOneToOne, avgQuestionLastMonth, preparednessData, preparednessWeeklyData, weeksOneToOne, setOptionDate }: IReadinessToLearnTab) => JSX.Element;
2
+ declare const ReadinessToLearnTab: ({ dataReadinessOfChart, handleHoverTooltip, classFontSize, dataOverallReadyToLearn, dayOfWeekOneToOne, monthsOneToOne, avgQuestionLastMonth, preparednessData, preparednessWeeklyData, weeksOneToOne, setOptionDate, activeColumn, onActiveColumn }: IReadinessToLearnTab) => JSX.Element;
3
3
  export default ReadinessToLearnTab;
@@ -1,3 +1,3 @@
1
1
  import { ISuccessIndicatorTab } from "../configs/types";
2
- declare const SuccessIndicatorTab: ({ successIndicatorsData, avgQuestionLastMonth, dayOfWeekOneToOne, monthsOneToOne, timeOfDay, classFontSize, handleHoverTooltip, successIndicatorWeeklyData, weeksOneToOne }: ISuccessIndicatorTab) => JSX.Element;
2
+ declare const SuccessIndicatorTab: ({ successIndicatorsData, avgQuestionLastMonth, dayOfWeekOneToOne, monthsOneToOne, timeOfDay, classFontSize, handleHoverTooltip, successIndicatorWeeklyData, weeksOneToOne, activeColumn, onActiveColumn }: ISuccessIndicatorTab) => JSX.Element;
3
3
  export default SuccessIndicatorTab;
@@ -537,6 +537,7 @@ export interface IGenerateDashboardChart {
537
537
  setOptionDate?: Function;
538
538
  stressValue?: number[];
539
539
  noAvgTotal?: boolean;
540
+ onActiveColumn?: any;
540
541
  }
541
542
  export interface IResponseStudentQuestion {
542
543
  sessionId: number;
@@ -582,6 +583,7 @@ export interface IConcernMetricTab {
582
583
  lowMetricStudents: ILowMetricStudent[];
583
584
  studentMetricPercent: number;
584
585
  stressValue: number[];
586
+ safetyValue: number[];
585
587
  }
586
588
  export interface IConversationTab {
587
589
  conversationKpi: IConversationKpi;
@@ -610,6 +612,8 @@ export interface ISuccessIndicatorTab {
610
612
  classFontSize?: string;
611
613
  handleHoverTooltip?: Function;
612
614
  weeksOneToOne: string[];
615
+ activeColumn: boolean[];
616
+ onActiveColumn: any;
613
617
  }
614
618
  export interface ILearningItem {
615
619
  learningStrategyName: string;
@@ -634,6 +638,8 @@ export interface IReadinessToLearnTab {
634
638
  preparednessWeeklyData: ISeries[];
635
639
  weeksOneToOne: string[];
636
640
  setOptionDate?: Function;
641
+ onActiveColumn?: any;
642
+ activeColumn?: boolean[];
637
643
  }
638
644
  export interface IGenerateTrendQuestion {
639
645
  series: ISeries[];
@@ -671,11 +677,19 @@ export interface IMissedReviewStudents {
671
677
  grade?: string;
672
678
  conversationDate?: string;
673
679
  }
680
+ export interface IEducatorConversationKpi {
681
+ educatorUserId: string;
682
+ educatorName: string;
683
+ educatorProfileImage?: string;
684
+ numberOfConversation: number;
685
+ numberOfExpectedConversation: number;
686
+ }
674
687
  export interface IConversationKpi {
675
688
  conversationTarget: number;
676
689
  conversationTeacherAvg: number;
677
690
  avgStudentReview: number;
678
691
  sessionReviewSkipped: number;
679
692
  missedReviewStudents: IMissedReviewStudents[];
693
+ educatorConversationsTarget: IEducatorConversationKpi[];
680
694
  }
681
695
  export {};
@@ -89,5 +89,9 @@ declare const useDashboard: () => {
89
89
  stressValue: number[];
90
90
  conversationKpi: IConversationKpi;
91
91
  setSelectTeacherUserId: (value: any) => Promise<void>;
92
+ safetyValue: number[];
93
+ activeColumnReadiness: boolean[];
94
+ activeColumnIndicators: boolean[];
95
+ handleActiveColumn: (index: number, name: string) => void;
92
96
  };
93
97
  export default useDashboard;
package/dist/index.css CHANGED
@@ -2787,12 +2787,12 @@ h6._3zOGW {
2787
2787
  display: flex;
2788
2788
  align-items: center; }
2789
2789
  ._2WPKK ._35LD0 {
2790
- width: 100%; }
2790
+ width: 100%;
2791
+ margin-left: 8px; }
2791
2792
  ._2WPKK ._1jukR {
2792
2793
  display: flex;
2793
2794
  display: flex;
2794
- align-items: center;
2795
- margin-top: 10px; }
2795
+ align-items: center; }
2796
2796
  @media (max-width: 1023px) {
2797
2797
  ._2WPKK ._1jukR {
2798
2798
  margin-top: 0; } }
@@ -3031,6 +3031,14 @@ h6._3zOGW {
3031
3031
  line-height: 24px;
3032
3032
  color: #242424;
3033
3033
  opacity: 0.56; }
3034
+ ._3qqfp ._UucbR {
3035
+ font-size: 16px;
3036
+ font-weight: 600;
3037
+ line-height: 24px;
3038
+ color: #316CD9;
3039
+ cursor: pointer;
3040
+ display: flex;
3041
+ gap: 6px; }
3034
3042
 
3035
3043
  ._2jy_I {
3036
3044
  display: flex;