survey-analytics 1.9.72 → 1.9.75

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/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "lint": "eslint ./src --quiet",
20
20
  "pre-push-check": "npm run lint && npm run test"
21
21
  },
22
- "version": "1.9.72",
22
+ "version": "1.9.75",
23
23
  "name": "survey-analytics",
24
24
  "description": "SurveyJS analytics Library.",
25
25
  "main": "survey.analytics.js",
@@ -71,7 +71,7 @@
71
71
  "jquery": "3.5.0",
72
72
  "muuri": "^0.8.0",
73
73
  "plotly.js-dist-min": "^2.11.1",
74
- "survey-core": "1.9.72",
74
+ "survey-core": "1.9.75",
75
75
  "tabulator-tables": "4.8.4",
76
76
  "wordcloud": "^1.2.2"
77
77
  },
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.72
2
+ * surveyjs - SurveyJS Dashboard library v1.9.75
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -785,6 +785,14 @@ declare module "visualizerBase" {
785
785
  **/
786
786
  onAfterRender: Event<(sender: VisualizerBase, options: any) => any, VisualizerBase, any>;
787
787
  protected afterRender(contentContainer: HTMLElement): void;
788
+ /**
789
+ * Fires when visualizer locale changed.
790
+ * sender - this visualizer
791
+ * locale - new locale of the visualizer
792
+ */
793
+ onLocaleChanged: Event<(sender: VisualizerBase, options: {
794
+ locale: string;
795
+ }) => any, VisualizerBase, any>;
788
796
  protected toolbarItemCreators: {
789
797
  [name: string]: (toolbar?: HTMLDivElement) => HTMLElement;
790
798
  };
@@ -934,6 +942,17 @@ declare module "visualizerBase" {
934
942
  getData(): any;
935
943
  getState(): any;
936
944
  setState(state: any): void;
945
+ /**
946
+ * Returns current locale of the visualizer.
947
+ * If locales more than one, the language selection dropdown will be added in the toolbar
948
+ * In order to use survey locales the survey instance object should be passed as 'survey' option for visualizer
949
+ */
950
+ get locale(): string;
951
+ /**
952
+ * Sets locale for visualization panel.
953
+ */
954
+ set locale(newLocale: string);
955
+ protected setLocale(newLocale: string): void;
937
956
  }
938
957
  }
939
958
  declare module "number" {
@@ -1475,17 +1494,7 @@ declare module "visualizationPanel" {
1475
1494
  protected setBackgroundColorCore(color: string): void;
1476
1495
  private buildVisualizers;
1477
1496
  private destroyVisualizers;
1478
- /**
1479
- * Returns current locale of the visualization panel.
1480
- * If locales more than one, the language selection dropdown will be added in the toolbar
1481
- * In order to use survey locales the survey instance object should be passed as 'survey' option for visualizer
1482
- */
1483
- get locale(): string;
1484
- /**
1485
- * Sets locale for visualization panel.
1486
- */
1487
- set locale(newLocale: string);
1488
- private setLocale;
1497
+ protected setLocale(newLocale: string): void;
1489
1498
  /**
1490
1499
  * Returns whether the VisualizationPanel allows dynamic layouting - rearrange items via drap/drop. Set via options.
1491
1500
  */
@@ -1609,6 +1618,7 @@ declare module "visualizationPanelDynamic" {
1609
1618
  }>, options?: {
1610
1619
  [index: string]: any;
1611
1620
  }, name?: string);
1621
+ protected setLocale(newLocale: string): void;
1612
1622
  private onAfterRenderPanelCallback;
1613
1623
  get name(): string;
1614
1624
  private updatePanelVisualizerData;
@@ -1638,11 +1648,13 @@ declare module "visualizationMatrixDropdown" {
1638
1648
  import { VisualizerBase } from "visualizerBase";
1639
1649
  export class VisualizationMatrixDropdown extends VisualizerBase {
1640
1650
  protected _matrixDropdownVisualizer: VisualizerBase;
1651
+ private readonly _childOptions;
1641
1652
  constructor(question: QuestionMatrixDropdownModel, data: Array<{
1642
1653
  [index: string]: any;
1643
1654
  }>, options?: {
1644
1655
  [index: string]: any;
1645
1656
  }, name?: string);
1657
+ protected setLocale(newLocale: string): void;
1646
1658
  get matrixDropdownVisualizer(): VisualizerBase;
1647
1659
  private onPanelAfterRenderCallback;
1648
1660
  private updateDropdownVisualizerData;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.72
2
+ * surveyjs - SurveyJS Dashboard library v1.9.75
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */