@qrvey/utils 1.2.3 → 1.2.4-11

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 (520) hide show
  1. package/README.md +175 -69
  2. package/dist/{cjs/qrvey → charts}/constants/AGGREGATE.d.ts +0 -0
  3. package/dist/{qrvey → charts}/constants/AGGREGATE.js +0 -0
  4. package/dist/{cjs/qrvey → charts}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
  5. package/dist/{qrvey → charts}/constants/AGGREGATE_ABBREVIATION.js +0 -0
  6. package/dist/charts/constants/AGGREGATE_INFO.d.ts +5 -0
  7. package/dist/{qrvey → charts}/constants/AGGREGATE_INFO.js +0 -0
  8. package/dist/charts/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
  9. package/dist/{qrvey → charts}/constants/AGGREGATE_INFO_LIST.js +0 -0
  10. package/dist/charts/constants/AGGREGATE_LABEL.d.ts +11 -0
  11. package/dist/charts/constants/AGGREGATE_LABEL.js +12 -0
  12. package/dist/charts/constants/index.d.ts +5 -0
  13. package/dist/charts/constants/index.js +5 -0
  14. package/dist/charts/index.d.ts +2 -0
  15. package/dist/charts/index.js +2 -0
  16. package/dist/charts/interfaces/IAggregateAbbreviation.d.ts +2 -0
  17. package/dist/{columns/interfaces/IColumnAggregateType.js → charts/interfaces/IAggregateAbbreviation.js} +0 -0
  18. package/dist/charts/interfaces/IAggregateInfo.d.ts +9 -0
  19. package/dist/{qrvey → charts}/interfaces/IAggregateInfo.js +0 -0
  20. package/dist/charts/interfaces/IAggregateLabel.d.ts +2 -0
  21. package/dist/{columns/interfaces/IColumnCalculationType.js → charts/interfaces/IAggregateLabel.js} +0 -0
  22. package/dist/{cjs/qrvey/interfaces/IAggregate.d.ts → charts/interfaces/IAggregateType.d.ts} +1 -1
  23. package/dist/{qrvey/interfaces/IAggregate.js → charts/interfaces/IAggregateType.js} +0 -0
  24. package/dist/charts/interfaces/index.d.ts +4 -0
  25. package/dist/charts/interfaces/index.js +4 -0
  26. package/dist/{qrvey → cjs/charts}/constants/AGGREGATE.d.ts +0 -0
  27. package/dist/cjs/{qrvey → charts}/constants/AGGREGATE.js +0 -0
  28. package/dist/{qrvey → cjs/charts}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
  29. package/dist/cjs/{qrvey → charts}/constants/AGGREGATE_ABBREVIATION.js +0 -0
  30. package/dist/cjs/charts/constants/AGGREGATE_INFO.d.ts +5 -0
  31. package/dist/cjs/{qrvey → charts}/constants/AGGREGATE_INFO.js +0 -0
  32. package/dist/cjs/charts/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
  33. package/dist/cjs/{qrvey → charts}/constants/AGGREGATE_INFO_LIST.js +0 -0
  34. package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +11 -0
  35. package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +15 -0
  36. package/dist/cjs/charts/constants/index.d.ts +5 -0
  37. package/dist/cjs/charts/constants/index.js +17 -0
  38. package/dist/cjs/charts/index.d.ts +2 -0
  39. package/dist/cjs/{globalization/filters → charts}/index.js +2 -3
  40. package/dist/cjs/charts/interfaces/IAggregateAbbreviation.d.ts +2 -0
  41. package/dist/cjs/{columns/interfaces/IColumnAggregateType.js → charts/interfaces/IAggregateAbbreviation.js} +0 -0
  42. package/dist/cjs/charts/interfaces/IAggregateInfo.d.ts +9 -0
  43. package/dist/cjs/{qrvey → charts}/interfaces/IAggregateInfo.js +0 -0
  44. package/dist/cjs/charts/interfaces/IAggregateLabel.d.ts +2 -0
  45. package/dist/cjs/{columns/interfaces/IColumnCalculationType.js → charts/interfaces/IAggregateLabel.js} +0 -0
  46. package/dist/{qrvey/interfaces/IAggregate.d.ts → cjs/charts/interfaces/IAggregateType.d.ts} +1 -1
  47. package/dist/cjs/{qrvey/interfaces/IAggregate.js → charts/interfaces/IAggregateType.js} +0 -0
  48. package/dist/cjs/charts/interfaces/index.d.ts +4 -0
  49. package/dist/cjs/charts/interfaces/index.js +16 -0
  50. package/dist/cjs/columns/constants/COLUMN_INFO.js +2 -1
  51. package/dist/cjs/columns/interfaces/IColumn.d.ts +3 -3
  52. package/dist/cjs/columns/interfaces/index.d.ts +0 -2
  53. package/dist/cjs/columns/interfaces/index.js +0 -2
  54. package/dist/cjs/filters/helpers/builder/getFilterBuilderGeneralConfig.js +1 -0
  55. package/dist/cjs/filters/helpers/common/getFilterColumnLabel.js +1 -1
  56. package/dist/cjs/filters/helpers/common/getFilterLabel.js +1 -2
  57. package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +2 -0
  58. package/dist/cjs/filters/interfaces/builder/IFilterBuilderGeneralConfig.d.ts +1 -0
  59. package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +2 -0
  60. package/dist/cjs/general/mix/compareDeep.d.ts +8 -0
  61. package/dist/cjs/general/mix/compareDeep.js +33 -0
  62. package/dist/cjs/general/mix/index.d.ts +6 -5
  63. package/dist/cjs/general/mix/index.js +6 -5
  64. package/dist/cjs/general/object/index.d.ts +1 -0
  65. package/dist/cjs/general/object/index.js +1 -0
  66. package/dist/cjs/general/object/mergeDeep.d.ts +17 -0
  67. package/dist/cjs/general/object/mergeDeep.js +55 -0
  68. package/dist/cjs/globalization/index.d.ts +3 -1
  69. package/dist/cjs/globalization/index.js +3 -1
  70. package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +14 -0
  71. package/dist/cjs/globalization/interfaces/IResourceI18n.js +2 -0
  72. package/dist/cjs/globalization/interfaces/columns/II18nColumn.d.ts +10 -0
  73. package/dist/cjs/globalization/interfaces/columns/II18nColumn.js +2 -0
  74. package/dist/cjs/globalization/interfaces/columns/index.d.ts +1 -0
  75. package/dist/cjs/globalization/interfaces/columns/index.js +13 -0
  76. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +11 -0
  77. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.js +2 -0
  78. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +5 -0
  79. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +2 -0
  80. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +8 -0
  81. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +2 -0
  82. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +8 -0
  83. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +2 -0
  84. package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +46 -0
  85. package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.js +2 -0
  86. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +38 -0
  87. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.js +2 -0
  88. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +15 -0
  89. package/dist/cjs/globalization/interfaces/common/II18nCommon.js +2 -0
  90. package/dist/cjs/globalization/interfaces/common/index.d.ts +7 -0
  91. package/dist/cjs/globalization/interfaces/common/index.js +19 -0
  92. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +9 -0
  93. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.js +2 -0
  94. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +5 -0
  95. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.js +2 -0
  96. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +7 -0
  97. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.js +2 -0
  98. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +6 -0
  99. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.js +2 -0
  100. package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +4 -0
  101. package/dist/cjs/globalization/interfaces/dashboard/index.js +16 -0
  102. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +8 -0
  103. package/dist/cjs/globalization/interfaces/filters/II18nFilter.js +2 -0
  104. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +17 -0
  105. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.js +2 -0
  106. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +4 -0
  107. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +2 -0
  108. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +5 -0
  109. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +2 -0
  110. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +4 -0
  111. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +2 -0
  112. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +3 -0
  113. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +2 -0
  114. package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.d.ts +23 -0
  115. package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.js +2 -0
  116. package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.d.ts +6 -0
  117. package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.js +2 -0
  118. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +4 -0
  119. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.js +2 -0
  120. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +5 -0
  121. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.js +2 -0
  122. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +5 -0
  123. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +2 -0
  124. package/dist/cjs/globalization/interfaces/filters/index.d.ts +11 -0
  125. package/dist/cjs/globalization/interfaces/filters/index.js +23 -0
  126. package/dist/cjs/globalization/interfaces/index.d.ts +3 -0
  127. package/dist/cjs/globalization/interfaces/index.js +15 -0
  128. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +9 -0
  129. package/dist/cjs/globalization/interfaces/panel/II18nPanel.js +2 -0
  130. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +9 -0
  131. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.js +2 -0
  132. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.d.ts +15 -0
  133. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.js +2 -0
  134. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.d.ts +4 -0
  135. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.js +2 -0
  136. package/dist/cjs/globalization/interfaces/panel/index.d.ts +4 -0
  137. package/dist/cjs/globalization/interfaces/panel/index.js +16 -0
  138. package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.d.ts +15 -0
  139. package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.js +2 -0
  140. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +8 -0
  141. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +2 -0
  142. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +4 -0
  143. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.js +2 -0
  144. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +9 -0
  145. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.js +2 -0
  146. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +3 -0
  147. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +2 -0
  148. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +4 -0
  149. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +2 -0
  150. package/dist/cjs/globalization/interfaces/table_charts/index.d.ts +6 -0
  151. package/dist/cjs/globalization/interfaces/table_charts/index.js +18 -0
  152. package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +2 -0
  153. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +17 -0
  154. package/dist/cjs/globalization/labels/columns/I18N_COLUMN.d.ts +2 -0
  155. package/dist/cjs/globalization/labels/columns/I18N_COLUMN.js +8 -0
  156. package/dist/cjs/globalization/labels/columns/index.d.ts +1 -0
  157. package/dist/cjs/globalization/labels/columns/index.js +13 -0
  158. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +2 -0
  159. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +15 -0
  160. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +38 -0
  161. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +42 -0
  162. package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.d.ts +2 -0
  163. package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +50 -0
  164. package/dist/cjs/globalization/labels/common/I18N_COMMON.d.ts +2 -0
  165. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +33 -0
  166. package/dist/cjs/globalization/labels/common/index.d.ts +3 -0
  167. package/dist/cjs/globalization/labels/common/index.js +15 -0
  168. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +2 -0
  169. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +24 -0
  170. package/dist/cjs/globalization/labels/dashboard/index.d.ts +1 -0
  171. package/dist/cjs/globalization/labels/dashboard/index.js +13 -0
  172. package/dist/cjs/globalization/labels/filters/I18N_FILTER.d.ts +2 -0
  173. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +11 -0
  174. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +2 -0
  175. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +27 -0
  176. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +2 -0
  177. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +27 -0
  178. package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +2 -0
  179. package/dist/cjs/globalization/{filters/SLIDEBAR.js → labels/filters/I18N_SLIDEBAR.js} +3 -5
  180. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +2 -0
  181. package/dist/cjs/globalization/{filters/VALUES_CONTAINER.js → labels/filters/I18N_VALUE_CONTAINER.js} +2 -3
  182. package/dist/cjs/globalization/labels/filters/index.d.ts +5 -0
  183. package/dist/cjs/globalization/labels/filters/index.js +17 -0
  184. package/dist/cjs/globalization/labels/index.d.ts +7 -0
  185. package/dist/cjs/globalization/labels/index.js +19 -0
  186. package/dist/cjs/globalization/labels/panel/I18N_PANEL.d.ts +2 -0
  187. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +34 -0
  188. package/dist/cjs/globalization/labels/panel/index.d.ts +1 -0
  189. package/dist/cjs/globalization/labels/panel/index.js +13 -0
  190. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +2 -0
  191. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +36 -0
  192. package/dist/cjs/globalization/labels/table_charts/index.d.ts +1 -0
  193. package/dist/cjs/globalization/labels/table_charts/index.js +13 -0
  194. package/dist/cjs/globalization/service/i18nextBuilder.d.ts +9 -0
  195. package/dist/cjs/globalization/service/i18nextBuilder.js +61 -0
  196. package/dist/cjs/globalization/service/index.d.ts +2 -0
  197. package/dist/cjs/globalization/service/index.js +14 -0
  198. package/dist/cjs/globalization/service/initI18n.d.ts +3 -0
  199. package/dist/cjs/globalization/service/initI18n.js +19 -0
  200. package/dist/cjs/index.d.ts +1 -0
  201. package/dist/cjs/index.js +1 -0
  202. package/dist/cjs/interfaces/Qrvey.Interface.d.ts +0 -10
  203. package/dist/cjs/interfaces/general/IGeneralWidgetConfig.d.ts +1 -0
  204. package/dist/cjs/interfaces/index.d.ts +1 -1
  205. package/dist/cjs/interfaces/index.js +1 -1
  206. package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
  207. package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.js +2 -2
  208. package/dist/cjs/qrvey/constants/index.d.ts +1 -4
  209. package/dist/cjs/qrvey/constants/index.js +1 -4
  210. package/dist/{columns/interfaces/IColumnCalculationType.d.ts → cjs/qrvey/interfaces/ICalculationType.d.ts} +1 -1
  211. package/dist/cjs/qrvey/interfaces/ICalculationType.js +2 -0
  212. package/dist/cjs/qrvey/interfaces/index.d.ts +4 -0
  213. package/dist/cjs/qrvey/interfaces/index.js +4 -0
  214. package/dist/cjs/services/adapters/BDatasetsToUIDatasets.adapter.d.ts +1 -1
  215. package/dist/cjs/services/adapters/BDatasetsToUIDatasets.adapter.js +1 -1
  216. package/dist/cjs/services/helpers/Request.d.ts +1 -0
  217. package/dist/cjs/services/helpers/Request.js +7 -0
  218. package/dist/columns/constants/COLUMN_INFO.js +2 -1
  219. package/dist/columns/interfaces/IColumn.d.ts +3 -3
  220. package/dist/columns/interfaces/index.d.ts +0 -2
  221. package/dist/columns/interfaces/index.js +0 -2
  222. package/dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js +1 -0
  223. package/dist/filters/helpers/common/getFilterColumnLabel.js +1 -1
  224. package/dist/filters/helpers/common/getFilterLabel.js +1 -2
  225. package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +2 -0
  226. package/dist/filters/interfaces/builder/IFilterBuilderGeneralConfig.d.ts +1 -0
  227. package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +2 -0
  228. package/dist/general/mix/compareDeep.d.ts +8 -0
  229. package/dist/general/mix/compareDeep.js +29 -0
  230. package/dist/general/mix/index.d.ts +6 -5
  231. package/dist/general/mix/index.js +6 -5
  232. package/dist/general/object/index.d.ts +1 -0
  233. package/dist/general/object/index.js +1 -0
  234. package/dist/general/object/mergeDeep.d.ts +17 -0
  235. package/dist/general/object/mergeDeep.js +51 -0
  236. package/dist/globalization/index.d.ts +3 -1
  237. package/dist/globalization/index.js +3 -1
  238. package/dist/globalization/interfaces/IResourceI18n.d.ts +14 -0
  239. package/dist/globalization/interfaces/IResourceI18n.js +1 -0
  240. package/dist/globalization/interfaces/columns/II18nColumn.d.ts +10 -0
  241. package/dist/globalization/interfaces/columns/II18nColumn.js +1 -0
  242. package/dist/globalization/interfaces/columns/index.d.ts +1 -0
  243. package/dist/globalization/interfaces/columns/index.js +1 -0
  244. package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +11 -0
  245. package/dist/globalization/interfaces/common/II18nAgreggateLabels.js +1 -0
  246. package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +5 -0
  247. package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +1 -0
  248. package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +8 -0
  249. package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +1 -0
  250. package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +8 -0
  251. package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +1 -0
  252. package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +46 -0
  253. package/dist/globalization/interfaces/common/II18nColumnProperties.js +1 -0
  254. package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +38 -0
  255. package/dist/globalization/interfaces/common/II18nColumnTypes.js +1 -0
  256. package/dist/globalization/interfaces/common/II18nCommon.d.ts +15 -0
  257. package/dist/globalization/interfaces/common/II18nCommon.js +1 -0
  258. package/dist/globalization/interfaces/common/index.d.ts +7 -0
  259. package/dist/globalization/interfaces/common/index.js +7 -0
  260. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +9 -0
  261. package/dist/globalization/interfaces/dashboard/II18nDashboard.js +1 -0
  262. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +5 -0
  263. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.js +1 -0
  264. package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +7 -0
  265. package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.js +1 -0
  266. package/dist/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +6 -0
  267. package/dist/globalization/interfaces/dashboard/II18nDashboardViews.js +1 -0
  268. package/dist/globalization/interfaces/dashboard/index.d.ts +4 -0
  269. package/dist/globalization/interfaces/dashboard/index.js +4 -0
  270. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +8 -0
  271. package/dist/globalization/interfaces/filters/II18nFilter.js +1 -0
  272. package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +17 -0
  273. package/dist/globalization/interfaces/filters/II18nFilterBuilder.js +1 -0
  274. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +4 -0
  275. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +1 -0
  276. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +5 -0
  277. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +1 -0
  278. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +4 -0
  279. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +1 -0
  280. package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +3 -0
  281. package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +1 -0
  282. package/dist/globalization/interfaces/filters/II18nFilterValidator.d.ts +23 -0
  283. package/dist/globalization/interfaces/filters/II18nFilterValidator.js +1 -0
  284. package/dist/globalization/interfaces/filters/II18nSlidebar.d.ts +6 -0
  285. package/dist/globalization/interfaces/filters/II18nSlidebar.js +1 -0
  286. package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +4 -0
  287. package/dist/globalization/interfaces/filters/II18nValueContainer.js +1 -0
  288. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +5 -0
  289. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.js +1 -0
  290. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +5 -0
  291. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +1 -0
  292. package/dist/globalization/interfaces/filters/index.d.ts +11 -0
  293. package/dist/globalization/interfaces/filters/index.js +11 -0
  294. package/dist/globalization/interfaces/index.d.ts +3 -0
  295. package/dist/globalization/interfaces/index.js +3 -0
  296. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +9 -0
  297. package/dist/globalization/interfaces/panel/II18nPanel.js +1 -0
  298. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +9 -0
  299. package/dist/globalization/interfaces/panel/II18nPanelErrors.js +1 -0
  300. package/dist/globalization/interfaces/panel/II18nPanelMenu.d.ts +15 -0
  301. package/dist/globalization/interfaces/panel/II18nPanelMenu.js +1 -0
  302. package/dist/globalization/interfaces/panel/II18nPanelTooltips.d.ts +4 -0
  303. package/dist/globalization/interfaces/panel/II18nPanelTooltips.js +1 -0
  304. package/dist/globalization/interfaces/panel/index.d.ts +4 -0
  305. package/dist/globalization/interfaces/panel/index.js +4 -0
  306. package/dist/globalization/interfaces/table_charts/II18nTableCharts.d.ts +15 -0
  307. package/dist/globalization/interfaces/table_charts/II18nTableCharts.js +1 -0
  308. package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +8 -0
  309. package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +1 -0
  310. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +4 -0
  311. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.js +1 -0
  312. package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +9 -0
  313. package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.js +1 -0
  314. package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +3 -0
  315. package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +1 -0
  316. package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +4 -0
  317. package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +1 -0
  318. package/dist/globalization/interfaces/table_charts/index.d.ts +6 -0
  319. package/dist/globalization/interfaces/table_charts/index.js +6 -0
  320. package/dist/globalization/labels/I18N_DEFAULT.d.ts +2 -0
  321. package/dist/globalization/labels/I18N_DEFAULT.js +14 -0
  322. package/dist/globalization/labels/columns/I18N_COLUMN.d.ts +2 -0
  323. package/dist/globalization/labels/columns/I18N_COLUMN.js +5 -0
  324. package/dist/globalization/labels/columns/index.d.ts +1 -0
  325. package/dist/globalization/labels/columns/index.js +1 -0
  326. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +2 -0
  327. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +12 -0
  328. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +38 -0
  329. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +39 -0
  330. package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.d.ts +2 -0
  331. package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +47 -0
  332. package/dist/globalization/labels/common/I18N_COMMON.d.ts +2 -0
  333. package/dist/globalization/labels/common/I18N_COMMON.js +30 -0
  334. package/dist/globalization/labels/common/index.d.ts +3 -0
  335. package/dist/globalization/labels/common/index.js +3 -0
  336. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +2 -0
  337. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +21 -0
  338. package/dist/globalization/labels/dashboard/index.d.ts +1 -0
  339. package/dist/globalization/labels/dashboard/index.js +1 -0
  340. package/dist/globalization/labels/filters/I18N_FILTER.d.ts +2 -0
  341. package/dist/globalization/labels/filters/I18N_FILTER.js +8 -0
  342. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +2 -0
  343. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +24 -0
  344. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +2 -0
  345. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +24 -0
  346. package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +2 -0
  347. package/dist/globalization/labels/filters/I18N_SLIDEBAR.js +6 -0
  348. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +2 -0
  349. package/{src/globalization/filters/VALUES_CONTAINER.ts → dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js} +1 -2
  350. package/dist/globalization/labels/filters/index.d.ts +5 -0
  351. package/dist/globalization/labels/filters/index.js +5 -0
  352. package/dist/globalization/labels/index.d.ts +7 -0
  353. package/dist/globalization/labels/index.js +7 -0
  354. package/dist/globalization/labels/panel/I18N_PANEL.d.ts +2 -0
  355. package/dist/globalization/labels/panel/I18N_PANEL.js +31 -0
  356. package/dist/globalization/labels/panel/index.d.ts +1 -0
  357. package/dist/globalization/labels/panel/index.js +1 -0
  358. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +2 -0
  359. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +33 -0
  360. package/dist/globalization/labels/table_charts/index.d.ts +1 -0
  361. package/dist/globalization/labels/table_charts/index.js +1 -0
  362. package/dist/globalization/service/i18nextBuilder.d.ts +9 -0
  363. package/dist/globalization/service/i18nextBuilder.js +53 -0
  364. package/dist/globalization/service/index.d.ts +2 -0
  365. package/dist/globalization/service/index.js +2 -0
  366. package/dist/globalization/service/initI18n.d.ts +3 -0
  367. package/dist/globalization/service/initI18n.js +15 -0
  368. package/dist/index.d.ts +1 -0
  369. package/dist/index.js +1 -0
  370. package/dist/interfaces/Qrvey.Interface.d.ts +0 -10
  371. package/dist/interfaces/general/IGeneralWidgetConfig.d.ts +1 -0
  372. package/dist/interfaces/index.d.ts +1 -1
  373. package/dist/interfaces/index.js +1 -1
  374. package/dist/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
  375. package/dist/qrvey/constants/CALCULATION_INFO_LIST.js +1 -1
  376. package/dist/qrvey/constants/index.d.ts +1 -4
  377. package/dist/qrvey/constants/index.js +1 -4
  378. package/dist/{cjs/columns/interfaces/IColumnCalculationType.d.ts → qrvey/interfaces/ICalculationType.d.ts} +1 -1
  379. package/dist/qrvey/interfaces/ICalculationType.js +1 -0
  380. package/dist/qrvey/interfaces/index.d.ts +4 -0
  381. package/dist/qrvey/interfaces/index.js +4 -0
  382. package/dist/services/adapters/BDatasetsToUIDatasets.adapter.d.ts +1 -1
  383. package/dist/services/adapters/BDatasetsToUIDatasets.adapter.js +1 -1
  384. package/dist/services/helpers/Request.d.ts +1 -0
  385. package/dist/services/helpers/Request.js +7 -0
  386. package/package.json +7 -5
  387. package/src/{qrvey → charts}/constants/AGGREGATE.ts +0 -0
  388. package/src/{qrvey → charts}/constants/AGGREGATE_ABBREVIATION.ts +0 -0
  389. package/src/{qrvey → charts}/constants/AGGREGATE_INFO.ts +2 -2
  390. package/src/{qrvey → charts}/constants/AGGREGATE_INFO_LIST.ts +0 -0
  391. package/src/charts/constants/AGGREGATE_LABEL.ts +11 -0
  392. package/src/charts/constants/index.ts +5 -0
  393. package/src/charts/index.ts +2 -0
  394. package/src/charts/interfaces/IAggregateAbbreviation.ts +3 -0
  395. package/src/charts/interfaces/IAggregateInfo.ts +11 -0
  396. package/src/charts/interfaces/IAggregateLabel.ts +3 -0
  397. package/src/{qrvey/interfaces/IAggregate.ts → charts/interfaces/IAggregateType.ts} +1 -1
  398. package/src/charts/interfaces/index.ts +4 -0
  399. package/src/columns/constants/COLUMN_INFO.ts +29 -28
  400. package/src/columns/interfaces/IColumn.ts +3 -3
  401. package/src/columns/interfaces/index.ts +0 -2
  402. package/src/filters/helpers/builder/getFilterBuilderGeneralConfig.ts +1 -0
  403. package/src/filters/helpers/common/getFilterColumnLabel.ts +1 -1
  404. package/src/filters/helpers/common/getFilterLabel.ts +1 -1
  405. package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +2 -0
  406. package/src/filters/interfaces/builder/IFilterBuilderGeneralConfig.ts +1 -0
  407. package/src/filters/interfaces/panel/IFilterPanelConfig.ts +2 -0
  408. package/src/general/mix/compareDeep.ts +32 -0
  409. package/src/general/mix/index.ts +6 -5
  410. package/src/general/object/index.ts +1 -0
  411. package/src/general/object/mergeDeep.ts +61 -0
  412. package/src/globalization/index.ts +3 -1
  413. package/src/globalization/interfaces/IResourceI18n.ts +16 -0
  414. package/src/globalization/interfaces/columns/II18nColumn.ts +7 -0
  415. package/src/globalization/interfaces/columns/index.ts +1 -0
  416. package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +11 -0
  417. package/src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts +5 -0
  418. package/src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts +8 -0
  419. package/src/globalization/interfaces/common/II18nChartInfoMessagesTableChart.ts +8 -0
  420. package/src/globalization/interfaces/common/II18nColumnProperties.ts +52 -0
  421. package/src/globalization/interfaces/common/II18nColumnTypes.ts +42 -0
  422. package/src/globalization/interfaces/common/II18nCommon.ts +16 -0
  423. package/src/globalization/interfaces/common/index.ts +9 -0
  424. package/src/globalization/interfaces/dashboard/II18nDashboard.ts +10 -0
  425. package/src/globalization/interfaces/dashboard/II18nDashboardAddChart.ts +5 -0
  426. package/src/globalization/interfaces/dashboard/II18nDashboardTooltips.ts +7 -0
  427. package/src/globalization/interfaces/dashboard/II18nDashboardViews.ts +6 -0
  428. package/src/globalization/interfaces/dashboard/index.ts +4 -0
  429. package/src/globalization/interfaces/filters/II18nFilter.ts +9 -0
  430. package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +16 -0
  431. package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +4 -0
  432. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +6 -0
  433. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +4 -0
  434. package/src/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.ts +3 -0
  435. package/src/globalization/interfaces/filters/II18nFilterValidator.ts +23 -0
  436. package/src/globalization/interfaces/filters/II18nSlidebar.ts +6 -0
  437. package/src/globalization/interfaces/filters/II18nValueContainer.ts +5 -0
  438. package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +6 -0
  439. package/src/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.ts +5 -0
  440. package/src/globalization/interfaces/filters/index.ts +12 -0
  441. package/src/globalization/interfaces/index.ts +3 -0
  442. package/src/globalization/interfaces/panel/II18nPanel.ts +10 -0
  443. package/src/globalization/interfaces/panel/II18nPanelErrors.ts +9 -0
  444. package/src/globalization/interfaces/panel/II18nPanelMenu.ts +15 -0
  445. package/src/globalization/interfaces/panel/II18nPanelTooltips.ts +4 -0
  446. package/src/globalization/interfaces/panel/index.ts +4 -0
  447. package/src/globalization/interfaces/table_charts/II18nTableCharts.ts +16 -0
  448. package/src/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.ts +8 -0
  449. package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +4 -0
  450. package/src/globalization/interfaces/table_charts/II18nTableChartsSort.ts +10 -0
  451. package/src/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.ts +3 -0
  452. package/src/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.ts +5 -0
  453. package/src/globalization/interfaces/table_charts/index.ts +6 -0
  454. package/src/globalization/labels/I18N_DEFAULT.ts +16 -0
  455. package/src/globalization/labels/columns/I18N_COLUMN.ts +9 -0
  456. package/src/globalization/labels/columns/index.ts +1 -0
  457. package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +14 -0
  458. package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +43 -0
  459. package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +55 -0
  460. package/src/globalization/labels/common/I18N_COMMON.ts +32 -0
  461. package/src/globalization/labels/common/index.ts +5 -0
  462. package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +23 -0
  463. package/src/globalization/labels/dashboard/index.ts +1 -0
  464. package/src/globalization/labels/filters/I18N_FILTER.ts +10 -0
  465. package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +26 -0
  466. package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +27 -0
  467. package/src/globalization/labels/filters/I18N_SLIDEBAR.ts +8 -0
  468. package/{dist/globalization/filters/VALUES_CONTAINER.js → src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts} +3 -2
  469. package/src/globalization/labels/filters/index.ts +7 -0
  470. package/src/globalization/labels/index.ts +8 -0
  471. package/src/globalization/labels/panel/I18N_PANEL.ts +33 -0
  472. package/src/globalization/labels/panel/index.ts +1 -0
  473. package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +35 -0
  474. package/src/globalization/labels/table_charts/index.ts +1 -0
  475. package/src/globalization/service/i18nextBuilder.ts +51 -0
  476. package/src/globalization/service/index.ts +2 -0
  477. package/src/globalization/service/initI18n.ts +6 -0
  478. package/src/index.ts +1 -0
  479. package/src/interfaces/Qrvey.Interface.ts +0 -11
  480. package/src/interfaces/general/IGeneralWidgetConfig.ts +1 -0
  481. package/src/interfaces/index.ts +1 -1
  482. package/src/qrvey/constants/CALCULATION_INFO_LIST.ts +1 -1
  483. package/src/qrvey/constants/index.ts +1 -4
  484. package/src/{columns/interfaces/IColumnCalculationType.ts → qrvey/interfaces/ICalculationType.ts} +1 -1
  485. package/src/qrvey/interfaces/index.ts +5 -1
  486. package/src/services/adapters/BDatasetsToUIDatasets.adapter.ts +1 -1
  487. package/src/services/helpers/Request.ts +10 -1
  488. package/src/stencil/util/index.ts +1 -1
  489. package/test/general/mix/compareDeep.test.js +880 -0
  490. package/test/general/object/mergeDeep.test.js +110 -0
  491. package/dist/cjs/columns/interfaces/IColumnAggregateType.d.ts +0 -2
  492. package/dist/cjs/globalization/filters/FILTER_BUILDER.d.ts +0 -129
  493. package/dist/cjs/globalization/filters/FILTER_BUILDER.js +0 -37
  494. package/dist/cjs/globalization/filters/SLIDEBAR.d.ts +0 -8
  495. package/dist/cjs/globalization/filters/VALUES_CONTAINER.d.ts +0 -11
  496. package/dist/cjs/globalization/filters/index.d.ts +0 -3
  497. package/dist/cjs/qrvey/constants/AGGREGATE_INFO.d.ts +0 -5
  498. package/dist/cjs/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
  499. package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.d.ts +0 -11
  500. package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.js +0 -15
  501. package/dist/cjs/qrvey/interfaces/IAggregateInfo.d.ts +0 -5
  502. package/dist/columns/interfaces/IColumnAggregateType.d.ts +0 -2
  503. package/dist/globalization/filters/FILTER_BUILDER.d.ts +0 -129
  504. package/dist/globalization/filters/FILTER_BUILDER.js +0 -34
  505. package/dist/globalization/filters/SLIDEBAR.d.ts +0 -8
  506. package/dist/globalization/filters/SLIDEBAR.js +0 -8
  507. package/dist/globalization/filters/VALUES_CONTAINER.d.ts +0 -11
  508. package/dist/globalization/filters/index.d.ts +0 -3
  509. package/dist/globalization/filters/index.js +0 -3
  510. package/dist/qrvey/constants/AGGREGATE_INFO.d.ts +0 -5
  511. package/dist/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
  512. package/dist/qrvey/constants/AGGREGATE_LABEL.d.ts +0 -11
  513. package/dist/qrvey/constants/AGGREGATE_LABEL.js +0 -12
  514. package/dist/qrvey/interfaces/IAggregateInfo.d.ts +0 -5
  515. package/src/columns/interfaces/IColumnAggregateType.ts +0 -3
  516. package/src/globalization/filters/FILTER_BUILDER.ts +0 -35
  517. package/src/globalization/filters/SLIDEBAR.ts +0 -8
  518. package/src/globalization/filters/index.ts +0 -3
  519. package/src/qrvey/constants/AGGREGATE_LABEL.ts +0 -11
  520. package/src/qrvey/interfaces/IAggregateInfo.ts +0 -7
@@ -0,0 +1,30 @@
1
+ import { I18N_AGGREGATE_LABEL } from "./I18N_AGGREGATE_LABEL";
2
+ import { I18N_COLUMN_LABEL } from "./I18N_COLUMN_LABEL";
3
+ import { I18N_COLUMN_PROPERTY_LABEL } from "./I18N_COLUMN_PROPERTY_LABEL";
4
+ export const I18N_COMMON = {
5
+ aggregate_labels: I18N_AGGREGATE_LABEL,
6
+ column_types: I18N_COLUMN_LABEL,
7
+ properties: I18N_COLUMN_PROPERTY_LABEL,
8
+ search: "Buscar",
9
+ chart_info_messages_default: {
10
+ max_data: "Chart shows a maximum number of data points by default. To see more, go to <i>General</i> chart options and increase the <i>Max Data</i> Points to display.",
11
+ max_panels: "Chart shows a maximum number of data points by default. To see more, go to <i>Formats</i> chart options and increase the <i>Max Panels</i> to display.",
12
+ max_increment: "Increasing the amount of records to display above {{max_data_point_option}} can affect chart performance.",
13
+ max_panels_increment: "Increasing the amount of panels to display above {{max_data_point_values_panels}} can affect chart performance.",
14
+ median_aggregation_results: "The numbers are not actual, they are for preview purposes only.",
15
+ max_limit: "Only 10,000 max data points are supported."
16
+ },
17
+ chart_info_messages_crosstab: {
18
+ max_data: 'Chart shows a maximum number of data points by default. To see more, go to <i>General</i> chart options and increase the <i>Max Rows</i> and <i>Max Columns</i> to display.',
19
+ max_increment: `Increasing the amount of records to display above {{max_rows_option}} rows or {{max_groups_option}} columns can affect chart performance.`,
20
+ value_missing: `A <i>Values</i> column could be added to this chart.`
21
+ },
22
+ chart_info_messages_table_chart: {
23
+ max_data_simple: "Chart shows a maximum number of data points by default. To see more, go to <i>General</i> chart options and increase the <i>Max Rows</i> to display.",
24
+ max_data_grouped: "Chart shows a maximum number of data points by default. To see more, go to <i>General</i> chart options and increase the <i>Max Groups</i> to display.",
25
+ max_increment: "Increasing the amount of records to display above {{max_rows_option}} rows or {{max_groups_option}} groups can affect chart performance.",
26
+ grouped_column: "<i>Columns</i> are needed for this chart.",
27
+ link_incompatible: "A <i>Group column</i> is needed for this chart to use linked data in Columns.",
28
+ unsupported_aggs: "Some totals are not applicable to some columns."
29
+ }
30
+ };
@@ -0,0 +1,3 @@
1
+ export * from './I18N_COMMON';
2
+ export * from './I18N_AGGREGATE_LABEL';
3
+ export * from './I18N_COLUMN_LABEL';
@@ -0,0 +1,3 @@
1
+ export * from './I18N_COMMON';
2
+ export * from './I18N_AGGREGATE_LABEL';
3
+ export * from './I18N_COLUMN_LABEL';
@@ -0,0 +1,2 @@
1
+ import { II18nDashboard } from "../../interfaces/dashboard/II18nDashboard";
2
+ export declare const I18N_DASHBOARD: II18nDashboard;
@@ -0,0 +1,21 @@
1
+ export const I18N_DASHBOARD = {
2
+ views: {
3
+ summary_view: "Summary",
4
+ tabular_view: "Tabular View",
5
+ custom_view: "Custom View",
6
+ metric_view: "Metric View",
7
+ },
8
+ add_chart: {
9
+ add: "Add",
10
+ chart: "Chart",
11
+ metric: "Metric",
12
+ },
13
+ export_csv: "Export to CSV",
14
+ tooltips: {
15
+ style_themes: "Style Themes",
16
+ formulas: "Formulas",
17
+ buckets: "Buckets",
18
+ download: "Download",
19
+ embed_analyze: "Embed Analyze View",
20
+ },
21
+ };
@@ -0,0 +1 @@
1
+ export * from './I18N_DASHBOARD';
@@ -0,0 +1 @@
1
+ export * from './I18N_DASHBOARD';
@@ -0,0 +1,2 @@
1
+ import { II18nFilter } from "../../interfaces/filters/II18nFilter";
2
+ export declare const I18N_FILTER: II18nFilter;
@@ -0,0 +1,8 @@
1
+ import { I18N_FILTER_VALIDATOR } from "./I18N_FILTER_VALIDATOR";
2
+ import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
3
+ import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
4
+ export const I18N_FILTER = {
5
+ slidebar: I18N_SLIDEBAR,
6
+ validators: I18N_FILTER_VALIDATOR,
7
+ value_container: I18N_VALUE_CONTAINER
8
+ };
@@ -0,0 +1,2 @@
1
+ import { II18nFilterBuilder } from "../../interfaces/filters/II18nFilterBuilder";
2
+ export declare const I18N_FILTER_BUILDER: II18nFilterBuilder;
@@ -0,0 +1,24 @@
1
+ import { FILTER_DATE_SECTION_LABEL } from "../../../filters/constants/common/FILTER_DATE_SECTION_LABEL";
2
+ export const I18N_FILTER_BUILDER = {
3
+ title: 'Filter',
4
+ apply_button: 'Apply',
5
+ cancel_button: 'Cancel',
6
+ apply_to: 'Apply to',
7
+ column_selector: {
8
+ title: 'Column',
9
+ placeholder: 'Search or select a column to create filters',
10
+ },
11
+ date_sections: FILTER_DATE_SECTION_LABEL,
12
+ divider_label: 'Is',
13
+ // properties: COLUMN_PROPERTY_LABEL, //In different location
14
+ selected_values_container: {
15
+ empty_message: 'No values added'
16
+ },
17
+ info_container: {
18
+ info: '<b>OR</b> logic is used for multiple values.',
19
+ selection: {
20
+ selected: 'selected of',
21
+ loaded: 'loaded',
22
+ },
23
+ }
24
+ };
@@ -0,0 +1,2 @@
1
+ import { II18nFilterValidator } from "../../interfaces/filters/II18nFilterValidator";
2
+ export declare const I18N_FILTER_VALIDATOR: II18nFilterValidator;
@@ -0,0 +1,24 @@
1
+ import { FILTER_VALIDATOR_LABEL } from "../../../filters/constants/common/FILTER_VALIDATOR_LABEL";
2
+ export const I18N_FILTER_VALIDATOR = {
3
+ equals_label: FILTER_VALIDATOR_LABEL.EQUALS,
4
+ not_equal_label: FILTER_VALIDATOR_LABEL.NOT_EQUAL,
5
+ contains_label: FILTER_VALIDATOR_LABEL.CONTAINS,
6
+ not_contain_label: FILTER_VALIDATOR_LABEL.NOT_CONTAIN,
7
+ ends_with_label: FILTER_VALIDATOR_LABEL.ENDS_WITH,
8
+ not_end_with_label: FILTER_VALIDATOR_LABEL.NOT_END_WITH,
9
+ starts_with_label: FILTER_VALIDATOR_LABEL.STARTS_WITH,
10
+ not_start_with_label: FILTER_VALIDATOR_LABEL.NOT_START_WITH,
11
+ between_inclusive_label: FILTER_VALIDATOR_LABEL.BETWEEN_INCLUSIVE,
12
+ between_exclusive_label: FILTER_VALIDATOR_LABEL.BETWEEN_EXCLUSIVE,
13
+ less_than_label: FILTER_VALIDATOR_LABEL.LESS_THAN,
14
+ less_than_equal_label: FILTER_VALIDATOR_LABEL.LESS_THAN_EQUAL,
15
+ greater_than_label: FILTER_VALIDATOR_LABEL.GREATER_THAN,
16
+ greater_than_equal_label: FILTER_VALIDATOR_LABEL.GREATER_THAN_EQUAL,
17
+ is_null_label: FILTER_VALIDATOR_LABEL.IS_NULL,
18
+ is_not_null_label: FILTER_VALIDATOR_LABEL.IS_NOT_NULL,
19
+ before_label: FILTER_VALIDATOR_LABEL.BEFORE,
20
+ after_label: FILTER_VALIDATOR_LABEL.AFTER,
21
+ before_on_label: FILTER_VALIDATOR_LABEL.BEFORE_ON,
22
+ after_on_label: FILTER_VALIDATOR_LABEL.AFTER_ON,
23
+ in_label: FILTER_VALIDATOR_LABEL.IN,
24
+ };
@@ -0,0 +1,2 @@
1
+ import { II18nSlidebar } from "../../interfaces/filters/II18nSlidebar";
2
+ export declare const I18N_SLIDEBAR: II18nSlidebar;
@@ -0,0 +1,6 @@
1
+ export const I18N_SLIDEBAR = {
2
+ min: 'Data Min',
3
+ max: 'Data Max',
4
+ and: 'And',
5
+ value_button_tooltip: 'Add new value',
6
+ };
@@ -0,0 +1,2 @@
1
+ import { II18nValueContainer } from "../../interfaces/filters/II18nValueContainer";
2
+ export declare const I18N_VALUE_CONTAINER: II18nValueContainer;
@@ -1,4 +1,4 @@
1
- export const VALUES_CONTAINER = {
1
+ export const I18N_VALUE_CONTAINER = {
2
2
  search_input: {
3
3
  placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
4
4
  enter_value: {
@@ -7,5 +7,4 @@ export const VALUES_CONTAINER = {
7
7
  third: "to Insert",
8
8
  },
9
9
  },
10
- select_all: 'Select All',
11
10
  };
@@ -0,0 +1,5 @@
1
+ export * from './I18N_FILTER_BUILDER';
2
+ export * from './I18N_FILTER_VALIDATOR';
3
+ export * from './I18N_FILTER';
4
+ export * from './I18N_SLIDEBAR';
5
+ export * from './I18N_VALUE_CONTAINER';
@@ -0,0 +1,5 @@
1
+ export * from './I18N_FILTER_BUILDER';
2
+ export * from './I18N_FILTER_VALIDATOR';
3
+ export * from './I18N_FILTER';
4
+ export * from './I18N_SLIDEBAR';
5
+ export * from './I18N_VALUE_CONTAINER';
@@ -0,0 +1,7 @@
1
+ export * from './columns';
2
+ export * from './common';
3
+ export * from './dashboard';
4
+ export * from './filters';
5
+ export * from './panel';
6
+ export * from './table_charts';
7
+ export * from './I18N_DEFAULT';
@@ -0,0 +1,7 @@
1
+ export * from './columns';
2
+ export * from './common';
3
+ export * from './dashboard';
4
+ export * from './filters';
5
+ export * from './panel';
6
+ export * from './table_charts';
7
+ export * from './I18N_DEFAULT';
@@ -0,0 +1,2 @@
1
+ import { II18nPanel } from "../../interfaces/panel";
2
+ export declare const I18N_PANEL: II18nPanel;
@@ -0,0 +1,31 @@
1
+ export const I18N_PANEL = {
2
+ errors: {
3
+ missing_column: 'Missing Column.',
4
+ missing_bucket_column: 'Missing bucket column.',
5
+ missing_formula_column: 'Missing formula column.',
6
+ missing_linked_column: 'Missing linked column.',
7
+ no_data_found: 'No data found.',
8
+ server_error: 'Sever Error.',
9
+ try_again: 'Try Again'
10
+ },
11
+ menu: {
12
+ edit: "Edit",
13
+ download: "Download",
14
+ duplicate: "Duplicate",
15
+ size: "Size",
16
+ delete: "Delete",
17
+ embed_chart: "Embed chart",
18
+ small: "Small",
19
+ medium: "Medium",
20
+ large: "Large",
21
+ jpg: 'JPG',
22
+ pdf: 'PDF',
23
+ csv: 'CSV',
24
+ csv_summary: 'CSV-Summary'
25
+ },
26
+ refresh: "Refresh",
27
+ tooltips: {
28
+ fit_panel: "Fit to panel",
29
+ no_filters: "No filters applied"
30
+ }
31
+ };
@@ -0,0 +1 @@
1
+ export * from './I18N_PANEL';
@@ -0,0 +1 @@
1
+ export * from './I18N_PANEL';
@@ -0,0 +1,2 @@
1
+ import { II18nTableCharts } from '../../interfaces/table_charts/II18nTableCharts';
2
+ export declare const I18N_TABLE_CHARTS: II18nTableCharts;
@@ -0,0 +1,33 @@
1
+ export const I18N_TABLE_CHARTS = {
2
+ edit_label: "Edit Label",
3
+ inner_charts: {
4
+ tooltip: {
5
+ end: 'End',
6
+ max: 'Max',
7
+ min: 'Min',
8
+ start: 'Start'
9
+ }
10
+ },
11
+ pagination: {
12
+ records_per_page: 'Records per page',
13
+ total_records: 'Total records'
14
+ },
15
+ sort: {
16
+ asc: 'Asc',
17
+ desc: 'Desc',
18
+ sorted_by: "Order by",
19
+ multi_column_sort: "Apply Multi-Column Sort",
20
+ select_column: "Select column to sort by",
21
+ no_sorting_applied: "No Sorting Applied",
22
+ no_sorting: "No Sorting"
23
+ },
24
+ sort_tooltip: {
25
+ will_replace: "Selecting this column will replace the '{{column_name}}' sorting"
26
+ },
27
+ total: "total",
28
+ visualization: "Visualization",
29
+ visualization_items: {
30
+ values: "Values",
31
+ bars: "Bars"
32
+ }
33
+ };
@@ -0,0 +1 @@
1
+ export * from './I18N_TABLE_CHARTS';
@@ -0,0 +1 @@
1
+ export * from './I18N_TABLE_CHARTS';
@@ -0,0 +1,9 @@
1
+ import { IResourceI18n } from "../interfaces";
2
+ export declare class I18nServiceBuilder {
3
+ static buildI18n(i18nDefault: IResourceI18n, i18nResource: IResourceI18n): Promise<I18nService>;
4
+ private static _initI18n;
5
+ static setTranslations(i18nDefault: any, i18nResource: IResourceI18n): IResourceI18n;
6
+ }
7
+ export declare abstract class I18nService {
8
+ abstract translate(key: string, defaultValue?: string): string;
9
+ }
@@ -0,0 +1,53 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import i18next from 'i18next';
11
+ import { mergeDeep } from "../../general/object/mergeDeep";
12
+ export class I18nServiceBuilder {
13
+ static buildI18n(i18nDefault, i18nResource) {
14
+ return __awaiter(this, void 0, void 0, function* () {
15
+ return yield this._initI18n(i18nDefault, i18nResource);
16
+ });
17
+ }
18
+ static _initI18n(i18nDefault, i18nResource) {
19
+ return __awaiter(this, void 0, void 0, function* () {
20
+ if (!i18next.isInitialized) {
21
+ yield i18next
22
+ .init({
23
+ lng: 'en',
24
+ debug: true,
25
+ nsSeparator: false,
26
+ keySeparator: '.',
27
+ fallbackLng: false,
28
+ defaultNS: 'translation',
29
+ resources: {
30
+ en: {
31
+ translation: this.setTranslations(i18nDefault, i18nResource),
32
+ }
33
+ }
34
+ });
35
+ }
36
+ return new I18nServiceConcrete(i18next);
37
+ });
38
+ }
39
+ static setTranslations(i18nDefault, i18nResource) {
40
+ return mergeDeep(i18nResource, i18nDefault, { mergeExistingValues: false });
41
+ }
42
+ }
43
+ export class I18nService {
44
+ }
45
+ class I18nServiceConcrete extends I18nService {
46
+ constructor(i18nInstance) {
47
+ super();
48
+ this._i18next = i18nInstance;
49
+ }
50
+ translate(key, defaultValue) {
51
+ return this._i18next.t(`${key}`, defaultValue);
52
+ }
53
+ }
@@ -0,0 +1,2 @@
1
+ export * from './i18nextBuilder';
2
+ export * from './initI18n';
@@ -0,0 +1,2 @@
1
+ export * from './i18nextBuilder';
2
+ export * from './initI18n';
@@ -0,0 +1,3 @@
1
+ import { IResourceI18n } from "../interfaces";
2
+ import { I18nService } from "../service/i18nextBuilder";
3
+ export declare function initI18n(i18nConfig?: IResourceI18n, i18nDefault?: IResourceI18n): Promise<I18nService>;
@@ -0,0 +1,15 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { I18nServiceBuilder } from "../service/i18nextBuilder";
11
+ export function initI18n(i18nConfig = {}, i18nDefault = {}) {
12
+ return __awaiter(this, void 0, void 0, function* () {
13
+ return yield I18nServiceBuilder.buildI18n(i18nDefault, i18nConfig);
14
+ });
15
+ }
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './charts/index';
1
2
  export * from './constants/index';
2
3
  export * from './columns/index';
3
4
  export * from './dates/index';
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './charts/index';
1
2
  export * from './constants/index';
2
3
  export * from './columns/index';
3
4
  export * from './dates/index';
@@ -1,13 +1,5 @@
1
- import { AGGREGATE_ABBREVIATION } from "../qrvey/constants/AGGREGATE_ABBREVIATION";
2
- import { AGGREGATE_LABEL } from "../qrvey/constants/AGGREGATE_LABEL";
3
1
  import { CALCULATION_ABBREVIATION } from "../qrvey/constants/CALCULATION_ABBREVIATION";
4
2
  import { CALCULATION_LABEL } from "../qrvey/constants/CALCULATION_LABEL";
5
- export interface IColumnAggregate {
6
- abbreviation: IColumnAggregateAbbreviation;
7
- id: string;
8
- label: IColumnAggregateLabel;
9
- text: string;
10
- }
11
3
  export interface IColumnCalculation {
12
4
  abbreviation: IColumnCalculationAbbreviation;
13
5
  id: string;
@@ -15,7 +7,5 @@ export interface IColumnCalculation {
15
7
  type: string;
16
8
  value: IColumnCalculationLabel;
17
9
  }
18
- export declare type IColumnAggregateAbbreviation = AGGREGATE_ABBREVIATION;
19
- export declare type IColumnAggregateLabel = AGGREGATE_LABEL;
20
10
  export declare type IColumnCalculationLabel = CALCULATION_LABEL;
21
11
  export declare type IColumnCalculationAbbreviation = CALCULATION_ABBREVIATION;
@@ -3,6 +3,7 @@ export interface IGeneralWidgetConfig {
3
3
  apiKey?: string;
4
4
  qrveyid?: string;
5
5
  qv_token?: string;
6
+ timezoneControl?: string;
6
7
  isFromAN?: boolean;
7
8
  appid: string;
8
9
  userid: string;
@@ -1,4 +1,4 @@
1
1
  export * from './Chart.Interface';
2
2
  export * from './IChartBuilder.Interface';
3
- export * from './general/index';
3
+ export * from './general';
4
4
  export * from './Qrvey.Interface';
@@ -1,4 +1,4 @@
1
1
  export * from './Chart.Interface';
2
2
  export * from './IChartBuilder.Interface';
3
- export * from './general/index';
3
+ export * from './general';
4
4
  export * from './Qrvey.Interface';
@@ -1 +1 @@
1
- export declare const AGGREGATE_INFO_LIST: import("../interfaces/ICalculationInfo").ICalculationInfo[];
1
+ export declare const CALCULATION_INFO_LIST: import("..").ICalculationInfo[];
@@ -1,6 +1,6 @@
1
1
  import { CALCULATION } from "./CALCULATION";
2
2
  import { CALCULATION_INFO } from "./CALCULATION_INFO";
3
- export const AGGREGATE_INFO_LIST = [
3
+ export const CALCULATION_INFO_LIST = [
4
4
  CALCULATION_INFO[CALCULATION.AVG],
5
5
  CALCULATION_INFO[CALCULATION.SUM],
6
6
  CALCULATION_INFO[CALCULATION.MIN],
@@ -1,7 +1,4 @@
1
- export * from './AGGREGATE_ABBREVIATION';
2
- export * from './AGGREGATE_INFO';
3
- export * from './AGGREGATE_LABEL';
4
- export * from './AGGREGATE';
5
1
  export * from './CALCULATION_ABBREVIATION';
2
+ export * from './CALCULATION_INFO_LIST';
6
3
  export * from './CALCULATION_LABEL';
7
4
  export * from './CALCULATION';
@@ -1,7 +1,4 @@
1
- export * from './AGGREGATE_ABBREVIATION';
2
- export * from './AGGREGATE_INFO';
3
- export * from './AGGREGATE_LABEL';
4
- export * from './AGGREGATE';
5
1
  export * from './CALCULATION_ABBREVIATION';
2
+ export * from './CALCULATION_INFO_LIST';
6
3
  export * from './CALCULATION_LABEL';
7
4
  export * from './CALCULATION';
@@ -1,2 +1,2 @@
1
- import { CALCULATION } from "../../qrvey/constants/CALCULATION";
1
+ import { CALCULATION } from "../constants/CALCULATION";
2
2
  export declare type IColumnCalculationType = typeof CALCULATION[keyof typeof CALCULATION];
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,5 @@
1
+ export * from './IBDataset';
2
+ export * from './ICalculation';
3
+ export * from './ICalculationInfo';
4
+ export * from './ICalculationType';
1
5
  export * from './IDataset';
@@ -1 +1,5 @@
1
+ export * from './IBDataset';
2
+ export * from './ICalculation';
3
+ export * from './ICalculationInfo';
4
+ export * from './ICalculationType';
1
5
  export * from './IDataset';
@@ -1,3 +1,3 @@
1
1
  import { IBDataset } from "../../qrvey/interfaces/IBDataset";
2
2
  import { IDataset } from "../../qrvey/interfaces/IDataset";
3
- export declare function BDatasetsToUIDatasets(datasets: IBDataset[]): IDataset[];
3
+ export declare function BDatasetsToUIDatasets(datasets?: IBDataset[]): IDataset[];
@@ -1,5 +1,5 @@
1
1
  import { BColumnsToUIColumns } from "./BColumnsToUIColumns.adapter";
2
- export function BDatasetsToUIDatasets(datasets) {
2
+ export function BDatasetsToUIDatasets(datasets = []) {
3
3
  return datasets.map(dataset => ({
4
4
  qrveyid: dataset.qrveyid,
5
5
  label: dataset.name,
@@ -2,6 +2,7 @@ export default class Request {
2
2
  static checkStatus(response: any): Promise<any>;
3
3
  static hasQvToken(config: any): boolean;
4
4
  static getQvToken(config: any): any;
5
+ static getTimezoneControl(config: any): any;
5
6
  static hasApiKey(config: any): boolean;
6
7
  static getApiKey(config: any): any;
7
8
  static makeUrl(config: any, url: any, params?: any): string;
@@ -24,6 +24,9 @@ export default class Request {
24
24
  static getQvToken(config) {
25
25
  return getAttribute(config, 'qv_token');
26
26
  }
27
+ static getTimezoneControl(config) {
28
+ return getAttribute(config, 'timezone_control');
29
+ }
27
30
  static hasApiKey(config) {
28
31
  return !!this.getApiKey(config);
29
32
  }
@@ -60,6 +63,10 @@ export default class Request {
60
63
  cfg.credentials = 'include';
61
64
  }
62
65
  }
66
+ const timezoneControl = this.getTimezoneControl(reqData.config);
67
+ if (timezoneControl) {
68
+ cfg.headers['q-timezone-control'] = `offset=${timezoneControl};use-client-offset-only`;
69
+ }
63
70
  // AbortSignal (https://developers.google.com/web/updates/2017/09/abortable-fetch)
64
71
  if (reqData.config && reqData.config.signal) {
65
72
  cfg.signal = reqData.config.signal;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.2.3",
3
+ "version": "1.2.4-11",
4
4
  "description": "Helper, Utils for all Qrvey Projects",
5
5
  "homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
8
8
  "build": "tsc && tsc -m commonjs --outDir dist/cjs",
9
9
  "publish": "node prepareToPublish.js && npm login && np",
10
+ "publish-prerelease": "node prepareToPublish.js && npm login && np --any-branch --tag=i18n",
10
11
  "test": "jest test",
11
12
  "test:watch": "jest --watch test",
12
13
  "lint": "eslint src --quiet --exit-on-fatal-error --ext .ts,.js",
@@ -22,15 +23,16 @@
22
23
  "ts-jest": "27.0.5",
23
24
  "typedoc": "0.22.5",
24
25
  "typescript": "4.4.4",
25
- "@typescript-eslint/eslint-plugin": "5.0.0",
26
- "@typescript-eslint/parser": "5.0.0",
27
- "eslint": "8.0.0"
26
+ "@typescript-eslint/eslint-plugin": "5.3.0",
27
+ "@typescript-eslint/parser": "5.3.0",
28
+ "eslint": "8.1.0"
28
29
  },
29
30
  "peerDependencies": {
30
31
  "np": "^6.2.3"
31
32
  },
32
33
  "dependencies": {
33
34
  "d3": "6.3.1",
34
- "dayjs": "1.10.7"
35
+ "dayjs": "1.10.7",
36
+ "i18next": "21.4.0"
35
37
  }
36
38
  }
File without changes
@@ -1,10 +1,10 @@
1
- import { IAggregate } from "../interfaces/IAggregate";
2
1
  import { IAggregateInfo } from "../interfaces/IAggregateInfo";
2
+ import { IAggregateType } from "../interfaces/IAggregateType";
3
3
  import { AGGREGATE } from "./AGGREGATE";
4
4
  import { AGGREGATE_ABBREVIATION } from "./AGGREGATE_ABBREVIATION";
5
5
  import { AGGREGATE_LABEL } from "./AGGREGATE_LABEL";
6
6
 
7
- export const AGGREGATE_INFO: { [key in IAggregate]: IAggregateInfo } = {
7
+ export const AGGREGATE_INFO: { [key in IAggregateType]: IAggregateInfo } = {
8
8
  [AGGREGATE.NONE]: { value: AGGREGATE.NONE, displayed: true, label: AGGREGATE_LABEL.NONE, shortLabel: AGGREGATE_LABEL.NONE, abbrLabel: AGGREGATE_ABBREVIATION.NONE },
9
9
  [AGGREGATE.AVG]: { value: AGGREGATE.AVG, displayed: true, label: AGGREGATE_LABEL.AVG, shortLabel: AGGREGATE_LABEL.AVG, abbrLabel: AGGREGATE_ABBREVIATION.AVG },
10
10
  [AGGREGATE.MEDIAN]: { value: AGGREGATE.MEDIAN, displayed: true, label: AGGREGATE_LABEL.MEDIAN, shortLabel: AGGREGATE_LABEL.MEDIAN, abbrLabel: AGGREGATE_ABBREVIATION.MEDIAN },
@@ -0,0 +1,11 @@
1
+ export enum AGGREGATE_LABEL {
2
+ NONE = 'None',
3
+ AVG = 'Average',
4
+ MEDIAN = 'Median',
5
+ MIN = 'Minimum',
6
+ MAX = 'Maximum',
7
+ SUM = 'Sum',
8
+ STDEV = 'Standard deviation',
9
+ COUNT = 'Count',
10
+ DISTINCTCOUNT = 'Distinct Count',
11
+ }