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/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/survey.analytics.css
CHANGED
package/survey.analytics.js
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: SEE LICENSE IN LICENSE
|
|
5
5
|
*/
|
|
@@ -13805,6 +13805,12 @@ var SelectBase = /** @class */ (function (_super) {
|
|
|
13805
13805
|
question.visibleChoicesChangedCallback = function () {
|
|
13806
13806
|
_this.dataProvider.raiseDataChanged();
|
|
13807
13807
|
};
|
|
13808
|
+
if (typeof question.getSurvey == "function") {
|
|
13809
|
+
var survey = question.getSurvey();
|
|
13810
|
+
if (!!survey) {
|
|
13811
|
+
survey.showInvisibleElements = true;
|
|
13812
|
+
}
|
|
13813
|
+
}
|
|
13808
13814
|
}
|
|
13809
13815
|
_this._supportSelection = true;
|
|
13810
13816
|
_this._showOnlyPercentages = _this.options.showOnlyPercentages === true;
|
|
@@ -14021,7 +14027,7 @@ var SelectBase = /** @class */ (function (_super) {
|
|
|
14021
14027
|
var correctAnswerValue = _super.prototype.getCorrectAnswerText.call(this);
|
|
14022
14028
|
var resultValues = Array.isArray(correctAnswerValue) ? correctAnswerValue : [correctAnswerValue];
|
|
14023
14029
|
var selectBaseQuestion = this.question;
|
|
14024
|
-
return resultValues.map(function (value) { return survey_core__WEBPACK_IMPORTED_MODULE_1__.ItemValue.getTextOrHtmlByValue(selectBaseQuestion.
|
|
14030
|
+
return resultValues.map(function (value) { return survey_core__WEBPACK_IMPORTED_MODULE_1__.ItemValue.getTextOrHtmlByValue(selectBaseQuestion.visibleChoices, value); }).join(", ");
|
|
14025
14031
|
};
|
|
14026
14032
|
SelectBase.prototype.isSupportSoftUpdateContent = function () {
|
|
14027
14033
|
return !this._hideEmptyAnswers;
|
|
@@ -14049,7 +14055,7 @@ var SelectBase = /** @class */ (function (_super) {
|
|
|
14049
14055
|
return selBase.otherItem;
|
|
14050
14056
|
}
|
|
14051
14057
|
else {
|
|
14052
|
-
return selBase.
|
|
14058
|
+
return selBase.visibleChoices.filter(function (choice) { return choice.text === itemText; })[0];
|
|
14053
14059
|
}
|
|
14054
14060
|
};
|
|
14055
14061
|
SelectBase.prototype.onDataChanged = function () {
|