survey-analytics 1.9.89 → 1.9.90

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.
Files changed (116) hide show
  1. package/LICENSE +2 -2
  2. package/package.json +6 -20
  3. package/survey-analytics-datatables.types/analytics-localization/arabic.d.ts +66 -0
  4. package/survey-analytics-datatables.types/analytics-localization/dutch.d.ts +49 -0
  5. package/survey-analytics-datatables.types/analytics-localization/english.d.ts +70 -0
  6. package/survey-analytics-datatables.types/analytics-localization/farsi.d.ts +20 -0
  7. package/survey-analytics-datatables.types/analytics-localization/french.d.ts +46 -0
  8. package/survey-analytics-datatables.types/analytics-localization/german.d.ts +52 -0
  9. package/survey-analytics-datatables.types/analytics-localization/norwegian.d.ts +39 -0
  10. package/survey-analytics-datatables.types/analytics-localization/portuguese.d.ts +70 -0
  11. package/survey-analytics-datatables.types/analytics-localization/russian.d.ts +34 -0
  12. package/survey-analytics-datatables.types/entries/datatables.d.ts +17 -0
  13. package/survey-analytics-datatables.types/localizationManager.d.ts +85 -0
  14. package/survey-analytics-datatables.types/tables/columnbuilder.d.ts +38 -0
  15. package/survey-analytics-datatables.types/tables/columns.d.ts +71 -0
  16. package/survey-analytics-datatables.types/tables/config.d.ts +39 -0
  17. package/survey-analytics-datatables.types/tables/datatables.d.ts +51 -0
  18. package/survey-analytics-datatables.types/tables/extensions/columnextensions.d.ts +1 -0
  19. package/survey-analytics-datatables.types/tables/extensions/detailsextensions.d.ts +13 -0
  20. package/survey-analytics-datatables.types/tables/extensions/headerextensions.d.ts +1 -0
  21. package/survey-analytics-datatables.types/tables/extensions/rowextensions.d.ts +1 -0
  22. package/survey-analytics-datatables.types/tables/extensions/tableextensions.d.ts +22 -0
  23. package/survey-analytics-datatables.types/tables/table.d.ts +153 -0
  24. package/survey-analytics-datatables.types/utils/index.d.ts +37 -0
  25. package/survey-analytics-tabulator.types/analytics-localization/arabic.d.ts +66 -0
  26. package/survey-analytics-tabulator.types/analytics-localization/dutch.d.ts +49 -0
  27. package/survey-analytics-tabulator.types/analytics-localization/english.d.ts +70 -0
  28. package/survey-analytics-tabulator.types/analytics-localization/farsi.d.ts +20 -0
  29. package/survey-analytics-tabulator.types/analytics-localization/french.d.ts +46 -0
  30. package/survey-analytics-tabulator.types/analytics-localization/german.d.ts +52 -0
  31. package/survey-analytics-tabulator.types/analytics-localization/norwegian.d.ts +39 -0
  32. package/survey-analytics-tabulator.types/analytics-localization/portuguese.d.ts +70 -0
  33. package/survey-analytics-tabulator.types/analytics-localization/russian.d.ts +34 -0
  34. package/survey-analytics-tabulator.types/entries/tabulator.d.ts +17 -0
  35. package/survey-analytics-tabulator.types/localizationManager.d.ts +85 -0
  36. package/survey-analytics-tabulator.types/tables/columnbuilder.d.ts +38 -0
  37. package/survey-analytics-tabulator.types/tables/columns.d.ts +71 -0
  38. package/survey-analytics-tabulator.types/tables/config.d.ts +39 -0
  39. package/survey-analytics-tabulator.types/tables/custom_jspdf_font.d.ts +1 -0
  40. package/survey-analytics-tabulator.types/tables/extensions/columnextensions.d.ts +1 -0
  41. package/survey-analytics-tabulator.types/tables/extensions/detailsextensions.d.ts +13 -0
  42. package/survey-analytics-tabulator.types/tables/extensions/headerextensions.d.ts +1 -0
  43. package/survey-analytics-tabulator.types/tables/extensions/rowextensions.d.ts +1 -0
  44. package/survey-analytics-tabulator.types/tables/extensions/tableextensions.d.ts +22 -0
  45. package/survey-analytics-tabulator.types/tables/table.d.ts +153 -0
  46. package/survey-analytics-tabulator.types/tables/tabulator.d.ts +83 -0
  47. package/survey-analytics-tabulator.types/utils/index.d.ts +37 -0
  48. package/survey-analytics.types/alternativeVizualizersWrapper.d.ts +41 -0
  49. package/survey-analytics.types/analytics-localization/arabic.d.ts +66 -0
  50. package/survey-analytics.types/analytics-localization/dutch.d.ts +49 -0
  51. package/survey-analytics.types/analytics-localization/english.d.ts +70 -0
  52. package/survey-analytics.types/analytics-localization/farsi.d.ts +20 -0
  53. package/survey-analytics.types/analytics-localization/french.d.ts +46 -0
  54. package/survey-analytics.types/analytics-localization/german.d.ts +52 -0
  55. package/survey-analytics.types/analytics-localization/italian.d.ts +69 -0
  56. package/survey-analytics.types/analytics-localization/norwegian.d.ts +39 -0
  57. package/survey-analytics.types/analytics-localization/portuguese.d.ts +70 -0
  58. package/survey-analytics.types/analytics-localization/russian.d.ts +34 -0
  59. package/survey-analytics.types/analytics-localization/spanish.d.ts +51 -0
  60. package/survey-analytics.types/boolean.d.ts +16 -0
  61. package/survey-analytics.types/choices-table.d.ts +17 -0
  62. package/survey-analytics.types/config.d.ts +38 -0
  63. package/survey-analytics.types/dataProvider.d.ts +40 -0
  64. package/survey-analytics.types/entries/summary.d.ts +30 -0
  65. package/survey-analytics.types/filterInfo.d.ts +11 -0
  66. package/survey-analytics.types/histogram.d.ts +38 -0
  67. package/survey-analytics.types/layoutEngine.d.ts +40 -0
  68. package/survey-analytics.types/localizationManager.d.ts +85 -0
  69. package/survey-analytics.types/matrix.d.ts +17 -0
  70. package/survey-analytics.types/matrixDropdownGrouped.d.ts +14 -0
  71. package/survey-analytics.types/number.d.ts +25 -0
  72. package/survey-analytics.types/plotly/boolean.d.ts +16 -0
  73. package/survey-analytics.types/plotly/histogram.d.ts +12 -0
  74. package/survey-analytics.types/plotly/index.d.ts +8 -0
  75. package/survey-analytics.types/plotly/matrix.d.ts +11 -0
  76. package/survey-analytics.types/plotly/matrixdropdown-grouped.d.ts +11 -0
  77. package/survey-analytics.types/plotly/ranking.d.ts +7 -0
  78. package/survey-analytics.types/plotly/rating.d.ts +20 -0
  79. package/survey-analytics.types/plotly/selectBase.d.ts +24 -0
  80. package/survey-analytics.types/plotly/setup.d.ts +29 -0
  81. package/survey-analytics.types/selectBase.d.ts +112 -0
  82. package/survey-analytics.types/text.d.ts +21 -0
  83. package/survey-analytics.types/utils/index.d.ts +37 -0
  84. package/survey-analytics.types/visualizationManager.d.ts +52 -0
  85. package/survey-analytics.types/visualizationMatrixDropdown.d.ts +23 -0
  86. package/survey-analytics.types/visualizationMatrixDynamic.d.ts +9 -0
  87. package/survey-analytics.types/visualizationPanel.d.ts +371 -0
  88. package/survey-analytics.types/visualizationPanelDynamic.d.ts +23 -0
  89. package/survey-analytics.types/visualizerBase.d.ts +257 -0
  90. package/survey-analytics.types/visualizerFactory.d.ts +20 -0
  91. package/survey-analytics.types/wordcloud/stopwords/dutch.d.ts +1 -0
  92. package/survey-analytics.types/wordcloud/stopwords/english.d.ts +1 -0
  93. package/survey-analytics.types/wordcloud/stopwords/index.d.ts +3 -0
  94. package/survey-analytics.types/wordcloud/stopwords/norwegian.d.ts +1 -0
  95. package/survey-analytics.types/wordcloud/stopwords/spanish.d.ts +1 -0
  96. package/survey-analytics.types/wordcloud/wordcloud.d.ts +25 -0
  97. package/survey.analytics.css +1 -1
  98. package/survey.analytics.d.ts +1 -2133
  99. package/survey.analytics.datatables/index.d.ts.d.ts +891 -0
  100. package/survey.analytics.datatables/survey.analytics.datatables.css +325 -0
  101. package/survey.analytics.datatables/survey.analytics.datatables.js +38982 -0
  102. package/survey.analytics.datatables/survey.analytics.datatables.min.css +7 -0
  103. package/survey.analytics.datatables/survey.analytics.datatables.min.js +29 -0
  104. package/survey.analytics.datatables.css +1 -1
  105. package/survey.analytics.datatables.d.ts +1 -1012
  106. package/survey.analytics.datatables.js +1 -1
  107. package/survey.analytics.datatables.min.css +1 -1
  108. package/survey.analytics.datatables.min.js +1 -1
  109. package/survey.analytics.js +40 -2
  110. package/survey.analytics.min.css +1 -1
  111. package/survey.analytics.min.js +1 -1
  112. package/survey.analytics.tabulator.css +1 -1
  113. package/survey.analytics.tabulator.d.ts +1 -1047
  114. package/survey.analytics.tabulator.js +1 -1
  115. package/survey.analytics.tabulator.min.css +1 -1
  116. package/survey.analytics.tabulator.min.js +1 -1
@@ -0,0 +1,69 @@
1
+ export declare var italianStrings: {
2
+ groupButton: string;
3
+ ungroupButton: string;
4
+ selectButton: string;
5
+ hideColumn: string;
6
+ showColumn: string;
7
+ makePrivateColumn: string;
8
+ makePublicColumn: string;
9
+ moveToDetail: string;
10
+ showAsColumn: string;
11
+ filterPlaceholder: string;
12
+ removeRows: string;
13
+ showLabel: string;
14
+ entriesLabel: string;
15
+ visualizer_text: string;
16
+ visualizer_wordcloud: string;
17
+ visualizer_histogram: string;
18
+ visualizer_number: string;
19
+ visualizer_choices: string;
20
+ visualizer_selectBase: string;
21
+ chartType_bar: string;
22
+ chartType_vbar: string;
23
+ chartType_stackedbar: string;
24
+ chartType_doughnut: string;
25
+ chartType_pie: string;
26
+ chartType_scatter: string;
27
+ chartType_gauge: string;
28
+ chartType_bullet: string;
29
+ hideButton: string;
30
+ makePrivateButton: string;
31
+ makePublicButton: string;
32
+ showButton: string;
33
+ filter: string;
34
+ resetFilter: string;
35
+ changeLocale: string;
36
+ en: string;
37
+ fr: string;
38
+ ru: string;
39
+ de: string;
40
+ clearButton: string;
41
+ addElement: string;
42
+ defaultOrder: string;
43
+ ascOrder: string;
44
+ descOrder: string;
45
+ showMinorColumns: string;
46
+ otherCommentTitle: string;
47
+ showPercentages: string;
48
+ hidePercentages: string;
49
+ pdfDownloadCaption: string;
50
+ xlsxDownloadCaption: string;
51
+ csvDownloadCaption: string;
52
+ saveDiagramAsPNG: string;
53
+ hideEmptyAnswers: string;
54
+ showEmptyAnswers: string;
55
+ "topNValueText-1": string;
56
+ topNValueText5: string;
57
+ topNValueText10: string;
58
+ topNValueText20: string;
59
+ hideMissingAnswers: string;
60
+ showMissingAnswers: string;
61
+ missingAnswersLabel: string;
62
+ noVisualizerForQuestion: string;
63
+ noResults: string;
64
+ showPerValues: string;
65
+ showPerColumns: string;
66
+ answer: string;
67
+ percent: string;
68
+ responses: string;
69
+ };
@@ -0,0 +1,39 @@
1
+ export declare var norwegianStrings: {
2
+ groupButton: string;
3
+ ungroupButton: string;
4
+ selectButton: string;
5
+ hideColumn: string;
6
+ showColumn: string;
7
+ makePrivateColumn: string;
8
+ makePublicColumn: string;
9
+ moveToDetail: string;
10
+ showAsColumn: string;
11
+ filterPlaceholder: string;
12
+ removeRows: string;
13
+ showLabel: string;
14
+ entriesLabel: string;
15
+ visualizer_text: string;
16
+ visualizer_wordcloud: string;
17
+ chartType_bar: string;
18
+ chartType_stackedbar: string;
19
+ chartType_doughnut: string;
20
+ chartType_pie: string;
21
+ chartType_scatter: string;
22
+ chartType_gauge: string;
23
+ chartType_bullet: string;
24
+ hideButton: string;
25
+ makePrivateButton: string;
26
+ makePublicButton: string;
27
+ showButton: string;
28
+ resetFilter: string;
29
+ changeLocale: string;
30
+ clearButton: string;
31
+ addElement: string;
32
+ defaultOrder: string;
33
+ ascOrder: string;
34
+ descOrder: string;
35
+ showMinorColumns: string;
36
+ otherCommentTitle: string;
37
+ showPercentages: string;
38
+ hidePercentages: string;
39
+ };
@@ -0,0 +1,70 @@
1
+ export declare var portugueseStrings: {
2
+ groupButton: string;
3
+ ungroupButton: string;
4
+ selectButton: string;
5
+ hideColumn: string;
6
+ showColumn: string;
7
+ makePrivateColumn: string;
8
+ makePublicColumn: string;
9
+ moveToDetail: string;
10
+ showAsColumn: string;
11
+ filterPlaceholder: string;
12
+ removeRows: string;
13
+ showLabel: string;
14
+ entriesLabel: string;
15
+ visualizer_text: string;
16
+ visualizer_wordcloud: string;
17
+ visualizer_histogram: string;
18
+ visualizer_number: string;
19
+ visualizer_choices: string;
20
+ visualizer_selectBase: string;
21
+ chartType_bar: string;
22
+ chartType_vbar: string;
23
+ chartType_stackedbar: string;
24
+ chartType_doughnut: string;
25
+ chartType_pie: string;
26
+ chartType_scatter: string;
27
+ chartType_gauge: string;
28
+ chartType_bullet: string;
29
+ hideButton: string;
30
+ makePrivateButton: string;
31
+ makePublicButton: string;
32
+ showButton: string;
33
+ filter: string;
34
+ resetFilter: string;
35
+ changeLocale: string;
36
+ en: string;
37
+ fr: string;
38
+ ru: string;
39
+ de: string;
40
+ clearButton: string;
41
+ addElement: string;
42
+ defaultOrder: string;
43
+ ascOrder: string;
44
+ descOrder: string;
45
+ showMinorColumns: string;
46
+ otherCommentTitle: string;
47
+ showPercentages: string;
48
+ hidePercentages: string;
49
+ pdfDownloadCaption: string;
50
+ xlsxDownloadCaption: string;
51
+ csvDownloadCaption: string;
52
+ saveDiagramAsPNG: string;
53
+ hideEmptyAnswers: string;
54
+ showEmptyAnswers: string;
55
+ "topNValueText-1": string;
56
+ topNValueText5: string;
57
+ topNValueText10: string;
58
+ topNValueText20: string;
59
+ hideMissingAnswers: string;
60
+ showMissingAnswers: string;
61
+ missingAnswersLabel: string;
62
+ noVisualizerForQuestion: string;
63
+ noResults: string;
64
+ showPerValues: string;
65
+ showPerColumns: string;
66
+ answer: string;
67
+ correctAnswer: string;
68
+ percent: string;
69
+ responses: string;
70
+ };
@@ -0,0 +1,34 @@
1
+ export declare var russianStrings: {
2
+ groupButton: string;
3
+ ungroupButton: string;
4
+ selectButton: string;
5
+ hideColumn: string;
6
+ showColumn: string;
7
+ makePrivateColumn: string;
8
+ makePublicColumn: string;
9
+ moveToDetail: string;
10
+ filter: string;
11
+ showAsColumn: string;
12
+ visualizer_text: string;
13
+ visualizer_wordcloud: string;
14
+ chartType_bar: string;
15
+ chartType_stackedbar: string;
16
+ chartType_doughnut: string;
17
+ chartType_pie: string;
18
+ chartType_scatter: string;
19
+ chartType_gauge: string;
20
+ chartType_bullet: string;
21
+ hideButton: string;
22
+ showButton: string;
23
+ resetFilter: string;
24
+ changeLocale: string;
25
+ clearButton: string;
26
+ addElement: string;
27
+ defaultOrder: string;
28
+ ascOrder: string;
29
+ descOrder: string;
30
+ showMinorColumns: string;
31
+ otherCommentTitle: string;
32
+ noVisualizerForQuestion: string;
33
+ noResults: string;
34
+ };
@@ -0,0 +1,51 @@
1
+ export declare var spanishStrings: {
2
+ ungroupButton: string;
3
+ selectButton: string;
4
+ hideColumn: string;
5
+ showColumn: string;
6
+ makePrivateColumn: string;
7
+ makePublicColumn: string;
8
+ moveToDetail: string;
9
+ showAsColumn: string;
10
+ filterPlaceholder: string;
11
+ removeRows: string;
12
+ showLabel: string;
13
+ entryLabel: string;
14
+ visualizer_text: string;
15
+ visualizer_wordcloud: string;
16
+ chartType_bar: string;
17
+ chartType_stackedbar: string;
18
+ chartType_doughnut: string;
19
+ chartType_pie: string;
20
+ chartType_scatter: string;
21
+ chartType_gauge: string;
22
+ chartType_bullet: string;
23
+ hideButton: string;
24
+ makePrivateButton: string;
25
+ makePublicButton: string;
26
+ showButton: string;
27
+ filter: string;
28
+ resetFilter: string;
29
+ changeLocale: string;
30
+ clearButton: string;
31
+ addElement: string;
32
+ defaultOrder: string;
33
+ ascOrder: string;
34
+ descOrder: string;
35
+ showMinorColumns: string;
36
+ otherCommentTitle: string;
37
+ showPercentages: string;
38
+ hidePercentages: string;
39
+ pdfDownloadCaption: string;
40
+ xlsxDownloadCaption: string;
41
+ csvDownloadCaption: string;
42
+ saveDiagramAsPNG: string;
43
+ hideEmptyAnswers: string;
44
+ showEmptyAnswers: string;
45
+ "topNValueText-1": string;
46
+ topNValueText5: string;
47
+ topNValueText10: string;
48
+ topNValueText20: string;
49
+ noVisualizerForQuestion: string;
50
+ noResults: string;
51
+ };
@@ -0,0 +1,16 @@
1
+ import { Question, QuestionBooleanModel } from "survey-core";
2
+ import { ItemValue } from "survey-core";
3
+ import { SelectBase } from "./selectBase";
4
+ export declare class BooleanModel extends SelectBase {
5
+ protected chartTypes: string[];
6
+ constructor(question: Question, data: Array<{
7
+ [index: string]: any;
8
+ }>, options?: Object, name?: string);
9
+ protected getCorrectAnswerText(): string;
10
+ get booleanQuestion(): QuestionBooleanModel;
11
+ static trueColor: string;
12
+ static falseColor: string;
13
+ getSelectedItemByText(itemText: string): ItemValue;
14
+ getValues(): Array<any>;
15
+ getLabels(): Array<string>;
16
+ }
@@ -0,0 +1,17 @@
1
+ import { Question } from "survey-core";
2
+ import { SelectBase } from "./selectBase";
3
+ export declare class ChoicesTableAdapter {
4
+ private model;
5
+ constructor(model: ChoicesTable);
6
+ create(container: HTMLElement): void;
7
+ destroy(node: HTMLElement): void;
8
+ }
9
+ export declare class ChoicesTable extends SelectBase {
10
+ private _choicesTableAdapter;
11
+ constructor(question: Question, data: Array<{
12
+ [index: string]: any;
13
+ }>, options?: Object, name?: string);
14
+ protected destroyContent(container: HTMLElement): void;
15
+ protected renderContent(container: HTMLElement): void;
16
+ destroy(): void;
17
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * An interface that describes a visualization item (chart, gauge, etc.).
3
+ *
4
+ * To access `IVisualizerPanelElement` objects, you can use the following properties and methods of `VisualizationPanel`:
5
+ *
6
+ * - [`getElements()`](https://surveyjs.io/dashboard/documentation/api-reference/visualizationpanel#getElements)
7
+ * - [`visibleElements`](https://surveyjs.io/dashboard/documentation/api-reference/visualizationpanel#visibleElements)
8
+ * - [`hiddenElements`](https://surveyjs.io/dashboard/documentation/api-reference/visualizationpanel#hiddenElements)
9
+ */
10
+ export interface IVisualizerPanelElement {
11
+ /**
12
+ * The name of a survey question visualized by this item.
13
+ */
14
+ name: string;
15
+ /**
16
+ * The title of a survey question visualized by this item. The visualization item displays the same title.
17
+ */
18
+ displayName: string;
19
+ /**
20
+ * Indicates whether the visualization item is currently visible.
21
+ *
22
+ * If you want to disallow users to hide visualization items, set the [`allowHideQuestions`](https://surveyjs.io/dashboard/documentation/api-reference/ivisualizationpaneloptions#allowHideQuestions) property to `false`.
23
+ */
24
+ isVisible: boolean;
25
+ isPublic: boolean;
26
+ chartType?: string;
27
+ answersOrder?: string;
28
+ hideEmptyAnswers?: boolean;
29
+ topN?: number;
30
+ }
31
+ export interface IState {
32
+ locale?: string;
33
+ elements?: IVisualizerPanelElement[];
34
+ }
35
+ export interface IPermission {
36
+ name: string;
37
+ isPublic: boolean;
38
+ }
@@ -0,0 +1,40 @@
1
+ import { Event } from "survey-core";
2
+ export interface IDataInfo {
3
+ name: string | Array<string>;
4
+ getValues(): Array<any>;
5
+ getLabels(): Array<string>;
6
+ getSeriesValues(): Array<string>;
7
+ getSeriesLabels(): Array<string>;
8
+ }
9
+ export declare class DataProvider {
10
+ private _data;
11
+ private _getDataCore;
12
+ static seriesMarkerKey: string;
13
+ private _filteredData;
14
+ private _statisticsCache;
15
+ protected filterValues: {
16
+ [index: string]: any;
17
+ };
18
+ private getStatisticsCacheKey;
19
+ constructor(_data?: Array<any>, _getDataCore?: (dataInfo: IDataInfo) => number[][]);
20
+ reset(dataInfo?: IDataInfo): void;
21
+ get data(): Array<any>;
22
+ set data(data: Array<any>);
23
+ get filteredData(): {
24
+ [index: string]: any;
25
+ }[];
26
+ /**
27
+ * Sets filter by question name and value.
28
+ */
29
+ setFilter(questionName: string, selectedValue: any): void;
30
+ protected getDataCore(dataInfo: IDataInfo): number[][] | number[][][];
31
+ /**
32
+ * Returns calculated statisctics for the IDataInfo object.
33
+ */
34
+ getData(dataInfo: IDataInfo): any[];
35
+ /**
36
+ * Fires when data has been changed.
37
+ */
38
+ onDataChanged: Event<(sender: DataProvider, options: any) => any, DataProvider, any>;
39
+ protected raiseDataChanged(): void;
40
+ }
@@ -0,0 +1,30 @@
1
+ export * from "../localizationManager";
2
+ import "../analytics-localization/farsi";
3
+ import "../analytics-localization/french";
4
+ import "../analytics-localization/german";
5
+ import "../analytics-localization/norwegian";
6
+ import "../analytics-localization/portuguese";
7
+ import "../analytics-localization/russian";
8
+ import "../analytics-localization/dutch";
9
+ import "../analytics-localization/spanish";
10
+ import "../analytics-localization/italian";
11
+ import "../analytics-localization/arabic";
12
+ export * from "../dataProvider";
13
+ export * from "../number";
14
+ export * from "../selectBase";
15
+ export * from "../matrix";
16
+ export * from "../boolean";
17
+ export * from "../histogram";
18
+ export * from "../visualizerBase";
19
+ export * from "../visualizationManager";
20
+ export * from "../visualizationPanel";
21
+ export * from "../visualizationPanelDynamic";
22
+ export * from "../visualizationMatrixDynamic";
23
+ export * from "../visualizationMatrixDropdown";
24
+ export * from "../alternativeVizualizersWrapper";
25
+ export * from "../plotly/index";
26
+ export * from "../wordcloud/wordcloud";
27
+ export * from "../wordcloud/stopwords/index";
28
+ export * from "../text";
29
+ export * from "../choices-table";
30
+ export { DocumentHelper } from "../utils/index";
@@ -0,0 +1,11 @@
1
+ import { IVisualizerWithSelection } from "./selectBase";
2
+ export declare class FilterInfo {
3
+ private _htmlElement;
4
+ private text;
5
+ constructor(visualizer: IVisualizerWithSelection);
6
+ get htmlElement(): HTMLDivElement;
7
+ update(selection: {
8
+ value: any;
9
+ text: string;
10
+ }): void;
11
+ }
@@ -0,0 +1,38 @@
1
+ import { ItemValue, Question } from "survey-core";
2
+ import { SelectBase } from "./selectBase";
3
+ export declare class HistogramModel extends SelectBase {
4
+ protected valueType: "date" | "number";
5
+ private _cachedValues;
6
+ private _continiousData;
7
+ private _cachedIntervals;
8
+ private _intervalPrecision;
9
+ protected chartTypes: string[];
10
+ static IntervalsCount: number;
11
+ static UseIntervalsFrom: number;
12
+ constructor(question: Question, data: Array<{
13
+ [index: string]: any;
14
+ }>, options?: Object, name?: string);
15
+ private reset;
16
+ getContiniousValue(value: any): number;
17
+ getString(value: number): string;
18
+ private toPrecision;
19
+ getSelectedItemByText(itemText: string): ItemValue;
20
+ /**
21
+ * Updates visualizer data.
22
+ */
23
+ updateData(data: Array<{
24
+ [index: string]: any;
25
+ }>): void;
26
+ protected onDataChanged(): void;
27
+ protected getContiniousValues(): {
28
+ original: any;
29
+ continious: number;
30
+ }[];
31
+ protected isSupportMissingAnswers(): boolean;
32
+ protected get needUseRateValues(): boolean;
33
+ getValues(): Array<any>;
34
+ getLabels(): Array<string>;
35
+ get hasCustomIntervals(): boolean;
36
+ get intervals(): any;
37
+ getData(): any;
38
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * A base class used to implement custom layout engines or integrate third-party layout engines with SurveyJS Dashboard.
3
+ */
4
+ export declare class LayoutEngine {
5
+ protected _allowed: boolean;
6
+ constructor(_allowed: boolean);
7
+ protected startCore(container: HTMLElement): void;
8
+ protected stopCore(): void;
9
+ protected updateCore(): void;
10
+ get allowed(): boolean;
11
+ /**
12
+ * Enables the dynamic layout in a given HTML element.
13
+ *
14
+ * This method should arrange visualization items based on the available screen space and allow users to reorder them via drag and drop.
15
+ */
16
+ start(container: HTMLElement): void;
17
+ /**
18
+ * Disables the dynamic layout.
19
+ */
20
+ stop(): void;
21
+ /**
22
+ * Updates the dynamic layout.
23
+ */
24
+ update(): void;
25
+ add(elements: Array<HTMLElement>, options?: any): void;
26
+ remove(elements: Array<HTMLElement>, options?: any): void;
27
+ onMoveCallback: (fromIndex: number, toIndex: number) => void;
28
+ destroy(): void;
29
+ }
30
+ export declare class MuuriLayoutEngine extends LayoutEngine {
31
+ private _selector;
32
+ private _muuri;
33
+ private _layoutingTimer;
34
+ constructor(allowed: boolean, _selector: string);
35
+ protected startCore(container: HTMLElement): void;
36
+ protected stopCore(): void;
37
+ protected updateCore(): void;
38
+ add(elements: Array<HTMLElement>, options?: any): void;
39
+ remove(elements: Array<HTMLElement>, options?: any): void;
40
+ }
@@ -0,0 +1,85 @@
1
+ export declare var localization: {
2
+ currentLocaleValue: string;
3
+ defaultLocaleValue: string;
4
+ locales: {
5
+ [index: string]: any;
6
+ };
7
+ localeNames: {
8
+ [index: string]: any;
9
+ };
10
+ supportedLocales: any[];
11
+ currentLocale: string;
12
+ defaultLocale: string;
13
+ getString: (strName: string) => any;
14
+ getLocales: () => Array<string>;
15
+ };
16
+ export declare var surveyStrings: {
17
+ groupButton: string;
18
+ ungroupButton: string;
19
+ selectButton: string;
20
+ hideColumn: string;
21
+ showColumn: string;
22
+ makePrivateColumn: string;
23
+ makePublicColumn: string;
24
+ moveToDetail: string;
25
+ showAsColumn: string;
26
+ filterPlaceholder: string;
27
+ removeRows: string;
28
+ showLabel: string;
29
+ entriesLabel: string;
30
+ visualizer_text: string;
31
+ visualizer_wordcloud: string;
32
+ visualizer_histogram: string;
33
+ visualizer_number: string;
34
+ visualizer_choices: string;
35
+ visualizer_selectBase: string;
36
+ chartType_bar: string;
37
+ chartType_vbar: string;
38
+ chartType_stackedbar: string;
39
+ chartType_doughnut: string;
40
+ chartType_pie: string;
41
+ chartType_scatter: string;
42
+ chartType_gauge: string;
43
+ chartType_bullet: string;
44
+ hideButton: string;
45
+ makePrivateButton: string;
46
+ makePublicButton: string;
47
+ showButton: string;
48
+ filter: string;
49
+ resetFilter: string;
50
+ changeLocale: string;
51
+ en: string;
52
+ fr: string;
53
+ ru: string;
54
+ de: string;
55
+ clearButton: string;
56
+ addElement: string;
57
+ defaultOrder: string;
58
+ ascOrder: string;
59
+ descOrder: string;
60
+ showMinorColumns: string;
61
+ otherCommentTitle: string;
62
+ showPercentages: string;
63
+ hidePercentages: string;
64
+ pdfDownloadCaption: string;
65
+ xlsxDownloadCaption: string;
66
+ csvDownloadCaption: string;
67
+ saveDiagramAsPNG: string;
68
+ hideEmptyAnswers: string;
69
+ showEmptyAnswers: string;
70
+ "topNValueText-1": string;
71
+ topNValueText5: string;
72
+ topNValueText10: string;
73
+ topNValueText20: string;
74
+ hideMissingAnswers: string;
75
+ showMissingAnswers: string;
76
+ missingAnswersLabel: string;
77
+ noVisualizerForQuestion: string;
78
+ noResults: string;
79
+ showPerValues: string;
80
+ showPerColumns: string;
81
+ answer: string;
82
+ correctAnswer: string;
83
+ percent: string;
84
+ responses: string;
85
+ };
@@ -0,0 +1,17 @@
1
+ import { ItemValue, QuestionMatrixModel, Question } from "survey-core";
2
+ import { IAnswersData, SelectBase } from "./selectBase";
3
+ export declare class Matrix extends SelectBase {
4
+ constructor(question: Question, data: Array<{
5
+ [index: string]: any;
6
+ }>, options?: Object, name?: string);
7
+ protected get matrixQuestion(): QuestionMatrixModel;
8
+ protected isSupportMissingAnswers(): boolean;
9
+ getSeriesValues(): Array<string>;
10
+ getSeriesLabels(): Array<string>;
11
+ getSelectedItemByText(itemText: string): any;
12
+ valuesSource(): Array<ItemValue>;
13
+ private getHasAnswersInAllSeriesArray;
14
+ private getHasAnswersInSeries;
15
+ protected hideEmptyAnswersInData(answersData: IAnswersData): IAnswersData;
16
+ getData(): any[];
17
+ }
@@ -0,0 +1,14 @@
1
+ import { ItemValue, QuestionMatrixDropdownModel, Question } from "survey-core";
2
+ import { SelectBase } from "./selectBase";
3
+ export declare class MatrixDropdownGrouped extends SelectBase {
4
+ constructor(question: Question, data: Array<{
5
+ [index: string]: any;
6
+ }>, options?: Object, name?: string);
7
+ protected get matrixQuestion(): QuestionMatrixDropdownModel;
8
+ get name(): string | Array<string>;
9
+ getSeriesValues(): Array<string>;
10
+ getSeriesLabels(): Array<string>;
11
+ valuesSource(): Array<ItemValue>;
12
+ protected isSupportMissingAnswers(): boolean;
13
+ getData(): any[];
14
+ }
@@ -0,0 +1,25 @@
1
+ import { Question } from "survey-core";
2
+ import { VisualizerBase } from "./visualizerBase";
3
+ export declare class NumberModel extends VisualizerBase {
4
+ private _resultAverage;
5
+ private _resultMin;
6
+ private _resultMax;
7
+ static stepsCount: number;
8
+ static generateTextsCallback: (question: Question, maxValue: number, minValue: number, stepsCount: number, texts: string[]) => string[];
9
+ protected chartTypes: Array<string>;
10
+ chartType: String;
11
+ static showAsPercentage: boolean;
12
+ constructor(question: Question, data: Array<{
13
+ [index: string]: any;
14
+ }>, options?: {
15
+ [index: string]: any;
16
+ }, name?: string);
17
+ protected onDataChanged(): void;
18
+ protected onChartTypeChanged(): void;
19
+ protected setChartType(chartType: string): void;
20
+ destroy(): void;
21
+ generateText(maxValue: number, minValue: number, stepsCount: number): any;
22
+ generateValues(maxValue: number, stepsCount: number): any[];
23
+ generateColors(maxValue: number, minValue: number, stepsCount: number): any[];
24
+ getData(): number[];
25
+ }
@@ -0,0 +1,16 @@
1
+ import { Question } from "survey-core";
2
+ import { BooleanModel } from "../boolean";
3
+ import { PlotlyChartAdapter } from "./selectBase";
4
+ export declare class PlotlyBoolChartAdapter extends PlotlyChartAdapter {
5
+ constructor(model: BooleanPlotly);
6
+ protected patchConfigParameters(chartNode: object, traces: Array<object>, layout: object, config: object): void;
7
+ }
8
+ export declare class BooleanPlotly extends BooleanModel {
9
+ private _chartAdapter;
10
+ static types: string[];
11
+ constructor(question: Question, data: Array<{
12
+ [index: string]: any;
13
+ }>, options?: Object, name?: string);
14
+ protected destroyContent(container: HTMLElement): void;
15
+ protected renderContent(container: HTMLElement): void;
16
+ }
@@ -0,0 +1,12 @@
1
+ import { Question } from "survey-core";
2
+ import { HistogramModel } from "../histogram";
3
+ export declare class HistogramPlotly extends HistogramModel {
4
+ private _chartAdapter;
5
+ static types: string[];
6
+ constructor(question: Question, data: Array<{
7
+ [index: string]: any;
8
+ }>, options?: Object, name?: string);
9
+ protected destroyContent(container: HTMLElement): void;
10
+ protected renderContent(container: HTMLElement): void;
11
+ getData(): any[];
12
+ }