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