survey-analytics 1.9.5 → 1.9.9

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
@@ -6,6 +6,7 @@
6
6
  "test_debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
7
7
  "testcafe": "concurrently \"http-server\" \"testcafe chrome testCafe/\"",
8
8
  "testcafe_ci": "http-server --silent & testcafe chrome:headless testCafe/ --reporter minimal,dashboard",
9
+ "testcafe_file": "concurrently \"http-server --silent\" \"testcafe chrome testCafe/summary/selectbase.js --selector-timeout 1500 --reporter minimal --debug-mode\"",
9
10
  "release": "standard-version --message \"Release: %s [skip ci]\" ",
10
11
  "doc_gen": "node doc_generator/lib_docgenerator.js src/index.ts",
11
12
  "doc_update": "chmod +x ./docupdate_npm.sh && ./docupdate_npm.sh",
@@ -15,7 +16,7 @@
15
16
  "lint": "eslint ./src --quiet",
16
17
  "pre-push-check": "npm run lint && npm run test"
17
18
  },
18
- "version": "1.9.5",
19
+ "version": "1.9.9",
19
20
  "name": "survey-analytics",
20
21
  "description": "SurveyJS analytics Library.",
21
22
  "main": "survey.analytics.js",
@@ -50,12 +51,12 @@
50
51
  "homepage": "https://surveyjs.io/",
51
52
  "license": "SEE LICENSE IN LICENSE",
52
53
  "dependencies": {
53
- "datatables.net": "^1.10.20",
54
+ "datatables.net": "^1.11.4",
54
55
  "datatables.net-buttons": "^1.6.0",
55
56
  "datatables.net-buttons-dt": "^1.6.0",
56
57
  "datatables.net-colreorder": "^1.5.2",
57
58
  "datatables.net-colreorder-dt": "^1.5.2",
58
- "datatables.net-dt": "^1.10.20",
59
+ "datatables.net-dt": "^1.11.4",
59
60
  "datatables.net-responsive": "^2.2.3",
60
61
  "datatables.net-responsive-dt": "^2.2.3",
61
62
  "datatables.net-rowgroup": "^1.1.1",
@@ -64,7 +65,7 @@
64
65
  "datatables.net-select-dt": "^1.3.1",
65
66
  "jquery": "3.5.0",
66
67
  "muuri": "^0.8.0",
67
- "plotly.js": "1.57.1",
68
+ "plotly.js-dist-min": "^2.8.3",
68
69
  "survey-core": "^1.8.34",
69
70
  "tabulator-tables": "4.8.4",
70
71
  "wordcloud": "^1.1.0"
@@ -75,17 +76,18 @@
75
76
  "@types/jquery": "3.3.29",
76
77
  "@types/lodash": "4.14.121",
77
78
  "@types/node": "7.0.4",
78
- "@types/plotly.js": "^1.44.11",
79
+ "@types/plotly.js-dist-min": "^2.3.0",
79
80
  "@types/wordcloud": "^1.1.1",
80
81
  "@typescript-eslint/eslint-plugin": "^4.31.0",
81
82
  "@typescript-eslint/parser": "^4.31.0",
82
83
  "ajv": "4.11.2",
84
+ "colors": "1.4.0",
83
85
  "concurrently": "^5.3.0",
84
86
  "css-loader": "^3.6.0",
85
87
  "dotenv": "4.0.0",
86
88
  "dts-bundle": "0.7.2",
87
89
  "eslint": "^7.32.0",
88
- "github-api": "^3.3.0",
90
+ "github-api": "^3.4.0",
89
91
  "html-loader": "^0.4.4",
90
92
  "http-server": "^0.12.3",
91
93
  "husky": "^4.2.1",
@@ -111,8 +113,7 @@
111
113
  "webpack": "^4.43.0",
112
114
  "webpack-cli": "^3.3.11",
113
115
  "webpack-dev-server": "^3.11.0",
114
- "webpack-svgstore-plugin": "^4.1.0",
115
- "colors": "1.4.0"
116
+ "webpack-svgstore-plugin": "^4.1.0"
116
117
  },
117
118
  "husky": {
118
119
  "hooks": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Analytics library v1.9.5
2
+ * surveyjs - SurveyJS Analytics library v1.9.9
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
  */
@@ -1,10 +1,10 @@
1
- /*Type definitions for SurveyJS Analytics library v1.9.5
1
+ /*Type definitions for SurveyJS Analytics library v1.9.9
2
2
  Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
3
3
  Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
4
4
  */
5
5
  // Dependencies for this module:
6
6
  // ../../survey-core
7
- // ../../plotly.js
7
+ // ../../plotly.js-dist-min
8
8
 
9
9
  import { Event } from "survey-core";
10
10
  import { Question } from "survey-core";
@@ -12,7 +12,7 @@ import { IQuestion } from "survey-core";
12
12
  import { QuestionMatrixDropdownModel } from "survey-core";
13
13
  import { ItemValue } from "survey-core";
14
14
  import { SurveyModel } from "survey-core";
15
- import Plotly from "plotly.js";
15
+ import Plotly from "plotly.js-dist-min";
16
16
  import { QuestionMatrixModel } from "survey-core";
17
17
  import { QuestionBooleanModel } from "survey-core";
18
18
 
@@ -89,6 +89,9 @@ export var surveyStrings: {
89
89
  topNValueText5: string;
90
90
  topNValueText10: string;
91
91
  topNValueText20: string;
92
+ hideMissingAnswers: string;
93
+ showMissingAnswers: string;
94
+ missingAnswersLabel: string;
92
95
  noVisualizerForQuestion: string;
93
96
  noResults: string;
94
97
  showPerValues: string;
@@ -116,7 +119,7 @@ export class DataProvider {
116
119
  [index: string]: any;
117
120
  };
118
121
  constructor(_data?: Array<any>, _getDataCore?: (dataInfo: IDataInfo) => number[][]);
119
- reset(): void;
122
+ reset(dataInfo?: IDataInfo): void;
120
123
  get data(): Array<any>;
121
124
  set data(data: Array<any>);
122
125
  get filteredData(): {
@@ -775,6 +778,9 @@ export class SelectBase extends VisualizerBase implements IVisualizerWithSelecti
775
778
  set transposeData(value: boolean);
776
779
  get topN(): number;
777
780
  set topN(value: number);
781
+ protected isSupportMissingAnswers(): boolean;
782
+ get showMissingAnswers(): boolean;
783
+ set showMissingAnswers(value: boolean);
778
784
  refreshContent(): void;
779
785
  onDataItemSelected: (selectedValue: any, selectedText: string) => void;
780
786
  valuesSource(): Array<ItemValue>;
@@ -1093,6 +1099,7 @@ export class Matrix extends SelectBase {
1093
1099
  [index: string]: any;
1094
1100
  }>, options?: Object, name?: string);
1095
1101
  protected get matrixQuestion(): QuestionMatrixModel;
1102
+ protected isSupportMissingAnswers(): boolean;
1096
1103
  getSeriesValues(): Array<string>;
1097
1104
  getSeriesLabels(): Array<string>;
1098
1105
  getSelectedItemByText(itemText: string): any;
@@ -1124,6 +1131,7 @@ export class MatrixDropdownGrouped extends SelectBase {
1124
1131
  getSeriesValues(): Array<string>;
1125
1132
  getSeriesLabels(): Array<string>;
1126
1133
  valuesSource(): Array<ItemValue>;
1134
+ protected isSupportMissingAnswers(): boolean;
1127
1135
  getData(): any[];
1128
1136
  }
1129
1137
 
@@ -1150,6 +1158,7 @@ export class HistogramModel extends SelectBase {
1150
1158
  original: any;
1151
1159
  continious: number;
1152
1160
  }[];
1161
+ protected isSupportMissingAnswers(): boolean;
1153
1162
  getValues(): Array<any>;
1154
1163
  getLabels(): Array<string>;
1155
1164
  get hasCustomIntervals(): boolean;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Analytics library v1.9.5
2
+ * surveyjs - SurveyJS Analytics library v1.9.9
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
  */