survey-analytics 1.9.132 → 1.9.134
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.types/histogram.d.ts +1 -1
- package/survey-analytics.types/layoutEngine.d.ts +1 -1
- package/survey-analytics.types/selectBase.d.ts +1 -0
- package/survey-analytics.types/visualizationPanel.d.ts +1 -0
- package/survey-analytics.types/wordcloud/widget.d.ts +38 -0
- package/survey-analytics.types/wordcloud/wordcloud.d.ts +2 -1
- package/survey.analytics.css +1 -1
- package/survey.analytics.datatables.css +1 -1
- package/survey.analytics.datatables.js +3 -3
- package/survey.analytics.datatables.min.css +1 -1
- package/survey.analytics.datatables.min.js +2 -2
- package/survey.analytics.js +245 -66
- package/survey.analytics.min.css +1 -1
- package/survey.analytics.min.js +3 -3
- package/survey.analytics.tabulator.css +1 -1
- package/survey.analytics.tabulator.js +3 -3
- package/survey.analytics.tabulator.min.css +1 -1
- package/survey.analytics.tabulator.min.js +2 -2
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"lint": "eslint ./src --quiet",
|
|
21
21
|
"pre-push-check": "npm run lint && npm run test"
|
|
22
22
|
},
|
|
23
|
-
"version": "1.9.
|
|
23
|
+
"version": "1.9.134",
|
|
24
24
|
"name": "survey-analytics",
|
|
25
25
|
"description": "SurveyJS analytics Library.",
|
|
26
26
|
"main": "survey.analytics.js",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"jquery": "3.5.0",
|
|
59
59
|
"muuri": "^0.8.0",
|
|
60
60
|
"plotly.js-dist-min": "^2.28.0",
|
|
61
|
-
"survey-core": "1.9.
|
|
61
|
+
"survey-core": "1.9.134",
|
|
62
62
|
"tabulator-tables": "4.8.4",
|
|
63
63
|
"wordcloud": "^1.2.2"
|
|
64
64
|
},
|
|
@@ -24,7 +24,7 @@ export declare class LayoutEngine {
|
|
|
24
24
|
update(): void;
|
|
25
25
|
add(elements: Array<HTMLElement>, options?: any): void;
|
|
26
26
|
remove(elements: Array<HTMLElement>, options?: any): void;
|
|
27
|
-
onMoveCallback: (
|
|
27
|
+
onMoveCallback: (order: Array<string>) => void;
|
|
28
28
|
destroy(): void;
|
|
29
29
|
}
|
|
30
30
|
export declare class MuuriLayoutEngine extends LayoutEngine {
|
|
@@ -81,6 +81,7 @@ export declare class SelectBase extends VisualizerBase implements IVisualizerWit
|
|
|
81
81
|
*/
|
|
82
82
|
get topN(): number;
|
|
83
83
|
set topN(value: number);
|
|
84
|
+
protected isSupportAnswersOrder(): boolean;
|
|
84
85
|
protected isSupportMissingAnswers(): boolean;
|
|
85
86
|
/**
|
|
86
87
|
* Set to true if you want to see chart elements for missing answers (e.g. radiogroup items never been selected by surveyee).
|
|
@@ -250,6 +250,7 @@ export declare class VisualizationPanel extends VisualizerBase {
|
|
|
250
250
|
constructor(questions: Array<any>, data: Array<{
|
|
251
251
|
[index: string]: any;
|
|
252
252
|
}>, options?: IVisualizationPanelOptions, _elements?: Array<IVisualizerPanelRenderedElement>);
|
|
253
|
+
reorderVisibleElements(order: string[]): void;
|
|
253
254
|
private onAfterRenderQuestionCallback;
|
|
254
255
|
private onStateChangedCallback;
|
|
255
256
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const defaultOptions: {
|
|
2
|
+
spiralResolution: number;
|
|
3
|
+
spiralLimit: number;
|
|
4
|
+
lineHeight: number;
|
|
5
|
+
xWordPadding: number;
|
|
6
|
+
yWordPadding: number;
|
|
7
|
+
weightFactor: number;
|
|
8
|
+
topN: number;
|
|
9
|
+
maxHeight: number;
|
|
10
|
+
padding: number;
|
|
11
|
+
};
|
|
12
|
+
export declare class WordCloudWidget {
|
|
13
|
+
private _options;
|
|
14
|
+
private _words;
|
|
15
|
+
private _placedWords;
|
|
16
|
+
private _minWeight;
|
|
17
|
+
private _weightFactor;
|
|
18
|
+
private _renderedTarget;
|
|
19
|
+
constructor(_options?: {
|
|
20
|
+
spiralResolution: number;
|
|
21
|
+
spiralLimit: number;
|
|
22
|
+
lineHeight: number;
|
|
23
|
+
xWordPadding: number;
|
|
24
|
+
yWordPadding: number;
|
|
25
|
+
weightFactor: number;
|
|
26
|
+
topN: number;
|
|
27
|
+
maxHeight: number;
|
|
28
|
+
padding: number;
|
|
29
|
+
});
|
|
30
|
+
colors: string[];
|
|
31
|
+
get words(): Array<Array<any>>;
|
|
32
|
+
set words(w: Array<Array<any>>);
|
|
33
|
+
private createWordElement;
|
|
34
|
+
private isIntersectWithPlaced;
|
|
35
|
+
private arrangeWords;
|
|
36
|
+
render(target: HTMLDivElement): void;
|
|
37
|
+
dispose(): void;
|
|
38
|
+
}
|
|
@@ -10,7 +10,8 @@ export declare class WordCloudAdapter {
|
|
|
10
10
|
static onWordcloudCreating: Event<(sender: WordCloud, options: any) => any, WordCloud, any>;
|
|
11
11
|
constructor(model: WordCloud);
|
|
12
12
|
get wordcloud(): any;
|
|
13
|
-
|
|
13
|
+
private createWordCloud2;
|
|
14
|
+
create(element: HTMLElement): any;
|
|
14
15
|
destroy(node: HTMLElement): void;
|
|
15
16
|
}
|
|
16
17
|
export declare class WordCloud extends VisualizerBase {
|
package/survey.analytics.css
CHANGED