survey-analytics 1.9.40 → 1.9.43

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.40",
22
+ "version": "1.9.43",
23
23
  "name": "survey-analytics",
24
24
  "description": "SurveyJS analytics Library.",
25
25
  "main": "survey.analytics.js",
@@ -74,12 +74,10 @@
74
74
  "wordcloud": "^1.2.2"
75
75
  },
76
76
  "devDependencies": {
77
- "@types/datatables.net": "^1.10.21",
78
77
  "@types/jest": "^26.0.24",
79
78
  "@types/jquery": "3.3.29",
80
79
  "@types/lodash": "4.14.121",
81
80
  "@types/node": "7.0.4",
82
- "@types/plotly.js-dist-min": "^2.3.0",
83
81
  "@types/wordcloud": "^1.1.3",
84
82
  "@typescript-eslint/eslint-plugin": "^4.33.0",
85
83
  "@typescript-eslint/parser": "^4.33.0",
@@ -117,6 +115,10 @@
117
115
  "webpack-dev-server": "^3.11.3",
118
116
  "webpack-svgstore-plugin": "^4.1.0"
119
117
  },
118
+ "peerDependencies": {
119
+ "@types/datatables.net": "^1.10.21",
120
+ "@types/plotly.js-dist-min": "^2.3.0"
121
+ },
120
122
  "husky": {
121
123
  "hooks": {
122
124
  "pre-push": "npm run pre-push-check"
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Analytics library v1.9.40
2
+ * surveyjs - SurveyJS Analytics library v1.9.43
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -663,7 +663,6 @@ declare module "visualizerBase" {
663
663
  import { Question } from "survey-core";
664
664
  import { IDataInfo, DataProvider } from "dataProvider";
665
665
  import { Event } from "survey-core";
666
- import "./visualizerBase.scss";
667
666
  /**
668
667
  * VisualizerBase is a base object for all visuzlizers. It responsible for the rendering and destroying visualizer.
669
668
  *
@@ -1022,6 +1021,7 @@ declare module "histogram" {
1022
1021
  continious: number;
1023
1022
  }[];
1024
1023
  protected isSupportMissingAnswers(): boolean;
1024
+ protected get needUseRateValues(): boolean;
1025
1025
  getValues(): Array<any>;
1026
1026
  getLabels(): Array<string>;
1027
1027
  get hasCustomIntervals(): boolean;
@@ -1125,7 +1125,6 @@ declare module "visualizationPanel" {
1125
1125
  import { IVisualizerPanelElement, IState, IPermission } from "config";
1126
1126
  import { LayoutEngine } from "layoutEngine";
1127
1127
  import { DataProvider } from "dataProvider";
1128
- import "./visualizationPanel.scss";
1129
1128
  export interface IVisualizerPanelRenderedElement extends IVisualizerPanelElement {
1130
1129
  renderedElement?: HTMLElement;
1131
1130
  }
@@ -1586,7 +1585,6 @@ declare module "plotly/setup" {
1586
1585
  declare module "plotly/selectBase" {
1587
1586
  import { Question } from "survey-core";
1588
1587
  import { SelectBase } from "selectBase";
1589
- import Plotly from "plotly.js-dist-min";
1590
1588
  export class PlotlyChartAdapter {
1591
1589
  protected model: SelectBase;
1592
1590
  private _chart;
@@ -1696,7 +1694,6 @@ declare module "plotly/histogram" {
1696
1694
  declare module "plotly/rating" {
1697
1695
  import { Question } from "survey-core";
1698
1696
  import { NumberModel } from "number";
1699
- import Plotly from "plotly.js-dist-min";
1700
1697
  export class PlotlyGaugeAdapter {
1701
1698
  private model;
1702
1699
  private _chart;
@@ -1740,7 +1737,7 @@ declare module "wordcloud/stopwords/index" {
1740
1737
  };
1741
1738
  }
1742
1739
  declare module "wordcloud/wordcloud" {
1743
- import { Question } from "survey-core";
1740
+ import { Question, Event } from "survey-core";
1744
1741
  import { VisualizerBase } from "visualizerBase";
1745
1742
  export class WordCloudAdapter {
1746
1743
  private model;
@@ -1749,6 +1746,7 @@ declare module "wordcloud/wordcloud" {
1749
1746
  static shrinkToFit: boolean;
1750
1747
  static abortThreshold: any;
1751
1748
  static weightFactor: number;
1749
+ static onWordcloudCreating: Event<(sender: WordCloud, options: any) => any, any>;
1752
1750
  constructor(model: WordCloud);
1753
1751
  get wordcloud(): any;
1754
1752
  create(node: HTMLElement): any;
@@ -1768,7 +1766,6 @@ declare module "wordcloud/wordcloud" {
1768
1766
  declare module "text" {
1769
1767
  import { Question } from "survey-core";
1770
1768
  import { VisualizerBase } from "visualizerBase";
1771
- import "./text.scss";
1772
1769
  export class TextTableAdapter {
1773
1770
  private model;
1774
1771
  constructor(model: Text);
@@ -1792,7 +1789,6 @@ declare module "text" {
1792
1789
  declare module "choices-table" {
1793
1790
  import { Question } from "survey-core";
1794
1791
  import { SelectBase } from "selectBase";
1795
- import "./choices-table.scss";
1796
1792
  export class ChoicesTableAdapter {
1797
1793
  private model;
1798
1794
  constructor(model: ChoicesTable);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Analytics library v1.9.40
2
+ * surveyjs - SurveyJS Analytics library v1.9.43
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */