mario-education 2.4.258-release → 2.4.260-release
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.js +61 -41
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +61 -41
- package/dist/index.modern.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -12708,7 +12708,7 @@ var useQuestionList$1 = function useQuestionList(isDefaultQuestion, isDefaultCla
|
|
|
12708
12708
|
isDefaultClassReflection: isDefaultClassReflection,
|
|
12709
12709
|
isDefaultConference: isDefaultConference != null ? isDefaultConference : undefined,
|
|
12710
12710
|
isDefaultSurvey: isDefaultSurvey != null ? isDefaultSurvey : undefined,
|
|
12711
|
-
sortBy: "0",
|
|
12711
|
+
sortBy: !isDefaultSurvey ? "" : "0",
|
|
12712
12712
|
isDescending: false,
|
|
12713
12713
|
isIntervention: false
|
|
12714
12714
|
};
|
|
@@ -12908,6 +12908,9 @@ var useQuestionList$1 = function useQuestionList(isDefaultQuestion, isDefaultCla
|
|
|
12908
12908
|
var gridOptions = {
|
|
12909
12909
|
columnDefs: isDefaultQuestion && !isDefaultClassReflection ? [].concat(columnDefs, [{
|
|
12910
12910
|
rowDrag: true,
|
|
12911
|
+
onRowDragMove: function onRowDragMove() {
|
|
12912
|
+
console.log("run");
|
|
12913
|
+
},
|
|
12911
12914
|
headerComponentParams: {
|
|
12912
12915
|
template: "<div class=\"text-center w-100\">Order</div>"
|
|
12913
12916
|
}
|
|
@@ -29100,6 +29103,17 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
|
|
|
29100
29103
|
});
|
|
29101
29104
|
!!student && history.push("/student-detail/overview/" + student[student.length - 1] + "?isReadOnly=true");
|
|
29102
29105
|
},
|
|
29106
|
+
mouseLeave: function mouseLeave() {
|
|
29107
|
+
var chartBubbleCustom = document.getElementById("chart_bubble_custom");
|
|
29108
|
+
|
|
29109
|
+
if (!!chartBubbleCustom) {
|
|
29110
|
+
var tooltipsClone = chartBubbleCustom.getElementsByClassName("custom-tooltip-clone");
|
|
29111
|
+
|
|
29112
|
+
while (tooltipsClone.length > 0) {
|
|
29113
|
+
tooltipsClone[0].remove();
|
|
29114
|
+
}
|
|
29115
|
+
}
|
|
29116
|
+
},
|
|
29103
29117
|
mouseMove: function mouseMove(_event, _chartContext, config) {
|
|
29104
29118
|
var _config$config;
|
|
29105
29119
|
|
|
@@ -29144,9 +29158,11 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
|
|
|
29144
29158
|
var series = seriesGroup[index];
|
|
29145
29159
|
var dots = series.getElementsByClassName("apexcharts-tooltip-marker") || [];
|
|
29146
29160
|
var labels = series.getElementsByClassName("apexcharts-tooltip-text-value") || [];
|
|
29161
|
+
var yLabels = series.getElementsByClassName("apexcharts-tooltip-text-y-value") || [];
|
|
29147
29162
|
var students = series.getElementsByClassName("apexcharts-tooltip-text-z-value") || [];
|
|
29148
29163
|
var dotElement = dots[0];
|
|
29149
29164
|
var innerLabel = labels[0];
|
|
29165
|
+
var innerYLabel = yLabels[0];
|
|
29150
29166
|
var innerStudent = students[0];
|
|
29151
29167
|
|
|
29152
29168
|
if (!!dotElement) {
|
|
@@ -29159,6 +29175,12 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
|
|
|
29159
29175
|
innerLabel.innerHTML = (parseFloat(value === null || value === void 0 ? void 0 : (_value$ = value[1]) === null || _value$ === void 0 ? void 0 : _value$.toFixed(2)).toString() || 0) + "%";
|
|
29160
29176
|
}
|
|
29161
29177
|
|
|
29178
|
+
if (!!innerYLabel) {
|
|
29179
|
+
var _value$2;
|
|
29180
|
+
|
|
29181
|
+
innerYLabel.innerHTML = (parseFloat(value === null || value === void 0 ? void 0 : (_value$2 = value[1]) === null || _value$2 === void 0 ? void 0 : _value$2.toFixed(2)).toString() || 0) + "%";
|
|
29182
|
+
}
|
|
29183
|
+
|
|
29162
29184
|
if (!!innerStudent) {
|
|
29163
29185
|
innerStudent.innerHTML = (value === null || value === void 0 ? void 0 : value[2]) || "";
|
|
29164
29186
|
}
|
|
@@ -29184,15 +29206,24 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
|
|
|
29184
29206
|
|
|
29185
29207
|
var _labels = _series.getElementsByClassName("apexcharts-tooltip-text-value") || [];
|
|
29186
29208
|
|
|
29209
|
+
var _yLabels = _series.getElementsByClassName("apexcharts-tooltip-text-y-value") || [];
|
|
29210
|
+
|
|
29187
29211
|
var _students = _series.getElementsByClassName("apexcharts-tooltip-text-z-value") || [];
|
|
29188
29212
|
|
|
29189
29213
|
var _innerLabel = _labels[0];
|
|
29214
|
+
var _innerYLabel = _yLabels[0];
|
|
29190
29215
|
var _innerStudent = _students[0];
|
|
29191
29216
|
|
|
29192
29217
|
if (!!_innerLabel) {
|
|
29193
|
-
var _value$
|
|
29218
|
+
var _value$3;
|
|
29194
29219
|
|
|
29195
|
-
_innerLabel.innerHTML = (parseFloat(_value === null || _value === void 0 ? void 0 : (_value$
|
|
29220
|
+
_innerLabel.innerHTML = (parseFloat(_value === null || _value === void 0 ? void 0 : (_value$3 = _value[1]) === null || _value$3 === void 0 ? void 0 : _value$3.toFixed(2)).toString() || 0) + "%";
|
|
29221
|
+
}
|
|
29222
|
+
|
|
29223
|
+
if (!!_innerYLabel) {
|
|
29224
|
+
var _value$4;
|
|
29225
|
+
|
|
29226
|
+
_innerYLabel.innerHTML = (parseFloat(_value === null || _value === void 0 ? void 0 : (_value$4 = _value[1]) === null || _value$4 === void 0 ? void 0 : _value$4.toFixed(2)).toString() || 0) + "%";
|
|
29196
29227
|
}
|
|
29197
29228
|
|
|
29198
29229
|
if (!!_innerStudent) {
|
|
@@ -30269,7 +30300,6 @@ var useChartDatas = function useChartDatas() {
|
|
|
30269
30300
|
readinessToLearning = _useDashboard.readinessToLearning,
|
|
30270
30301
|
handleChangeFilters = _useDashboard.handleChangeFilters,
|
|
30271
30302
|
handleChangeAcademicYearFilters = _useDashboard.handleChangeAcademicYearFilters,
|
|
30272
|
-
bandScore = _useDashboard.bandScore,
|
|
30273
30303
|
academicYear = _useDashboard.academicYear,
|
|
30274
30304
|
user = _useDashboard.user,
|
|
30275
30305
|
studentDefault = _useDashboard.studentDefault,
|
|
@@ -30381,16 +30411,6 @@ var useChartDatas = function useChartDatas() {
|
|
|
30381
30411
|
value: -1,
|
|
30382
30412
|
label: "All"
|
|
30383
30413
|
}].concat(gradeOptions(gradeList, filter.studentUserId))
|
|
30384
|
-
}, {
|
|
30385
|
-
name: FILTER_NAME.BandScore,
|
|
30386
|
-
icon: "/images/star-icon.svg",
|
|
30387
|
-
handleChangeFilters: handleChangeFilters,
|
|
30388
|
-
labelBox: labelBox,
|
|
30389
|
-
setLabelBox: setLabelBox,
|
|
30390
|
-
option: [{
|
|
30391
|
-
value: -1,
|
|
30392
|
-
label: "All"
|
|
30393
|
-
}].concat(bandScore)
|
|
30394
30414
|
}, {
|
|
30395
30415
|
name: FILTER_NAME.AcademicYear,
|
|
30396
30416
|
icon: "/images/student-icon.svg",
|
|
@@ -37293,7 +37313,7 @@ var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion'
|
|
|
37293
37313
|
var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
|
|
37294
37314
|
var useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;
|
|
37295
37315
|
|
|
37296
|
-
var
|
|
37316
|
+
var hasOwn = {}.hasOwnProperty;
|
|
37297
37317
|
|
|
37298
37318
|
var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
37299
37319
|
// because this module is primarily intended for the browser and node
|
|
@@ -37378,7 +37398,7 @@ var createEmotionProps = function createEmotionProps(type, props) {
|
|
|
37378
37398
|
var newProps = {};
|
|
37379
37399
|
|
|
37380
37400
|
for (var key in props) {
|
|
37381
|
-
if (
|
|
37401
|
+
if (hasOwn.call(props, key)) {
|
|
37382
37402
|
newProps[key] = props[key];
|
|
37383
37403
|
}
|
|
37384
37404
|
}
|
|
@@ -37439,7 +37459,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
|
37439
37459
|
var newProps = {};
|
|
37440
37460
|
|
|
37441
37461
|
for (var key in props) {
|
|
37442
|
-
if (
|
|
37462
|
+
if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
|
|
37443
37463
|
newProps[key] = props[key];
|
|
37444
37464
|
}
|
|
37445
37465
|
}
|
|
@@ -37481,7 +37501,7 @@ unwrapExports(_extends_1);
|
|
|
37481
37501
|
|
|
37482
37502
|
var pkg = {
|
|
37483
37503
|
name: "@emotion/react",
|
|
37484
|
-
version: "11.11.
|
|
37504
|
+
version: "11.11.4",
|
|
37485
37505
|
main: "dist/emotion-react.cjs.js",
|
|
37486
37506
|
module: "dist/emotion-react.esm.js",
|
|
37487
37507
|
browser: {
|
|
@@ -37614,7 +37634,7 @@ var pkg = {
|
|
|
37614
37634
|
var jsx = function jsx(type, props) {
|
|
37615
37635
|
var args = arguments;
|
|
37616
37636
|
|
|
37617
|
-
if (props == null || !
|
|
37637
|
+
if (props == null || !hasOwn.call(props, 'css')) {
|
|
37618
37638
|
// $FlowFixMe
|
|
37619
37639
|
return React.createElement.apply(undefined, args);
|
|
37620
37640
|
}
|
|
@@ -37949,7 +37969,7 @@ object-assign
|
|
|
37949
37969
|
*/
|
|
37950
37970
|
/* eslint-disable no-unused-vars */
|
|
37951
37971
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
37952
|
-
var hasOwnProperty
|
|
37972
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
37953
37973
|
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
37954
37974
|
|
|
37955
37975
|
function toObject(val) {
|
|
@@ -38013,7 +38033,7 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
|
|
|
38013
38033
|
from = Object(arguments[s]);
|
|
38014
38034
|
|
|
38015
38035
|
for (var key in from) {
|
|
38016
|
-
if (hasOwnProperty
|
|
38036
|
+
if (hasOwnProperty.call(from, key)) {
|
|
38017
38037
|
to[key] = from[key];
|
|
38018
38038
|
}
|
|
38019
38039
|
}
|
|
@@ -78846,7 +78866,7 @@ var _Symbol = Symbol$1;
|
|
|
78846
78866
|
var objectProto = Object.prototype;
|
|
78847
78867
|
|
|
78848
78868
|
/** Used to check objects for own properties. */
|
|
78849
|
-
var hasOwnProperty$
|
|
78869
|
+
var hasOwnProperty$1 = objectProto.hasOwnProperty;
|
|
78850
78870
|
|
|
78851
78871
|
/**
|
|
78852
78872
|
* Used to resolve the
|
|
@@ -78866,7 +78886,7 @@ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
|
|
|
78866
78886
|
* @returns {string} Returns the raw `toStringTag`.
|
|
78867
78887
|
*/
|
|
78868
78888
|
function getRawTag(value) {
|
|
78869
|
-
var isOwn = hasOwnProperty$
|
|
78889
|
+
var isOwn = hasOwnProperty$1.call(value, symToStringTag),
|
|
78870
78890
|
tag = value[symToStringTag];
|
|
78871
78891
|
|
|
78872
78892
|
try {
|
|
@@ -79070,11 +79090,11 @@ var funcProto$1 = Function.prototype,
|
|
|
79070
79090
|
var funcToString$1 = funcProto$1.toString;
|
|
79071
79091
|
|
|
79072
79092
|
/** Used to check objects for own properties. */
|
|
79073
|
-
var hasOwnProperty$
|
|
79093
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
79074
79094
|
|
|
79075
79095
|
/** Used to detect if a method is native. */
|
|
79076
79096
|
var reIsNative = RegExp('^' +
|
|
79077
|
-
funcToString$1.call(hasOwnProperty$
|
|
79097
|
+
funcToString$1.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
|
|
79078
79098
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
79079
79099
|
);
|
|
79080
79100
|
|
|
@@ -79174,7 +79194,7 @@ var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
|
79174
79194
|
var objectProto$3 = Object.prototype;
|
|
79175
79195
|
|
|
79176
79196
|
/** Used to check objects for own properties. */
|
|
79177
|
-
var hasOwnProperty$
|
|
79197
|
+
var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
79178
79198
|
|
|
79179
79199
|
/**
|
|
79180
79200
|
* Gets the hash value for `key`.
|
|
@@ -79191,7 +79211,7 @@ function hashGet(key) {
|
|
|
79191
79211
|
var result = data[key];
|
|
79192
79212
|
return result === HASH_UNDEFINED ? undefined : result;
|
|
79193
79213
|
}
|
|
79194
|
-
return hasOwnProperty$
|
|
79214
|
+
return hasOwnProperty$3.call(data, key) ? data[key] : undefined;
|
|
79195
79215
|
}
|
|
79196
79216
|
|
|
79197
79217
|
var _hashGet = hashGet;
|
|
@@ -79200,7 +79220,7 @@ var _hashGet = hashGet;
|
|
|
79200
79220
|
var objectProto$4 = Object.prototype;
|
|
79201
79221
|
|
|
79202
79222
|
/** Used to check objects for own properties. */
|
|
79203
|
-
var hasOwnProperty$
|
|
79223
|
+
var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
|
|
79204
79224
|
|
|
79205
79225
|
/**
|
|
79206
79226
|
* Checks if a hash value for `key` exists.
|
|
@@ -79213,7 +79233,7 @@ var hasOwnProperty$5 = objectProto$4.hasOwnProperty;
|
|
|
79213
79233
|
*/
|
|
79214
79234
|
function hashHas(key) {
|
|
79215
79235
|
var data = this.__data__;
|
|
79216
|
-
return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$
|
|
79236
|
+
return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$4.call(data, key);
|
|
79217
79237
|
}
|
|
79218
79238
|
|
|
79219
79239
|
var _hashHas = hashHas;
|
|
@@ -79526,7 +79546,7 @@ var _baseAssignValue = baseAssignValue;
|
|
|
79526
79546
|
var objectProto$5 = Object.prototype;
|
|
79527
79547
|
|
|
79528
79548
|
/** Used to check objects for own properties. */
|
|
79529
|
-
var hasOwnProperty$
|
|
79549
|
+
var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
|
|
79530
79550
|
|
|
79531
79551
|
/**
|
|
79532
79552
|
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
@@ -79540,7 +79560,7 @@ var hasOwnProperty$6 = objectProto$5.hasOwnProperty;
|
|
|
79540
79560
|
*/
|
|
79541
79561
|
function assignValue(object, key, value) {
|
|
79542
79562
|
var objValue = object[key];
|
|
79543
|
-
if (!(hasOwnProperty$
|
|
79563
|
+
if (!(hasOwnProperty$5.call(object, key) && eq_1(objValue, value)) ||
|
|
79544
79564
|
(value === undefined && !(key in object))) {
|
|
79545
79565
|
_baseAssignValue(object, key, value);
|
|
79546
79566
|
}
|
|
@@ -79657,7 +79677,7 @@ var _baseIsArguments = baseIsArguments;
|
|
|
79657
79677
|
var objectProto$6 = Object.prototype;
|
|
79658
79678
|
|
|
79659
79679
|
/** Used to check objects for own properties. */
|
|
79660
|
-
var hasOwnProperty$
|
|
79680
|
+
var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
|
|
79661
79681
|
|
|
79662
79682
|
/** Built-in value references. */
|
|
79663
79683
|
var propertyIsEnumerable = objectProto$6.propertyIsEnumerable;
|
|
@@ -79681,7 +79701,7 @@ var propertyIsEnumerable = objectProto$6.propertyIsEnumerable;
|
|
|
79681
79701
|
* // => false
|
|
79682
79702
|
*/
|
|
79683
79703
|
var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
|
|
79684
|
-
return isObjectLike_1(value) && hasOwnProperty$
|
|
79704
|
+
return isObjectLike_1(value) && hasOwnProperty$6.call(value, 'callee') &&
|
|
79685
79705
|
!propertyIsEnumerable.call(value, 'callee');
|
|
79686
79706
|
};
|
|
79687
79707
|
|
|
@@ -79964,7 +79984,7 @@ var isTypedArray_1 = isTypedArray;
|
|
|
79964
79984
|
var objectProto$7 = Object.prototype;
|
|
79965
79985
|
|
|
79966
79986
|
/** Used to check objects for own properties. */
|
|
79967
|
-
var hasOwnProperty$
|
|
79987
|
+
var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
|
|
79968
79988
|
|
|
79969
79989
|
/**
|
|
79970
79990
|
* Creates an array of the enumerable property names of the array-like `value`.
|
|
@@ -79984,7 +80004,7 @@ function arrayLikeKeys(value, inherited) {
|
|
|
79984
80004
|
length = result.length;
|
|
79985
80005
|
|
|
79986
80006
|
for (var key in value) {
|
|
79987
|
-
if ((inherited || hasOwnProperty$
|
|
80007
|
+
if ((inherited || hasOwnProperty$7.call(value, key)) &&
|
|
79988
80008
|
!(skipIndexes && (
|
|
79989
80009
|
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
79990
80010
|
key == 'length' ||
|
|
@@ -80047,7 +80067,7 @@ var _nativeKeys = nativeKeys;
|
|
|
80047
80067
|
var objectProto$9 = Object.prototype;
|
|
80048
80068
|
|
|
80049
80069
|
/** Used to check objects for own properties. */
|
|
80050
|
-
var hasOwnProperty$
|
|
80070
|
+
var hasOwnProperty$8 = objectProto$9.hasOwnProperty;
|
|
80051
80071
|
|
|
80052
80072
|
/**
|
|
80053
80073
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
@@ -80062,7 +80082,7 @@ function baseKeys(object) {
|
|
|
80062
80082
|
}
|
|
80063
80083
|
var result = [];
|
|
80064
80084
|
for (var key in Object(object)) {
|
|
80065
|
-
if (hasOwnProperty$
|
|
80085
|
+
if (hasOwnProperty$8.call(object, key) && key != 'constructor') {
|
|
80066
80086
|
result.push(key);
|
|
80067
80087
|
}
|
|
80068
80088
|
}
|
|
@@ -80176,7 +80196,7 @@ var _nativeKeysIn = nativeKeysIn;
|
|
|
80176
80196
|
var objectProto$a = Object.prototype;
|
|
80177
80197
|
|
|
80178
80198
|
/** Used to check objects for own properties. */
|
|
80179
|
-
var hasOwnProperty$
|
|
80199
|
+
var hasOwnProperty$9 = objectProto$a.hasOwnProperty;
|
|
80180
80200
|
|
|
80181
80201
|
/**
|
|
80182
80202
|
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
@@ -80193,7 +80213,7 @@ function baseKeysIn(object) {
|
|
|
80193
80213
|
result = [];
|
|
80194
80214
|
|
|
80195
80215
|
for (var key in object) {
|
|
80196
|
-
if (!(key == 'constructor' && (isProto || !hasOwnProperty$
|
|
80216
|
+
if (!(key == 'constructor' && (isProto || !hasOwnProperty$9.call(object, key)))) {
|
|
80197
80217
|
result.push(key);
|
|
80198
80218
|
}
|
|
80199
80219
|
}
|
|
@@ -80576,7 +80596,7 @@ var _getTag = getTag;
|
|
|
80576
80596
|
var objectProto$c = Object.prototype;
|
|
80577
80597
|
|
|
80578
80598
|
/** Used to check objects for own properties. */
|
|
80579
|
-
var hasOwnProperty$
|
|
80599
|
+
var hasOwnProperty$a = objectProto$c.hasOwnProperty;
|
|
80580
80600
|
|
|
80581
80601
|
/**
|
|
80582
80602
|
* Initializes an array clone.
|
|
@@ -80590,7 +80610,7 @@ function initCloneArray(array) {
|
|
|
80590
80610
|
result = new array.constructor(length);
|
|
80591
80611
|
|
|
80592
80612
|
// Add properties assigned by `RegExp#exec`.
|
|
80593
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty$
|
|
80613
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty$a.call(array, 'index')) {
|
|
80594
80614
|
result.index = array.index;
|
|
80595
80615
|
result.input = array.input;
|
|
80596
80616
|
}
|