mario-education 2.4.151-level → 2.4.152-level

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.
@@ -30778,12 +30778,6 @@ var GenerateChartData = function GenerateChartData(_ref) {
30778
30778
  })));
30779
30779
  };
30780
30780
 
30781
- var chartPropsAreEqual = function chartPropsAreEqual(prevMovie, nextMovie) {
30782
- return prevMovie === nextMovie;
30783
- };
30784
-
30785
- var GenerateChartData$1 = React.memo(GenerateChartData, chartPropsAreEqual);
30786
-
30787
30781
  var Loading = function Loading() {
30788
30782
  return React.createElement("div", {
30789
30783
  className: "d-flex align-items-center justify-content-center"
@@ -31499,7 +31493,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
31499
31493
  display: "block",
31500
31494
  width: "45%"
31501
31495
  }
31502
- }, React.createElement(GenerateChartData$1, {
31496
+ }, React.createElement(GenerateChartData, {
31503
31497
  colors: ["#0F9655"],
31504
31498
  typeChart: TYPECHART.AREA,
31505
31499
  activeColumn: [true],
@@ -31514,7 +31508,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
31514
31508
  display: "block",
31515
31509
  width: "45%"
31516
31510
  }
31517
- }, React.createElement(GenerateChartData$1, {
31511
+ }, React.createElement(GenerateChartData, {
31518
31512
  colors: ["#C44140"],
31519
31513
  typeChart: TYPECHART.LINE,
31520
31514
  activeColumn: [true],
@@ -31529,7 +31523,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
31529
31523
  display: "block",
31530
31524
  width: "45%"
31531
31525
  }
31532
- }, React.createElement(GenerateChartData$1, {
31526
+ }, React.createElement(GenerateChartData, {
31533
31527
  colors: ["#169490", "#316CD9", "#FFB04F"],
31534
31528
  typeChart: TYPECHART.LINE,
31535
31529
  activeColumn: activeColumnPreparedness,
@@ -31544,7 +31538,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
31544
31538
  display: "block",
31545
31539
  width: "45%"
31546
31540
  }
31547
- }, React.createElement(GenerateChartData$1, {
31541
+ }, React.createElement(GenerateChartData, {
31548
31542
  typeChart: TYPECHART.AREA,
31549
31543
  activeColumn: activeColumnSuccessIndicators,
31550
31544
  series: successIndicatorsData,
@@ -31559,7 +31553,7 @@ var DashboardToPDF = function DashboardToPDF(props) {
31559
31553
  display: "block",
31560
31554
  width: "45%"
31561
31555
  }
31562
- }, React.createElement(GenerateChartData$1, {
31556
+ }, React.createElement(GenerateChartData, {
31563
31557
  colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
31564
31558
  name: "Learning Process",
31565
31559
  typeChart: TYPECHART.AREA,
@@ -32125,7 +32119,7 @@ var Dashboard = function Dashboard() {
32125
32119
  className: "d-flex"
32126
32120
  }, React.createElement(Col, {
32127
32121
  md: !isExpandChart && chartIsOpened[0] ? 6 : 12
32128
- }, React.createElement(GenerateChartData$1, {
32122
+ }, React.createElement(GenerateChartData, {
32129
32123
  isShowExpandIcon: true,
32130
32124
  colors: ["#0F9655"],
32131
32125
  name: t(averageStudentSafetyName),
@@ -32138,9 +32132,9 @@ var Dashboard = function Dashboard() {
32138
32132
  onExpand: handleToggleChartWidth,
32139
32133
  timeOfDay: filter.optionDate
32140
32134
  })), React.createElement(Col, {
32141
- md: !isExpandChart ? 6 : 12,
32135
+ md: !isExpandChart && chartIsOpened[0] ? 6 : 12,
32142
32136
  className: ""
32143
- }, React.createElement(GenerateChartData$1, {
32137
+ }, React.createElement(GenerateChartData, {
32144
32138
  isShowExpandIcon: true,
32145
32139
  colors: ["#C44140"],
32146
32140
  name: t(averageStudentStressName),
@@ -32155,8 +32149,8 @@ var Dashboard = function Dashboard() {
32155
32149
  }))), React.createElement(Row, {
32156
32150
  className: "d-flex"
32157
32151
  }, React.createElement(Col, {
32158
- md: 7
32159
- }, React.createElement(GenerateChartData$1, {
32152
+ md: chartIsOpened[0] ? 7 : 12
32153
+ }, React.createElement(GenerateChartData, {
32160
32154
  colors: ["#169490", "#316CD9", "#FFB04F"],
32161
32155
  name: t(preparednessChartName),
32162
32156
  typeChart: TYPECHART.AREA,
@@ -32169,7 +32163,7 @@ var Dashboard = function Dashboard() {
32169
32163
  timeOfDay: filter.optionDate
32170
32164
  })), React.createElement(Col, {
32171
32165
  md: 5
32172
- }, React.createElement(GenerateChartData$1, {
32166
+ }, React.createElement(GenerateChartData, {
32173
32167
  colors: ["#D9EEE4", "#FAF0F0"],
32174
32168
  name: t(overallReadinessToLearn),
32175
32169
  typeChart: TYPECHART.DONUT,
@@ -32179,7 +32173,9 @@ var Dashboard = function Dashboard() {
32179
32173
  series: dataOverallReadyToLearn.resultQuestion,
32180
32174
  timeOfDay: filter.optionDate,
32181
32175
  dayOfWeek: []
32182
- }))), React.createElement(GenerateChartData$1, {
32176
+ }))), React.createElement(Row, null, React.createElement(Col, {
32177
+ md: !chartIsOpened[0] ? 6 : 12
32178
+ }, React.createElement(GenerateChartData, {
32183
32179
  name: t(successIndicatorsName),
32184
32180
  typeChart: TYPECHART.AREA,
32185
32181
  onActiveColumn: handleActiveColumnOneToOne,
@@ -32190,7 +32186,7 @@ var Dashboard = function Dashboard() {
32190
32186
  dayOfWeek: dayOfWeekOneToOne,
32191
32187
  timeOfDay: filter.optionDate,
32192
32188
  colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"]
32193
- }), React.createElement(BubbleChartCustom$1, {
32189
+ }))), React.createElement(BubbleChartCustom$1, {
32194
32190
  data: readinessToLearning
32195
32191
  }), React.createElement("div", {
32196
32192
  className: "" + styles$1["mt-15"]
@@ -32211,7 +32207,9 @@ var Dashboard = function Dashboard() {
32211
32207
  index: 1
32212
32208
  }), React.createElement(Collapse, {
32213
32209
  isOpen: chartIsOpened[1]
32214
- }, React.createElement(GenerateChartData$1, {
32210
+ }, React.createElement(Row, null, React.createElement(Col, {
32211
+ md: !chartIsOpened[1] ? 6 : 12
32212
+ }, React.createElement(GenerateChartData, {
32215
32213
  colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
32216
32214
  name: t(learningProcessName),
32217
32215
  typeChart: TYPECHART.AREA,
@@ -32222,7 +32220,7 @@ var Dashboard = function Dashboard() {
32222
32220
  dayOfWeek: dayOfWeekConference,
32223
32221
  avgQuestionLastMonth: avgConferenceLastMonth,
32224
32222
  timeOfDay: filter.optionDate
32225
- }), React.createElement(TopLearningStrategy$1, {
32223
+ }))), React.createElement(TopLearningStrategy$1, {
32226
32224
  data: topLearningStrategies
32227
32225
  }))));
32228
32226
  };