survey-analytics 2.5.10 → 2.5.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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.10
2
+ * surveyjs - SurveyJS Dashboard library v2.5.11
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.10
2
+ * surveyjs - SurveyJS Dashboard library v2.5.11
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.10
2
+ * surveyjs - SurveyJS Dashboard library v2.5.11
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.10
2
+ * surveyjs - SurveyJS Dashboard library v2.5.11
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
  */
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.5.10",
2
+ "version": "2.5.11",
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.10"
96
+ "survey-core": "2.5.11"
97
97
  },
98
98
  "husky": {
99
99
  "hooks": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.10
2
+ * surveyjs - SurveyJS Dashboard library v2.5.11
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.10
2
+ * surveyjs - SurveyJS Dashboard library v2.5.11
3
3
  * Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: SEE LICENSE IN LICENSE
5
5
  */
@@ -14134,7 +14134,9 @@ var DocumentHelper = /** @class */ (function () {
14134
14134
  DocumentHelper.createElement = function (tagName, className, attrs) {
14135
14135
  if (className === void 0) { className = ""; }
14136
14136
  var el = document.createElement(tagName);
14137
- el.className = className;
14137
+ if (!!className) {
14138
+ el.className = className;
14139
+ }
14138
14140
  if (!!attrs) {
14139
14141
  Object.keys(attrs).forEach(function (key) {
14140
14142
  el[key] = attrs[key];
@@ -14279,12 +14281,15 @@ var DataHelper = /** @class */ (function () {
14279
14281
 
14280
14282
  function createLinksContainer(links) {
14281
14283
  var linksContainer = DocumentHelper.createElement("div");
14282
- links.forEach(function (link) {
14284
+ links.forEach(function (link, index) {
14283
14285
  linksContainer.appendChild(DocumentHelper.createElement("a", "", {
14284
14286
  innerText: link.name,
14285
14287
  download: link.name,
14286
14288
  href: link.content,
14287
14289
  }));
14290
+ if (index < links.length - 1) {
14291
+ linksContainer.appendChild(DocumentHelper.createElement("br"));
14292
+ }
14288
14293
  });
14289
14294
  return linksContainer;
14290
14295
  }
@@ -14486,6 +14491,8 @@ __webpack_require__.r(__webpack_exports__);
14486
14491
 
14487
14492
 
14488
14493
  function isChoicesArraysEqual(choices1, choices2) {
14494
+ if (choices1 === undefined || choices2 === undefined)
14495
+ return false;
14489
14496
  if (choices1.length !== choices2.length)
14490
14497
  return false;
14491
14498
  for (var i = 0; i < choices1.length; i++) {