survey-analytics 1.9.3 → 1.9.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/package.json +7 -5
- package/survey.analytics.css +2 -2
- package/survey.analytics.d.ts +16 -7
- package/survey.analytics.datatables.css +2 -2
- package/survey.analytics.datatables.js +7 -4
- package/survey.analytics.datatables.min.css +2 -2
- package/survey.analytics.datatables.min.js +3 -3
- package/survey.analytics.js +93 -18
- package/survey.analytics.min.css +2 -2
- package/survey.analytics.min.js +4 -4
- package/survey.analytics.tabulator.css +2 -2
- package/survey.analytics.tabulator.js +7 -4
- package/survey.analytics.tabulator.min.css +2 -2
- package/survey.analytics.tabulator.min.js +3 -3
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.
|
|
19
|
+
"version": "1.9.7",
|
|
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.
|
|
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.
|
|
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": "
|
|
68
|
+
"plotly.js": "2.8.3",
|
|
68
69
|
"survey-core": "^1.8.34",
|
|
69
70
|
"tabulator-tables": "4.8.4",
|
|
70
71
|
"wordcloud": "^1.1.0"
|
|
@@ -80,12 +81,13 @@
|
|
|
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.
|
|
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",
|
package/survey.analytics.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Analytics library v1.9.
|
|
3
|
-
* Copyright (c) 2015-
|
|
2
|
+
* surveyjs - SurveyJS Analytics library v1.9.7
|
|
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
|
*/
|
|
6
6
|
.sa-visualizer__content {
|
package/survey.analytics.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*Type definitions for SurveyJS Analytics library v1.9.
|
|
2
|
-
Copyright (c) 2015-
|
|
1
|
+
/*Type definitions for SurveyJS Analytics library v1.9.7
|
|
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:
|
|
@@ -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(): {
|
|
@@ -185,7 +188,7 @@ export class VisualizerBase implements IDataInfo {
|
|
|
185
188
|
/**
|
|
186
189
|
* Name of the data field of data object from the data array.
|
|
187
190
|
*/
|
|
188
|
-
get dataName(): string
|
|
191
|
+
get dataName(): string | Array<string>;
|
|
189
192
|
/**
|
|
190
193
|
* Indicates whether visualizer has footer. Usually it is true then a question has comment or choices question has other item.
|
|
191
194
|
*/
|
|
@@ -522,7 +525,7 @@ export class VisualizationMatrixDynamic extends VisualizationPanelDynamic {
|
|
|
522
525
|
[index: string]: any;
|
|
523
526
|
}>, options?: Object);
|
|
524
527
|
get name(): string;
|
|
525
|
-
getQuestions():
|
|
528
|
+
getQuestions(): any;
|
|
526
529
|
}
|
|
527
530
|
|
|
528
531
|
export class VisualizationMatrixDropdown extends VisualizerBase {
|
|
@@ -536,7 +539,7 @@ export class VisualizationMatrixDropdown extends VisualizerBase {
|
|
|
536
539
|
updateData(data: Array<{
|
|
537
540
|
[index: string]: any;
|
|
538
541
|
}>): void;
|
|
539
|
-
getQuestions():
|
|
542
|
+
getQuestions(): any;
|
|
540
543
|
destroyContent(container: HTMLElement): void;
|
|
541
544
|
renderContent(container: HTMLElement): void;
|
|
542
545
|
destroy(): void;
|
|
@@ -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;
|
|
@@ -1120,10 +1127,11 @@ export class MatrixDropdownGrouped extends SelectBase {
|
|
|
1120
1127
|
[index: string]: any;
|
|
1121
1128
|
}>, options?: Object, name?: string);
|
|
1122
1129
|
protected get matrixQuestion(): QuestionMatrixDropdownModel;
|
|
1123
|
-
get dataName(): string
|
|
1130
|
+
get dataName(): string | Array<string>;
|
|
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,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Analytics library v1.9.
|
|
3
|
-
* Copyright (c) 2015-
|
|
2
|
+
* surveyjs - SurveyJS Analytics library v1.9.7
|
|
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
|
*/
|
|
6
6
|
.sa-table {
|