survey-analytics 2.2.0 → 2.2.1

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.2.0
2
+ * surveyjs - SurveyJS Dashboard library v2.2.1
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "lint": "eslint ./src --quiet",
18
18
  "pre-push-check": "npm run lint && npm run test"
19
19
  },
20
- "version": "2.2.0",
20
+ "version": "2.2.1",
21
21
  "name": "survey-analytics",
22
22
  "description": "SurveyJS analytics Library.",
23
23
  "main": "survey.analytics.js",
@@ -88,7 +88,7 @@
88
88
  "peerDependencies": {
89
89
  "@types/plotly.js-dist-min": "^2.3.0",
90
90
  "@types/tabulator-tables": "^6.2.3",
91
- "survey-core": "2.2.0"
91
+ "survey-core": "2.2.1"
92
92
  },
93
93
  "husky": {
94
94
  "hooks": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.2.0
2
+ * surveyjs - SurveyJS Dashboard library v2.2.1
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.2.0
2
+ * surveyjs - SurveyJS Dashboard library v2.2.1
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -11489,7 +11489,7 @@ var SelectBase = /** @class */ (function (_super) {
11489
11489
  if (!!question.choicesFromQuestion && !!question.survey) {
11490
11490
  question = question.survey.getQuestionByName(question.choicesFromQuestion);
11491
11491
  }
11492
- return question["activeChoices"];
11492
+ return question["activeChoices"] || question.visibleChoices || question.choices || [];
11493
11493
  };
11494
11494
  SelectBase.prototype.getValues = function () {
11495
11495
  var values = this.valuesSource().map(function (choice) { return choice.value; });