@qrvey/utils 1.2.4-6 → 1.2.5

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 (497) hide show
  1. package/README.md +361 -361
  2. package/dist/charts/helpers/index.d.ts +3 -0
  3. package/dist/charts/helpers/index.js +3 -0
  4. package/dist/charts/helpers/isExpandableTableChart.d.ts +1 -0
  5. package/dist/charts/helpers/isExpandableTableChart.js +4 -0
  6. package/dist/charts/helpers/isSimpleTableChart.d.ts +1 -0
  7. package/dist/charts/helpers/isSimpleTableChart.js +5 -0
  8. package/dist/charts/helpers/isTableChart.d.ts +1 -0
  9. package/dist/charts/helpers/isTableChart.js +4 -0
  10. package/dist/cjs/charts/helpers/index.d.ts +3 -0
  11. package/dist/cjs/{globalization/interfaces → charts/helpers}/index.js +3 -3
  12. package/dist/cjs/charts/helpers/isExpandableTableChart.d.ts +1 -0
  13. package/dist/cjs/charts/helpers/isExpandableTableChart.js +8 -0
  14. package/dist/cjs/charts/helpers/isSimpleTableChart.d.ts +1 -0
  15. package/dist/cjs/charts/helpers/isSimpleTableChart.js +9 -0
  16. package/dist/cjs/charts/helpers/isTableChart.d.ts +1 -0
  17. package/dist/cjs/charts/helpers/isTableChart.js +8 -0
  18. package/dist/cjs/columns/constants/COLUMN_INFO.js +1 -2
  19. package/dist/cjs/columns/interfaces/IColumn.d.ts +3 -3
  20. package/dist/cjs/columns/interfaces/IColumnAggregateType.d.ts +2 -0
  21. package/dist/cjs/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
  22. package/dist/{qrvey/interfaces/ICalculationType.d.ts → cjs/columns/interfaces/IColumnCalculationType.d.ts} +1 -1
  23. package/dist/cjs/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
  24. package/dist/cjs/columns/interfaces/index.d.ts +2 -0
  25. package/dist/cjs/columns/interfaces/index.js +2 -0
  26. package/dist/cjs/constants/Charts.Const.d.ts +1 -0
  27. package/dist/cjs/constants/Charts.Const.js +1 -0
  28. package/dist/cjs/filters/helpers/common/getFilterColumnLabel.js +1 -1
  29. package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
  30. package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
  31. package/dist/cjs/globalization/filters/FILTER_BUILDER.d.ts +129 -0
  32. package/dist/cjs/globalization/filters/FILTER_BUILDER.js +37 -0
  33. package/dist/cjs/globalization/filters/SLIDEBAR.d.ts +8 -0
  34. package/dist/cjs/globalization/{labels/common/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +3 -3
  35. package/dist/cjs/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
  36. package/dist/cjs/globalization/{labels/common/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +3 -2
  37. package/dist/cjs/globalization/filters/index.d.ts +3 -0
  38. package/dist/cjs/{charts → globalization/filters}/index.js +3 -2
  39. package/dist/cjs/globalization/index.d.ts +1 -3
  40. package/dist/cjs/globalization/index.js +1 -3
  41. package/dist/cjs/index.d.ts +0 -1
  42. package/dist/cjs/index.js +0 -1
  43. package/dist/cjs/interfaces/Qrvey.Interface.d.ts +10 -0
  44. package/dist/cjs/interfaces/index.d.ts +1 -1
  45. package/dist/cjs/interfaces/index.js +1 -1
  46. package/dist/{charts → cjs/qrvey}/constants/AGGREGATE.d.ts +0 -0
  47. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE.js +0 -0
  48. package/dist/{charts → cjs/qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
  49. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
  50. package/dist/cjs/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
  51. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
  52. package/dist/cjs/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
  53. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
  54. package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
  55. package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.js +15 -0
  56. package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
  57. package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.js +2 -2
  58. package/dist/cjs/qrvey/constants/index.d.ts +4 -1
  59. package/dist/cjs/qrvey/constants/index.js +4 -1
  60. package/dist/{charts/interfaces/IAggregateType.d.ts → cjs/qrvey/interfaces/IAggregate.d.ts} +1 -1
  61. package/dist/cjs/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
  62. package/dist/cjs/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
  63. package/dist/cjs/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
  64. package/dist/cjs/qrvey/interfaces/index.d.ts +0 -4
  65. package/dist/cjs/qrvey/interfaces/index.js +0 -4
  66. package/dist/cjs/services/helpers/Request.js +1 -1
  67. package/dist/columns/constants/COLUMN_INFO.js +1 -2
  68. package/dist/columns/interfaces/IColumn.d.ts +3 -3
  69. package/dist/columns/interfaces/IColumnAggregateType.d.ts +2 -0
  70. package/dist/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
  71. package/dist/{cjs/qrvey/interfaces/ICalculationType.d.ts → columns/interfaces/IColumnCalculationType.d.ts} +1 -1
  72. package/dist/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
  73. package/dist/columns/interfaces/index.d.ts +2 -0
  74. package/dist/columns/interfaces/index.js +2 -0
  75. package/dist/constants/Charts.Const.d.ts +1 -0
  76. package/dist/constants/Charts.Const.js +1 -0
  77. package/dist/filters/helpers/common/getFilterColumnLabel.js +1 -1
  78. package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
  79. package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
  80. package/dist/globalization/filters/FILTER_BUILDER.d.ts +129 -0
  81. package/dist/globalization/filters/FILTER_BUILDER.js +34 -0
  82. package/dist/globalization/filters/SLIDEBAR.d.ts +8 -0
  83. package/dist/globalization/{labels/common/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +2 -2
  84. package/dist/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
  85. package/dist/globalization/{labels/common/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +2 -1
  86. package/dist/globalization/filters/index.d.ts +3 -0
  87. package/dist/globalization/filters/index.js +3 -0
  88. package/dist/globalization/index.d.ts +1 -3
  89. package/dist/globalization/index.js +1 -3
  90. package/dist/index.d.ts +0 -1
  91. package/dist/index.js +0 -1
  92. package/dist/interfaces/Qrvey.Interface.d.ts +10 -0
  93. package/dist/interfaces/index.d.ts +1 -1
  94. package/dist/interfaces/index.js +1 -1
  95. package/dist/{cjs/charts → qrvey}/constants/AGGREGATE.d.ts +0 -0
  96. package/dist/{charts → qrvey}/constants/AGGREGATE.js +0 -0
  97. package/dist/{cjs/charts → qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
  98. package/dist/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
  99. package/dist/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
  100. package/dist/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
  101. package/dist/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
  102. package/dist/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
  103. package/dist/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
  104. package/dist/qrvey/constants/AGGREGATE_LABEL.js +12 -0
  105. package/dist/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
  106. package/dist/qrvey/constants/CALCULATION_INFO_LIST.js +1 -1
  107. package/dist/qrvey/constants/index.d.ts +4 -1
  108. package/dist/qrvey/constants/index.js +4 -1
  109. package/dist/{cjs/charts/interfaces/IAggregateType.d.ts → qrvey/interfaces/IAggregate.d.ts} +1 -1
  110. package/dist/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
  111. package/dist/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
  112. package/dist/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
  113. package/dist/qrvey/interfaces/index.d.ts +0 -4
  114. package/dist/qrvey/interfaces/index.js +0 -4
  115. package/dist/services/helpers/Request.js +1 -1
  116. package/package.json +5 -7
  117. package/src/charts/helpers/index.ts +3 -0
  118. package/src/charts/helpers/isExpandableTableChart.ts +5 -0
  119. package/src/charts/helpers/isSimpleTableChart.ts +5 -0
  120. package/src/charts/helpers/isTableChart.ts +5 -0
  121. package/src/columns/constants/COLUMN_INFO.ts +28 -29
  122. package/src/columns/interfaces/IColumn.ts +3 -3
  123. package/src/columns/interfaces/IColumnAggregateType.ts +3 -0
  124. package/src/{qrvey/interfaces/ICalculationType.ts → columns/interfaces/IColumnCalculationType.ts} +1 -1
  125. package/src/columns/interfaces/index.ts +2 -0
  126. package/src/constants/Charts.Const.ts +1 -0
  127. package/src/filters/helpers/common/getFilterColumnLabel.ts +1 -1
  128. package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +0 -2
  129. package/src/filters/interfaces/panel/IFilterPanelConfig.ts +0 -2
  130. package/src/globalization/filters/FILTER_BUILDER.ts +35 -0
  131. package/src/globalization/filters/SLIDEBAR.ts +8 -0
  132. package/src/globalization/{labels/common/I18N_VALUE_CONTAINER.ts → filters/VALUES_CONTAINER.ts} +2 -3
  133. package/src/globalization/filters/index.ts +3 -0
  134. package/src/globalization/index.ts +1 -3
  135. package/src/index.ts +0 -1
  136. package/src/interfaces/Qrvey.Interface.ts +11 -0
  137. package/src/interfaces/index.ts +1 -1
  138. package/src/{charts → qrvey}/constants/AGGREGATE.ts +0 -0
  139. package/src/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.ts +0 -0
  140. package/src/{charts → qrvey}/constants/AGGREGATE_INFO.ts +2 -2
  141. package/src/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.ts +0 -0
  142. package/src/qrvey/constants/AGGREGATE_LABEL.ts +11 -0
  143. package/src/qrvey/constants/CALCULATION_INFO_LIST.ts +1 -1
  144. package/src/qrvey/constants/index.ts +4 -1
  145. package/src/{charts/interfaces/IAggregateType.ts → qrvey/interfaces/IAggregate.ts} +1 -1
  146. package/src/qrvey/interfaces/IAggregateInfo.ts +7 -0
  147. package/src/qrvey/interfaces/index.ts +1 -5
  148. package/src/services/helpers/Request.ts +1 -1
  149. package/src/stencil/util/index.ts +1 -1
  150. package/dist/charts/constants/AGGREGATE_INFO.d.ts +0 -5
  151. package/dist/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
  152. package/dist/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
  153. package/dist/charts/constants/AGGREGATE_LABEL.js +0 -12
  154. package/dist/charts/constants/index.d.ts +0 -5
  155. package/dist/charts/constants/index.js +0 -5
  156. package/dist/charts/index.d.ts +0 -2
  157. package/dist/charts/index.js +0 -2
  158. package/dist/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
  159. package/dist/charts/interfaces/IAggregateInfo.d.ts +0 -9
  160. package/dist/charts/interfaces/IAggregateLabel.d.ts +0 -2
  161. package/dist/charts/interfaces/index.d.ts +0 -4
  162. package/dist/charts/interfaces/index.js +0 -4
  163. package/dist/cjs/charts/constants/AGGREGATE_INFO.d.ts +0 -5
  164. package/dist/cjs/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
  165. package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
  166. package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +0 -15
  167. package/dist/cjs/charts/constants/index.d.ts +0 -5
  168. package/dist/cjs/charts/constants/index.js +0 -17
  169. package/dist/cjs/charts/index.d.ts +0 -2
  170. package/dist/cjs/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
  171. package/dist/cjs/charts/interfaces/IAggregateInfo.d.ts +0 -9
  172. package/dist/cjs/charts/interfaces/IAggregateLabel.d.ts +0 -2
  173. package/dist/cjs/charts/interfaces/index.d.ts +0 -4
  174. package/dist/cjs/charts/interfaces/index.js +0 -16
  175. package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +0 -14
  176. package/dist/cjs/globalization/interfaces/IResourceI18n.js +0 -2
  177. package/dist/cjs/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
  178. package/dist/cjs/globalization/interfaces/columns/II18nColumn.js +0 -2
  179. package/dist/cjs/globalization/interfaces/columns/index.d.ts +0 -1
  180. package/dist/cjs/globalization/interfaces/columns/index.js +0 -13
  181. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
  182. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.js +0 -2
  183. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
  184. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -2
  185. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
  186. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -2
  187. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
  188. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -2
  189. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
  190. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.js +0 -2
  191. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +0 -13
  192. package/dist/cjs/globalization/interfaces/common/II18nCommon.js +0 -2
  193. package/dist/cjs/globalization/interfaces/common/II18nSlidebar.d.ts +0 -7
  194. package/dist/cjs/globalization/interfaces/common/II18nSlidebar.js +0 -2
  195. package/dist/cjs/globalization/interfaces/common/II18nSlidebarValueContainer.d.ts +0 -3
  196. package/dist/cjs/globalization/interfaces/common/II18nSlidebarValueContainer.js +0 -2
  197. package/dist/cjs/globalization/interfaces/common/II18nValueContainer.d.ts +0 -4
  198. package/dist/cjs/globalization/interfaces/common/II18nValueContainer.js +0 -2
  199. package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInput.d.ts +0 -5
  200. package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInput.js +0 -2
  201. package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
  202. package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.js +0 -2
  203. package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -11
  204. package/dist/cjs/globalization/interfaces/common/index.js +0 -23
  205. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
  206. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.js +0 -2
  207. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
  208. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -2
  209. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
  210. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -2
  211. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
  212. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -2
  213. package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +0 -4
  214. package/dist/cjs/globalization/interfaces/dashboard/index.js +0 -16
  215. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
  216. package/dist/cjs/globalization/interfaces/filters/II18nFilter.js +0 -2
  217. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
  218. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.js +0 -2
  219. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
  220. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -2
  221. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
  222. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -2
  223. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
  224. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -2
  225. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
  226. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -2
  227. package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
  228. package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.js +0 -2
  229. package/dist/cjs/globalization/interfaces/filters/index.d.ts +0 -7
  230. package/dist/cjs/globalization/interfaces/filters/index.js +0 -19
  231. package/dist/cjs/globalization/interfaces/index.d.ts +0 -3
  232. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
  233. package/dist/cjs/globalization/interfaces/panel/II18nPanel.js +0 -2
  234. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
  235. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.js +0 -2
  236. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
  237. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.js +0 -2
  238. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
  239. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.js +0 -2
  240. package/dist/cjs/globalization/interfaces/panel/index.d.ts +0 -4
  241. package/dist/cjs/globalization/interfaces/panel/index.js +0 -16
  242. package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
  243. package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.js +0 -2
  244. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
  245. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -2
  246. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
  247. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -2
  248. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
  249. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -2
  250. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
  251. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -2
  252. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
  253. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -2
  254. package/dist/cjs/globalization/interfaces/table_charts/index.d.ts +0 -6
  255. package/dist/cjs/globalization/interfaces/table_charts/index.js +0 -18
  256. package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +0 -2
  257. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +0 -17
  258. package/dist/cjs/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
  259. package/dist/cjs/globalization/labels/columns/I18N_COLUMN.js +0 -8
  260. package/dist/cjs/globalization/labels/columns/index.d.ts +0 -1
  261. package/dist/cjs/globalization/labels/columns/index.js +0 -13
  262. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
  263. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -15
  264. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
  265. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -42
  266. package/dist/cjs/globalization/labels/common/I18N_COMMON.d.ts +0 -2
  267. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +0 -31
  268. package/dist/cjs/globalization/labels/common/I18N_SLIDEBAR.d.ts +0 -2
  269. package/dist/cjs/globalization/labels/common/I18N_VALUE_CONTAINER.d.ts +0 -2
  270. package/dist/cjs/globalization/labels/common/index.d.ts +0 -4
  271. package/dist/cjs/globalization/labels/common/index.js +0 -16
  272. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
  273. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -24
  274. package/dist/cjs/globalization/labels/dashboard/index.d.ts +0 -1
  275. package/dist/cjs/globalization/labels/dashboard/index.js +0 -13
  276. package/dist/cjs/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
  277. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +0 -7
  278. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
  279. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -29
  280. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
  281. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -27
  282. package/dist/cjs/globalization/labels/filters/index.d.ts +0 -3
  283. package/dist/cjs/globalization/labels/filters/index.js +0 -15
  284. package/dist/cjs/globalization/labels/index.d.ts +0 -6
  285. package/dist/cjs/globalization/labels/index.js +0 -18
  286. package/dist/cjs/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
  287. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +0 -34
  288. package/dist/cjs/globalization/labels/panel/index.d.ts +0 -1
  289. package/dist/cjs/globalization/labels/panel/index.js +0 -13
  290. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
  291. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -36
  292. package/dist/cjs/globalization/labels/table_charts/index.d.ts +0 -1
  293. package/dist/cjs/globalization/labels/table_charts/index.js +0 -13
  294. package/dist/cjs/globalization/service/i18nextBuilder.d.ts +0 -9
  295. package/dist/cjs/globalization/service/i18nextBuilder.js +0 -61
  296. package/dist/cjs/globalization/service/index.d.ts +0 -2
  297. package/dist/cjs/globalization/service/index.js +0 -14
  298. package/dist/cjs/globalization/service/initI18n.d.ts +0 -3
  299. package/dist/cjs/globalization/service/initI18n.js +0 -19
  300. package/dist/cjs/qrvey/interfaces/ICalculationType.js +0 -2
  301. package/dist/globalization/interfaces/IResourceI18n.d.ts +0 -14
  302. package/dist/globalization/interfaces/IResourceI18n.js +0 -1
  303. package/dist/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
  304. package/dist/globalization/interfaces/columns/II18nColumn.js +0 -1
  305. package/dist/globalization/interfaces/columns/index.d.ts +0 -1
  306. package/dist/globalization/interfaces/columns/index.js +0 -1
  307. package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
  308. package/dist/globalization/interfaces/common/II18nAgreggateLabels.js +0 -1
  309. package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
  310. package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -1
  311. package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
  312. package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -1
  313. package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
  314. package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -1
  315. package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
  316. package/dist/globalization/interfaces/common/II18nColumnTypes.js +0 -1
  317. package/dist/globalization/interfaces/common/II18nCommon.d.ts +0 -13
  318. package/dist/globalization/interfaces/common/II18nCommon.js +0 -1
  319. package/dist/globalization/interfaces/common/II18nSlidebar.d.ts +0 -7
  320. package/dist/globalization/interfaces/common/II18nSlidebar.js +0 -1
  321. package/dist/globalization/interfaces/common/II18nSlidebarValueContainer.d.ts +0 -3
  322. package/dist/globalization/interfaces/common/II18nSlidebarValueContainer.js +0 -1
  323. package/dist/globalization/interfaces/common/II18nValueContainer.d.ts +0 -4
  324. package/dist/globalization/interfaces/common/II18nValueContainer.js +0 -1
  325. package/dist/globalization/interfaces/common/II18nValueContainerSearchInput.d.ts +0 -5
  326. package/dist/globalization/interfaces/common/II18nValueContainerSearchInput.js +0 -1
  327. package/dist/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
  328. package/dist/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.js +0 -1
  329. package/dist/globalization/interfaces/common/index.d.ts +0 -11
  330. package/dist/globalization/interfaces/common/index.js +0 -11
  331. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
  332. package/dist/globalization/interfaces/dashboard/II18nDashboard.js +0 -1
  333. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
  334. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -1
  335. package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
  336. package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -1
  337. package/dist/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
  338. package/dist/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -1
  339. package/dist/globalization/interfaces/dashboard/index.d.ts +0 -4
  340. package/dist/globalization/interfaces/dashboard/index.js +0 -4
  341. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
  342. package/dist/globalization/interfaces/filters/II18nFilter.js +0 -1
  343. package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
  344. package/dist/globalization/interfaces/filters/II18nFilterBuilder.js +0 -1
  345. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
  346. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -1
  347. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
  348. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -1
  349. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
  350. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -1
  351. package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
  352. package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -1
  353. package/dist/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
  354. package/dist/globalization/interfaces/filters/II18nFilterValidator.js +0 -1
  355. package/dist/globalization/interfaces/filters/index.d.ts +0 -7
  356. package/dist/globalization/interfaces/filters/index.js +0 -7
  357. package/dist/globalization/interfaces/index.d.ts +0 -3
  358. package/dist/globalization/interfaces/index.js +0 -3
  359. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
  360. package/dist/globalization/interfaces/panel/II18nPanel.js +0 -1
  361. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
  362. package/dist/globalization/interfaces/panel/II18nPanelErrors.js +0 -1
  363. package/dist/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
  364. package/dist/globalization/interfaces/panel/II18nPanelMenu.js +0 -1
  365. package/dist/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
  366. package/dist/globalization/interfaces/panel/II18nPanelTooltips.js +0 -1
  367. package/dist/globalization/interfaces/panel/index.d.ts +0 -4
  368. package/dist/globalization/interfaces/panel/index.js +0 -4
  369. package/dist/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
  370. package/dist/globalization/interfaces/table_charts/II18nTableCharts.js +0 -1
  371. package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
  372. package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -1
  373. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
  374. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -1
  375. package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
  376. package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -1
  377. package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
  378. package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -1
  379. package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
  380. package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -1
  381. package/dist/globalization/interfaces/table_charts/index.d.ts +0 -6
  382. package/dist/globalization/interfaces/table_charts/index.js +0 -6
  383. package/dist/globalization/labels/I18N_DEFAULT.d.ts +0 -2
  384. package/dist/globalization/labels/I18N_DEFAULT.js +0 -14
  385. package/dist/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
  386. package/dist/globalization/labels/columns/I18N_COLUMN.js +0 -5
  387. package/dist/globalization/labels/columns/index.d.ts +0 -1
  388. package/dist/globalization/labels/columns/index.js +0 -1
  389. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
  390. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -12
  391. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
  392. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -39
  393. package/dist/globalization/labels/common/I18N_COMMON.d.ts +0 -2
  394. package/dist/globalization/labels/common/I18N_COMMON.js +0 -28
  395. package/dist/globalization/labels/common/I18N_SLIDEBAR.d.ts +0 -2
  396. package/dist/globalization/labels/common/I18N_VALUE_CONTAINER.d.ts +0 -2
  397. package/dist/globalization/labels/common/index.d.ts +0 -4
  398. package/dist/globalization/labels/common/index.js +0 -4
  399. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
  400. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -21
  401. package/dist/globalization/labels/dashboard/index.d.ts +0 -1
  402. package/dist/globalization/labels/dashboard/index.js +0 -1
  403. package/dist/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
  404. package/dist/globalization/labels/filters/I18N_FILTER.js +0 -4
  405. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
  406. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -26
  407. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
  408. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -24
  409. package/dist/globalization/labels/filters/index.d.ts +0 -3
  410. package/dist/globalization/labels/filters/index.js +0 -3
  411. package/dist/globalization/labels/index.d.ts +0 -6
  412. package/dist/globalization/labels/index.js +0 -6
  413. package/dist/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
  414. package/dist/globalization/labels/panel/I18N_PANEL.js +0 -31
  415. package/dist/globalization/labels/panel/index.d.ts +0 -1
  416. package/dist/globalization/labels/panel/index.js +0 -1
  417. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
  418. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -33
  419. package/dist/globalization/labels/table_charts/index.d.ts +0 -1
  420. package/dist/globalization/labels/table_charts/index.js +0 -1
  421. package/dist/globalization/service/i18nextBuilder.d.ts +0 -9
  422. package/dist/globalization/service/i18nextBuilder.js +0 -53
  423. package/dist/globalization/service/index.d.ts +0 -2
  424. package/dist/globalization/service/index.js +0 -2
  425. package/dist/globalization/service/initI18n.d.ts +0 -3
  426. package/dist/globalization/service/initI18n.js +0 -15
  427. package/dist/qrvey/interfaces/ICalculationType.js +0 -1
  428. package/src/charts/constants/AGGREGATE_LABEL.ts +0 -11
  429. package/src/charts/constants/index.ts +0 -5
  430. package/src/charts/index.ts +0 -2
  431. package/src/charts/interfaces/IAggregateAbbreviation.ts +0 -3
  432. package/src/charts/interfaces/IAggregateInfo.ts +0 -11
  433. package/src/charts/interfaces/IAggregateLabel.ts +0 -3
  434. package/src/charts/interfaces/index.ts +0 -4
  435. package/src/globalization/interfaces/IResourceI18n.ts +0 -16
  436. package/src/globalization/interfaces/columns/II18nColumn.ts +0 -7
  437. package/src/globalization/interfaces/columns/index.ts +0 -1
  438. package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +0 -11
  439. package/src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts +0 -5
  440. package/src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts +0 -8
  441. package/src/globalization/interfaces/common/II18nChartInfoMessagesTableChart.ts +0 -8
  442. package/src/globalization/interfaces/common/II18nColumnTypes.ts +0 -42
  443. package/src/globalization/interfaces/common/II18nCommon.ts +0 -14
  444. package/src/globalization/interfaces/common/II18nSlidebar.ts +0 -8
  445. package/src/globalization/interfaces/common/II18nSlidebarValueContainer.ts +0 -3
  446. package/src/globalization/interfaces/common/II18nValueContainer.ts +0 -5
  447. package/src/globalization/interfaces/common/II18nValueContainerSearchInput.ts +0 -6
  448. package/src/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.ts +0 -5
  449. package/src/globalization/interfaces/common/index.ts +0 -13
  450. package/src/globalization/interfaces/dashboard/II18nDashboard.ts +0 -10
  451. package/src/globalization/interfaces/dashboard/II18nDashboardAddChart.ts +0 -5
  452. package/src/globalization/interfaces/dashboard/II18nDashboardTooltips.ts +0 -7
  453. package/src/globalization/interfaces/dashboard/II18nDashboardViews.ts +0 -6
  454. package/src/globalization/interfaces/dashboard/index.ts +0 -4
  455. package/src/globalization/interfaces/filters/II18nFilter.ts +0 -9
  456. package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +0 -19
  457. package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +0 -4
  458. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +0 -6
  459. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +0 -4
  460. package/src/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.ts +0 -3
  461. package/src/globalization/interfaces/filters/II18nFilterValidator.ts +0 -23
  462. package/src/globalization/interfaces/filters/index.ts +0 -7
  463. package/src/globalization/interfaces/index.ts +0 -3
  464. package/src/globalization/interfaces/panel/II18nPanel.ts +0 -10
  465. package/src/globalization/interfaces/panel/II18nPanelErrors.ts +0 -9
  466. package/src/globalization/interfaces/panel/II18nPanelMenu.ts +0 -15
  467. package/src/globalization/interfaces/panel/II18nPanelTooltips.ts +0 -4
  468. package/src/globalization/interfaces/panel/index.ts +0 -4
  469. package/src/globalization/interfaces/table_charts/II18nTableCharts.ts +0 -16
  470. package/src/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.ts +0 -8
  471. package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +0 -4
  472. package/src/globalization/interfaces/table_charts/II18nTableChartsSort.ts +0 -10
  473. package/src/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.ts +0 -3
  474. package/src/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.ts +0 -5
  475. package/src/globalization/interfaces/table_charts/index.ts +0 -6
  476. package/src/globalization/labels/I18N_DEFAULT.ts +0 -16
  477. package/src/globalization/labels/columns/I18N_COLUMN.ts +0 -9
  478. package/src/globalization/labels/columns/index.ts +0 -1
  479. package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +0 -14
  480. package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +0 -43
  481. package/src/globalization/labels/common/I18N_COMMON.ts +0 -30
  482. package/src/globalization/labels/common/I18N_SLIDEBAR.ts +0 -10
  483. package/src/globalization/labels/common/index.ts +0 -5
  484. package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +0 -23
  485. package/src/globalization/labels/dashboard/index.ts +0 -1
  486. package/src/globalization/labels/filters/I18N_FILTER.ts +0 -6
  487. package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +0 -28
  488. package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +0 -27
  489. package/src/globalization/labels/filters/index.ts +0 -3
  490. package/src/globalization/labels/index.ts +0 -6
  491. package/src/globalization/labels/panel/I18N_PANEL.ts +0 -33
  492. package/src/globalization/labels/panel/index.ts +0 -1
  493. package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +0 -35
  494. package/src/globalization/labels/table_charts/index.ts +0 -1
  495. package/src/globalization/service/i18nextBuilder.ts +0 -51
  496. package/src/globalization/service/index.ts +0 -2
  497. package/src/globalization/service/initI18n.ts +0 -6
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-6*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.5*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -1767,13 +1767,12 @@ Gets the length of the given array.
1767
1767
 
1768
1768
 
1769
1769
 
1770
- ### dist/general/object/cloneDeep.js
1770
+ ### dist/general/string/capitalize.js
1771
1771
 
1772
1772
 
1773
- #### cloneDeep(obj)
1773
+ #### capitalize(text)
1774
1774
 
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
1775
+ Upper case the first letter of a given text
1777
1776
 
1778
1777
 
1779
1778
 
@@ -1782,7 +1781,7 @@ Not to use this function with inner objects and functions
1782
1781
 
1783
1782
  | Name | Type | Description | |
1784
1783
  | ---- | ---- | ----------- | -------- |
1785
- | obj | | The object |   |
1784
+ | text | `String` | |   |
1786
1785
 
1787
1786
 
1788
1787
 
@@ -1790,25 +1789,18 @@ Not to use this function with inner objects and functions
1790
1789
  ##### Returns
1791
1790
 
1792
1791
 
1793
- - The new reference object or the given object if the parsing is incorrect or empty
1792
+ - `String` a capitalized text
1794
1793
 
1795
1794
 
1796
1795
 
1797
1796
 
1798
- ### dist/general/object/getAttribute.js
1797
+ ### dist/general/object/cloneDeep.js
1799
1798
 
1800
1799
 
1801
- #### getAttribute(obj, key)
1800
+ #### cloneDeep(obj)
1802
1801
 
1803
- Searchs for properties in different case styles such as: lower, upper, camel and pascal
1804
- - To optimize the searching, it is required a key in a snake_case style
1805
- - List of cases that do not match
1806
- -- From lower to snake case
1807
- -- From upper to snake case
1808
- -- From lower to camel case
1809
- -- From upper to camel case
1810
- -- From lower to pascal case
1811
- -- From upper to pascal case
1802
+ A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
1803
+ Not to use this function with inner objects and functions
1812
1804
 
1813
1805
 
1814
1806
 
@@ -1817,23 +1809,15 @@ Searchs for properties in different case styles such as: lower, upper, camel and
1817
1809
 
1818
1810
  | Name | Type | Description | |
1819
1811
  | ---- | ---- | ----------- | -------- |
1820
- | obj | `object` | object to look for |   |
1821
- | key | `string` | String attribute in snake_case style |   |
1822
-
1823
-
1824
-
1812
+ | obj | | The object |   |
1825
1813
 
1826
- ##### Examples
1827
1814
 
1828
- ```javascript
1829
- getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
1830
- ```
1831
1815
 
1832
1816
 
1833
1817
  ##### Returns
1834
1818
 
1835
1819
 
1836
- - `Void`
1820
+ - The new reference object or the given object if the parsing is incorrect or empty
1837
1821
 
1838
1822
 
1839
1823
 
@@ -1895,6 +1879,49 @@ _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
1895
1879
 
1896
1880
 
1897
1881
 
1882
+ ### dist/general/object/getAttribute.js
1883
+
1884
+
1885
+ #### getAttribute(obj, key)
1886
+
1887
+ Searchs for properties in different case styles such as: lower, upper, camel and pascal
1888
+ - To optimize the searching, it is required a key in a snake_case style
1889
+ - List of cases that do not match
1890
+ -- From lower to snake case
1891
+ -- From upper to snake case
1892
+ -- From lower to camel case
1893
+ -- From upper to camel case
1894
+ -- From lower to pascal case
1895
+ -- From upper to pascal case
1896
+
1897
+
1898
+
1899
+
1900
+ ##### Parameters
1901
+
1902
+ | Name | Type | Description | |
1903
+ | ---- | ---- | ----------- | -------- |
1904
+ | obj | `object` | object to look for |   |
1905
+ | key | `string` | String attribute in snake_case style |   |
1906
+
1907
+
1908
+
1909
+
1910
+ ##### Examples
1911
+
1912
+ ```javascript
1913
+ getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
1914
+ ```
1915
+
1916
+
1917
+ ##### Returns
1918
+
1919
+
1920
+ - `Void`
1921
+
1922
+
1923
+
1924
+
1898
1925
  ### dist/general/object/hasProperty.js
1899
1926
 
1900
1927
 
@@ -2179,12 +2206,12 @@ serialize object to url param
2179
2206
 
2180
2207
 
2181
2208
 
2182
- ### dist/general/string/capitalize.js
2209
+ ### dist/qrvey/helpers/getColumnsLabel.js
2183
2210
 
2184
2211
 
2185
- #### capitalize(text)
2212
+ #### getColumnLabels(column)
2186
2213
 
2187
- Upper case the first letter of a given text
2214
+ Get an string of the properties of the given column.
2188
2215
 
2189
2216
 
2190
2217
 
@@ -2193,7 +2220,7 @@ Upper case the first letter of a given text
2193
2220
 
2194
2221
  | Name | Type | Description | |
2195
2222
  | ---- | ---- | ----------- | -------- |
2196
- | text | `String` | |   |
2223
+ | column | | The column |   |
2197
2224
 
2198
2225
 
2199
2226
 
@@ -2201,7 +2228,7 @@ Upper case the first letter of a given text
2201
2228
  ##### Returns
2202
2229
 
2203
2230
 
2204
- - `String` a capitalized text
2231
+ - an string with the property, aggregate or calculation label.
2205
2232
 
2206
2233
 
2207
2234
 
@@ -2288,33 +2315,6 @@ Get a dataset by Qrvey ID
2288
2315
 
2289
2316
 
2290
2317
 
2291
- ### dist/qrvey/helpers/getColumnsLabel.js
2292
-
2293
-
2294
- #### getColumnLabels(column)
2295
-
2296
- Get an string of the properties of the given column.
2297
-
2298
-
2299
-
2300
-
2301
- ##### Parameters
2302
-
2303
- | Name | Type | Description | |
2304
- | ---- | ---- | ----------- | -------- |
2305
- | column | | The column |   |
2306
-
2307
-
2308
-
2309
-
2310
- ##### Returns
2311
-
2312
-
2313
- - an string with the property, aggregate or calculation label.
2314
-
2315
-
2316
-
2317
-
2318
2318
  ### dist/stencil/decorators/Config.js
2319
2319
 
2320
2320
 
@@ -2535,33 +2535,6 @@ Parses a string date and returns a dayjs date
2535
2535
 
2536
2536
 
2537
2537
 
2538
- ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
2539
-
2540
-
2541
- #### getFilterBuilderGeneralConfig(config)
2542
-
2543
- Returns a filter builder config object by a any given config
2544
-
2545
-
2546
-
2547
-
2548
- ##### Parameters
2549
-
2550
- | Name | Type | Description | |
2551
- | ---- | ---- | ----------- | -------- |
2552
- | config | | any config object |   |
2553
-
2554
-
2555
-
2556
-
2557
- ##### Returns
2558
-
2559
-
2560
- - The filter builder config object
2561
-
2562
-
2563
-
2564
-
2565
2538
  ### dist/filters/helpers/backend/buildExpression.js
2566
2539
 
2567
2540
 
@@ -2858,12 +2831,12 @@ Gets filters from the logic by the scopes hierarchy.
2858
2831
 
2859
2832
 
2860
2833
 
2861
- ### dist/filters/helpers/common/areFiltersEquals.js
2834
+ ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
2862
2835
 
2863
2836
 
2864
- #### areFiltersEquals(filter1, filter2)
2837
+ #### getFilterBuilderGeneralConfig(config)
2865
2838
 
2866
- Validates if both filters are the same
2839
+ Returns a filter builder config object by a any given config
2867
2840
 
2868
2841
 
2869
2842
 
@@ -2872,8 +2845,7 @@ Validates if both filters are the same
2872
2845
 
2873
2846
  | Name | Type | Description | |
2874
2847
  | ---- | ---- | ----------- | -------- |
2875
- | filter1 | | filter 1 |   |
2876
- | filter2 | | filter 2 |   |
2848
+ | config | | any config object |   |
2877
2849
 
2878
2850
 
2879
2851
 
@@ -2881,17 +2853,17 @@ Validates if both filters are the same
2881
2853
  ##### Returns
2882
2854
 
2883
2855
 
2884
- - true: the filters are equal; false: the filters are NOT equal
2856
+ - The filter builder config object
2885
2857
 
2886
2858
 
2887
2859
 
2888
2860
 
2889
- ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
2861
+ ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
2890
2862
 
2891
2863
 
2892
- #### excludeFiltersByAggregateColumn(filterData)
2864
+ #### excludeUIFiltersByAggregate(uFilters)
2893
2865
 
2894
- Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
2866
+ Excludes Aggregate Filters in the Flattened UI Filters array
2895
2867
 
2896
2868
 
2897
2869
 
@@ -2900,7 +2872,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
2900
2872
 
2901
2873
  | Name | Type | Description | |
2902
2874
  | ---- | ---- | ----------- | -------- |
2903
- | filterData | | The filter data object |   |
2875
+ | uFilters | | Collection of Flat UI Filters |   |
2904
2876
 
2905
2877
 
2906
2878
 
@@ -2908,26 +2880,17 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
2908
2880
  ##### Returns
2909
2881
 
2910
2882
 
2911
- - The new filter data object that were excluded the aggregate filters
2883
+ - a new Flat UI Filters that were excluded the aggregate filters
2912
2884
 
2913
2885
 
2914
2886
 
2915
2887
 
2916
- ### dist/filters/helpers/common/excludeFiltersByParams.js
2888
+ ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
2917
2889
 
2918
2890
 
2919
- #### excludeFiltersByParams(filterData, params)
2891
+ #### excludeUIFlatFiltersByScopes(uFilters, scopes)
2920
2892
 
2921
- Excludes filters from the given Filters.
2922
- The validation to filter the stored filter is depending on:
2923
- - Column
2924
- - Qrvey ID
2925
- - Scope type
2926
- - Scope ID
2927
- - Panel ID
2928
- - Validator type
2929
- - Property type
2930
- - Enabled flags
2893
+ Excludes and returns a UI Flat Filters without filters by the given scopes
2931
2894
 
2932
2895
 
2933
2896
 
@@ -2936,8 +2899,8 @@ The validation to filter the stored filter is depending on:
2936
2899
 
2937
2900
  | Name | Type | Description | |
2938
2901
  | ---- | ---- | ----------- | -------- |
2939
- | filterData | | The Filter Data or the UI Filter Data |   |
2940
- | params | | given parameters to validate the filter data |   |
2902
+ | uFilters | | The Flatten UI Filters |   |
2903
+ | scopes | | collection of scopes types |   |
2941
2904
 
2942
2905
 
2943
2906
 
@@ -2945,17 +2908,17 @@ The validation to filter the stored filter is depending on:
2945
2908
  ##### Returns
2946
2909
 
2947
2910
 
2948
- - a new Filter object structure
2911
+ - The new array of UI Flattened filters
2949
2912
 
2950
2913
 
2951
2914
 
2952
2915
 
2953
- ### dist/filters/helpers/common/excludeFiltersByScopes.js
2916
+ ### dist/filters/helpers/ui/getFilterPropertyLabel.js
2954
2917
 
2955
2918
 
2956
- #### excludeFiltersByScopes(filterData, scopes)
2919
+ #### getFilterPropertyLabel(filter)
2957
2920
 
2958
- Excludes and returns a filter data without filters by the given scopes
2921
+ Gets the label of the filter property
2959
2922
 
2960
2923
 
2961
2924
 
@@ -2964,8 +2927,7 @@ Excludes and returns a filter data without filters by the given scopes
2964
2927
 
2965
2928
  | Name | Type | Description | |
2966
2929
  | ---- | ---- | ----------- | -------- |
2967
- | filterData | | The Filter Data |   |
2968
- | scopes | | collection of scopes to be as filtering parameters |   |
2930
+ | filter | | The UI Filter |   |
2969
2931
 
2970
2932
 
2971
2933
 
@@ -2973,17 +2935,17 @@ Excludes and returns a filter data without filters by the given scopes
2973
2935
  ##### Returns
2974
2936
 
2975
2937
 
2976
- - The new Filter Data without filters by the given scopes.
2938
+ - a string of the filter property label
2977
2939
 
2978
2940
 
2979
2941
 
2980
2942
 
2981
- ### dist/filters/helpers/common/getFilterColumnLabel.js
2943
+ ### dist/filters/helpers/ui/getOutputFormatByColumn.js
2982
2944
 
2983
2945
 
2984
- #### getFilterColumnLabel(column)
2946
+ #### getOutputFormatByColumn(column, datasets)
2985
2947
 
2986
- Get an string of the properties of the given filter column.
2948
+ Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
2987
2949
 
2988
2950
 
2989
2951
 
@@ -2992,7 +2954,8 @@ Get an string of the properties of the given filter column.
2992
2954
 
2993
2955
  | Name | Type | Description | |
2994
2956
  | ---- | ---- | ----------- | -------- |
2995
- | column | | The filter column |   |
2957
+ | column | | The column |   |
2958
+ | datasets | | array of datasets |   |
2996
2959
 
2997
2960
 
2998
2961
 
@@ -3000,55 +2963,74 @@ Get an string of the properties of the given filter column.
3000
2963
  ##### Returns
3001
2964
 
3002
2965
 
3003
- - an string with the property, aggregate or calculation label.
2966
+ - The output format object
3004
2967
 
3005
2968
 
3006
2969
 
3007
2970
 
3008
- ### dist/filters/helpers/common/getFilterLabel.js
2971
+ ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
3009
2972
 
3010
2973
 
3011
- #### getFilterLabel(filter)
2974
+ #### getUIFlatFilterByParams()
3012
2975
 
3013
- Gets the Filter Label + Column label
2976
+ Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
2977
+ The validation to filter the stored filter is depending on:
2978
+ - Column
2979
+ - Qrvey ID,
2980
+ - Scope type
2981
+ - Scope ID
2982
+ - Panel ID
2983
+ - Validator type
2984
+ - Property type
3014
2985
 
3015
2986
 
3016
2987
 
3017
2988
 
3018
- ##### Parameters
3019
2989
 
3020
- | Name | Type | Description | |
3021
- | ---- | ---- | ----------- | -------- |
3022
- | filter | | the UI filter |   |
3023
2990
 
2991
+ ##### Returns
3024
2992
 
3025
2993
 
2994
+ - The index of the uFilter array or the Filter object s
3026
2995
 
3027
- ##### Returns
3028
2996
 
3029
2997
 
3030
- - a sring label
3031
2998
 
2999
+ ### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
3032
3000
 
3033
3001
 
3002
+ #### getUIFlatFiltersByParams()
3034
3003
 
3035
- ### dist/filters/helpers/common/getFilterid.js
3004
+ Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
3005
+ The validation to filter the stored filter is depending on:
3006
+ - Column
3007
+ - Qrvey ID,
3008
+ - Scope type
3009
+ - Scope ID
3010
+ - Panel ID
3011
+ - Validator type
3012
+ - Property type
3013
+ - Enabled flags
3036
3014
 
3037
3015
 
3038
- #### getFilterid(filter)
3039
3016
 
3040
- Get the Filter ID by the filter structure
3041
- The order of the epression ID is:
3042
- - Scope Type
3043
- - scopeid
3044
- - qrveyid
3045
- - panelid
3046
- - columnid
3047
- - validator
3048
- - property
3049
- - Column Aggregate
3050
- - Column Calculation
3051
- - Optional Index
3017
+
3018
+
3019
+
3020
+ ##### Returns
3021
+
3022
+
3023
+ - The index of the uFilter array or the Filter object s
3024
+
3025
+
3026
+
3027
+
3028
+ ### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
3029
+
3030
+
3031
+ #### getUIFlatFiltersByScopes(uFilters, scopes)
3032
+
3033
+ Filters and gets a UI Flatten Filters by the given scopes
3052
3034
 
3053
3035
 
3054
3036
 
@@ -3057,7 +3039,8 @@ The order of the epression ID is:
3057
3039
 
3058
3040
  | Name | Type | Description | |
3059
3041
  | ---- | ---- | ----------- | -------- |
3060
- | filter | | the filter structure |   |
3042
+ | uFilters | | The Flatten UI Filters |   |
3043
+ | scopes | | collection of scopes types |   |
3061
3044
 
3062
3045
 
3063
3046
 
@@ -3065,17 +3048,17 @@ The order of the epression ID is:
3065
3048
  ##### Returns
3066
3049
 
3067
3050
 
3068
- - a text to identify the filter
3051
+ - The new array of UI Flattened filters
3069
3052
 
3070
3053
 
3071
3054
 
3072
3055
 
3073
- ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3056
+ ### dist/filters/helpers/ui/getUIValues.js
3074
3057
 
3075
3058
 
3076
- #### getFiltersByAggregateColumn(filterData)
3059
+ #### getUIValues(filter, addEnableds, rankingGroupIndex)
3060
+
3077
3061
 
3078
- Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3079
3062
 
3080
3063
 
3081
3064
 
@@ -3084,7 +3067,9 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3084
3067
 
3085
3068
  | Name | Type | Description | |
3086
3069
  | ---- | ---- | ----------- | -------- |
3087
- | filterData | | The filter data object |   |
3070
+ | filter | | |   |
3071
+ | addEnableds | | |   |
3072
+ | rankingGroupIndex | | |   |
3088
3073
 
3089
3074
 
3090
3075
 
@@ -3092,26 +3077,17 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3092
3077
  ##### Returns
3093
3078
 
3094
3079
 
3095
- - The new filter data object that were get the aggregate filters
3080
+ -
3096
3081
 
3097
3082
 
3098
3083
 
3099
3084
 
3100
- ### dist/filters/helpers/common/getFiltersByParams.js
3085
+ ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
3101
3086
 
3102
3087
 
3103
- #### getFiltersByParams(filterData, params)
3088
+ #### resolveUIFlatFilterByParams(filter, params)
3104
3089
 
3105
- Gets filters from the given params.
3106
- The validation to filter the stored filter is depending on:
3107
- - Column
3108
- - Qrvey ID
3109
- - Scope type
3110
- - Scope ID
3111
- - Panel ID
3112
- - Validator type
3113
- - Property type
3114
- - Enabled flags
3090
+ Resolves conditions between UI flattened filter and given parameters
3115
3091
 
3116
3092
 
3117
3093
 
@@ -3120,8 +3096,8 @@ The validation to filter the stored filter is depending on:
3120
3096
 
3121
3097
  | Name | Type | Description | |
3122
3098
  | ---- | ---- | ----------- | -------- |
3123
- | filterData | | The Filter Data or the UI Filter Data |   |
3124
- | params | | given parameters to validate the dataset |   |
3099
+ | filter | | UI Flatten Filter |   |
3100
+ | params | | Parameters to validate |   |
3125
3101
 
3126
3102
 
3127
3103
 
@@ -3129,17 +3105,17 @@ The validation to filter the stored filter is depending on:
3129
3105
  ##### Returns
3130
3106
 
3131
3107
 
3132
- - a new Filter object structure
3108
+ - true: the conditions are satisfied.
3133
3109
 
3134
3110
 
3135
3111
 
3136
3112
 
3137
- ### dist/filters/helpers/common/getFiltersByScopes.js
3113
+ ### dist/filters/helpers/common/areFiltersEquals.js
3138
3114
 
3139
3115
 
3140
- #### getFiltersByScopes(filterData, scopes)
3116
+ #### areFiltersEquals(filter1, filter2)
3141
3117
 
3142
- Filters and gets a Filter Data by the given scopes
3118
+ Validates if both filters are the same
3143
3119
 
3144
3120
 
3145
3121
 
@@ -3148,8 +3124,8 @@ Filters and gets a Filter Data by the given scopes
3148
3124
 
3149
3125
  | Name | Type | Description | |
3150
3126
  | ---- | ---- | ----------- | -------- |
3151
- | filterData | | The Filter Data |   |
3152
- | scopes | | collection of scopes types |   |
3127
+ | filter1 | | filter 1 |   |
3128
+ | filter2 | | filter 2 |   |
3153
3129
 
3154
3130
 
3155
3131
 
@@ -3157,17 +3133,17 @@ Filters and gets a Filter Data by the given scopes
3157
3133
  ##### Returns
3158
3134
 
3159
3135
 
3160
- - The new Filter Data
3136
+ - true: the filters are equal; false: the filters are NOT equal
3161
3137
 
3162
3138
 
3163
3139
 
3164
3140
 
3165
- ### dist/filters/helpers/common/getFiltersByScopesIds.js
3141
+ ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3166
3142
 
3167
3143
 
3168
- #### getFiltersByScopesIds(filterData, scopes)
3144
+ #### excludeFiltersByAggregateColumn(filterData)
3169
3145
 
3170
- Gets filters from Filter Data by Scopes/Scope IDs.
3146
+ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3171
3147
 
3172
3148
 
3173
3149
 
@@ -3176,8 +3152,7 @@ Gets filters from Filter Data by Scopes/Scope IDs.
3176
3152
 
3177
3153
  | Name | Type | Description | |
3178
3154
  | ---- | ---- | ----------- | -------- |
3179
- | filterData | | The filter data |   |
3180
- | scopes | | The collection of Scopes/Scope IDs |   |
3155
+ | filterData | | The filter data object |   |
3181
3156
 
3182
3157
 
3183
3158
 
@@ -3185,17 +3160,26 @@ Gets filters from Filter Data by Scopes/Scope IDs.
3185
3160
  ##### Returns
3186
3161
 
3187
3162
 
3188
- - a new Filter Data
3163
+ - The new filter data object that were excluded the aggregate filters
3189
3164
 
3190
3165
 
3191
3166
 
3192
3167
 
3193
- ### dist/filters/helpers/common/getFiltersByVisibility.js
3168
+ ### dist/filters/helpers/common/excludeFiltersByParams.js
3194
3169
 
3195
3170
 
3196
- #### getFiltersByVisibility(filterData, scopes)
3171
+ #### excludeFiltersByParams(filterData, params)
3197
3172
 
3198
- Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3173
+ Excludes filters from the given Filters.
3174
+ The validation to filter the stored filter is depending on:
3175
+ - Column
3176
+ - Qrvey ID
3177
+ - Scope type
3178
+ - Scope ID
3179
+ - Panel ID
3180
+ - Validator type
3181
+ - Property type
3182
+ - Enabled flags
3199
3183
 
3200
3184
 
3201
3185
 
@@ -3204,8 +3188,8 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3204
3188
 
3205
3189
  | Name | Type | Description | |
3206
3190
  | ---- | ---- | ----------- | -------- |
3207
- | filterData | | a Filter Data or UI Filter Data |   |
3208
- | scopes | | a Scopes/Scope IDs array |   |
3191
+ | filterData | | The Filter Data or the UI Filter Data |   |
3192
+ | params | | given parameters to validate the filter data |   |
3209
3193
 
3210
3194
 
3211
3195
 
@@ -3213,17 +3197,17 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3213
3197
  ##### Returns
3214
3198
 
3215
3199
 
3216
- - a new Filter Data
3200
+ - a new Filter object structure
3217
3201
 
3218
3202
 
3219
3203
 
3220
3204
 
3221
- ### dist/filters/helpers/common/getMergeFiltersSettings.js
3205
+ ### dist/filters/helpers/common/excludeFiltersByScopes.js
3222
3206
 
3223
3207
 
3224
- #### getMergeFiltersSettings(settings)
3208
+ #### excludeFiltersByScopes(filterData, scopes)
3225
3209
 
3226
- Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
3210
+ Excludes and returns a filter data without filters by the given scopes
3227
3211
 
3228
3212
 
3229
3213
 
@@ -3232,7 +3216,8 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
3232
3216
 
3233
3217
  | Name | Type | Description | |
3234
3218
  | ---- | ---- | ----------- | -------- |
3235
- | settings | | an object to the MergeFilters settings |   |
3219
+ | filterData | | The Filter Data |   |
3220
+ | scopes | | collection of scopes to be as filtering parameters |   |
3236
3221
 
3237
3222
 
3238
3223
 
@@ -3240,17 +3225,17 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
3240
3225
  ##### Returns
3241
3226
 
3242
3227
 
3243
- - a new MergeFilters settings object.
3228
+ - The new Filter Data without filters by the given scopes.
3244
3229
 
3245
3230
 
3246
3231
 
3247
3232
 
3248
- ### dist/filters/helpers/common/getParamsToGetFilterSettings.js
3233
+ ### dist/filters/helpers/common/getFilterColumnLabel.js
3249
3234
 
3250
3235
 
3251
- #### getParamsToGetFilterSettings(settings)
3236
+ #### getFilterColumnLabel(column)
3252
3237
 
3253
- Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
3238
+ Get an string of the properties of the given filter column.
3254
3239
 
3255
3240
 
3256
3241
 
@@ -3259,7 +3244,7 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3259
3244
 
3260
3245
  | Name | Type | Description | |
3261
3246
  | ---- | ---- | ----------- | -------- |
3262
- | settings | | an object to the ParamsToGetFilter settings |   |
3247
+ | column | | The filter column |   |
3263
3248
 
3264
3249
 
3265
3250
 
@@ -3267,17 +3252,17 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3267
3252
  ##### Returns
3268
3253
 
3269
3254
 
3270
- - a new ParamsToGetFilter settings object.
3255
+ - an string with the property, aggregate or calculation label.
3271
3256
 
3272
3257
 
3273
3258
 
3274
3259
 
3275
- ### dist/filters/helpers/common/haveFiltersByDataset.js
3260
+ ### dist/filters/helpers/common/getFilterLabel.js
3276
3261
 
3277
3262
 
3278
- #### haveFiltersByDataset(filterData, qrveyid)
3263
+ #### getFilterLabel(filter)
3279
3264
 
3280
- Validates if the filter data has filters by a dataset ID (Qrvey ID).
3265
+ Gets the Filter Label + Column label
3281
3266
 
3282
3267
 
3283
3268
 
@@ -3286,8 +3271,7 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3286
3271
 
3287
3272
  | Name | Type | Description | |
3288
3273
  | ---- | ---- | ----------- | -------- |
3289
- | filterData | | the filter data or the UI filter data. |   |
3290
- | qrveyid | | The Qrvey ID |   |
3274
+ | filter | | the UI filter |   |
3291
3275
 
3292
3276
 
3293
3277
 
@@ -3295,17 +3279,28 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3295
3279
  ##### Returns
3296
3280
 
3297
3281
 
3298
- - true: the filter data has filters by the Qrvey ID
3282
+ - a sring label
3299
3283
 
3300
3284
 
3301
3285
 
3302
3286
 
3303
- ### dist/filters/helpers/common/isBetweenValidator.js
3287
+ ### dist/filters/helpers/common/getFilterid.js
3304
3288
 
3305
3289
 
3306
- #### isBetweenValidator(validator)
3290
+ #### getFilterid(filter)
3307
3291
 
3308
- Validates if the given validator is a Between type
3292
+ Get the Filter ID by the filter structure
3293
+ The order of the epression ID is:
3294
+ - Scope Type
3295
+ - scopeid
3296
+ - qrveyid
3297
+ - panelid
3298
+ - columnid
3299
+ - validator
3300
+ - property
3301
+ - Column Aggregate
3302
+ - Column Calculation
3303
+ - Optional Index
3309
3304
 
3310
3305
 
3311
3306
 
@@ -3314,7 +3309,7 @@ Validates if the given validator is a Between type
3314
3309
 
3315
3310
  | Name | Type | Description | |
3316
3311
  | ---- | ---- | ----------- | -------- |
3317
- | validator | | The validator |   |
3312
+ | filter | | the filter structure |   |
3318
3313
 
3319
3314
 
3320
3315
 
@@ -3322,17 +3317,17 @@ Validates if the given validator is a Between type
3322
3317
  ##### Returns
3323
3318
 
3324
3319
 
3325
- - true: it is a between validator; false: it is not a between validator
3320
+ - a text to identify the filter
3326
3321
 
3327
3322
 
3328
3323
 
3329
3324
 
3330
- ### dist/filters/helpers/common/isDateDistinctProperty.js
3325
+ ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3331
3326
 
3332
3327
 
3333
- #### isDateDistinctProperty(column, property)
3328
+ #### getFiltersByAggregateColumn(filterData)
3334
3329
 
3335
- Determines if the filter column and property is a distinct group dates type
3330
+ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3336
3331
 
3337
3332
 
3338
3333
 
@@ -3341,8 +3336,7 @@ Determines if the filter column and property is a distinct group dates type
3341
3336
 
3342
3337
  | Name | Type | Description | |
3343
3338
  | ---- | ---- | ----------- | -------- |
3344
- | column | | The filter column |   |
3345
- | property | | The filter property |   |
3339
+ | filterData | | The filter data object |   |
3346
3340
 
3347
3341
 
3348
3342
 
@@ -3350,17 +3344,26 @@ Determines if the filter column and property is a distinct group dates type
3350
3344
  ##### Returns
3351
3345
 
3352
3346
 
3353
- - True if the given property is included from distinct group dates type
3347
+ - The new filter data object that were get the aggregate filters
3354
3348
 
3355
3349
 
3356
3350
 
3357
3351
 
3358
- ### dist/filters/helpers/common/isInValidator.js
3352
+ ### dist/filters/helpers/common/getFiltersByParams.js
3359
3353
 
3360
3354
 
3361
- #### isInValidator(validator)
3355
+ #### getFiltersByParams(filterData, params)
3362
3356
 
3363
- Validates if the given validator is a In type
3357
+ Gets filters from the given params.
3358
+ The validation to filter the stored filter is depending on:
3359
+ - Column
3360
+ - Qrvey ID
3361
+ - Scope type
3362
+ - Scope ID
3363
+ - Panel ID
3364
+ - Validator type
3365
+ - Property type
3366
+ - Enabled flags
3364
3367
 
3365
3368
 
3366
3369
 
@@ -3369,7 +3372,8 @@ Validates if the given validator is a In type
3369
3372
 
3370
3373
  | Name | Type | Description | |
3371
3374
  | ---- | ---- | ----------- | -------- |
3372
- | validator | | The validator |   |
3375
+ | filterData | | The Filter Data or the UI Filter Data |   |
3376
+ | params | | given parameters to validate the dataset |   |
3373
3377
 
3374
3378
 
3375
3379
 
@@ -3377,17 +3381,17 @@ Validates if the given validator is a In type
3377
3381
  ##### Returns
3378
3382
 
3379
3383
 
3380
- - true: it is a In validator; false: it is not a In validator
3384
+ - a new Filter object structure
3381
3385
 
3382
3386
 
3383
3387
 
3384
3388
 
3385
- ### dist/filters/helpers/common/isNullValidator.js
3389
+ ### dist/filters/helpers/common/getFiltersByScopes.js
3386
3390
 
3387
3391
 
3388
- #### isNullValidator(validator)
3392
+ #### getFiltersByScopes(filterData, scopes)
3389
3393
 
3390
- Checks if the given validator is a Null type.
3394
+ Filters and gets a Filter Data by the given scopes
3391
3395
 
3392
3396
 
3393
3397
 
@@ -3396,7 +3400,8 @@ Checks if the given validator is a Null type.
3396
3400
 
3397
3401
  | Name | Type | Description | |
3398
3402
  | ---- | ---- | ----------- | -------- |
3399
- | validator | | The Filter Validator |   |
3403
+ | filterData | | The Filter Data |   |
3404
+ | scopes | | collection of scopes types |   |
3400
3405
 
3401
3406
 
3402
3407
 
@@ -3404,17 +3409,17 @@ Checks if the given validator is a Null type.
3404
3409
  ##### Returns
3405
3410
 
3406
3411
 
3407
- - True: It is a Null Validator; False: It is not a Null Validator.
3412
+ - The new Filter Data
3408
3413
 
3409
3414
 
3410
3415
 
3411
3416
 
3412
- ### dist/filters/helpers/common/isRangeValidator.js
3417
+ ### dist/filters/helpers/common/getFiltersByScopesIds.js
3413
3418
 
3414
3419
 
3415
- #### isRangeValidator(validator)
3420
+ #### getFiltersByScopesIds(filterData, scopes)
3416
3421
 
3417
- Validates if the given validator is a Range type. Range type means the value has min and max values to filter
3422
+ Gets filters from Filter Data by Scopes/Scope IDs.
3418
3423
 
3419
3424
 
3420
3425
 
@@ -3423,7 +3428,8 @@ Validates if the given validator is a Range type. Range type means the value has
3423
3428
 
3424
3429
  | Name | Type | Description | |
3425
3430
  | ---- | ---- | ----------- | -------- |
3426
- | validator | | The filter validator |   |
3431
+ | filterData | | The filter data |   |
3432
+ | scopes | | The collection of Scopes/Scope IDs |   |
3427
3433
 
3428
3434
 
3429
3435
 
@@ -3431,17 +3437,17 @@ Validates if the given validator is a Range type. Range type means the value has
3431
3437
  ##### Returns
3432
3438
 
3433
3439
 
3434
- - true: it is a range validator
3440
+ - a new Filter Data
3435
3441
 
3436
3442
 
3437
3443
 
3438
3444
 
3439
- ### dist/filters/helpers/common/isRegularValidator.js
3445
+ ### dist/filters/helpers/common/getFiltersByVisibility.js
3440
3446
 
3441
3447
 
3442
- #### isRegularValidator(validator)
3448
+ #### getFiltersByVisibility(filterData, scopes)
3443
3449
 
3444
- Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
3450
+ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3445
3451
 
3446
3452
 
3447
3453
 
@@ -3450,7 +3456,8 @@ Validates if the given validator is a regular type. Regular type means the filte
3450
3456
 
3451
3457
  | Name | Type | Description | |
3452
3458
  | ---- | ---- | ----------- | -------- |
3453
- | validator | | The filter validator |   |
3459
+ | filterData | | a Filter Data or UI Filter Data |   |
3460
+ | scopes | | a Scopes/Scope IDs array |   |
3454
3461
 
3455
3462
 
3456
3463
 
@@ -3458,17 +3465,17 @@ Validates if the given validator is a regular type. Regular type means the filte
3458
3465
  ##### Returns
3459
3466
 
3460
3467
 
3461
- - true: it is a range validator
3468
+ - a new Filter Data
3462
3469
 
3463
3470
 
3464
3471
 
3465
3472
 
3466
- ### dist/filters/helpers/common/mergeFilters.js
3473
+ ### dist/filters/helpers/common/getMergeFiltersSettings.js
3467
3474
 
3468
3475
 
3469
- #### mergeFilters(filterData1, filterData2, overwriteValues)
3476
+ #### getMergeFiltersSettings(settings)
3470
3477
 
3471
- Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
3478
+ Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
3472
3479
 
3473
3480
 
3474
3481
 
@@ -3477,9 +3484,7 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
3477
3484
 
3478
3485
  | Name | Type | Description | |
3479
3486
  | ---- | ---- | ----------- | -------- |
3480
- | filterData1 | | The target filter data |   |
3481
- | filterData2 | | the filter data to be merged |   |
3482
- | overwriteValues | | Flag to overwrite or not the filter values |   |
3487
+ | settings | | an object to the MergeFilters settings |   |
3483
3488
 
3484
3489
 
3485
3490
 
@@ -3487,13 +3492,17 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
3487
3492
  ##### Returns
3488
3493
 
3489
3494
 
3490
- - a new filter data structure
3495
+ - a new MergeFilters settings object.
3491
3496
 
3492
3497
 
3493
3498
 
3494
- #### mergeScopes(scopes1, scopes2, overwriteValues)
3495
3499
 
3496
- Gets a new scope structure array by merging two scope structures
3500
+ ### dist/filters/helpers/common/getParamsToGetFilterSettings.js
3501
+
3502
+
3503
+ #### getParamsToGetFilterSettings(settings)
3504
+
3505
+ Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
3497
3506
 
3498
3507
 
3499
3508
 
@@ -3502,9 +3511,7 @@ Gets a new scope structure array by merging two scope structures
3502
3511
 
3503
3512
  | Name | Type | Description | |
3504
3513
  | ---- | ---- | ----------- | -------- |
3505
- | scopes1 | | the target scope structure |   |
3506
- | scopes2 | | the scope to be merged |   |
3507
- | overwriteValues | | Flag to overwrite or not the filter values |   |
3514
+ | settings | | an object to the ParamsToGetFilter settings |   |
3508
3515
 
3509
3516
 
3510
3517
 
@@ -3512,13 +3519,17 @@ Gets a new scope structure array by merging two scope structures
3512
3519
  ##### Returns
3513
3520
 
3514
3521
 
3515
- - a new scope structure array
3522
+ - a new ParamsToGetFilter settings object.
3516
3523
 
3517
3524
 
3518
3525
 
3519
- #### mergeDatasets(datasets1, datasets2, overwriteValues)
3520
3526
 
3521
- Gets a new dataset structure array by merging two dataset structures
3527
+ ### dist/filters/helpers/common/haveFiltersByDataset.js
3528
+
3529
+
3530
+ #### haveFiltersByDataset(filterData, qrveyid)
3531
+
3532
+ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3522
3533
 
3523
3534
 
3524
3535
 
@@ -3527,9 +3538,8 @@ Gets a new dataset structure array by merging two dataset structures
3527
3538
 
3528
3539
  | Name | Type | Description | |
3529
3540
  | ---- | ---- | ----------- | -------- |
3530
- | datasets1 | | the target dataset structure |   |
3531
- | datasets2 | | the dataset to be merged |   |
3532
- | overwriteValues | | Flag to overwrite or not the filter values |   |
3541
+ | filterData | | the filter data or the UI filter data. |   |
3542
+ | qrveyid | | The Qrvey ID |   |
3533
3543
 
3534
3544
 
3535
3545
 
@@ -3537,13 +3547,17 @@ Gets a new dataset structure array by merging two dataset structures
3537
3547
  ##### Returns
3538
3548
 
3539
3549
 
3540
- - a new dataset structure array
3550
+ - true: the filter data has filters by the Qrvey ID
3541
3551
 
3542
3552
 
3543
3553
 
3544
- #### mergeFilterss(filters1, filters2, overwriteValues)
3545
3554
 
3546
- Gets a new filter structure array by merging two filter structures
3555
+ ### dist/filters/helpers/common/isBetweenValidator.js
3556
+
3557
+
3558
+ #### isBetweenValidator(validator)
3559
+
3560
+ Validates if the given validator is a Between type
3547
3561
 
3548
3562
 
3549
3563
 
@@ -3552,9 +3566,7 @@ Gets a new filter structure array by merging two filter structures
3552
3566
 
3553
3567
  | Name | Type | Description | |
3554
3568
  | ---- | ---- | ----------- | -------- |
3555
- | filters1 | | the target filter structure |   |
3556
- | filters2 | | the filter to be merged |   |
3557
- | overwriteValues | | Flag to overwrite or not the filter values |   |
3569
+ | validator | | The validator |   |
3558
3570
 
3559
3571
 
3560
3572
 
@@ -3562,13 +3574,17 @@ Gets a new filter structure array by merging two filter structures
3562
3574
  ##### Returns
3563
3575
 
3564
3576
 
3565
- - a new filter structure array
3577
+ - true: it is a between validator; false: it is not a between validator
3566
3578
 
3567
3579
 
3568
3580
 
3569
- #### mergeValues(filter1, filter2, overwrite)
3570
3581
 
3571
- Gets a new value structure array by merging two value structures
3582
+ ### dist/filters/helpers/common/isDateDistinctProperty.js
3583
+
3584
+
3585
+ #### isDateDistinctProperty(column, property)
3586
+
3587
+ Determines if the filter column and property is a distinct group dates type
3572
3588
 
3573
3589
 
3574
3590
 
@@ -3577,9 +3593,8 @@ Gets a new value structure array by merging two value structures
3577
3593
 
3578
3594
  | Name | Type | Description | |
3579
3595
  | ---- | ---- | ----------- | -------- |
3580
- | filter1 | | the target filter structure |   |
3581
- | filter2 | | the filter to be used to merge the values |   |
3582
- | overwrite | | Flag to overwrite or not the filter values |   |
3596
+ | column | | The filter column |   |
3597
+ | property | | The filter property |   |
3583
3598
 
3584
3599
 
3585
3600
 
@@ -3587,17 +3602,17 @@ Gets a new value structure array by merging two value structures
3587
3602
  ##### Returns
3588
3603
 
3589
3604
 
3590
- - a new value structure array
3605
+ - True if the given property is included from distinct group dates type
3591
3606
 
3592
3607
 
3593
3608
 
3594
3609
 
3595
- ### dist/filters/helpers/common/resolveDatasetConditions.js
3610
+ ### dist/filters/helpers/common/isInValidator.js
3596
3611
 
3597
3612
 
3598
- #### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3613
+ #### isInValidator(validator)
3599
3614
 
3600
- Resolves the conditions by given params
3615
+ Validates if the given validator is a In type
3601
3616
 
3602
3617
 
3603
3618
 
@@ -3606,10 +3621,7 @@ Resolves the conditions by given params
3606
3621
 
3607
3622
  | Name | Type | Description | |
3608
3623
  | ---- | ---- | ----------- | -------- |
3609
- | filter | | The dataset structure |   |
3610
- | params | | given parameters to validate the dataset |   |
3611
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3612
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3624
+ | validator | | The validator |   |
3613
3625
 
3614
3626
 
3615
3627
 
@@ -3617,17 +3629,17 @@ Resolves the conditions by given params
3617
3629
  ##### Returns
3618
3630
 
3619
3631
 
3620
- - true: the condition is satisfied
3632
+ - true: it is a In validator; false: it is not a In validator
3621
3633
 
3622
3634
 
3623
3635
 
3624
3636
 
3625
- ### dist/filters/helpers/common/resolveFilterConditions.js
3637
+ ### dist/filters/helpers/common/isNullValidator.js
3626
3638
 
3627
3639
 
3628
- #### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3640
+ #### isNullValidator(validator)
3629
3641
 
3630
- Resolves the conditions by given params
3642
+ Checks if the given validator is a Null type.
3631
3643
 
3632
3644
 
3633
3645
 
@@ -3636,10 +3648,7 @@ Resolves the conditions by given params
3636
3648
 
3637
3649
  | Name | Type | Description | |
3638
3650
  | ---- | ---- | ----------- | -------- |
3639
- | filter | | The filter |   |
3640
- | params | | given parameters to validate the filter |   |
3641
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3642
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3651
+ | validator | | The Filter Validator |   |
3643
3652
 
3644
3653
 
3645
3654
 
@@ -3647,17 +3656,17 @@ Resolves the conditions by given params
3647
3656
  ##### Returns
3648
3657
 
3649
3658
 
3650
- - true: the condition is satisfied
3659
+ - True: It is a Null Validator; False: It is not a Null Validator.
3651
3660
 
3652
3661
 
3653
3662
 
3654
3663
 
3655
- ### dist/filters/helpers/common/resolveScopeConditions.js
3664
+ ### dist/filters/helpers/common/isRangeValidator.js
3656
3665
 
3657
3666
 
3658
- #### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3667
+ #### isRangeValidator(validator)
3659
3668
 
3660
- Resolves the conditions by given params
3669
+ Validates if the given validator is a Range type. Range type means the value has min and max values to filter
3661
3670
 
3662
3671
 
3663
3672
 
@@ -3666,10 +3675,7 @@ Resolves the conditions by given params
3666
3675
 
3667
3676
  | Name | Type | Description | |
3668
3677
  | ---- | ---- | ----------- | -------- |
3669
- | filter | | The filter scope structure |   |
3670
- | params | | given parameters to validate the filter |   |
3671
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3672
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3678
+ | validator | | The filter validator |   |
3673
3679
 
3674
3680
 
3675
3681
 
@@ -3677,17 +3683,17 @@ Resolves the conditions by given params
3677
3683
  ##### Returns
3678
3684
 
3679
3685
 
3680
- - true: the condition is satisfied
3686
+ - true: it is a range validator
3681
3687
 
3682
3688
 
3683
3689
 
3684
3690
 
3685
- ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
3691
+ ### dist/filters/helpers/common/isRegularValidator.js
3686
3692
 
3687
3693
 
3688
- #### excludeUIFiltersByAggregate(uFilters)
3694
+ #### isRegularValidator(validator)
3689
3695
 
3690
- Excludes Aggregate Filters in the Flattened UI Filters array
3696
+ Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
3691
3697
 
3692
3698
 
3693
3699
 
@@ -3696,7 +3702,7 @@ Excludes Aggregate Filters in the Flattened UI Filters array
3696
3702
 
3697
3703
  | Name | Type | Description | |
3698
3704
  | ---- | ---- | ----------- | -------- |
3699
- | uFilters | | Collection of Flat UI Filters |   |
3705
+ | validator | | The filter validator |   |
3700
3706
 
3701
3707
 
3702
3708
 
@@ -3704,17 +3710,17 @@ Excludes Aggregate Filters in the Flattened UI Filters array
3704
3710
  ##### Returns
3705
3711
 
3706
3712
 
3707
- - a new Flat UI Filters that were excluded the aggregate filters
3713
+ - true: it is a range validator
3708
3714
 
3709
3715
 
3710
3716
 
3711
3717
 
3712
- ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
3718
+ ### dist/filters/helpers/common/mergeFilters.js
3713
3719
 
3714
3720
 
3715
- #### excludeUIFlatFiltersByScopes(uFilters, scopes)
3721
+ #### mergeFilters(filterData1, filterData2, overwriteValues)
3716
3722
 
3717
- Excludes and returns a UI Flat Filters without filters by the given scopes
3723
+ Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
3718
3724
 
3719
3725
 
3720
3726
 
@@ -3723,8 +3729,9 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
3723
3729
 
3724
3730
  | Name | Type | Description | |
3725
3731
  | ---- | ---- | ----------- | -------- |
3726
- | uFilters | | The Flatten UI Filters |   |
3727
- | scopes | | collection of scopes types |   |
3732
+ | filterData1 | | The target filter data |   |
3733
+ | filterData2 | | the filter data to be merged |   |
3734
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3728
3735
 
3729
3736
 
3730
3737
 
@@ -3732,17 +3739,13 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
3732
3739
  ##### Returns
3733
3740
 
3734
3741
 
3735
- - The new array of UI Flattened filters
3736
-
3737
-
3738
-
3742
+ - a new filter data structure
3739
3743
 
3740
- ### dist/filters/helpers/ui/getFilterPropertyLabel.js
3741
3744
 
3742
3745
 
3743
- #### getFilterPropertyLabel(filter)
3746
+ #### mergeScopes(scopes1, scopes2, overwriteValues)
3744
3747
 
3745
- Gets the label of the filter property
3748
+ Gets a new scope structure array by merging two scope structures
3746
3749
 
3747
3750
 
3748
3751
 
@@ -3751,7 +3754,9 @@ Gets the label of the filter property
3751
3754
 
3752
3755
  | Name | Type | Description | |
3753
3756
  | ---- | ---- | ----------- | -------- |
3754
- | filter | | The UI Filter |   |
3757
+ | scopes1 | | the target scope structure |   |
3758
+ | scopes2 | | the scope to be merged |   |
3759
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3755
3760
 
3756
3761
 
3757
3762
 
@@ -3759,17 +3764,13 @@ Gets the label of the filter property
3759
3764
  ##### Returns
3760
3765
 
3761
3766
 
3762
- - a string of the filter property label
3763
-
3764
-
3765
-
3767
+ - a new scope structure array
3766
3768
 
3767
- ### dist/filters/helpers/ui/getOutputFormatByColumn.js
3768
3769
 
3769
3770
 
3770
- #### getOutputFormatByColumn(column, datasets)
3771
+ #### mergeDatasets(datasets1, datasets2, overwriteValues)
3771
3772
 
3772
- Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
3773
+ Gets a new dataset structure array by merging two dataset structures
3773
3774
 
3774
3775
 
3775
3776
 
@@ -3778,8 +3779,9 @@ Gets output format object from Datasets by the given column. Item of the dataset
3778
3779
 
3779
3780
  | Name | Type | Description | |
3780
3781
  | ---- | ---- | ----------- | -------- |
3781
- | column | | The column |   |
3782
- | datasets | | array of datasets |   |
3782
+ | datasets1 | | the target dataset structure |   |
3783
+ | datasets2 | | the dataset to be merged |   |
3784
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3783
3785
 
3784
3786
 
3785
3787
 
@@ -3787,27 +3789,24 @@ Gets output format object from Datasets by the given column. Item of the dataset
3787
3789
  ##### Returns
3788
3790
 
3789
3791
 
3790
- - The output format object
3792
+ - a new dataset structure array
3791
3793
 
3792
3794
 
3793
3795
 
3796
+ #### mergeFilterss(filters1, filters2, overwriteValues)
3794
3797
 
3795
- ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
3798
+ Gets a new filter structure array by merging two filter structures
3796
3799
 
3797
3800
 
3798
- #### getUIFlatFilterByParams()
3799
3801
 
3800
- Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
3801
- The validation to filter the stored filter is depending on:
3802
- - Column
3803
- - Qrvey ID,
3804
- - Scope type
3805
- - Scope ID
3806
- - Panel ID
3807
- - Validator type
3808
- - Property type
3809
3802
 
3803
+ ##### Parameters
3810
3804
 
3805
+ | Name | Type | Description | |
3806
+ | ---- | ---- | ----------- | -------- |
3807
+ | filters1 | | the target filter structure |   |
3808
+ | filters2 | | the filter to be merged |   |
3809
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3811
3810
 
3812
3811
 
3813
3812
 
@@ -3815,28 +3814,24 @@ The validation to filter the stored filter is depending on:
3815
3814
  ##### Returns
3816
3815
 
3817
3816
 
3818
- - The index of the uFilter array or the Filter object s
3817
+ - a new filter structure array
3819
3818
 
3820
3819
 
3821
3820
 
3821
+ #### mergeValues(filter1, filter2, overwrite)
3822
3822
 
3823
- ### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
3823
+ Gets a new value structure array by merging two value structures
3824
3824
 
3825
3825
 
3826
- #### getUIFlatFiltersByParams()
3827
3826
 
3828
- Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
3829
- The validation to filter the stored filter is depending on:
3830
- - Column
3831
- - Qrvey ID,
3832
- - Scope type
3833
- - Scope ID
3834
- - Panel ID
3835
- - Validator type
3836
- - Property type
3837
- - Enabled flags
3838
3827
 
3828
+ ##### Parameters
3839
3829
 
3830
+ | Name | Type | Description | |
3831
+ | ---- | ---- | ----------- | -------- |
3832
+ | filter1 | | the target filter structure |   |
3833
+ | filter2 | | the filter to be used to merge the values |   |
3834
+ | overwrite | | Flag to overwrite or not the filter values |   |
3840
3835
 
3841
3836
 
3842
3837
 
@@ -3844,17 +3839,17 @@ The validation to filter the stored filter is depending on:
3844
3839
  ##### Returns
3845
3840
 
3846
3841
 
3847
- - The index of the uFilter array or the Filter object s
3842
+ - a new value structure array
3848
3843
 
3849
3844
 
3850
3845
 
3851
3846
 
3852
- ### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
3847
+ ### dist/filters/helpers/common/resolveDatasetConditions.js
3853
3848
 
3854
3849
 
3855
- #### getUIFlatFiltersByScopes(uFilters, scopes)
3850
+ #### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3856
3851
 
3857
- Filters and gets a UI Flatten Filters by the given scopes
3852
+ Resolves the conditions by given params
3858
3853
 
3859
3854
 
3860
3855
 
@@ -3863,8 +3858,10 @@ Filters and gets a UI Flatten Filters by the given scopes
3863
3858
 
3864
3859
  | Name | Type | Description | |
3865
3860
  | ---- | ---- | ----------- | -------- |
3866
- | uFilters | | The Flatten UI Filters |   |
3867
- | scopes | | collection of scopes types |   |
3861
+ | filter | | The dataset structure |   |
3862
+ | params | | given parameters to validate the dataset |   |
3863
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3864
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3868
3865
 
3869
3866
 
3870
3867
 
@@ -3872,17 +3869,17 @@ Filters and gets a UI Flatten Filters by the given scopes
3872
3869
  ##### Returns
3873
3870
 
3874
3871
 
3875
- - The new array of UI Flattened filters
3876
-
3872
+ - true: the condition is satisfied
3877
3873
 
3878
3874
 
3879
3875
 
3880
- ### dist/filters/helpers/ui/getUIValues.js
3881
3876
 
3877
+ ### dist/filters/helpers/common/resolveFilterConditions.js
3882
3878
 
3883
- #### getUIValues(filter, addEnableds, rankingGroupIndex)
3884
3879
 
3880
+ #### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3885
3881
 
3882
+ Resolves the conditions by given params
3886
3883
 
3887
3884
 
3888
3885
 
@@ -3891,9 +3888,10 @@ Filters and gets a UI Flatten Filters by the given scopes
3891
3888
 
3892
3889
  | Name | Type | Description | |
3893
3890
  | ---- | ---- | ----------- | -------- |
3894
- | filter | | |   |
3895
- | addEnableds | | |   |
3896
- | rankingGroupIndex | | |   |
3891
+ | filter | | The filter |   |
3892
+ | params | | given parameters to validate the filter |   |
3893
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3894
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3897
3895
 
3898
3896
 
3899
3897
 
@@ -3901,17 +3899,17 @@ Filters and gets a UI Flatten Filters by the given scopes
3901
3899
  ##### Returns
3902
3900
 
3903
3901
 
3904
- -
3902
+ - true: the condition is satisfied
3905
3903
 
3906
3904
 
3907
3905
 
3908
3906
 
3909
- ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
3907
+ ### dist/filters/helpers/common/resolveScopeConditions.js
3910
3908
 
3911
3909
 
3912
- #### resolveUIFlatFilterByParams(filter, params)
3910
+ #### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3913
3911
 
3914
- Resolves conditions between UI flattened filter and given parameters
3912
+ Resolves the conditions by given params
3915
3913
 
3916
3914
 
3917
3915
 
@@ -3920,8 +3918,10 @@ Resolves conditions between UI flattened filter and given parameters
3920
3918
 
3921
3919
  | Name | Type | Description | |
3922
3920
  | ---- | ---- | ----------- | -------- |
3923
- | filter | | UI Flatten Filter |   |
3924
- | params | | Parameters to validate |   |
3921
+ | filter | | The filter scope structure |   |
3922
+ | params | | given parameters to validate the filter |   |
3923
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3924
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3925
3925
 
3926
3926
 
3927
3927
 
@@ -3929,7 +3929,7 @@ Resolves conditions between UI flattened filter and given parameters
3929
3929
  ##### Returns
3930
3930
 
3931
3931
 
3932
- - true: the conditions are satisfied.
3932
+ - true: the condition is satisfied
3933
3933
 
3934
3934
 
3935
3935