@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
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.3*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-11*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -1340,12 +1340,15 @@ Inmutable Array Item deletion
1340
1340
 
1341
1341
 
1342
1342
 
1343
- ### dist/general/array/flattenDeep.js
1343
+ ### dist/general/array/filterNestedTree.js
1344
1344
 
1345
1345
 
1346
- #### flattenDeep(arr)
1346
+ #### filterNestedTree(arr, childArrKey, condition)
1347
1347
 
1348
- Flat deeply an array
1348
+ Filters a nested tree array by a custom condition on the last child node
1349
+ - If the given arguments are not valid, the function returns the first argument.
1350
+ - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
1351
+ - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
1349
1352
 
1350
1353
 
1351
1354
 
@@ -1354,7 +1357,9 @@ Flat deeply an array
1354
1357
 
1355
1358
  | Name | Type | Description | |
1356
1359
  | ---- | ---- | ----------- | -------- |
1357
- | arr | | Array to flat deeply |   |
1360
+ | arr | | nested tree array |   |
1361
+ | childArrKey | | property representing the children array on the nested tree |   |
1362
+ | condition | | function callback that determines if the filter is applied on the last child node of the nested tree |   |
1358
1363
 
1359
1364
 
1360
1365
 
@@ -1362,20 +1367,17 @@ Flat deeply an array
1362
1367
  ##### Returns
1363
1368
 
1364
1369
 
1365
- - flatten array
1370
+ - array filtered
1366
1371
 
1367
1372
 
1368
1373
 
1369
1374
 
1370
- ### dist/general/array/filterNestedTree.js
1375
+ ### dist/general/array/flattenDeep.js
1371
1376
 
1372
1377
 
1373
- #### filterNestedTree(arr, childArrKey, condition)
1378
+ #### flattenDeep(arr)
1374
1379
 
1375
- Filters a nested tree array by a custom condition on the last child node
1376
- - If the given arguments are not valid, the function returns the first argument.
1377
- - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
1378
- - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
1380
+ Flat deeply an array
1379
1381
 
1380
1382
 
1381
1383
 
@@ -1384,9 +1386,7 @@ Filters a nested tree array by a custom condition on the last child node
1384
1386
 
1385
1387
  | Name | Type | Description | |
1386
1388
  | ---- | ---- | ----------- | -------- |
1387
- | arr | | nested tree array |   |
1388
- | childArrKey | | property representing the children array on the nested tree |   |
1389
- | condition | | function callback that determines if the filter is applied on the last child node of the nested tree |   |
1389
+ | arr | | Array to flat deeply |   |
1390
1390
 
1391
1391
 
1392
1392
 
@@ -1394,7 +1394,7 @@ Filters a nested tree array by a custom condition on the last child node
1394
1394
  ##### Returns
1395
1395
 
1396
1396
 
1397
- - array filtered
1397
+ - flatten array
1398
1398
 
1399
1399
 
1400
1400
 
@@ -1511,6 +1511,35 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1511
1511
 
1512
1512
 
1513
1513
 
1514
+ ### dist/general/mix/compareDeep.js
1515
+
1516
+
1517
+ #### compareDeep(object1, object2)
1518
+
1519
+ Compares two objects to know if they are equals. Go across nested objects.
1520
+ Includes arrays in the comparison.
1521
+
1522
+
1523
+
1524
+
1525
+ ##### Parameters
1526
+
1527
+ | Name | Type | Description | |
1528
+ | ---- | ---- | ----------- | -------- |
1529
+ | object1 | | First Object to compare |   |
1530
+ | object2 | | Second Object to compare |   |
1531
+
1532
+
1533
+
1534
+
1535
+ ##### Returns
1536
+
1537
+
1538
+ - True: objects are equal. False: Objects are not equal. Undefined: invalid
1539
+
1540
+
1541
+
1542
+
1514
1543
  ### dist/general/mix/getTag.js
1515
1544
 
1516
1545
 
@@ -1738,12 +1767,13 @@ Gets the length of the given array.
1738
1767
 
1739
1768
 
1740
1769
 
1741
- ### dist/general/string/capitalize.js
1770
+ ### dist/general/object/cloneDeep.js
1742
1771
 
1743
1772
 
1744
- #### capitalize(text)
1773
+ #### cloneDeep(obj)
1745
1774
 
1746
- Upper case the first letter of a given text
1775
+ A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
1776
+ Not to use this function with inner objects and functions
1747
1777
 
1748
1778
 
1749
1779
 
@@ -1752,7 +1782,7 @@ Upper case the first letter of a given text
1752
1782
 
1753
1783
  | Name | Type | Description | |
1754
1784
  | ---- | ---- | ----------- | -------- |
1755
- | text | `String` | |   |
1785
+ | obj | | The object |   |
1756
1786
 
1757
1787
 
1758
1788
 
@@ -1760,7 +1790,7 @@ Upper case the first letter of a given text
1760
1790
  ##### Returns
1761
1791
 
1762
1792
 
1763
- - `String` a capitalized text
1793
+ - The new reference object or the given object if the parsing is incorrect or empty
1764
1794
 
1765
1795
 
1766
1796
 
@@ -1822,34 +1852,6 @@ _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
1822
1852
 
1823
1853
 
1824
1854
 
1825
- ### dist/general/object/cloneDeep.js
1826
-
1827
-
1828
- #### cloneDeep(obj)
1829
-
1830
- A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
1831
- Not to use this function with inner objects and functions
1832
-
1833
-
1834
-
1835
-
1836
- ##### Parameters
1837
-
1838
- | Name | Type | Description | |
1839
- | ---- | ---- | ----------- | -------- |
1840
- | obj | | The object |   |
1841
-
1842
-
1843
-
1844
-
1845
- ##### Returns
1846
-
1847
-
1848
- - The new reference object or the given object if the parsing is incorrect or empty
1849
-
1850
-
1851
-
1852
-
1853
1855
  ### dist/general/object/getAttribute.js
1854
1856
 
1855
1857
 
@@ -1989,6 +1991,83 @@ and return a mapped object
1989
1991
 
1990
1992
 
1991
1993
 
1994
+ ### dist/general/object/mergeDeep.js
1995
+
1996
+
1997
+ #### mergeDeep(obj1, obj2, settings)
1998
+
1999
+ Merges two objects into a new one.
2000
+ The second given argument to the first given argument.
2001
+
2002
+
2003
+
2004
+
2005
+ ##### Parameters
2006
+
2007
+ | Name | Type | Description | |
2008
+ | ---- | ---- | ----------- | -------- |
2009
+ | obj1 | | The target object |   |
2010
+ | obj2 | | The object to be merged |   |
2011
+ | settings | | Object settings for this function |   |
2012
+
2013
+
2014
+
2015
+
2016
+ ##### Returns
2017
+
2018
+
2019
+ - a new merged object
2020
+
2021
+
2022
+
2023
+ #### isValid(obj1, obj2)
2024
+
2025
+ Validates if the two arguments are objects
2026
+
2027
+
2028
+
2029
+
2030
+ ##### Parameters
2031
+
2032
+ | Name | Type | Description | |
2033
+ | ---- | ---- | ----------- | -------- |
2034
+ | obj1 | | The target object |   |
2035
+ | obj2 | | The object to be merged |   |
2036
+
2037
+
2038
+
2039
+
2040
+ ##### Returns
2041
+
2042
+
2043
+ - true: they are valid; false: they are not
2044
+
2045
+
2046
+
2047
+ #### getParamsToMergeDeep(settings)
2048
+
2049
+ Validates and gets the settings with all set parameters.
2050
+
2051
+
2052
+
2053
+
2054
+ ##### Parameters
2055
+
2056
+ | Name | Type | Description | |
2057
+ | ---- | ---- | ----------- | -------- |
2058
+ | settings | | the settings object |   |
2059
+
2060
+
2061
+
2062
+
2063
+ ##### Returns
2064
+
2065
+
2066
+ - a new settings object with all set parameters.
2067
+
2068
+
2069
+
2070
+
1992
2071
  ### dist/general/object/objectCopy.js
1993
2072
 
1994
2073
 
@@ -2100,12 +2179,12 @@ serialize object to url param
2100
2179
 
2101
2180
 
2102
2181
 
2103
- ### dist/qrvey/helpers/getColumnsLabel.js
2182
+ ### dist/general/string/capitalize.js
2104
2183
 
2105
2184
 
2106
- #### getColumnLabels(column)
2185
+ #### capitalize(text)
2107
2186
 
2108
- Get an string of the properties of the given column.
2187
+ Upper case the first letter of a given text
2109
2188
 
2110
2189
 
2111
2190
 
@@ -2114,7 +2193,7 @@ Get an string of the properties of the given column.
2114
2193
 
2115
2194
  | Name | Type | Description | |
2116
2195
  | ---- | ---- | ----------- | -------- |
2117
- | column | | The column |   |
2196
+ | text | `String` | |   |
2118
2197
 
2119
2198
 
2120
2199
 
@@ -2122,17 +2201,17 @@ Get an string of the properties of the given column.
2122
2201
  ##### Returns
2123
2202
 
2124
2203
 
2125
- - an string with the property, aggregate or calculation label.
2204
+ - `String` a capitalized text
2126
2205
 
2127
2206
 
2128
2207
 
2129
2208
 
2130
- ### dist/services/api/getAllQrveys.api.js
2209
+ ### dist/services/api/getAllDatasets.api.js
2131
2210
 
2132
2211
 
2133
- #### getAllQrveys(config, params)
2212
+ #### getAllDatasets(qrveyids)
2134
2213
 
2135
- POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2214
+ Get a dataset list from a collection of Qrvey IDs
2136
2215
 
2137
2216
 
2138
2217
 
@@ -2141,8 +2220,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2141
2220
 
2142
2221
  | Name | Type | Description | |
2143
2222
  | ---- | ---- | ----------- | -------- |
2144
- | config | | Configuration |   |
2145
- | params | | Object for getting precise data |   |
2223
+ | qrveyids | | Collection of Qrvey IDs |   |
2146
2224
 
2147
2225
 
2148
2226
 
@@ -2150,17 +2228,17 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2150
2228
  ##### Returns
2151
2229
 
2152
2230
 
2153
- - `Void`
2231
+ - a promise
2154
2232
 
2155
2233
 
2156
2234
 
2157
2235
 
2158
- ### dist/services/api/getDatasetColumns.api.js
2236
+ ### dist/services/api/getAllQrveys.api.js
2159
2237
 
2160
2238
 
2161
- #### getDatasetColumns(qrveyid)
2239
+ #### getAllQrveys(config, params)
2162
2240
 
2163
- Get a dataset by Qrvey ID
2241
+ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2164
2242
 
2165
2243
 
2166
2244
 
@@ -2169,7 +2247,8 @@ Get a dataset by Qrvey ID
2169
2247
 
2170
2248
  | Name | Type | Description | |
2171
2249
  | ---- | ---- | ----------- | -------- |
2172
- | qrveyid | | The Qrvey ID |   |
2250
+ | config | | Configuration |   |
2251
+ | params | | Object for getting precise data |   |
2173
2252
 
2174
2253
 
2175
2254
 
@@ -2177,17 +2256,17 @@ Get a dataset by Qrvey ID
2177
2256
  ##### Returns
2178
2257
 
2179
2258
 
2180
- - a promise
2259
+ - `Void`
2181
2260
 
2182
2261
 
2183
2262
 
2184
2263
 
2185
- ### dist/services/api/getAllDatasets.api.js
2264
+ ### dist/services/api/getDatasetColumns.api.js
2186
2265
 
2187
2266
 
2188
- #### getAllDatasets(qrveyids)
2267
+ #### getDatasetColumns(qrveyid)
2189
2268
 
2190
- Get a dataset list from a collection of Qrvey IDs
2269
+ Get a dataset by Qrvey ID
2191
2270
 
2192
2271
 
2193
2272
 
@@ -2196,7 +2275,7 @@ Get a dataset list from a collection of Qrvey IDs
2196
2275
 
2197
2276
  | Name | Type | Description | |
2198
2277
  | ---- | ---- | ----------- | -------- |
2199
- | qrveyids | | Collection of Qrvey IDs |   |
2278
+ | qrveyid | | The Qrvey ID |   |
2200
2279
 
2201
2280
 
2202
2281
 
@@ -2293,6 +2372,33 @@ try to find this string as a variable on Windows object
2293
2372
 
2294
2373
 
2295
2374
 
2375
+ ### dist/qrvey/helpers/getColumnsLabel.js
2376
+
2377
+
2378
+ #### getColumnLabels(column)
2379
+
2380
+ Get an string of the properties of the given column.
2381
+
2382
+
2383
+
2384
+
2385
+ ##### Parameters
2386
+
2387
+ | Name | Type | Description | |
2388
+ | ---- | ---- | ----------- | -------- |
2389
+ | column | | The column |   |
2390
+
2391
+
2392
+
2393
+
2394
+ ##### Returns
2395
+
2396
+
2397
+ - an string with the property, aggregate or calculation label.
2398
+
2399
+
2400
+
2401
+
2296
2402
  ### dist/typescript/decorators/Debounce.js
2297
2403
 
2298
2404
 
File without changes
@@ -0,0 +1,5 @@
1
+ import { IAggregateInfo } from "../interfaces/IAggregateInfo";
2
+ import { IAggregateType } from "../interfaces/IAggregateType";
3
+ export declare const AGGREGATE_INFO: {
4
+ [key in IAggregateType]: IAggregateInfo;
5
+ };
@@ -0,0 +1 @@
1
+ export declare const AGGREGATE_INFO_LIST: import("..").IAggregateInfo[];
@@ -0,0 +1,11 @@
1
+ export declare 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
+ }
@@ -0,0 +1,12 @@
1
+ export var AGGREGATE_LABEL;
2
+ (function (AGGREGATE_LABEL) {
3
+ AGGREGATE_LABEL["NONE"] = "None";
4
+ AGGREGATE_LABEL["AVG"] = "Average";
5
+ AGGREGATE_LABEL["MEDIAN"] = "Median";
6
+ AGGREGATE_LABEL["MIN"] = "Minimum";
7
+ AGGREGATE_LABEL["MAX"] = "Maximum";
8
+ AGGREGATE_LABEL["SUM"] = "Sum";
9
+ AGGREGATE_LABEL["STDEV"] = "Standard deviation";
10
+ AGGREGATE_LABEL["COUNT"] = "Count";
11
+ AGGREGATE_LABEL["DISTINCTCOUNT"] = "Distinct Count";
12
+ })(AGGREGATE_LABEL || (AGGREGATE_LABEL = {}));
@@ -0,0 +1,5 @@
1
+ export * from './AGGREGATE_ABBREVIATION';
2
+ export * from './AGGREGATE_INFO_LIST';
3
+ export * from './AGGREGATE_INFO';
4
+ export * from './AGGREGATE_LABEL';
5
+ export * from './AGGREGATE';
@@ -0,0 +1,5 @@
1
+ export * from './AGGREGATE_ABBREVIATION';
2
+ export * from './AGGREGATE_INFO_LIST';
3
+ export * from './AGGREGATE_INFO';
4
+ export * from './AGGREGATE_LABEL';
5
+ export * from './AGGREGATE';
@@ -0,0 +1,2 @@
1
+ export * from './constants/index';
2
+ export * from './interfaces/index';
@@ -0,0 +1,2 @@
1
+ export * from './constants/index';
2
+ export * from './interfaces/index';
@@ -0,0 +1,2 @@
1
+ import { AGGREGATE_ABBREVIATION } from "../constants/AGGREGATE_ABBREVIATION";
2
+ export declare type IAggregateAbbreviation = AGGREGATE_ABBREVIATION;
@@ -0,0 +1,9 @@
1
+ import { IGeneralInfo } from "../../interfaces/general/IGeneralInfo";
2
+ import { IAggregateAbbreviation } from "./IAggregateAbbreviation";
3
+ import { IAggregateLabel } from "./IAggregateLabel";
4
+ import { IAggregateType } from "./IAggregateType";
5
+ export interface IAggregateInfo extends IGeneralInfo {
6
+ abbrLabel: IAggregateAbbreviation;
7
+ label: IAggregateLabel;
8
+ value: IAggregateType;
9
+ }
@@ -0,0 +1,2 @@
1
+ import { AGGREGATE_LABEL } from "../constants/AGGREGATE_LABEL";
2
+ export declare type IAggregateLabel = AGGREGATE_LABEL;
@@ -1,2 +1,2 @@
1
1
  import { AGGREGATE } from "../constants/AGGREGATE";
2
- export declare type IAggregate = AGGREGATE;
2
+ export declare type IAggregateType = AGGREGATE;
@@ -0,0 +1,4 @@
1
+ export * from './IAggregateAbbreviation';
2
+ export * from './IAggregateInfo';
3
+ export * from './IAggregateLabel';
4
+ export * from './IAggregateType';
@@ -0,0 +1,4 @@
1
+ export * from './IAggregateAbbreviation';
2
+ export * from './IAggregateInfo';
3
+ export * from './IAggregateLabel';
4
+ export * from './IAggregateType';
@@ -0,0 +1,5 @@
1
+ import { IAggregateInfo } from "../interfaces/IAggregateInfo";
2
+ import { IAggregateType } from "../interfaces/IAggregateType";
3
+ export declare const AGGREGATE_INFO: {
4
+ [key in IAggregateType]: IAggregateInfo;
5
+ };
@@ -0,0 +1 @@
1
+ export declare const AGGREGATE_INFO_LIST: import("..").IAggregateInfo[];
@@ -0,0 +1,11 @@
1
+ export declare 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
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AGGREGATE_LABEL = void 0;
4
+ var AGGREGATE_LABEL;
5
+ (function (AGGREGATE_LABEL) {
6
+ AGGREGATE_LABEL["NONE"] = "None";
7
+ AGGREGATE_LABEL["AVG"] = "Average";
8
+ AGGREGATE_LABEL["MEDIAN"] = "Median";
9
+ AGGREGATE_LABEL["MIN"] = "Minimum";
10
+ AGGREGATE_LABEL["MAX"] = "Maximum";
11
+ AGGREGATE_LABEL["SUM"] = "Sum";
12
+ AGGREGATE_LABEL["STDEV"] = "Standard deviation";
13
+ AGGREGATE_LABEL["COUNT"] = "Count";
14
+ AGGREGATE_LABEL["DISTINCTCOUNT"] = "Distinct Count";
15
+ })(AGGREGATE_LABEL = exports.AGGREGATE_LABEL || (exports.AGGREGATE_LABEL = {}));
@@ -0,0 +1,5 @@
1
+ export * from './AGGREGATE_ABBREVIATION';
2
+ export * from './AGGREGATE_INFO_LIST';
3
+ export * from './AGGREGATE_INFO';
4
+ export * from './AGGREGATE_LABEL';
5
+ export * from './AGGREGATE';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./AGGREGATE_ABBREVIATION"), exports);
14
+ __exportStar(require("./AGGREGATE_INFO_LIST"), exports);
15
+ __exportStar(require("./AGGREGATE_INFO"), exports);
16
+ __exportStar(require("./AGGREGATE_LABEL"), exports);
17
+ __exportStar(require("./AGGREGATE"), exports);
@@ -0,0 +1,2 @@
1
+ export * from './constants/index';
2
+ export * from './interfaces/index';
@@ -10,6 +10,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./FILTER_BUILDER"), exports);
14
- __exportStar(require("./SLIDEBAR"), exports);
15
- __exportStar(require("./VALUES_CONTAINER"), exports);
13
+ __exportStar(require("./constants/index"), exports);
14
+ __exportStar(require("./interfaces/index"), exports);
@@ -0,0 +1,2 @@
1
+ import { AGGREGATE_ABBREVIATION } from "../constants/AGGREGATE_ABBREVIATION";
2
+ export declare type IAggregateAbbreviation = AGGREGATE_ABBREVIATION;
@@ -0,0 +1,9 @@
1
+ import { IGeneralInfo } from "../../interfaces/general/IGeneralInfo";
2
+ import { IAggregateAbbreviation } from "./IAggregateAbbreviation";
3
+ import { IAggregateLabel } from "./IAggregateLabel";
4
+ import { IAggregateType } from "./IAggregateType";
5
+ export interface IAggregateInfo extends IGeneralInfo {
6
+ abbrLabel: IAggregateAbbreviation;
7
+ label: IAggregateLabel;
8
+ value: IAggregateType;
9
+ }
@@ -0,0 +1,2 @@
1
+ import { AGGREGATE_LABEL } from "../constants/AGGREGATE_LABEL";
2
+ export declare type IAggregateLabel = AGGREGATE_LABEL;
@@ -1,2 +1,2 @@
1
1
  import { AGGREGATE } from "../constants/AGGREGATE";
2
- export declare type IAggregate = AGGREGATE;
2
+ export declare type IAggregateType = AGGREGATE;