survey-analytics 2.5.39 → 2.5.41

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.39
2
+ * surveyjs - SurveyJS Dashboard library v2.5.41
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
  */
@@ -3012,6 +3012,9 @@ function createImagesContainer(links) {
3012
3012
  });
3013
3013
  return linksContainer;
3014
3014
  }
3015
+ function stripHtml(html) {
3016
+ return (html || "").replace(/(<([^>]+)>)/gi, "");
3017
+ }
3015
3018
  function toPrecision(value, precision = 2) {
3016
3019
  const base = Math.pow(10, precision);
3017
3020
  return Math.round(base * value) / base;
@@ -3047,5 +3050,5 @@ function getIconSymbolTemplate(iconId, iconSvg) {
3047
3050
  const iconsHtml = Object.keys(iconsData).map(iconId => getIconSymbolTemplate(iconId, iconsData[iconId]));
3048
3051
  const svgTemplate = `<svg style="display:none;">${iconsHtml}<svg>`;
3049
3052
 
3050
- export { DocumentHelper as D, surveyStrings as a, DataHelper as b, createImagesContainer as c, createLinksContainer as d, createCommercialLicenseLink as e, svgTemplate as f, createLoadingIndicator as g, localization as l, setupLocale as s, toPrecision as t };
3053
+ export { DocumentHelper as D, surveyStrings as a, DataHelper as b, createImagesContainer as c, createLinksContainer as d, stripHtml as e, createCommercialLicenseLink as f, svgTemplate as g, createLoadingIndicator as h, localization as l, setupLocale as s, toPrecision as t };
3051
3054
  //# sourceMappingURL=shared.mjs.map