survey-analytics 2.0.5 → 2.0.7

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/README.md CHANGED
@@ -43,9 +43,9 @@ The SurveyJS Dashboard library lets you build survey data dashboards and simplif
43
43
  ## Resources
44
44
 
45
45
  - [Website](https://surveyjs.io/)
46
- - [Documentation](https://surveyjs.io/Documentation/Analytics)
47
- - [Live Examples](https://surveyjs.io/Examples/Analytics)
48
- - [What's New](https://surveyjs.io/WhatsNew)
46
+ - [Documentation](https://surveyjs.io/dashboard/documentation/overview)
47
+ - [Live Examples](https://surveyjs.io/dashboard/examples/)
48
+ - [What's New](https://surveyjs.io/stay-updated/major-updates/2024)
49
49
 
50
50
  ## Build SurveyJS Dashboard from Sources
51
51
 
package/fesm/shared.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.0.5
2
+ * surveyjs - SurveyJS Dashboard library v2.0.7
3
3
  * Copyright (c) 2015-2025 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.0.5
2
+ * surveyjs - SurveyJS Dashboard library v2.0.7
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -260,7 +260,7 @@ class VisualizerBase {
260
260
  * - `state`: `any`\
261
261
  * A new state of the visualizer. Includes information about the visualized elements and current locale.
262
262
  *
263
- * [View Demo](/dashboard/examples/save-dashboard-state-to-local-storage/ (linkStyle))
263
+ * [View Demo](https://surveyjs.io/dashboard/examples/save-dashboard-state-to-local-storage/ (linkStyle))
264
264
  * @see getState
265
265
  * @see setState
266
266
  */
@@ -775,6 +775,8 @@ class VisualizerBase {
775
775
  /**
776
776
  * Sets the visualizer's state.
777
777
  *
778
+ * [View Demo](https://surveyjs.io/dashboard/examples/save-dashboard-state-to-local-storage/ (linkStyle))
779
+ *
778
780
  * > This method is overriden in classes descendant from `VisualizerBase`.
779
781
  * @see getState
780
782
  * @see onStateChanged
@@ -787,6 +789,8 @@ class VisualizerBase {
787
789
  * If you want to inherit the locale from a visualized survey, assign a [`SurveyModel`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model) instance to the [`survey`](https://surveyjs.io/dashboard/documentation/api-reference/ivisualizationpaneloptions#survey) property of the `IVisualizationPanelOptions` object in the [`VisualizationPanel`](https://surveyjs.io/dashboard/documentation/api-reference/visualizationpanel) constructor.
788
790
  *
789
791
  * If the survey is [translated into more than one language](https://surveyjs.io/form-library/examples/survey-localization/), the toolbar displays a language selection drop-down menu.
792
+ *
793
+ * [View Demo](https://surveyjs.io/dashboard/examples/localize-survey-data-dashboard-ui/ (linkStyle))
790
794
  * @see onLocaleChanged
791
795
  */
792
796
  get locale() {
@@ -886,13 +890,13 @@ function defaultStatisticsCalculator(data, dataInfo) {
886
890
  /**
887
891
  * An object with methods used to register and unregister visualizers for individual question types.
888
892
  *
889
- * [View Demo](https://surveyjs.io/dashboard/examples/visualize-answers-from-text-entry-fields-with-charts/ (linkStyle))
893
+ * [View Demo](https://surveyjs.io/dashboard/examples/custom-survey-data-visualizer/ (linkStyle))
890
894
  */
891
895
  class VisualizationManager {
892
896
  /**
893
897
  * Registers a visualizer for a specified question type.
894
898
  *
895
- * [View Demo](https://surveyjs.io/dashboard/examples/visualize-answers-from-text-entry-fields-with-charts/ (linkStyle))
899
+ * [View Demo](https://surveyjs.io/dashboard/examples/custom-survey-data-visualizer/ (linkStyle))
896
900
  * @param questionType A question [type](https://surveyjs.io/form-library/documentation/api-reference/question#getType).
897
901
  * @param constructor A function that returns a visualizer constructor to register.
898
902
  * @param index A zero-based index that specifies the visualizer's position in the visualizer list for the specified question type. Pass `0` to insert the visualizer at the beginning of the list and use it by default. If `index` is not specified, the visualizer is added to the end of the list.
@@ -9725,6 +9729,8 @@ class VisualizationPanel extends VisualizerBase {
9725
9729
  }
9726
9730
  /**
9727
9731
  * The state of `VisualizationPanel`. Includes information about the visualized elements and current locale.
9732
+ *
9733
+ * [View Demo](https://surveyjs.io/dashboard/examples/save-dashboard-state-to-local-storage/ (linkStyle))
9728
9734
  * @see onStateChanged
9729
9735
  */
9730
9736
  get state() {