survey-analytics 1.9.81 → 1.9.82
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 +2 -2
- package/survey.analytics.css +1 -1
- package/survey.analytics.d.ts +30 -1
- package/survey.analytics.datatables.css +1 -1
- package/survey.analytics.datatables.js +1 -1
- package/survey.analytics.datatables.min.css +1 -1
- package/survey.analytics.datatables.min.js +1 -1
- package/survey.analytics.js +59 -10
- package/survey.analytics.min.css +1 -1
- package/survey.analytics.min.js +2 -2
- package/survey.analytics.tabulator.css +1 -1
- package/survey.analytics.tabulator.js +1 -1
- package/survey.analytics.tabulator.min.css +1 -1
- package/survey.analytics.tabulator.min.js +1 -1
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.
|
|
22
|
+
"version": "1.9.82",
|
|
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.
|
|
74
|
+
"survey-core": "1.9.82",
|
|
75
75
|
"tabulator-tables": "4.8.4",
|
|
76
76
|
"wordcloud": "^1.2.2"
|
|
77
77
|
},
|
package/survey.analytics.css
CHANGED
package/survey.analytics.d.ts
CHANGED
|
@@ -1178,8 +1178,11 @@ declare module "alternativeVizualizersWrapper" {
|
|
|
1178
1178
|
import { Question, ItemValue } from "survey-core";
|
|
1179
1179
|
import { VisualizerBase } from "visualizerBase";
|
|
1180
1180
|
import { IVisualizerWithSelection } from "selectBase";
|
|
1181
|
+
import { Event } from "survey-core";
|
|
1181
1182
|
export class AlternativeVisualizersWrapper extends VisualizerBase implements IVisualizerWithSelection {
|
|
1182
1183
|
private visualizers;
|
|
1184
|
+
private visualizerSelector;
|
|
1185
|
+
private updateVisualizerSelector;
|
|
1183
1186
|
constructor(visualizers: Array<VisualizerBase>, question: Question, data: Array<{
|
|
1184
1187
|
[index: string]: any;
|
|
1185
1188
|
}>, options?: Object);
|
|
@@ -1190,7 +1193,19 @@ declare module "alternativeVizualizersWrapper" {
|
|
|
1190
1193
|
private selectedItem;
|
|
1191
1194
|
private visualizer;
|
|
1192
1195
|
private onAfterVisualizerRenderCallback;
|
|
1193
|
-
|
|
1196
|
+
/**
|
|
1197
|
+
* The event is fired right after AlternativeVisualizersWrapper content type has been changed.
|
|
1198
|
+
**/
|
|
1199
|
+
onVisualizerChanged: Event<(sender: AlternativeVisualizersWrapper, options: any) => any, AlternativeVisualizersWrapper, any>;
|
|
1200
|
+
/**
|
|
1201
|
+
* This method selects visualizer to show by it name.
|
|
1202
|
+
*
|
|
1203
|
+
* parameters:
|
|
1204
|
+
* name - the name of visualizer to show,
|
|
1205
|
+
* quiet - set it to true if you don't want to rise a notification event
|
|
1206
|
+
*
|
|
1207
|
+
**/
|
|
1208
|
+
setVisualizer(name: string, quiet?: boolean): void;
|
|
1194
1209
|
updateData(data: Array<{
|
|
1195
1210
|
[index: string]: any;
|
|
1196
1211
|
}>): void;
|
|
@@ -1267,6 +1282,7 @@ declare module "layoutEngine" {
|
|
|
1267
1282
|
declare module "visualizationPanel" {
|
|
1268
1283
|
import { Event, SurveyModel } from "survey-core";
|
|
1269
1284
|
import { VisualizerBase } from "visualizerBase";
|
|
1285
|
+
import { AlternativeVisualizersWrapper } from "alternativeVizualizersWrapper";
|
|
1270
1286
|
import { IVisualizerPanelElement, IState, IPermission } from "config";
|
|
1271
1287
|
import { LayoutEngine } from "layoutEngine";
|
|
1272
1288
|
import { DataProvider } from "dataProvider";
|
|
@@ -1507,6 +1523,19 @@ declare module "visualizationPanel" {
|
|
|
1507
1523
|
[index: string]: any;
|
|
1508
1524
|
}>, options?: IVisualizationPanelOptions, _elements?: Array<IVisualizerPanelRenderedElement>);
|
|
1509
1525
|
private onAfterRenderQuestionCallback;
|
|
1526
|
+
/**
|
|
1527
|
+
* An event that is raised when a user selects a different visualizer type from the Type drop-down menu.
|
|
1528
|
+
*
|
|
1529
|
+
* Parameters:
|
|
1530
|
+
*
|
|
1531
|
+
* - `sender`: `AlternativeVisualizersWrapper`\
|
|
1532
|
+
* An object that controls altenative visualizers.
|
|
1533
|
+
*
|
|
1534
|
+
* - `options.visualizer`: `VisualizerBase`\
|
|
1535
|
+
* An applied visualizer.
|
|
1536
|
+
**/
|
|
1537
|
+
onAlternativeVisualizerChanged: Event<(sender: AlternativeVisualizersWrapper, options: any) => any, AlternativeVisualizersWrapper, any>;
|
|
1538
|
+
private onAlternativeVisualizerChangedCallback;
|
|
1510
1539
|
protected showElement(elementName: string): void;
|
|
1511
1540
|
protected hideElement(elementName: string): void;
|
|
1512
1541
|
protected makeElementPrivate(element: IVisualizerPanelElement): void;
|