survey-analytics 2.5.22 → 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/fesm/shared.mjs +1 -1
- package/fesm/shared2.mjs +9 -3
- package/fesm/shared2.mjs.map +1 -1
- package/fesm/survey.analytics.core.mjs +1 -1
- package/fesm/survey.analytics.mjs +1 -1
- package/fesm/survey.analytics.mongo.mjs +1 -1
- package/fesm/survey.analytics.tabulator.mjs +50 -8
- package/fesm/survey.analytics.tabulator.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-analytics-tabulator.types/tables/tabulator.d.ts +1 -0
- package/survey.analytics.core.css +1 -1
- package/survey.analytics.core.js +9 -3
- package/survey.analytics.core.js.map +1 -1
- package/survey.analytics.core.min.css +1 -1
- package/survey.analytics.core.min.js +1 -1
- package/survey.analytics.core.min.js.LICENSE.txt +1 -1
- package/survey.analytics.css +1 -1
- package/survey.analytics.js +9 -3
- package/survey.analytics.js.map +1 -1
- package/survey.analytics.min.css +1 -1
- package/survey.analytics.min.js +1 -1
- package/survey.analytics.min.js.LICENSE.txt +1 -1
- package/survey.analytics.mongo.js +1 -1
- package/survey.analytics.mongo.min.js.LICENSE.txt +1 -1
- package/survey.analytics.tabulator.css +1 -1
- package/survey.analytics.tabulator.js +52 -8
- package/survey.analytics.tabulator.js.map +1 -1
- package/survey.analytics.tabulator.min.css +1 -1
- package/survey.analytics.tabulator.min.js +1 -1
- package/survey.analytics.tabulator.min.js.LICENSE.txt +1 -1
package/fesm/shared.mjs
CHANGED
package/fesm/shared2.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.5.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.5.23
|
|
3
3
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -1501,6 +1501,12 @@ class SelectBase extends VisualizerBase {
|
|
|
1501
1501
|
question.visibleChoicesChangedCallback = () => {
|
|
1502
1502
|
this.dataProvider.raiseDataChanged();
|
|
1503
1503
|
};
|
|
1504
|
+
if (typeof question.getSurvey == "function") {
|
|
1505
|
+
const survey = question.getSurvey();
|
|
1506
|
+
if (!!survey) {
|
|
1507
|
+
survey.showInvisibleElements = true;
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1504
1510
|
}
|
|
1505
1511
|
this._supportSelection = true;
|
|
1506
1512
|
this._showOnlyPercentages = this.options.showOnlyPercentages === true;
|
|
@@ -1710,7 +1716,7 @@ class SelectBase extends VisualizerBase {
|
|
|
1710
1716
|
const correctAnswerValue = super.getCorrectAnswerText();
|
|
1711
1717
|
const resultValues = Array.isArray(correctAnswerValue) ? correctAnswerValue : [correctAnswerValue];
|
|
1712
1718
|
const selectBaseQuestion = this.question;
|
|
1713
|
-
return resultValues.map((value) => ItemValue.getTextOrHtmlByValue(selectBaseQuestion.
|
|
1719
|
+
return resultValues.map((value) => ItemValue.getTextOrHtmlByValue(selectBaseQuestion.visibleChoices, value)).join(", ");
|
|
1714
1720
|
}
|
|
1715
1721
|
isSupportSoftUpdateContent() {
|
|
1716
1722
|
return !this._hideEmptyAnswers;
|
|
@@ -1738,7 +1744,7 @@ class SelectBase extends VisualizerBase {
|
|
|
1738
1744
|
return selBase.otherItem;
|
|
1739
1745
|
}
|
|
1740
1746
|
else {
|
|
1741
|
-
return selBase.
|
|
1747
|
+
return selBase.visibleChoices.filter((choice) => choice.text === itemText)[0];
|
|
1742
1748
|
}
|
|
1743
1749
|
}
|
|
1744
1750
|
onDataChanged() {
|