survey-analytics 2.5.13 → 3.0.0-beta.0

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 (216) hide show
  1. package/fesm/shared.mjs +754 -3179
  2. package/fesm/shared.mjs.map +1 -1
  3. package/fesm/shared2.mjs +9687 -8187
  4. package/fesm/shared2.mjs.map +1 -1
  5. package/fesm/shared3.mjs +4982 -0
  6. package/fesm/shared3.mjs.map +1 -0
  7. package/fesm/shared4.mjs +42 -0
  8. package/fesm/shared4.mjs.map +1 -0
  9. package/fesm/survey.analytics.apexcharts.mjs +1061 -0
  10. package/fesm/survey.analytics.apexcharts.mjs.map +1 -0
  11. package/fesm/survey.analytics.core.mjs +3 -3
  12. package/fesm/survey.analytics.mjs +7 -755
  13. package/fesm/survey.analytics.mjs.map +1 -1
  14. package/fesm/survey.analytics.mongo.mjs +1 -1
  15. package/fesm/survey.analytics.mongo.mjs.map +1 -1
  16. package/fesm/survey.analytics.plotly.mjs +13 -0
  17. package/fesm/survey.analytics.plotly.mjs.map +1 -0
  18. package/fesm/survey.analytics.tabulator.mjs +343 -181
  19. package/fesm/survey.analytics.tabulator.mjs.map +1 -1
  20. package/fesm/themes/index.mjs +1942 -0
  21. package/fesm/themes/index.mjs.map +1 -0
  22. package/package.json +38 -11
  23. package/survey-analytics-plotly.types/alternativeVizualizersWrapper.d.ts +73 -0
  24. package/survey-analytics-plotly.types/analytics-localization/arabic.d.ts +100 -0
  25. package/survey-analytics-plotly.types/analytics-localization/dutch.d.ts +100 -0
  26. package/survey-analytics-plotly.types/analytics-localization/english.d.ts +130 -0
  27. package/survey-analytics-plotly.types/analytics-localization/farsi.d.ts +100 -0
  28. package/survey-analytics-plotly.types/analytics-localization/finnish.d.ts +100 -0
  29. package/survey-analytics-plotly.types/analytics-localization/french.d.ts +100 -0
  30. package/survey-analytics-plotly.types/analytics-localization/german.d.ts +100 -0
  31. package/survey-analytics-plotly.types/analytics-localization/italian.d.ts +100 -0
  32. package/survey-analytics-plotly.types/analytics-localization/japanese.d.ts +100 -0
  33. package/survey-analytics-plotly.types/analytics-localization/norwegian.d.ts +100 -0
  34. package/survey-analytics-plotly.types/analytics-localization/polish.d.ts +100 -0
  35. package/survey-analytics-plotly.types/analytics-localization/portuguese.d.ts +100 -0
  36. package/survey-analytics-plotly.types/analytics-localization/russian.d.ts +100 -0
  37. package/survey-analytics-plotly.types/analytics-localization/spanish.d.ts +100 -0
  38. package/survey-analytics-plotly.types/analytics-localization/swedish.d.ts +100 -0
  39. package/survey-analytics-plotly.types/boolean.d.ts +15 -0
  40. package/survey-analytics-plotly.types/card.d.ts +29 -0
  41. package/survey-analytics-plotly.types/chartConfig.d.ts +9 -0
  42. package/survey-analytics-plotly.types/config.d.ts +35 -0
  43. package/survey-analytics-plotly.types/dashboard.d.ts +51 -0
  44. package/survey-analytics-plotly.types/dataProvider.d.ts +69 -0
  45. package/survey-analytics-plotly.types/entries/plotly.d.ts +2 -0
  46. package/survey-analytics-plotly.types/entries/summary.core.d.ts +44 -0
  47. package/survey-analytics-plotly.types/filterInfo.d.ts +11 -0
  48. package/survey-analytics-plotly.types/histogram.d.ts +102 -0
  49. package/{survey-analytics.types/layoutEngine.d.ts → survey-analytics-plotly.types/layout-engine.d.ts} +0 -12
  50. package/survey-analytics-plotly.types/localizationManager.d.ts +152 -0
  51. package/survey-analytics-plotly.types/matrix.d.ts +17 -0
  52. package/survey-analytics-plotly.types/matrixDropdownGrouped.d.ts +15 -0
  53. package/survey-analytics-plotly.types/muuri-layout-engine.d.ts +13 -0
  54. package/survey-analytics-plotly.types/nps.d.ts +37 -0
  55. package/survey-analytics-plotly.types/number.d.ts +27 -0
  56. package/survey-analytics-plotly.types/pivot.d.ts +59 -0
  57. package/{survey-analytics.types → survey-analytics-plotly.types}/plotly/chart-adapter.d.ts +11 -2
  58. package/survey-analytics-plotly.types/plotly/setup.d.ts +150 -0
  59. package/survey-analytics-plotly.types/ranking.d.ts +12 -0
  60. package/survey-analytics-plotly.types/selectBase.d.ts +116 -0
  61. package/survey-analytics-plotly.types/statisticCalculators.d.ts +9 -0
  62. package/survey-analytics-plotly.types/statistics-table.d.ts +28 -0
  63. package/survey-analytics-plotly.types/svgbundle.d.ts +2 -0
  64. package/survey-analytics-plotly.types/text.d.ts +25 -0
  65. package/survey-analytics-plotly.types/theme.d.ts +50 -0
  66. package/survey-analytics-plotly.types/themes/default-light.d.ts +965 -0
  67. package/survey-analytics-plotly.types/utils/calculationDateRanges.d.ts +35 -0
  68. package/survey-analytics-plotly.types/utils/dateRangeModel.d.ts +32 -0
  69. package/survey-analytics-plotly.types/utils/dateRangeWidget.d.ts +38 -0
  70. package/survey-analytics-plotly.types/utils/dropdownActionWidget.d.ts +31 -0
  71. package/survey-analytics-plotly.types/utils/dropdownBase.d.ts +47 -0
  72. package/survey-analytics-plotly.types/utils/dropdownWidget.d.ts +40 -0
  73. package/survey-analytics-plotly.types/utils/index.d.ts +62 -0
  74. package/survey-analytics-plotly.types/utils/toggle.d.ts +17 -0
  75. package/survey-analytics-plotly.types/utils/utils.d.ts +9 -0
  76. package/survey-analytics-plotly.types/visualizationComposite.d.ts +8 -0
  77. package/survey-analytics-plotly.types/visualizationManager.d.ts +60 -0
  78. package/survey-analytics-plotly.types/visualizationMatrixDropdown.d.ts +23 -0
  79. package/survey-analytics-plotly.types/visualizationMatrixDynamic.d.ts +8 -0
  80. package/survey-analytics-plotly.types/visualizationPanel.d.ts +464 -0
  81. package/survey-analytics-plotly.types/visualizationPanelDynamic.d.ts +20 -0
  82. package/survey-analytics-plotly.types/visualizerBase.d.ts +422 -0
  83. package/survey-analytics-plotly.types/visualizerDescription.d.ts +19 -0
  84. package/survey-analytics-plotly.types/visualizerFactory.d.ts +41 -0
  85. package/survey-analytics-plotly.types/wordcloud/stopwords/dutch.d.ts +1 -0
  86. package/survey-analytics-plotly.types/wordcloud/stopwords/english.d.ts +1 -0
  87. package/survey-analytics-plotly.types/wordcloud/stopwords/index.d.ts +3 -0
  88. package/survey-analytics-plotly.types/wordcloud/stopwords/norwegian.d.ts +1 -0
  89. package/survey-analytics-plotly.types/wordcloud/stopwords/spanish.d.ts +1 -0
  90. package/survey-analytics-plotly.types/wordcloud/widget.d.ts +38 -0
  91. package/survey-analytics-plotly.types/wordcloud/wordcloud.d.ts +28 -0
  92. package/survey-analytics-tabulator.types/analytics-localization/english.d.ts +28 -0
  93. package/survey-analytics-tabulator.types/entries/tabulator.d.ts +2 -25
  94. package/survey-analytics-tabulator.types/entries/tabulator.fontless.d.ts +26 -0
  95. package/survey-analytics-tabulator.types/localizationManager.d.ts +28 -0
  96. package/survey-analytics-tabulator.types/tables/extensions/footerextensions.d.ts +1 -0
  97. package/survey-analytics-tabulator.types/tables/extensions/tableextensions.d.ts +2 -1
  98. package/survey-analytics-tabulator.types/tables/tabulator.d.ts +10 -1
  99. package/survey-analytics-tabulator.types/theme.d.ts +50 -0
  100. package/survey-analytics-tabulator.types/themes/default-light.d.ts +965 -0
  101. package/survey-analytics-tabulator.types/utils/dropdownActionWidget.d.ts +31 -0
  102. package/survey-analytics-tabulator.types/utils/dropdownBase.d.ts +47 -0
  103. package/survey-analytics-tabulator.types/utils/dropdownWidget.d.ts +40 -0
  104. package/survey-analytics-tabulator.types/utils/index.d.ts +25 -2
  105. package/survey-analytics.types/alternativeVizualizersWrapper.d.ts +9 -4
  106. package/survey-analytics.types/analytics-localization/english.d.ts +28 -0
  107. package/survey-analytics.types/apexcharts/chart-adapter.d.ts +29 -0
  108. package/survey-analytics.types/apexcharts/index.d.ts +2 -0
  109. package/survey-analytics.types/apexcharts/setup.d.ts +185 -0
  110. package/survey-analytics.types/boolean.d.ts +1 -1
  111. package/survey-analytics.types/card.d.ts +29 -0
  112. package/survey-analytics.types/chartConfig.d.ts +9 -0
  113. package/survey-analytics.types/config.d.ts +1 -33
  114. package/survey-analytics.types/dashboard.d.ts +51 -0
  115. package/survey-analytics.types/dataProvider.d.ts +17 -0
  116. package/survey-analytics.types/entries/apexcharts.d.ts +2 -0
  117. package/survey-analytics.types/entries/apexcharts.fontless.d.ts +2 -0
  118. package/survey-analytics.types/entries/summary.core.d.ts +6 -0
  119. package/survey-analytics.types/histogram.d.ts +29 -13
  120. package/survey-analytics.types/layout-engine.d.ts +29 -0
  121. package/survey-analytics.types/localizationManager.d.ts +28 -0
  122. package/survey-analytics.types/matrix.d.ts +3 -2
  123. package/survey-analytics.types/matrixDropdownGrouped.d.ts +3 -2
  124. package/survey-analytics.types/muuri-layout-engine.d.ts +13 -0
  125. package/survey-analytics.types/nps.d.ts +5 -10
  126. package/survey-analytics.types/number.d.ts +8 -7
  127. package/survey-analytics.types/pivot.d.ts +25 -35
  128. package/survey-analytics.types/ranking.d.ts +3 -2
  129. package/survey-analytics.types/selectBase.d.ts +12 -15
  130. package/survey-analytics.types/statisticCalculators.d.ts +8 -13
  131. package/survey-analytics.types/statistics-table.d.ts +2 -2
  132. package/survey-analytics.types/text.d.ts +4 -3
  133. package/survey-analytics.types/theme.d.ts +50 -0
  134. package/survey-analytics.types/themes/default-light.d.ts +965 -0
  135. package/survey-analytics.types/utils/calculationDateRanges.d.ts +35 -0
  136. package/survey-analytics.types/utils/dateRangeModel.d.ts +32 -0
  137. package/survey-analytics.types/utils/dateRangeWidget.d.ts +38 -0
  138. package/survey-analytics.types/utils/dropdownActionWidget.d.ts +31 -0
  139. package/survey-analytics.types/utils/dropdownBase.d.ts +47 -0
  140. package/survey-analytics.types/utils/dropdownWidget.d.ts +40 -0
  141. package/survey-analytics.types/utils/index.d.ts +25 -2
  142. package/survey-analytics.types/utils/toggle.d.ts +17 -0
  143. package/survey-analytics.types/utils/utils.d.ts +9 -0
  144. package/survey-analytics.types/visualizationComposite.d.ts +1 -1
  145. package/survey-analytics.types/visualizationManager.d.ts +5 -5
  146. package/survey-analytics.types/visualizationMatrixDropdown.d.ts +2 -1
  147. package/survey-analytics.types/visualizationMatrixDynamic.d.ts +1 -1
  148. package/survey-analytics.types/visualizationPanel.d.ts +20 -3
  149. package/survey-analytics.types/visualizationPanelDynamic.d.ts +2 -1
  150. package/survey-analytics.types/visualizerBase.d.ts +65 -10
  151. package/survey-analytics.types/visualizerDescription.d.ts +19 -0
  152. package/survey-analytics.types/visualizerFactory.d.ts +11 -2
  153. package/survey-analytics.types/wordcloud/wordcloud.d.ts +6 -4
  154. package/survey.analytics.core.css +1131 -99
  155. package/survey.analytics.core.css.map +1 -1
  156. package/survey.analytics.core.js +5063 -1002
  157. package/survey.analytics.core.js.map +1 -1
  158. package/survey.analytics.core.min.css +9 -6
  159. package/survey.analytics.core.min.js +1 -1
  160. package/survey.analytics.core.min.js.LICENSE.txt +1 -1
  161. package/survey.analytics.css +1494 -103
  162. package/survey.analytics.css.map +1 -1
  163. package/survey.analytics.d.ts +1 -2
  164. package/survey.analytics.fontless.css +1629 -0
  165. package/survey.analytics.fontless.css.map +1 -0
  166. package/survey.analytics.fontless.min.css +14 -0
  167. package/survey.analytics.js +7427 -3055
  168. package/survey.analytics.js.map +1 -1
  169. package/survey.analytics.min.css +11 -6
  170. package/survey.analytics.min.js +1 -1
  171. package/survey.analytics.min.js.LICENSE.txt +1 -1
  172. package/survey.analytics.mongo.js +2 -2
  173. package/survey.analytics.mongo.js.map +1 -1
  174. package/survey.analytics.mongo.min.js +1 -1
  175. package/survey.analytics.mongo.min.js.LICENSE.txt +1 -1
  176. package/survey.analytics.plotly.css +1714 -0
  177. package/survey.analytics.plotly.css.map +1 -0
  178. package/survey.analytics.plotly.d.ts +1 -0
  179. package/survey.analytics.plotly.fontless.css +1492 -0
  180. package/survey.analytics.plotly.fontless.css.map +1 -0
  181. package/survey.analytics.plotly.fontless.min.css +13 -0
  182. package/survey.analytics.plotly.js +23829 -0
  183. package/survey.analytics.plotly.js.map +1 -0
  184. package/survey.analytics.plotly.min.css +14 -0
  185. package/survey.analytics.plotly.min.js +2 -0
  186. package/survey.analytics.plotly.min.js.LICENSE.txt +22 -0
  187. package/survey.analytics.tabulator.css +992 -132
  188. package/survey.analytics.tabulator.css.map +1 -1
  189. package/survey.analytics.tabulator.fontless.css +1121 -0
  190. package/survey.analytics.tabulator.fontless.css.map +1 -0
  191. package/survey.analytics.tabulator.fontless.min.css +6 -0
  192. package/survey.analytics.tabulator.js +2634 -251
  193. package/survey.analytics.tabulator.js.map +1 -1
  194. package/survey.analytics.tabulator.min.css +3 -2
  195. package/survey.analytics.tabulator.min.js +1 -1
  196. package/survey.analytics.tabulator.min.js.LICENSE.txt +1 -1
  197. package/themes/default-dark.js +1032 -0
  198. package/themes/default-dark.js.map +1 -0
  199. package/themes/default-dark.min.js +2 -0
  200. package/themes/default-dark.min.js.LICENSE.txt +5 -0
  201. package/themes/default-light.js +1032 -0
  202. package/themes/default-light.js.map +1 -0
  203. package/themes/default-light.min.js +2 -0
  204. package/themes/default-light.min.js.LICENSE.txt +5 -0
  205. package/themes/index.js +2063 -0
  206. package/themes/index.js.map +1 -0
  207. package/themes/index.min.js +2 -0
  208. package/themes/index.min.js.LICENSE.txt +5 -0
  209. package/themes/themes/default-dark.d.ts +965 -0
  210. package/themes/themes/default-light.d.ts +965 -0
  211. package/themes/themes/index.d.ts +1934 -0
  212. package/themes/utils/helpers.d.ts +8 -0
  213. package/survey-analytics.types/plotly/setup.d.ts +0 -32
  214. /package/{survey-analytics.types/entries/summary.d.ts → survey-analytics-plotly.types/entries/plotly.fontless.d.ts} +0 -0
  215. /package/{survey-analytics.types → survey-analytics-plotly.types}/plotly/index.d.ts +0 -0
  216. /package/{survey-analytics.types → survey-analytics-plotly.types}/plotly/legacy.d.ts +0 -0
package/package.json CHANGED
@@ -1,24 +1,32 @@
1
1
  {
2
- "version": "2.5.13",
2
+ "version": "3.0.0-beta.0",
3
3
  "name": "survey-analytics",
4
4
  "scripts": {
5
5
  "start": "webpack-dev-server --env buildType=dev",
6
+ "serve": "http-server --silent",
6
7
  "test": "jest",
7
8
  "test:dev": "jest --watch",
8
9
  "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
9
10
  "e2e": "playwright test --project chromium --ui",
10
- "e2e:ci": "playwright test --project chromium",
11
+ "e2e:apexCharts": "playwright test --project chromium+apexCharts --ui",
12
+ "e2e:ci": "playwright test --project chromium --project chromium+apexCharts",
13
+ "e2e:ci:apexCharts": "playwright test --project chromium+apexCharts",
14
+ "e2e:ci:plotly": "playwright test --project chromium",
11
15
  "release": "standard-version --message \"Release: %s [azurepipelines skip]\" ",
12
16
  "doc:gen": "node doc_generator/lib_docgenerator.js src/index.ts",
13
17
  "doc:update": "chmod +x ./docupdate_npm.sh && ./docupdate_npm.sh",
14
18
  "watch:dev": "concurrently \"webpack --env buildType=dev --env emitStyles\" \"rollup -c -w\" ",
15
- "build:all": "npm run build",
19
+ "build:all": "npm run build && npm run build:themes",
16
20
  "build": "webpack --env buildType=dev --env emitNonSourceFiles --env emitStyles && webpack --env buildType=prod --env emitStyles && rollup -c && npm run build:types",
17
- "build:types": "npm run build:types:core && npm run build:types:summary && npm run build:types:tabulator && npm run build:types:mongo",
18
- "build:types:core": "tsc --p tsconfig.summary.core.json && echo \"export * from './survey-analytics.types/entries/summary.core';\" >> build/survey.analytics.core.d.ts",
19
- "build:types:summary": "tsc --p tsconfig.summary.json && echo \"export * from './survey-analytics.types/entries/summary';\" >> build/survey.analytics.d.ts",
20
- "build:types:tabulator": "tsc --p tsconfig.tabulator.json && echo \"export * from './survey-analytics-tabulator.types/entries/tabulator';\" >> build/survey.analytics.tabulator.d.ts",
21
+ "build:types": "npm run build:types:core && npm run build:types:tabulator && npm run build:types:apexcharts && npm run build:types:plotly && npm run build:types:mongo",
22
+ "build:types:core": "tsc --p tsconfig.types.summary.core.json && echo \"export * from './survey-analytics.types/entries/summary.core';\" >> build/survey.analytics.core.d.ts",
23
+ "build:types:tabulator": "tsc --p tsconfig.types.tabulator.json && echo \"export * from './survey-analytics-tabulator.types/entries/tabulator';\" >> build/survey.analytics.tabulator.d.ts",
24
+ "build:types:apexcharts": "tsc --p tsconfig.types.apexcharts.json && echo \"export * from './survey-analytics-apexcharts.types/entries/apexcharts';\" >> build/survey.analytics.d.ts",
25
+ "build:types:plotly": "tsc --p tsconfig.types.plotly.json && echo \"export * from './survey-analytics-plotly.types/entries/plotly';\" >> build/survey.analytics.plotly.d.ts",
21
26
  "build:types:mongo": "tsc --p tsconfig.types.mongo.json && echo \"export * from './survey-analytics.types/entries/mongo';\" >> build/survey.analytics.mongo.d.ts",
27
+ "build:themes": "webpack --config ./webpack.themes.config.js --env buildType=dev --env emitDeclarations && webpack --config ./webpack.themes.config.js --env buildType=prod && rollup -c rollup.themes.config.js",
28
+ "accessibility-tests": "playwright test --project a11y --ui",
29
+ "accessibility-tests:ci": "playwright test --project a11y --reporter dot --quiet",
22
30
  "lint": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --max-warnings=0",
23
31
  "lint:fix": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --max-warnings=0 --fix",
24
32
  "pre-push-check": "npm run lint",
@@ -38,7 +46,8 @@
38
46
  "mongodb": "^6.20.0",
39
47
  "muuri": "^0.8.0",
40
48
  "plotly.js-dist-min": "^2.28.0",
41
- "tabulator-tables": "^6.2.5"
49
+ "tabulator-tables": "^6.2.5",
50
+ "apexcharts": "^4.7.0"
42
51
  },
43
52
  "devDependencies": {
44
53
  "@commitlint/cli": "^19.8.0",
@@ -52,9 +61,12 @@
52
61
  "@types/jest": "^26.0.24",
53
62
  "@types/jquery": "3.3.29",
54
63
  "@types/node": "7.0.4",
64
+ "@types/minimatch": "5.1.2",
55
65
  "@typescript-eslint/eslint-plugin": "^7.2.0",
56
66
  "@typescript-eslint/parser": "^7.2.0",
57
- "@vue/eslint-config-typescript": "^11.0.0",
67
+ "axe-core": "^4.8.2",
68
+ "axe-playwright": "^2.1.0",
69
+ "axe-testcafe": "^3.0.0",
58
70
  "concurrently": "^5.3.0",
59
71
  "css-loader": "^7.1.2",
60
72
  "eslint": "^8.57.0",
@@ -73,7 +85,7 @@
73
85
  "playwright": "1.58.0",
74
86
  "puppeteer": "22.13.1",
75
87
  "replace-in-file": "^6.3.2",
76
- "rollup": "^4.34.8",
88
+ "rollup": "^4.59.0",
77
89
  "rollup-plugin-license": "^3.6.0",
78
90
  "sass": "^1.62.1",
79
91
  "sass-loader": "^16.0.4",
@@ -93,7 +105,12 @@
93
105
  "@types/mongodb": "^4.0.6",
94
106
  "@types/plotly.js-dist-min": "^2.3.0",
95
107
  "@types/tabulator-tables": "^6.2.3",
96
- "survey-core": "2.5.13"
108
+ "survey-core": "3.0.0-beta.0"
109
+ },
110
+ "overrides": {
111
+ "axe-testcafe": {
112
+ "axe-core": "^4.8.2"
113
+ }
97
114
  },
98
115
  "husky": {
99
116
  "hooks": {
@@ -126,6 +143,16 @@
126
143
  "types": "./survey.analytics.tabulator.d.ts",
127
144
  "import": "./fesm/survey.analytics.tabulator.mjs",
128
145
  "require": "./survey.analytics.tabulator.js"
146
+ },
147
+ "./survey.analytics.apexcharts": {
148
+ "types": "./survey.analytics.apexcharts.d.ts",
149
+ "import": "./fesm/survey.analytics.apexcharts.mjs",
150
+ "require": "./survey.analytics.apexcharts.js"
151
+ },
152
+ "./survey.analytics.plotly": {
153
+ "types": "./survey.analytics.plotly.d.ts",
154
+ "import": "./fesm/survey.analytics.plotly.mjs",
155
+ "require": "./survey.analytics.plotly.js"
129
156
  }
130
157
  },
131
158
  "module": "fesm/survey.analytics.mjs",
@@ -0,0 +1,73 @@
1
+ import { Question, ItemValue, Event } from "survey-core";
2
+ import { ICalculationResult, IChartAdapter, VisualizerBase } from "./visualizerBase";
3
+ import { IVisualizerWithSelection } from "./selectBase";
4
+ export declare class AlternativeVisualizersWrapper extends VisualizerBase implements IVisualizerWithSelection {
5
+ private visualizers;
6
+ private visualizerSelector;
7
+ private updateVisualizerSelector;
8
+ private getVisualizerSwitchItems;
9
+ private _setVisualizer;
10
+ constructor(visualizers: Array<VisualizerBase>, question: Question, data: Array<{
11
+ [index: string]: any;
12
+ }>, options?: Object);
13
+ protected visualizerContainer: HTMLElement;
14
+ protected onDataChanged(): void;
15
+ protected get allowChangeType(): any;
16
+ get hasFooter(): boolean;
17
+ getVisualizers(): VisualizerBase[];
18
+ getChartAdapter(): IChartAdapter;
19
+ private visualizersWithSelection;
20
+ private selectedItem;
21
+ private visualizer;
22
+ private onAfterVisualizerRenderCallback;
23
+ private onVisualizerStateChangedCallback;
24
+ /**
25
+ * The event is fired right after AlternativeVisualizersWrapper content type has been changed.
26
+ **/
27
+ onVisualizerChanged: Event<(sender: AlternativeVisualizersWrapper, options: any) => any, AlternativeVisualizersWrapper, any>;
28
+ /**
29
+ * This method selects visualizer to show by it name.
30
+ *
31
+ * parameters:
32
+ * name - the name of visualizer to show,
33
+ * quiet - set it to true if you don't want to rise a notification event
34
+ *
35
+ **/
36
+ setVisualizer(type: string, quiet?: boolean): void;
37
+ getVisualizer(): VisualizerBase;
38
+ updateData(data: Array<{
39
+ [index: string]: any;
40
+ }>): void;
41
+ set onDataItemSelected(val: (selectedValue: any, selectedText: string) => void);
42
+ setSelection(item: ItemValue): void;
43
+ get selection(): any;
44
+ protected renderContent(container: HTMLElement): void;
45
+ protected setBackgroundColorCore(color: string): void;
46
+ /**
47
+ * Returns an object with properties that describe a current visualizer state. The properties are different for each individual visualizer.
48
+ *
49
+ * > This method is overriden in descendant classes.
50
+ * @see setState
51
+ * @see resetState
52
+ */
53
+ getState(): any;
54
+ /**
55
+ * Sets the visualizer's state.
56
+ *
57
+ * @see getState
58
+ * @see resetState
59
+ */
60
+ setState(state: any): void;
61
+ /**
62
+ * Resets the visualizer's state.
63
+ *
64
+ * @see getState
65
+ * @see setState
66
+ */
67
+ resetState(): void;
68
+ getValues(): Array<any>;
69
+ getLabels(): Array<string>;
70
+ getCalculatedValues(): Promise<ICalculationResult>;
71
+ protected onThemeChanged(): void;
72
+ destroy(): void;
73
+ }
@@ -0,0 +1,100 @@
1
+ export declare var arabicStrings: {
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
+ visualizer_matrix: string;
22
+ chartType_bar: string;
23
+ chartType_vbar: string;
24
+ chartType_stackedbar: string;
25
+ chartType_doughnut: string;
26
+ chartType_pie: string;
27
+ chartType_scatter: string;
28
+ chartType_gauge: string;
29
+ chartType_bullet: string;
30
+ chartType_line: string;
31
+ chartType_radar: string;
32
+ hideButton: string;
33
+ makePrivateButton: string;
34
+ makePublicButton: string;
35
+ showButton: string;
36
+ filter: string;
37
+ resetFilter: string;
38
+ changeLocale: string;
39
+ clearButton: string;
40
+ addElement: string;
41
+ defaultOrder: string;
42
+ ascOrder: string;
43
+ descOrder: string;
44
+ showMinorColumns: string;
45
+ actionsColumn: 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
+ percentage: string;
70
+ statistics_chart: string;
71
+ responses: string;
72
+ visualizer_nps: string;
73
+ visualizer_boolean: string;
74
+ visualizer_options: string;
75
+ npsScore: string;
76
+ npsPromoters: string;
77
+ npsPassives: string;
78
+ npsDetractors: string;
79
+ axisXSelectorTitle: string;
80
+ axisYSelectorTitle: string;
81
+ axisXAlternativeSelectorTitle: string;
82
+ axisYAlternativeSelectorTitle: string;
83
+ notSelected: string;
84
+ intervalMode_default: string;
85
+ intervalMode_decades: string;
86
+ intervalMode_years: string;
87
+ intervalMode_quarters: string;
88
+ intervalMode_months: string;
89
+ intervalMode_days: string;
90
+ intervalMode_custom: string;
91
+ intervalMode_auto: string;
92
+ intervalModeTitle: string;
93
+ noRunningTotals: string;
94
+ runningTotals: string;
95
+ groupDateSeries: string;
96
+ ungroupDateSeries: string;
97
+ noneAggregateText: string;
98
+ selectAggregateText: string;
99
+ groupedYearsAxisTitle: string;
100
+ };
@@ -0,0 +1,100 @@
1
+ export declare var dutchStrings: {
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
+ visualizer_matrix: string;
22
+ chartType_bar: string;
23
+ chartType_vbar: string;
24
+ chartType_stackedbar: string;
25
+ chartType_doughnut: string;
26
+ chartType_pie: string;
27
+ chartType_scatter: string;
28
+ chartType_gauge: string;
29
+ chartType_bullet: string;
30
+ chartType_line: string;
31
+ chartType_radar: string;
32
+ hideButton: string;
33
+ makePrivateButton: string;
34
+ makePublicButton: string;
35
+ showButton: string;
36
+ filter: string;
37
+ resetFilter: string;
38
+ changeLocale: string;
39
+ clearButton: string;
40
+ addElement: string;
41
+ defaultOrder: string;
42
+ ascOrder: string;
43
+ descOrder: string;
44
+ showMinorColumns: string;
45
+ actionsColumn: 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
+ percentage: string;
70
+ statistics_chart: string;
71
+ responses: string;
72
+ visualizer_nps: string;
73
+ visualizer_boolean: string;
74
+ visualizer_options: string;
75
+ npsScore: string;
76
+ npsPromoters: string;
77
+ npsPassives: string;
78
+ npsDetractors: string;
79
+ axisXSelectorTitle: string;
80
+ axisYSelectorTitle: string;
81
+ axisXAlternativeSelectorTitle: string;
82
+ axisYAlternativeSelectorTitle: string;
83
+ notSelected: string;
84
+ intervalMode_default: string;
85
+ intervalMode_decades: string;
86
+ intervalMode_years: string;
87
+ intervalMode_quarters: string;
88
+ intervalMode_months: string;
89
+ intervalMode_days: string;
90
+ intervalMode_custom: string;
91
+ intervalMode_auto: string;
92
+ intervalModeTitle: string;
93
+ noRunningTotals: string;
94
+ runningTotals: string;
95
+ groupDateSeries: string;
96
+ ungroupDateSeries: string;
97
+ noneAggregateText: string;
98
+ selectAggregateText: string;
99
+ groupedYearsAxisTitle: string;
100
+ };
@@ -0,0 +1,130 @@
1
+ export declare var englishStrings: {
2
+ groupButton: string;
3
+ ungroupButton: string;
4
+ selectButton: string;
5
+ columnReorder: string;
6
+ hideColumn: string;
7
+ showColumn: string;
8
+ columns: string;
9
+ makePrivateColumn: string;
10
+ makePublicColumn: string;
11
+ moveToDetail: string;
12
+ showAsColumn: string;
13
+ filterPlaceholder: string;
14
+ removeRows: string;
15
+ showLabel: string;
16
+ entriesLabel: string;
17
+ entriesOnPageLabel: string;
18
+ visualizer_text: string;
19
+ visualizer_wordcloud: string;
20
+ visualizer_histogram: string;
21
+ visualizer_number: string;
22
+ visualizer_average: string;
23
+ visualizer_choices: string;
24
+ visualizer_selectBase: string;
25
+ visualizer_matrix: string;
26
+ chartType_bar: string;
27
+ chartType_vbar: string;
28
+ chartType_stackedbar: string;
29
+ chartType_doughnut: string;
30
+ chartType_pie: string;
31
+ chartType_scatter: string;
32
+ chartType_gauge: string;
33
+ chartType_bullet: string;
34
+ chartType_line: string;
35
+ chartType_radar: string;
36
+ chartType_histogram: string;
37
+ chartType_vhistogram: string;
38
+ chartType_stackedhistogram: string;
39
+ hideButton: string;
40
+ makePrivateButton: string;
41
+ makePublicButton: string;
42
+ showButton: string;
43
+ filter: string;
44
+ resetFilter: string;
45
+ changeLocale: string;
46
+ clearButton: string;
47
+ addElement: string;
48
+ allQuestions: string;
49
+ defaultOrder: string;
50
+ ascOrder: string;
51
+ descOrder: string;
52
+ showMinorColumns: string;
53
+ actionsColumn: string;
54
+ otherCommentTitle: string;
55
+ showPercentages: string;
56
+ hidePercentages: string;
57
+ exportAs: string;
58
+ pdfDownloadCaption: string;
59
+ xlsxDownloadCaption: string;
60
+ csvDownloadCaption: string;
61
+ saveDiagramAsPNG: string;
62
+ responsesText: string;
63
+ noData: string;
64
+ selectDateRange: string;
65
+ includeToday: string;
66
+ reportingPeriodCustom: string;
67
+ reportingPeriodLast7days: string;
68
+ reportingPeriodLast14days: string;
69
+ reportingPeriodLast28days: string;
70
+ reportingPeriodLast30days: string;
71
+ reportingPeriodLastWeekMon: string;
72
+ reportingPeriodLastWeekSun: string;
73
+ reportingPeriodLastMonth: string;
74
+ reportingPeriodLastQuarter: string;
75
+ reportingPeriodLastYear: string;
76
+ reportingPeriodWtdSun: string;
77
+ reportingPeriodWtdMon: string;
78
+ reportingPeriodMtd: string;
79
+ reportingPeriodQtd: string;
80
+ reportingPeriodYtd: string;
81
+ hideEmptyAnswers: string;
82
+ showEmptyAnswers: string;
83
+ "topNValueText-1": string;
84
+ topNValueText5: string;
85
+ topNValueText10: string;
86
+ topNValueText20: string;
87
+ hideMissingAnswers: string;
88
+ showMissingAnswers: string;
89
+ missingAnswersLabel: string;
90
+ noVisualizerForQuestion: string;
91
+ noResults: string;
92
+ showPerValues: string;
93
+ showPerColumns: string;
94
+ answer: string;
95
+ correctAnswer: string;
96
+ percent: string;
97
+ percentage: string;
98
+ statistics_chart: string;
99
+ responses: string;
100
+ visualizer_nps: string;
101
+ visualizer_boolean: string;
102
+ visualizer_options: string;
103
+ npsScore: string;
104
+ npsPromoters: string;
105
+ npsPassives: string;
106
+ npsDetractors: string;
107
+ axisXSelectorTitle: string;
108
+ axisYSelectorTitle: string;
109
+ axisXAlternativeSelectorTitle: string;
110
+ axisYAlternativeSelectorTitle: string;
111
+ notSelected: string;
112
+ intervalMode_default: string;
113
+ intervalMode_decades: string;
114
+ intervalMode_years: string;
115
+ intervalMode_quarters: string;
116
+ intervalMode_months: string;
117
+ intervalMode_days: string;
118
+ intervalMode_custom: string;
119
+ intervalMode_auto: string;
120
+ intervalModeTitle: string;
121
+ noRunningTotals: string;
122
+ runningTotals: string;
123
+ groupDateSeries: string;
124
+ ungroupDateSeries: string;
125
+ noneAggregateText: string;
126
+ selectAggregateText: string;
127
+ groupedYearsAxisTitle: string;
128
+ license: string;
129
+ license2: string;
130
+ };
@@ -0,0 +1,100 @@
1
+ export declare var farsiStrings: {
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
+ visualizer_matrix: string;
22
+ chartType_bar: string;
23
+ chartType_vbar: string;
24
+ chartType_stackedbar: string;
25
+ chartType_doughnut: string;
26
+ chartType_pie: string;
27
+ chartType_scatter: string;
28
+ chartType_gauge: string;
29
+ chartType_bullet: string;
30
+ chartType_line: string;
31
+ chartType_radar: string;
32
+ hideButton: string;
33
+ makePrivateButton: string;
34
+ makePublicButton: string;
35
+ showButton: string;
36
+ filter: string;
37
+ resetFilter: string;
38
+ changeLocale: string;
39
+ clearButton: string;
40
+ addElement: string;
41
+ defaultOrder: string;
42
+ ascOrder: string;
43
+ descOrder: string;
44
+ showMinorColumns: string;
45
+ actionsColumn: 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
+ percentage: string;
70
+ statistics_chart: string;
71
+ responses: string;
72
+ visualizer_nps: string;
73
+ visualizer_boolean: string;
74
+ visualizer_options: string;
75
+ npsScore: string;
76
+ npsPromoters: string;
77
+ npsPassives: string;
78
+ npsDetractors: string;
79
+ axisXSelectorTitle: string;
80
+ axisYSelectorTitle: string;
81
+ axisXAlternativeSelectorTitle: string;
82
+ axisYAlternativeSelectorTitle: string;
83
+ notSelected: string;
84
+ intervalMode_default: string;
85
+ intervalMode_decades: string;
86
+ intervalMode_years: string;
87
+ intervalMode_quarters: string;
88
+ intervalMode_months: string;
89
+ intervalMode_days: string;
90
+ intervalMode_custom: string;
91
+ intervalMode_auto: string;
92
+ intervalModeTitle: string;
93
+ noRunningTotals: string;
94
+ runningTotals: string;
95
+ groupDateSeries: string;
96
+ ungroupDateSeries: string;
97
+ noneAggregateText: string;
98
+ selectAggregateText: string;
99
+ groupedYearsAxisTitle: string;
100
+ };