mario-education 2.4.258-release → 2.4.259-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 CHANGED
@@ -29100,6 +29100,17 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
29100
29100
  });
29101
29101
  !!student && history.push("/student-detail/overview/" + student[student.length - 1] + "?isReadOnly=true");
29102
29102
  },
29103
+ mouseLeave: function mouseLeave() {
29104
+ var chartBubbleCustom = document.getElementById("chart_bubble_custom");
29105
+
29106
+ if (!!chartBubbleCustom) {
29107
+ var tooltipsClone = chartBubbleCustom.getElementsByClassName("custom-tooltip-clone");
29108
+
29109
+ while (tooltipsClone.length > 0) {
29110
+ tooltipsClone[0].remove();
29111
+ }
29112
+ }
29113
+ },
29103
29114
  mouseMove: function mouseMove(_event, _chartContext, config) {
29104
29115
  var _config$config;
29105
29116
 
@@ -29144,9 +29155,11 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
29144
29155
  var series = seriesGroup[index];
29145
29156
  var dots = series.getElementsByClassName("apexcharts-tooltip-marker") || [];
29146
29157
  var labels = series.getElementsByClassName("apexcharts-tooltip-text-value") || [];
29158
+ var yLabels = series.getElementsByClassName("apexcharts-tooltip-text-y-value") || [];
29147
29159
  var students = series.getElementsByClassName("apexcharts-tooltip-text-z-value") || [];
29148
29160
  var dotElement = dots[0];
29149
29161
  var innerLabel = labels[0];
29162
+ var innerYLabel = yLabels[0];
29150
29163
  var innerStudent = students[0];
29151
29164
 
29152
29165
  if (!!dotElement) {
@@ -29159,6 +29172,12 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
29159
29172
  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
29173
  }
29161
29174
 
29175
+ if (!!innerYLabel) {
29176
+ var _value$2;
29177
+
29178
+ 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) + "%";
29179
+ }
29180
+
29162
29181
  if (!!innerStudent) {
29163
29182
  innerStudent.innerHTML = (value === null || value === void 0 ? void 0 : value[2]) || "";
29164
29183
  }
@@ -29184,15 +29203,24 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
29184
29203
 
29185
29204
  var _labels = _series.getElementsByClassName("apexcharts-tooltip-text-value") || [];
29186
29205
 
29206
+ var _yLabels = _series.getElementsByClassName("apexcharts-tooltip-text-y-value") || [];
29207
+
29187
29208
  var _students = _series.getElementsByClassName("apexcharts-tooltip-text-z-value") || [];
29188
29209
 
29189
29210
  var _innerLabel = _labels[0];
29211
+ var _innerYLabel = _yLabels[0];
29190
29212
  var _innerStudent = _students[0];
29191
29213
 
29192
29214
  if (!!_innerLabel) {
29193
- var _value$2;
29215
+ var _value$3;
29216
+
29217
+ _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) + "%";
29218
+ }
29219
+
29220
+ if (!!_innerYLabel) {
29221
+ var _value$4;
29194
29222
 
29195
- _innerLabel.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) + "%";
29223
+ _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
29224
  }
29197
29225
 
29198
29226
  if (!!_innerStudent) {
@@ -37293,7 +37321,7 @@ var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion'
37293
37321
  var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
37294
37322
  var useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;
37295
37323
 
37296
- var hasOwnProperty = {}.hasOwnProperty;
37324
+ var hasOwn = {}.hasOwnProperty;
37297
37325
 
37298
37326
  var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
37299
37327
  // because this module is primarily intended for the browser and node
@@ -37378,7 +37406,7 @@ var createEmotionProps = function createEmotionProps(type, props) {
37378
37406
  var newProps = {};
37379
37407
 
37380
37408
  for (var key in props) {
37381
- if (hasOwnProperty.call(props, key)) {
37409
+ if (hasOwn.call(props, key)) {
37382
37410
  newProps[key] = props[key];
37383
37411
  }
37384
37412
  }
@@ -37439,7 +37467,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
37439
37467
  var newProps = {};
37440
37468
 
37441
37469
  for (var key in props) {
37442
- if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
37470
+ if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
37443
37471
  newProps[key] = props[key];
37444
37472
  }
37445
37473
  }
@@ -37481,7 +37509,7 @@ unwrapExports(_extends_1);
37481
37509
 
37482
37510
  var pkg = {
37483
37511
  name: "@emotion/react",
37484
- version: "11.11.3",
37512
+ version: "11.11.4",
37485
37513
  main: "dist/emotion-react.cjs.js",
37486
37514
  module: "dist/emotion-react.esm.js",
37487
37515
  browser: {
@@ -37614,7 +37642,7 @@ var pkg = {
37614
37642
  var jsx = function jsx(type, props) {
37615
37643
  var args = arguments;
37616
37644
 
37617
- if (props == null || !hasOwnProperty.call(props, 'css')) {
37645
+ if (props == null || !hasOwn.call(props, 'css')) {
37618
37646
  // $FlowFixMe
37619
37647
  return React.createElement.apply(undefined, args);
37620
37648
  }
@@ -37949,7 +37977,7 @@ object-assign
37949
37977
  */
37950
37978
  /* eslint-disable no-unused-vars */
37951
37979
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
37952
- var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
37980
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
37953
37981
  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
37954
37982
 
37955
37983
  function toObject(val) {
@@ -38013,7 +38041,7 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
38013
38041
  from = Object(arguments[s]);
38014
38042
 
38015
38043
  for (var key in from) {
38016
- if (hasOwnProperty$1.call(from, key)) {
38044
+ if (hasOwnProperty.call(from, key)) {
38017
38045
  to[key] = from[key];
38018
38046
  }
38019
38047
  }
@@ -78846,7 +78874,7 @@ var _Symbol = Symbol$1;
78846
78874
  var objectProto = Object.prototype;
78847
78875
 
78848
78876
  /** Used to check objects for own properties. */
78849
- var hasOwnProperty$2 = objectProto.hasOwnProperty;
78877
+ var hasOwnProperty$1 = objectProto.hasOwnProperty;
78850
78878
 
78851
78879
  /**
78852
78880
  * Used to resolve the
@@ -78866,7 +78894,7 @@ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
78866
78894
  * @returns {string} Returns the raw `toStringTag`.
78867
78895
  */
78868
78896
  function getRawTag(value) {
78869
- var isOwn = hasOwnProperty$2.call(value, symToStringTag),
78897
+ var isOwn = hasOwnProperty$1.call(value, symToStringTag),
78870
78898
  tag = value[symToStringTag];
78871
78899
 
78872
78900
  try {
@@ -79070,11 +79098,11 @@ var funcProto$1 = Function.prototype,
79070
79098
  var funcToString$1 = funcProto$1.toString;
79071
79099
 
79072
79100
  /** Used to check objects for own properties. */
79073
- var hasOwnProperty$3 = objectProto$2.hasOwnProperty;
79101
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
79074
79102
 
79075
79103
  /** Used to detect if a method is native. */
79076
79104
  var reIsNative = RegExp('^' +
79077
- funcToString$1.call(hasOwnProperty$3).replace(reRegExpChar, '\\$&')
79105
+ funcToString$1.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
79078
79106
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
79079
79107
  );
79080
79108
 
@@ -79174,7 +79202,7 @@ var HASH_UNDEFINED = '__lodash_hash_undefined__';
79174
79202
  var objectProto$3 = Object.prototype;
79175
79203
 
79176
79204
  /** Used to check objects for own properties. */
79177
- var hasOwnProperty$4 = objectProto$3.hasOwnProperty;
79205
+ var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
79178
79206
 
79179
79207
  /**
79180
79208
  * Gets the hash value for `key`.
@@ -79191,7 +79219,7 @@ function hashGet(key) {
79191
79219
  var result = data[key];
79192
79220
  return result === HASH_UNDEFINED ? undefined : result;
79193
79221
  }
79194
- return hasOwnProperty$4.call(data, key) ? data[key] : undefined;
79222
+ return hasOwnProperty$3.call(data, key) ? data[key] : undefined;
79195
79223
  }
79196
79224
 
79197
79225
  var _hashGet = hashGet;
@@ -79200,7 +79228,7 @@ var _hashGet = hashGet;
79200
79228
  var objectProto$4 = Object.prototype;
79201
79229
 
79202
79230
  /** Used to check objects for own properties. */
79203
- var hasOwnProperty$5 = objectProto$4.hasOwnProperty;
79231
+ var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
79204
79232
 
79205
79233
  /**
79206
79234
  * Checks if a hash value for `key` exists.
@@ -79213,7 +79241,7 @@ var hasOwnProperty$5 = objectProto$4.hasOwnProperty;
79213
79241
  */
79214
79242
  function hashHas(key) {
79215
79243
  var data = this.__data__;
79216
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
79244
+ return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$4.call(data, key);
79217
79245
  }
79218
79246
 
79219
79247
  var _hashHas = hashHas;
@@ -79526,7 +79554,7 @@ var _baseAssignValue = baseAssignValue;
79526
79554
  var objectProto$5 = Object.prototype;
79527
79555
 
79528
79556
  /** Used to check objects for own properties. */
79529
- var hasOwnProperty$6 = objectProto$5.hasOwnProperty;
79557
+ var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
79530
79558
 
79531
79559
  /**
79532
79560
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -79540,7 +79568,7 @@ var hasOwnProperty$6 = objectProto$5.hasOwnProperty;
79540
79568
  */
79541
79569
  function assignValue(object, key, value) {
79542
79570
  var objValue = object[key];
79543
- if (!(hasOwnProperty$6.call(object, key) && eq_1(objValue, value)) ||
79571
+ if (!(hasOwnProperty$5.call(object, key) && eq_1(objValue, value)) ||
79544
79572
  (value === undefined && !(key in object))) {
79545
79573
  _baseAssignValue(object, key, value);
79546
79574
  }
@@ -79657,7 +79685,7 @@ var _baseIsArguments = baseIsArguments;
79657
79685
  var objectProto$6 = Object.prototype;
79658
79686
 
79659
79687
  /** Used to check objects for own properties. */
79660
- var hasOwnProperty$7 = objectProto$6.hasOwnProperty;
79688
+ var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
79661
79689
 
79662
79690
  /** Built-in value references. */
79663
79691
  var propertyIsEnumerable = objectProto$6.propertyIsEnumerable;
@@ -79681,7 +79709,7 @@ var propertyIsEnumerable = objectProto$6.propertyIsEnumerable;
79681
79709
  * // => false
79682
79710
  */
79683
79711
  var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
79684
- return isObjectLike_1(value) && hasOwnProperty$7.call(value, 'callee') &&
79712
+ return isObjectLike_1(value) && hasOwnProperty$6.call(value, 'callee') &&
79685
79713
  !propertyIsEnumerable.call(value, 'callee');
79686
79714
  };
79687
79715
 
@@ -79964,7 +79992,7 @@ var isTypedArray_1 = isTypedArray;
79964
79992
  var objectProto$7 = Object.prototype;
79965
79993
 
79966
79994
  /** Used to check objects for own properties. */
79967
- var hasOwnProperty$8 = objectProto$7.hasOwnProperty;
79995
+ var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
79968
79996
 
79969
79997
  /**
79970
79998
  * Creates an array of the enumerable property names of the array-like `value`.
@@ -79984,7 +80012,7 @@ function arrayLikeKeys(value, inherited) {
79984
80012
  length = result.length;
79985
80013
 
79986
80014
  for (var key in value) {
79987
- if ((inherited || hasOwnProperty$8.call(value, key)) &&
80015
+ if ((inherited || hasOwnProperty$7.call(value, key)) &&
79988
80016
  !(skipIndexes && (
79989
80017
  // Safari 9 has enumerable `arguments.length` in strict mode.
79990
80018
  key == 'length' ||
@@ -80047,7 +80075,7 @@ var _nativeKeys = nativeKeys;
80047
80075
  var objectProto$9 = Object.prototype;
80048
80076
 
80049
80077
  /** Used to check objects for own properties. */
80050
- var hasOwnProperty$9 = objectProto$9.hasOwnProperty;
80078
+ var hasOwnProperty$8 = objectProto$9.hasOwnProperty;
80051
80079
 
80052
80080
  /**
80053
80081
  * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
@@ -80062,7 +80090,7 @@ function baseKeys(object) {
80062
80090
  }
80063
80091
  var result = [];
80064
80092
  for (var key in Object(object)) {
80065
- if (hasOwnProperty$9.call(object, key) && key != 'constructor') {
80093
+ if (hasOwnProperty$8.call(object, key) && key != 'constructor') {
80066
80094
  result.push(key);
80067
80095
  }
80068
80096
  }
@@ -80176,7 +80204,7 @@ var _nativeKeysIn = nativeKeysIn;
80176
80204
  var objectProto$a = Object.prototype;
80177
80205
 
80178
80206
  /** Used to check objects for own properties. */
80179
- var hasOwnProperty$a = objectProto$a.hasOwnProperty;
80207
+ var hasOwnProperty$9 = objectProto$a.hasOwnProperty;
80180
80208
 
80181
80209
  /**
80182
80210
  * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
@@ -80193,7 +80221,7 @@ function baseKeysIn(object) {
80193
80221
  result = [];
80194
80222
 
80195
80223
  for (var key in object) {
80196
- if (!(key == 'constructor' && (isProto || !hasOwnProperty$a.call(object, key)))) {
80224
+ if (!(key == 'constructor' && (isProto || !hasOwnProperty$9.call(object, key)))) {
80197
80225
  result.push(key);
80198
80226
  }
80199
80227
  }
@@ -80576,7 +80604,7 @@ var _getTag = getTag;
80576
80604
  var objectProto$c = Object.prototype;
80577
80605
 
80578
80606
  /** Used to check objects for own properties. */
80579
- var hasOwnProperty$b = objectProto$c.hasOwnProperty;
80607
+ var hasOwnProperty$a = objectProto$c.hasOwnProperty;
80580
80608
 
80581
80609
  /**
80582
80610
  * Initializes an array clone.
@@ -80590,7 +80618,7 @@ function initCloneArray(array) {
80590
80618
  result = new array.constructor(length);
80591
80619
 
80592
80620
  // Add properties assigned by `RegExp#exec`.
80593
- if (length && typeof array[0] == 'string' && hasOwnProperty$b.call(array, 'index')) {
80621
+ if (length && typeof array[0] == 'string' && hasOwnProperty$a.call(array, 'index')) {
80594
80622
  result.index = array.index;
80595
80623
  result.input = array.input;
80596
80624
  }