survey-analytics 2.5.21 → 2.5.23

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.5.21",
2
+ "version": "2.5.23",
3
3
  "name": "survey-analytics",
4
4
  "scripts": {
5
5
  "start": "webpack-dev-server --env buildType=dev",
@@ -93,7 +93,7 @@
93
93
  "@types/mongodb": "^4.0.6",
94
94
  "@types/plotly.js-dist-min": "^2.3.0",
95
95
  "@types/tabulator-tables": "^6.2.3",
96
- "survey-core": "2.5.21"
96
+ "survey-core": "2.5.23"
97
97
  },
98
98
  "husky": {
99
99
  "hooks": {
@@ -67,6 +67,7 @@ export declare class Tabulator extends Table {
67
67
  private columnMovedCallback;
68
68
  private columnResizedCallback;
69
69
  private rowFormatter;
70
+ private getNestedCellDisplayValue;
70
71
  private createNestedTable;
71
72
  private createNestedTableFormatter;
72
73
  private formatNestedDataForExport;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.21
2
+ * surveyjs - SurveyJS Dashboard library v2.5.23
3
3
  * Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: SEE LICENSE IN LICENSE
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.21
2
+ * surveyjs - SurveyJS Dashboard library v2.5.23
3
3
  * Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: SEE LICENSE IN LICENSE
5
5
  */
@@ -12683,6 +12683,12 @@ var SelectBase = /** @class */ (function (_super) {
12683
12683
  question.visibleChoicesChangedCallback = function () {
12684
12684
  _this.dataProvider.raiseDataChanged();
12685
12685
  };
12686
+ if (typeof question.getSurvey == "function") {
12687
+ var survey = question.getSurvey();
12688
+ if (!!survey) {
12689
+ survey.showInvisibleElements = true;
12690
+ }
12691
+ }
12686
12692
  }
12687
12693
  _this._supportSelection = true;
12688
12694
  _this._showOnlyPercentages = _this.options.showOnlyPercentages === true;
@@ -12899,7 +12905,7 @@ var SelectBase = /** @class */ (function (_super) {
12899
12905
  var correctAnswerValue = _super.prototype.getCorrectAnswerText.call(this);
12900
12906
  var resultValues = Array.isArray(correctAnswerValue) ? correctAnswerValue : [correctAnswerValue];
12901
12907
  var selectBaseQuestion = this.question;
12902
- return resultValues.map(function (value) { return survey_core__WEBPACK_IMPORTED_MODULE_1__.ItemValue.getTextOrHtmlByValue(selectBaseQuestion.choices, value); }).join(", ");
12908
+ return resultValues.map(function (value) { return survey_core__WEBPACK_IMPORTED_MODULE_1__.ItemValue.getTextOrHtmlByValue(selectBaseQuestion.visibleChoices, value); }).join(", ");
12903
12909
  };
12904
12910
  SelectBase.prototype.isSupportSoftUpdateContent = function () {
12905
12911
  return !this._hideEmptyAnswers;
@@ -12927,7 +12933,7 @@ var SelectBase = /** @class */ (function (_super) {
12927
12933
  return selBase.otherItem;
12928
12934
  }
12929
12935
  else {
12930
- return selBase.choices.filter(function (choice) { return choice.text === itemText; })[0];
12936
+ return selBase.visibleChoices.filter(function (choice) { return choice.text === itemText; })[0];
12931
12937
  }
12932
12938
  };
12933
12939
  SelectBase.prototype.onDataChanged = function () {