survey-analytics 2.5.18 → 2.5.19
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/LICENSE +1 -1
- package/fesm/shared.mjs +96 -68
- package/fesm/shared.mjs.map +1 -1
- package/fesm/shared2.mjs +69 -40
- package/fesm/shared2.mjs.map +1 -1
- package/fesm/survey.analytics.core.mjs +1 -1
- package/fesm/survey.analytics.mjs +1 -1
- package/fesm/survey.analytics.mongo.mjs +1 -1
- package/fesm/survey.analytics.tabulator.mjs +206 -5
- package/fesm/survey.analytics.tabulator.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-analytics-tabulator.types/analytics-localization/arabic.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/dutch.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/farsi.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/finnish.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/french.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/german.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/italian.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/japanese.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/norwegian.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/polish.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/portuguese.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/russian.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/spanish.d.ts +1 -0
- package/survey-analytics-tabulator.types/analytics-localization/swedish.d.ts +1 -0
- package/survey-analytics-tabulator.types/tables/columnbuilder.d.ts +8 -2
- package/survey-analytics-tabulator.types/tables/columns.d.ts +11 -1
- package/survey-analytics-tabulator.types/tables/config.d.ts +2 -1
- package/survey-analytics-tabulator.types/tables/table.d.ts +8 -0
- package/survey-analytics-tabulator.types/tables/tabulator.d.ts +3 -0
- package/survey-analytics.types/analytics-localization/arabic.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/dutch.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/farsi.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/finnish.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/french.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/german.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/italian.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/japanese.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/norwegian.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/polish.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/portuguese.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/russian.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/spanish.d.ts +1 -0
- package/survey-analytics.types/analytics-localization/swedish.d.ts +1 -0
- package/survey-analytics.types/boolean.d.ts +1 -0
- package/survey-analytics.types/selectBase.d.ts +5 -1
- package/survey.analytics.core.css +1 -1
- package/survey.analytics.core.js +154 -95
- package/survey.analytics.core.js.map +1 -1
- package/survey.analytics.core.min.css +1 -1
- package/survey.analytics.core.min.js +1 -1
- package/survey.analytics.core.min.js.LICENSE.txt +1 -1
- package/survey.analytics.css +1 -1
- package/survey.analytics.js +154 -95
- package/survey.analytics.js.map +1 -1
- package/survey.analytics.min.css +1 -1
- package/survey.analytics.min.js +1 -1
- package/survey.analytics.min.js.LICENSE.txt +1 -1
- package/survey.analytics.mongo.js +1 -1
- package/survey.analytics.mongo.min.js.LICENSE.txt +1 -1
- package/survey.analytics.tabulator.css +39 -1
- package/survey.analytics.tabulator.css.map +1 -1
- package/survey.analytics.tabulator.js +337 -71
- package/survey.analytics.tabulator.js.map +1 -1
- package/survey.analytics.tabulator.min.css +2 -2
- package/survey.analytics.tabulator.min.js +1 -1
- package/survey.analytics.tabulator.min.js.LICENSE.txt +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.5.
|
|
2
|
+
"version": "2.5.19",
|
|
3
3
|
"name": "survey-analytics",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "webpack-dev-server --env buildType=dev",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@types/mongodb": "^4.0.6",
|
|
94
94
|
"@types/plotly.js-dist-min": "^2.3.0",
|
|
95
95
|
"@types/tabulator-tables": "^6.2.3",
|
|
96
|
-
"survey-core": "2.5.
|
|
96
|
+
"survey-core": "2.5.19"
|
|
97
97
|
},
|
|
98
98
|
"husky": {
|
|
99
99
|
"hooks": {
|
|
@@ -80,6 +80,7 @@ export declare var arabicStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var dutchStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var farsiStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var finnishStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var frenchStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var germanStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var italianStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var japaneseStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var norwegianStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var plStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var portugueseStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var russianStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var spanishStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var swedishStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Question, QuestionCheckboxModel, QuestionCompositeModel, QuestionCustomModel, QuestionDropdownModel, QuestionFileModel, QuestionMatrixDropdownModel, QuestionMatrixModel, QuestionRadiogroupModel, QuestionSelectBase } from "survey-core";
|
|
2
|
-
import { BaseColumn, CompositeQuestionColumn, CustomQuestionColumn, FileColumn, ImageColumn } from "./columns";
|
|
1
|
+
import { Question, QuestionCheckboxModel, QuestionCompositeModel, QuestionCustomModel, QuestionDropdownModel, QuestionFileModel, QuestionMatrixDropdownModel, QuestionMatrixDynamicModel, QuestionMatrixModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionSelectBase } from "survey-core";
|
|
2
|
+
import { BaseColumn, CompositeQuestionColumn, CustomQuestionColumn, FileColumn, ImageColumn, MatrixDynamicColumn, PanelDynamicColumn } from "./columns";
|
|
3
3
|
import { IColumn } from "./config";
|
|
4
4
|
import { Table } from "./table";
|
|
5
5
|
export interface IColumnsBuilder {
|
|
@@ -49,3 +49,9 @@ export declare class CompositeColumnsBuilder extends DefaultColumnsBuilder<Quest
|
|
|
49
49
|
protected buildColumnsCore(question: QuestionCompositeModel, table: Table): Array<IColumn>;
|
|
50
50
|
protected createColumn(question: QuestionCompositeModel, table: Table): CompositeQuestionColumn;
|
|
51
51
|
}
|
|
52
|
+
export declare class MatrixDynamicColumnsBuilder extends DefaultColumnsBuilder<QuestionMatrixDynamicModel> {
|
|
53
|
+
protected createColumn(question: QuestionMatrixDynamicModel, table: Table): MatrixDynamicColumn;
|
|
54
|
+
}
|
|
55
|
+
export declare class PanelDynamicColumnsBuilder extends DefaultColumnsBuilder<QuestionPanelDynamicModel> {
|
|
56
|
+
protected createColumn(question: QuestionPanelDynamicModel, table: Table): PanelDynamicColumn;
|
|
57
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ItemValue, MatrixRowModel, Question, QuestionCheckboxModel, QuestionCompositeModel, QuestionCustomModel, QuestionDropdownModel, QuestionFileModel, QuestionMatrixDropdownModel, QuestionMatrixModel, QuestionRadiogroupModel, QuestionSelectBase, QuestionTagboxModel } from "survey-core";
|
|
1
|
+
import { ItemValue, MatrixRowModel, Question, QuestionCheckboxModel, QuestionCompositeModel, QuestionCustomModel, QuestionDropdownModel, QuestionFileModel, QuestionMatrixDropdownModel, QuestionMatrixDynamicModel, QuestionMatrixModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionSelectBase, QuestionTagboxModel } from "survey-core";
|
|
2
2
|
import { ICellData, IColumn, ColumnDataType, QuestionLocation, IColumnData } from "./config";
|
|
3
3
|
import { ITableOptions, Table } from "./table";
|
|
4
4
|
export declare class BaseColumn<T extends Question = Question> implements IColumn {
|
|
@@ -92,3 +92,13 @@ export declare class CustomQuestionColumn extends BaseColumn<QuestionCustomModel
|
|
|
92
92
|
export declare class CompositeQuestionColumn extends BaseColumn<QuestionCompositeModel> {
|
|
93
93
|
constructor(question: QuestionCompositeModel, table: Table);
|
|
94
94
|
}
|
|
95
|
+
export declare class MatrixDynamicColumn extends BaseColumn<QuestionMatrixDynamicModel> {
|
|
96
|
+
protected getDataType(): ColumnDataType;
|
|
97
|
+
protected getDisplayValue(data: any, table: Table, options: ITableOptions): any;
|
|
98
|
+
getCellData(table: Table, data: any): ICellData;
|
|
99
|
+
}
|
|
100
|
+
export declare class PanelDynamicColumn extends BaseColumn<QuestionPanelDynamicModel> {
|
|
101
|
+
protected getDataType(): ColumnDataType;
|
|
102
|
+
protected getDisplayValue(data: any, table: Table, options: ITableOptions): any;
|
|
103
|
+
getCellData(table: Table, data: any): ICellData;
|
|
104
|
+
}
|
|
@@ -46,6 +46,14 @@ export interface ITableOptions {
|
|
|
46
46
|
* @see pageSize
|
|
47
47
|
*/
|
|
48
48
|
paginationEnabled?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Specifies whether responses to [Dynamic Matrix](https://surveyjs.io/form-library/examples/dynamic-matrix-add-new-rows/) and [Dynamic Panel](https://surveyjs.io/form-library/examples/duplicate-group-of-fields-in-form/) questions are rendered using nested tables.
|
|
51
|
+
*
|
|
52
|
+
* Default value: `true`
|
|
53
|
+
*
|
|
54
|
+
* If disabled, responses are displayed as stringified JSON objects instead of a tabular structure.
|
|
55
|
+
*/
|
|
56
|
+
useNestedTables?: boolean;
|
|
49
57
|
/**
|
|
50
58
|
* Specifies whether to split responses to multi-select questions (Checkboxes and Multi-Select Dropdown) into separate columns.
|
|
51
59
|
*
|
|
@@ -67,6 +67,9 @@ export declare class Tabulator extends Table {
|
|
|
67
67
|
private columnMovedCallback;
|
|
68
68
|
private columnResizedCallback;
|
|
69
69
|
private rowFormatter;
|
|
70
|
+
private createNestedTable;
|
|
71
|
+
private createNestedTableFormatter;
|
|
72
|
+
private formatNestedDataForExport;
|
|
70
73
|
private accessorDownload;
|
|
71
74
|
private getTitleFormatter;
|
|
72
75
|
private getHeaderActions;
|
|
@@ -80,6 +80,7 @@ export declare var arabicStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var dutchStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var farsiStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var finnishStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var frenchStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var germanStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var italianStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var japaneseStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var norwegianStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var plStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var portugueseStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var russianStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var spanishStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -80,6 +80,7 @@ export declare var swedishStrings: {
|
|
|
80
80
|
axisYSelectorTitle: string;
|
|
81
81
|
axisXAlternativeSelectorTitle: string;
|
|
82
82
|
axisYAlternativeSelectorTitle: string;
|
|
83
|
+
notSelected: string;
|
|
83
84
|
intervalMode_default: string;
|
|
84
85
|
intervalMode_decades: string;
|
|
85
86
|
intervalMode_years: string;
|
|
@@ -9,6 +9,7 @@ export declare class BooleanModel extends SelectBase {
|
|
|
9
9
|
get booleanQuestion(): QuestionBooleanModel;
|
|
10
10
|
static trueColor: string;
|
|
11
11
|
static falseColor: string;
|
|
12
|
+
getSelectedItemByValue(value: any): ItemValue;
|
|
12
13
|
getSelectedItemByText(itemText: string): ItemValue;
|
|
13
14
|
getValues(): Array<any>;
|
|
14
15
|
getLabels(): Array<string>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Question, ItemValue, Event } from "survey-core";
|
|
2
2
|
import { VisualizerBase } from "./visualizerBase";
|
|
3
|
+
import { FilterInfo } from "./filterInfo";
|
|
3
4
|
export interface IVisualizerWithSelection {
|
|
4
5
|
selection: ItemValue;
|
|
5
6
|
onDataItemSelected: (selectedValue: any, selectedText: string) => void;
|
|
@@ -33,6 +34,7 @@ export declare class SelectBase extends VisualizerBase implements IVisualizerWit
|
|
|
33
34
|
protected _transposeData: boolean;
|
|
34
35
|
private _showMissingAnswers;
|
|
35
36
|
private missingAnswersBtn;
|
|
37
|
+
protected filterInfo: FilterInfo;
|
|
36
38
|
constructor(question: Question, data: Array<{
|
|
37
39
|
[index: string]: any;
|
|
38
40
|
}>, options?: any, name?: string);
|
|
@@ -54,9 +56,11 @@ export declare class SelectBase extends VisualizerBase implements IVisualizerWit
|
|
|
54
56
|
protected getCorrectAnswerText(): string;
|
|
55
57
|
protected isSupportSoftUpdateContent(): boolean;
|
|
56
58
|
protected softUpdateContent(): void;
|
|
59
|
+
getSelectedItemByValue(value: any): ItemValue;
|
|
57
60
|
getSelectedItemByText(itemText: string): any;
|
|
61
|
+
protected onDataChanged(): void;
|
|
58
62
|
protected onSelectionChanged(item: ItemValue): void;
|
|
59
|
-
setSelection(item: ItemValue): void;
|
|
63
|
+
setSelection(item: ItemValue, quiet?: boolean): void;
|
|
60
64
|
get selection(): ItemValue;
|
|
61
65
|
/**
|
|
62
66
|
* Gets and sets whether chart should show percentages only.
|