survey-analytics 2.5.10 → 2.5.12

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.12
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.12
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.12
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.12
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.12
3
3
  * Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: SEE LICENSE IN LICENSE
5
5
  */
@@ -946,7 +946,7 @@ var finnishStrings = {
946
946
  // [Auto-translated] "Chart"
947
947
  visualizer_boolean: "Kaavio",
948
948
  // [Auto-translated] "Table"
949
- visualizer_options: "Pöytä",
949
+ visualizer_options: "Taulukko",
950
950
  // "NPS"
951
951
  npsScore: "NPS",
952
952
  // "Promoters"
@@ -5941,7 +5941,9 @@ var DocumentHelper = /** @class */ (function () {
5941
5941
  DocumentHelper.createElement = function (tagName, className, attrs) {
5942
5942
  if (className === void 0) { className = ""; }
5943
5943
  var el = document.createElement(tagName);
5944
- el.className = className;
5944
+ if (!!className) {
5945
+ el.className = className;
5946
+ }
5945
5947
  if (!!attrs) {
5946
5948
  Object.keys(attrs).forEach(function (key) {
5947
5949
  el[key] = attrs[key];
@@ -6086,12 +6088,15 @@ var DataHelper = /** @class */ (function () {
6086
6088
 
6087
6089
  function createLinksContainer(links) {
6088
6090
  var linksContainer = DocumentHelper.createElement("div");
6089
- links.forEach(function (link) {
6091
+ links.forEach(function (link, index) {
6090
6092
  linksContainer.appendChild(DocumentHelper.createElement("a", "", {
6091
6093
  innerText: link.name,
6092
6094
  download: link.name,
6093
6095
  href: link.content,
6094
6096
  }));
6097
+ if (index < links.length - 1) {
6098
+ linksContainer.appendChild(DocumentHelper.createElement("br"));
6099
+ }
6095
6100
  });
6096
6101
  return linksContainer;
6097
6102
  }