commons-assessment 12.0.10 → 12.0.11

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.
@@ -2038,10 +2038,10 @@
2038
2038
  var _this = this;
2039
2039
  var _a, _b;
2040
2040
  this.sectionFormGroups = [];
2041
- (_b = (_a = this.assessmentQuestionPaperData) === null || _a === void 0 ? void 0 : _a.questionPaperSectionList) === null || _b === void 0 ? void 0 : _b.forEach(function (section) {
2041
+ (_b = sortByOrder((_a = this.assessmentQuestionPaperData) === null || _a === void 0 ? void 0 : _a.questionPaperSectionList)) === null || _b === void 0 ? void 0 : _b.forEach(function (section) {
2042
2042
  var _a, _b;
2043
2043
  var group = {};
2044
- (_a = section === null || section === void 0 ? void 0 : section.sectionQuestionsList) === null || _a === void 0 ? void 0 : _a.forEach(function (sq) {
2044
+ (_a = sortByOrder(section === null || section === void 0 ? void 0 : section.sectionQuestionsList)) === null || _a === void 0 ? void 0 : _a.forEach(function (sq) {
2045
2045
  var _a;
2046
2046
  var qId = sq.questionId;
2047
2047
  if (!qId || !_this.questionBank[qId])
@@ -2087,7 +2087,7 @@
2087
2087
  }
2088
2088
  });
2089
2089
  var fg = _this.fb.group(group);
2090
- (_b = section === null || section === void 0 ? void 0 : section.sectionQuestionsList) === null || _b === void 0 ? void 0 : _b.forEach(function (sq) {
2090
+ (_b = sortByOrder(section === null || section === void 0 ? void 0 : section.sectionQuestionsList)) === null || _b === void 0 ? void 0 : _b.forEach(function (sq) {
2091
2091
  var _a, _b;
2092
2092
  var qId = sq.questionId;
2093
2093
  if (!qId || !_this.questionBank[qId])
@@ -2138,9 +2138,7 @@
2138
2138
  _this.sectionErrors.push(false);
2139
2139
  });
2140
2140
  this.emitStepDetails();
2141
- setTimeout(function () {
2142
- _this.showLoader = false;
2143
- });
2141
+ this.showLoader = false;
2144
2142
  };
2145
2143
  AssessmentTakerComponent.prototype.emitStepDetails = function () {
2146
2144
  if (this.sectionFormGroups && this.sectionFormGroups.length > 0) {
@@ -3849,7 +3847,7 @@
3849
3847
  this.assessmentId = 0;
3850
3848
  this.assessmentInstanceId = 0;
3851
3849
  this.defaultAssessmentDTO = {};
3852
- this.enableSkillsToQuestionMapping = true;
3850
+ this.enableSkillsToQuestionMapping = false;
3853
3851
  this.assessmentIdChange = new i0.EventEmitter();
3854
3852
  this.assessmentInstanceIdChange = new i0.EventEmitter();
3855
3853
  this.snackbarMessage = new i0.EventEmitter();