mario-education 2.4.150-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.
- package/dist/index.css +108 -0
- package/dist/index.js +65 -12
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +65 -12
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -22501,7 +22501,7 @@ var TYPECHART;
|
|
|
22501
22501
|
TYPECHART[TYPECHART["DONUT"] = 4] = "DONUT";
|
|
22502
22502
|
})(TYPECHART || (TYPECHART = {}));
|
|
22503
22503
|
|
|
22504
|
-
var styles$1 = {"dashboard-card":"_1Jgr2","quantity-table":"_3Thdy","size-icon":"_1WLBo","block-dashboard":"_10Pgm","size-arrow":"_3jPb_","color-down":"_1c43y","color-up":"_F1afY","box-filter":"_1kqUQ","title-card":"_10hbz","value-card":"_2rmw_","deviant-card":"_1tdQu","filter-card":"_2BvFN","box-skill-item":"_2TBTW","numerical-order":"_3XXJp","backoround-top-skill":"_LCuWQ","color-filter":"_3x9D7","btn-filter":"_2In63","block-collapse":"_1Vhg_","form-date-picker":"_6yLxd","bock-filter-left":"_h74SO","bock-filter-right":"_3e2pi","form-filter-right":"_ntUB6","form-filter-left":"_1DlZ4","bock-filter-wrap":"_1tYDM","title-card-box":"_3hSow","box-item":"_1yuC9","image-no-data":"_2PMoX","image-grade":"_3ZX0b","chart-data":"_2asi-","apexcharts-datalabels":"_muT01","apexcharts-pie-label":"_35BzZ","image-custom":"_3pkbc","image-special-need":"_16MpB","title-dashboard":"_CHu-i","box-chart":"_3Y-Dd","block-filter-right":"_1YJnk","shadow-lg":"_2eMbe","chart-header-wrapper":"_6ZvFg","devide-component":"_24CNV","header-chart":"_2vtSi","header-left":"_IpsVf","icon-chart":"_gzxWe","header-right":"_37IcR","header-title":"_2G6Wz","button-export":"_3xpNv","button-content":"_3H5Ly","button-icon":"_J_n-D","icon-config":"_3AALV","cursor-pointer":"_11Xjn","btn-show-chart":"_2htKu","rotate-180":"_q1nUO","header-chart-generate":"_s8xMf","block-header-chart":"_tHUJ_","name-chart":"_3xKHX","title-chart":"_pFFg9","description-chart":"_3hqV3","title-chart-generate":"_3rdqX","expand-icon":"_nwv00","custom-tooltip":"_29aQo","custom-tooltip-month":"_2SJIY","tooltip-data-cursor":"_2lZv_","tooltip-data-box":"_8NzTd","tooltip-data":"_1EP1I","name":"_1J69a","data":"_3-8OW","checkbox-chart":"_1qXAT","column-chart-percent":"_3NgrB","chart-background":"_32fu3","custom-marker":"_DmMzw","mark-custom":"_1eUXn","item-legend":"_3hrrC","label-legend-custom":"_Q-iiW","mark-legend":"_cD4ey","percent":"_2HWhv","listItem":"_2Hdbu","item":"_3RJ2T","item-checkbox":"_3dK0P","box-checkbox":"_1bHgZ","check-box":"_QwDVv","item-detail":"_1QgWc","question":"_348ls","avr-question":"_1VfnR","volatility":"_3eW34","arr":"_1bljF","month-text":"_30y0h","arrow":"_1HtM3","arrow-up":"_3qqQU","percent-text":"_2Fgfn","arrow-down":"_1yXO7","point-custom":"_2JNm-","student-by-age":"_38ikt","total-student":"_1TnWs","pie-chart":"_3BTJi","options-gender":"_1Ws0m","legend":"_2HnO_","text-lengend":"_2BFJw","student-by-grade":"_2az-l","bubble-chart-custom":"_2j8fp","x-axis-custom-wrap":"_1BN5z","axis-content":"_1rYav","legend-wrap":"_3-zAs","label-chart":"_24PRg","list-percent":"_1PPhv","percent-item":"_1rjWR","chart-custom":"_f-Ti4","title-grade":"_1hZ_V","title-modal":"_3L9WC","header-desc-modal":"_1TFtP","form-checkbox":"_37aqf","checkbox-content":"_1iabV","btn-export":"_1eQAg","image-logo":"_1eqkj","chart-to-canvas":"_2IQ8b","chart-pdf":"_sQ21k","box-top-5-most":"_3Eas5"};
|
|
22504
|
+
var styles$1 = {"dashboard-card":"_1Jgr2","quantity-table":"_3Thdy","size-icon":"_1WLBo","block-dashboard":"_10Pgm","size-arrow":"_3jPb_","color-down":"_1c43y","color-up":"_F1afY","box-filter":"_1kqUQ","title-card":"_10hbz","value-card":"_2rmw_","deviant-card":"_1tdQu","filter-card":"_2BvFN","box-skill-item":"_2TBTW","numerical-order":"_3XXJp","backoround-top-skill":"_LCuWQ","color-filter":"_3x9D7","btn-filter":"_2In63","block-collapse":"_1Vhg_","form-date-picker":"_6yLxd","bock-filter-left":"_h74SO","bock-filter-right":"_3e2pi","form-filter-right":"_ntUB6","form-filter-left":"_1DlZ4","bock-filter-wrap":"_1tYDM","title-card-box":"_3hSow","box-item":"_1yuC9","image-no-data":"_2PMoX","image-grade":"_3ZX0b","chart-data":"_2asi-","apexcharts-datalabels":"_muT01","apexcharts-pie-label":"_35BzZ","image-custom":"_3pkbc","image-special-need":"_16MpB","title-dashboard":"_CHu-i","box-chart":"_3Y-Dd","block-filter-right":"_1YJnk","shadow-lg":"_2eMbe","chart-header-wrapper":"_6ZvFg","devide-component":"_24CNV","header-chart":"_2vtSi","header-left":"_IpsVf","icon-chart":"_gzxWe","header-right":"_37IcR","header-title":"_2G6Wz","button-export":"_3xpNv","button-content":"_3H5Ly","button-icon":"_J_n-D","icon-config":"_3AALV","cursor-pointer":"_11Xjn","btn-show-chart":"_2htKu","rotate-180":"_q1nUO","header-chart-generate":"_s8xMf","block-header-chart":"_tHUJ_","name-chart":"_3xKHX","title-chart":"_pFFg9","description-chart":"_3hqV3","title-chart-generate":"_3rdqX","expand-icon":"_nwv00","custom-tooltip":"_29aQo","custom-tooltip-month":"_2SJIY","tooltip-data-cursor":"_2lZv_","tooltip-data-box":"_8NzTd","tooltip-data":"_1EP1I","name":"_1J69a","data":"_3-8OW","checkbox-chart":"_1qXAT","column-chart-percent":"_3NgrB","chart-background":"_32fu3","custom-marker":"_DmMzw","mark-custom":"_1eUXn","item-legend":"_3hrrC","label-legend-custom":"_Q-iiW","mark-legend":"_cD4ey","percent":"_2HWhv","listItem":"_2Hdbu","item":"_3RJ2T","item-checkbox":"_3dK0P","box-checkbox":"_1bHgZ","check-box":"_QwDVv","item-detail":"_1QgWc","question":"_348ls","avr-question":"_1VfnR","volatility":"_3eW34","arr":"_1bljF","month-text":"_30y0h","arrow":"_1HtM3","arrow-up":"_3qqQU","percent-text":"_2Fgfn","arrow-down":"_1yXO7","point-custom":"_2JNm-","student-by-age":"_38ikt","total-student":"_1TnWs","pie-chart":"_3BTJi","options-gender":"_1Ws0m","legend":"_2HnO_","text-lengend":"_2BFJw","student-by-grade":"_2az-l","bubble-chart-custom":"_2j8fp","x-axis-custom-wrap":"_1BN5z","axis-content":"_1rYav","legend-wrap":"_3-zAs","label-chart":"_24PRg","list-percent":"_1PPhv","percent-item":"_1rjWR","chart-custom":"_f-Ti4","title-grade":"_1hZ_V","title-modal":"_3L9WC","header-desc-modal":"_1TFtP","form-checkbox":"_37aqf","checkbox-content":"_1iabV","btn-export":"_1eQAg","image-logo":"_1eqkj","chart-to-canvas":"_2IQ8b","chart-pdf":"_sQ21k","box-top-5-most":"_3Eas5","filter-mobile-block":"_1tKnn","filter-wrapper-mobile":"_1Zuq3","total-card-wrapper":"_1i0El"};
|
|
22505
22505
|
|
|
22506
22506
|
var CheckboxCustom = function CheckboxCustom(_ref) {
|
|
22507
22507
|
var _ref$background = _ref.background,
|
|
@@ -30530,7 +30530,7 @@ var TotalCard = function TotalCard(_ref) {
|
|
|
30530
30530
|
title = _ref.title,
|
|
30531
30531
|
value = _ref.value;
|
|
30532
30532
|
return React.createElement("div", {
|
|
30533
|
-
className: styles$1["title-card-box"] + " " + styles$1["box-item"] + " p-4 mb-2 shadow-md"
|
|
30533
|
+
className: styles$1["title-card-box"] + " " + styles$1["box-item"] + " p-4 mb-2 mb-sm-0 mb-lg-2 shadow-md"
|
|
30534
30534
|
}, React.createElement("div", {
|
|
30535
30535
|
className: "d-flex align-items-center justify-content-center"
|
|
30536
30536
|
}, React.createElement("img", {
|
|
@@ -31933,6 +31933,10 @@ var Dashboard = function Dashboard() {
|
|
|
31933
31933
|
isExpandChart = _useState2[0],
|
|
31934
31934
|
setIsExpandChart = _useState2[1];
|
|
31935
31935
|
|
|
31936
|
+
var _useState3 = useState(false),
|
|
31937
|
+
isShowFilterMobile = _useState3[0],
|
|
31938
|
+
setIsShowFilterMobile = _useState3[1];
|
|
31939
|
+
|
|
31936
31940
|
var toggle = function toggle() {
|
|
31937
31941
|
setSelectedToPrint([]);
|
|
31938
31942
|
setModal(!modal);
|
|
@@ -32015,9 +32019,53 @@ var Dashboard = function Dashboard() {
|
|
|
32015
32019
|
})), React.createElement("p", {
|
|
32016
32020
|
className: styles$1["button-content"] + " mb-0"
|
|
32017
32021
|
}, t("export_to_pdf")))), React.createElement("div", {
|
|
32018
|
-
className:
|
|
32022
|
+
className: styles$1['filter-mobile-block'] + " p-3 my-4"
|
|
32019
32023
|
}, React.createElement("div", {
|
|
32020
|
-
|
|
32024
|
+
onClick: function onClick() {
|
|
32025
|
+
return setIsShowFilterMobile(!isShowFilterMobile);
|
|
32026
|
+
},
|
|
32027
|
+
className: "d-flex justify-content-between cursor-pointer"
|
|
32028
|
+
}, React.createElement("span", {
|
|
32029
|
+
className: "font-weight-bold"
|
|
32030
|
+
}, "Filter"), isShowFilterMobile ? React.createElement(FiChevronUp, {
|
|
32031
|
+
size: "1.5rem"
|
|
32032
|
+
}) : React.createElement(FiChevronDown, {
|
|
32033
|
+
size: "1.5rem"
|
|
32034
|
+
})), isShowFilterMobile ? React.createElement("div", {
|
|
32035
|
+
className: "d-flex flex-column " + styles$1["filter-wrapper-mobile"]
|
|
32036
|
+
}, React.createElement("div", {
|
|
32037
|
+
className: "d-flex flex-column mt-3 " + styles$1["filter-wrapper-mobile"]
|
|
32038
|
+
}, LIST_FILTERS_LEFT.map(function (e) {
|
|
32039
|
+
return React.createElement(SelectFilter, {
|
|
32040
|
+
name: e.name,
|
|
32041
|
+
icon: e.icon,
|
|
32042
|
+
handleChangeFilters: e.handleChangeFilters,
|
|
32043
|
+
filter: filter,
|
|
32044
|
+
option: e.option,
|
|
32045
|
+
onChangeFilters: onChangeFilters
|
|
32046
|
+
});
|
|
32047
|
+
})), React.createElement("div", {
|
|
32048
|
+
className: "d-flex flex-column " + styles$1["filter-wrapper-mobile"]
|
|
32049
|
+
}, LIST_FILTERS_RIGHT.map(function (e) {
|
|
32050
|
+
return React.createElement(SelectFilter, {
|
|
32051
|
+
name: e.name,
|
|
32052
|
+
icon: e.icon,
|
|
32053
|
+
handleChangeFilters: e.handleChangeFilters,
|
|
32054
|
+
filter: filter,
|
|
32055
|
+
studentId: e.studentId || 0,
|
|
32056
|
+
studentDefault: e.studentDefault,
|
|
32057
|
+
onChangeFilters: onChangeFilters,
|
|
32058
|
+
teacherUserId: teacherUserId,
|
|
32059
|
+
changeCurrentTeacherUserId: changeCurrentTeacherUserId,
|
|
32060
|
+
btnStyle: e.name === FILTER_NAME.StudentName ? {
|
|
32061
|
+
minWidth: 220,
|
|
32062
|
+
justifyContent: "center"
|
|
32063
|
+
} : {}
|
|
32064
|
+
});
|
|
32065
|
+
}))) : null), React.createElement("div", {
|
|
32066
|
+
className: "d-none d-sm-flex justify-content-between flex-wrap my-2"
|
|
32067
|
+
}, React.createElement("div", {
|
|
32068
|
+
className: "d-flex flex-wrap"
|
|
32021
32069
|
}, LIST_FILTERS_LEFT.map(function (e) {
|
|
32022
32070
|
return React.createElement(SelectFilter, {
|
|
32023
32071
|
name: e.name,
|
|
@@ -32046,7 +32094,7 @@ var Dashboard = function Dashboard() {
|
|
|
32046
32094
|
} : {}
|
|
32047
32095
|
});
|
|
32048
32096
|
}))), React.createElement("div", {
|
|
32049
|
-
className: "d-flex align-items-center justify-content-between flex-wrap mb-3"
|
|
32097
|
+
className: styles$1["total-card-wrapper"] + " d-flex align-items-center justify-content-center justify-content-lg-between flex-wrap mb-3"
|
|
32050
32098
|
}, totalCardData.map(function (item) {
|
|
32051
32099
|
return React.createElement(TotalCard, {
|
|
32052
32100
|
icon: item.icon,
|
|
@@ -32070,7 +32118,7 @@ var Dashboard = function Dashboard() {
|
|
|
32070
32118
|
}, React.createElement(Row, {
|
|
32071
32119
|
className: "d-flex"
|
|
32072
32120
|
}, React.createElement(Col, {
|
|
32073
|
-
md: !isExpandChart ? 6 : 12
|
|
32121
|
+
md: !isExpandChart && chartIsOpened[0] ? 6 : 12
|
|
32074
32122
|
}, React.createElement(GenerateChartData, {
|
|
32075
32123
|
isShowExpandIcon: true,
|
|
32076
32124
|
colors: ["#0F9655"],
|
|
@@ -32084,7 +32132,7 @@ var Dashboard = function Dashboard() {
|
|
|
32084
32132
|
onExpand: handleToggleChartWidth,
|
|
32085
32133
|
timeOfDay: filter.optionDate
|
|
32086
32134
|
})), React.createElement(Col, {
|
|
32087
|
-
md: !isExpandChart ? 6 : 12,
|
|
32135
|
+
md: !isExpandChart && chartIsOpened[0] ? 6 : 12,
|
|
32088
32136
|
className: ""
|
|
32089
32137
|
}, React.createElement(GenerateChartData, {
|
|
32090
32138
|
isShowExpandIcon: true,
|
|
@@ -32101,7 +32149,7 @@ var Dashboard = function Dashboard() {
|
|
|
32101
32149
|
}))), React.createElement(Row, {
|
|
32102
32150
|
className: "d-flex"
|
|
32103
32151
|
}, React.createElement(Col, {
|
|
32104
|
-
md: 7
|
|
32152
|
+
md: chartIsOpened[0] ? 7 : 12
|
|
32105
32153
|
}, React.createElement(GenerateChartData, {
|
|
32106
32154
|
colors: ["#169490", "#316CD9", "#FFB04F"],
|
|
32107
32155
|
name: t(preparednessChartName),
|
|
@@ -32125,7 +32173,9 @@ var Dashboard = function Dashboard() {
|
|
|
32125
32173
|
series: dataOverallReadyToLearn.resultQuestion,
|
|
32126
32174
|
timeOfDay: filter.optionDate,
|
|
32127
32175
|
dayOfWeek: []
|
|
32128
|
-
}))), React.createElement(
|
|
32176
|
+
}))), React.createElement(Row, null, React.createElement(Col, {
|
|
32177
|
+
md: !chartIsOpened[0] ? 6 : 12
|
|
32178
|
+
}, React.createElement(GenerateChartData, {
|
|
32129
32179
|
name: t(successIndicatorsName),
|
|
32130
32180
|
typeChart: TYPECHART.AREA,
|
|
32131
32181
|
onActiveColumn: handleActiveColumnOneToOne,
|
|
@@ -32136,7 +32186,7 @@ var Dashboard = function Dashboard() {
|
|
|
32136
32186
|
dayOfWeek: dayOfWeekOneToOne,
|
|
32137
32187
|
timeOfDay: filter.optionDate,
|
|
32138
32188
|
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"]
|
|
32139
|
-
}), React.createElement(BubbleChartCustom$1, {
|
|
32189
|
+
}))), React.createElement(BubbleChartCustom$1, {
|
|
32140
32190
|
data: readinessToLearning
|
|
32141
32191
|
}), React.createElement("div", {
|
|
32142
32192
|
className: "" + styles$1["mt-15"]
|
|
@@ -32157,6 +32207,8 @@ var Dashboard = function Dashboard() {
|
|
|
32157
32207
|
index: 1
|
|
32158
32208
|
}), React.createElement(Collapse, {
|
|
32159
32209
|
isOpen: chartIsOpened[1]
|
|
32210
|
+
}, React.createElement(Row, null, React.createElement(Col, {
|
|
32211
|
+
md: !chartIsOpened[1] ? 6 : 12
|
|
32160
32212
|
}, React.createElement(GenerateChartData, {
|
|
32161
32213
|
colors: ["#73C8E5", "#F9F871", "#D7B0DE", "#E56362", "#5A7F05", "#D3D3D3"],
|
|
32162
32214
|
name: t(learningProcessName),
|
|
@@ -32168,7 +32220,7 @@ var Dashboard = function Dashboard() {
|
|
|
32168
32220
|
dayOfWeek: dayOfWeekConference,
|
|
32169
32221
|
avgQuestionLastMonth: avgConferenceLastMonth,
|
|
32170
32222
|
timeOfDay: filter.optionDate
|
|
32171
|
-
}), React.createElement(TopLearningStrategy$1, {
|
|
32223
|
+
}))), React.createElement(TopLearningStrategy$1, {
|
|
32172
32224
|
data: topLearningStrategies
|
|
32173
32225
|
}))));
|
|
32174
32226
|
};
|
|
@@ -34925,7 +34977,8 @@ var SurveyDashboard = function SurveyDashboard() {
|
|
|
34925
34977
|
})), React.createElement(Col, {
|
|
34926
34978
|
md: 5
|
|
34927
34979
|
}, React.createElement(Row, null, React.createElement(Col, {
|
|
34928
|
-
md:
|
|
34980
|
+
md: 9,
|
|
34981
|
+
lg: 7,
|
|
34929
34982
|
style: {
|
|
34930
34983
|
margin: "0 auto"
|
|
34931
34984
|
}
|