@qrvey/utils 1.2.4-14 → 1.2.4-18

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 (471) hide show
  1. package/README.md +867 -481
  2. package/dist/cjs/columns/constants/COLUMN.d.ts +6 -6
  3. package/dist/cjs/columns/constants/COLUMN.js +8 -8
  4. package/dist/cjs/columns/constants/COLUMN_INFO.js +2 -1
  5. package/dist/cjs/columns/constants/COLUMN_INFO_LIST.js +2 -6
  6. package/dist/cjs/columns/constants/COLUMN_LABEL.d.ts +7 -6
  7. package/dist/cjs/columns/constants/COLUMN_LABEL.js +2 -1
  8. package/dist/cjs/columns/constants/NUMERICAL_COLUMN.d.ts +8 -0
  9. package/dist/cjs/columns/constants/NUMERICAL_COLUMN.js +12 -0
  10. package/dist/cjs/columns/constants/NUMERICAL_COLUMNS.d.ts +5 -0
  11. package/dist/cjs/columns/constants/NUMERICAL_COLUMNS.js +15 -0
  12. package/dist/cjs/columns/constants/NUMERICAL_COLUMN_INFO.d.ts +8 -0
  13. package/dist/cjs/columns/constants/NUMERICAL_COLUMN_INFO.js +16 -0
  14. package/dist/cjs/columns/constants/NUMERICAL_COLUMN_INFO_LIST.d.ts +5 -0
  15. package/dist/cjs/columns/constants/NUMERICAL_COLUMN_INFO_LIST.js +16 -0
  16. package/dist/cjs/columns/constants/NUMERICAL_COLUMN_LABEL.d.ts +8 -0
  17. package/dist/cjs/columns/constants/NUMERICAL_COLUMN_LABEL.js +12 -0
  18. package/dist/cjs/columns/constants/index.d.ts +5 -0
  19. package/dist/cjs/columns/constants/index.js +5 -0
  20. package/dist/cjs/columns/helpers/index.d.ts +1 -0
  21. package/dist/cjs/columns/helpers/index.js +1 -0
  22. package/dist/cjs/columns/helpers/isNumericalColumn.d.ts +2 -0
  23. package/dist/cjs/columns/helpers/isNumericalColumn.js +8 -0
  24. package/dist/cjs/columns/interfaces/IColumnType.d.ts +2 -1
  25. package/dist/cjs/columns/interfaces/INumericalColumnType.d.ts +2 -0
  26. package/dist/cjs/{globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js → columns/interfaces/INumericalColumnType.js} +0 -0
  27. package/dist/cjs/columns/interfaces/index.d.ts +3 -0
  28. package/dist/cjs/columns/interfaces/index.js +3 -0
  29. package/dist/cjs/dates/adapters/mdyDateToDate.d.ts +7 -0
  30. package/dist/cjs/dates/adapters/mdyDateToDate.js +21 -0
  31. package/dist/cjs/dates/adapters/monthYearToDate.d.ts +7 -0
  32. package/dist/cjs/dates/adapters/monthYearToDate.js +24 -0
  33. package/dist/cjs/dates/adapters/quarterYearToDate.d.ts +7 -0
  34. package/dist/cjs/dates/adapters/quarterYearToDate.js +24 -0
  35. package/dist/cjs/dates/adapters/weekYearToDate.d.ts +7 -0
  36. package/dist/cjs/dates/adapters/weekYearToDate.js +32 -0
  37. package/dist/cjs/dates/adapters/yearToDate.d.ts +7 -0
  38. package/dist/cjs/dates/adapters/yearToDate.js +22 -0
  39. package/dist/cjs/dates/constants/DATE_FORMAT.d.ts +16 -14
  40. package/dist/cjs/dates/constants/DATE_FORMAT.js +23 -18
  41. package/dist/cjs/dates/constants/DATE_REGULAR_EXPRESSION.d.ts +19 -1
  42. package/dist/cjs/dates/constants/DATE_REGULAR_EXPRESSION.js +29 -5
  43. package/dist/cjs/dates/constants/DATE_YEAR_QUARTERS_RANGE.d.ts +18 -0
  44. package/dist/cjs/dates/constants/DATE_YEAR_QUARTERS_RANGE.js +21 -0
  45. package/dist/cjs/dates/constants/index.d.ts +1 -0
  46. package/dist/cjs/dates/constants/index.js +1 -0
  47. package/dist/cjs/dates/helpers/getDateByDateFormat.d.ts +9 -0
  48. package/dist/cjs/dates/helpers/getDateByDateFormat.js +36 -0
  49. package/dist/cjs/dates/helpers/getDateFormatByProperty.d.ts +8 -0
  50. package/dist/cjs/dates/helpers/getDateFormatByProperty.js +27 -0
  51. package/dist/cjs/dates/helpers/getDateFormatRegularExpressionInArray.d.ts +7 -0
  52. package/dist/cjs/dates/helpers/getDateFormatRegularExpressionInArray.js +47 -0
  53. package/dist/cjs/dates/helpers/getSeparatorByDateFormat.d.ts +7 -0
  54. package/dist/cjs/dates/helpers/getSeparatorByDateFormat.js +15 -0
  55. package/dist/cjs/dates/helpers/getWeek.d.ts +11 -0
  56. package/dist/cjs/dates/helpers/getWeek.js +25 -0
  57. package/dist/cjs/dates/helpers/index.d.ts +6 -0
  58. package/dist/cjs/dates/helpers/index.js +18 -0
  59. package/dist/cjs/dates/helpers/validateDate.d.ts +11 -0
  60. package/dist/cjs/dates/helpers/validateDate.js +24 -0
  61. package/dist/cjs/dates/helpers/validateDateByDateFormat.d.ts +8 -0
  62. package/dist/cjs/dates/helpers/validateDateByDateFormat.js +26 -0
  63. package/dist/cjs/dates/index.d.ts +1 -0
  64. package/dist/cjs/dates/index.js +1 -0
  65. package/dist/cjs/filters/classes/FilterInputErrorHandler.d.ts +27 -0
  66. package/dist/cjs/filters/classes/FilterInputErrorHandler.js +15 -0
  67. package/dist/cjs/filters/classes/index.d.ts +1 -0
  68. package/dist/cjs/filters/classes/index.js +13 -0
  69. package/dist/cjs/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.d.ts +5 -0
  70. package/dist/cjs/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.js +9 -0
  71. package/dist/cjs/filters/index.d.ts +1 -0
  72. package/dist/cjs/filters/index.js +1 -0
  73. package/dist/cjs/general/mix/index.d.ts +1 -0
  74. package/dist/cjs/general/mix/index.js +1 -0
  75. package/dist/cjs/general/mix/isNaNV2.d.ts +8 -0
  76. package/dist/cjs/general/mix/isNaNV2.js +15 -0
  77. package/dist/cjs/globalization/interfaces/II18nServiceTranslateOption.d.ts +2 -1
  78. package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +18 -10
  79. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilder.d.ts +24 -0
  80. package/dist/cjs/globalization/interfaces/{filters/II18nValueContainerSearchInputEnterValue.js → bucket_builder/II18nBucketBuilder.js} +0 -0
  81. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.d.ts +15 -0
  82. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.js +2 -0
  83. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +33 -0
  84. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.js +2 -0
  85. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.d.ts +15 -0
  86. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.js +2 -0
  87. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.d.ts +6 -0
  88. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.js +2 -0
  89. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.d.ts +6 -0
  90. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.js +2 -0
  91. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +6 -0
  92. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.js +2 -0
  93. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.d.ts +5 -0
  94. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.js +2 -0
  95. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +7 -0
  96. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.js +2 -0
  97. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +5 -0
  98. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.js +2 -0
  99. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +11 -0
  100. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.js +2 -0
  101. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.d.ts +6 -0
  102. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.js +2 -0
  103. package/dist/cjs/globalization/interfaces/bucket_builder/index.d.ts +12 -0
  104. package/dist/cjs/globalization/interfaces/bucket_builder/index.js +24 -0
  105. package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +6 -6
  106. package/dist/cjs/globalization/interfaces/cross_tabs/II18nCrossTabs.d.ts +8 -0
  107. package/dist/cjs/globalization/interfaces/cross_tabs/II18nCrossTabs.js +2 -0
  108. package/dist/cjs/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.d.ts +5 -0
  109. package/dist/cjs/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.js +2 -0
  110. package/dist/cjs/globalization/interfaces/cross_tabs/index.d.ts +1 -0
  111. package/dist/cjs/globalization/interfaces/cross_tabs/index.js +13 -0
  112. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +5 -0
  113. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +4 -0
  114. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.d.ts +14 -0
  115. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.js +2 -0
  116. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +2 -2
  117. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderScopes.d.ts +10 -0
  118. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderScopes.js +2 -0
  119. package/dist/cjs/globalization/interfaces/filters/II18nFilterDisplay.d.ts +6 -0
  120. package/dist/cjs/globalization/interfaces/filters/II18nFilterDisplay.js +2 -0
  121. package/dist/cjs/globalization/interfaces/filters/II18nFilterOperator.d.ts +4 -0
  122. package/dist/cjs/globalization/interfaces/filters/II18nFilterOperator.js +2 -0
  123. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +17 -0
  124. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.js +2 -0
  125. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelCardAction.d.ts +6 -0
  126. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelCardAction.js +2 -0
  127. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.d.ts +6 -0
  128. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.js +2 -0
  129. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelEmptyState.d.ts +4 -0
  130. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelEmptyState.js +2 -0
  131. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelHeaderSection.d.ts +9 -0
  132. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelHeaderSection.js +2 -0
  133. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.d.ts +7 -0
  134. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.js +2 -0
  135. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.d.ts +5 -0
  136. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.js +2 -0
  137. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsSection.d.ts +10 -0
  138. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsSection.js +2 -0
  139. package/dist/cjs/globalization/interfaces/filters/II18nFilterScopes.d.ts +10 -0
  140. package/dist/cjs/globalization/interfaces/filters/II18nFilterScopes.js +2 -0
  141. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +3 -2
  142. package/dist/cjs/globalization/interfaces/filters/index.d.ts +13 -2
  143. package/dist/cjs/globalization/interfaces/filters/index.js +13 -2
  144. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +8 -0
  145. package/dist/cjs/globalization/interfaces/panel/II18nPanelEmbed.d.ts +7 -0
  146. package/dist/cjs/globalization/interfaces/panel/II18nPanelEmbed.js +2 -0
  147. package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryDisplay.d.ts +5 -0
  148. package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryDisplay.js +2 -0
  149. package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryFilter.d.ts +5 -0
  150. package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryFilter.js +2 -0
  151. package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryGroup.d.ts +7 -0
  152. package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryGroup.js +2 -0
  153. package/dist/cjs/globalization/interfaces/panel/index.d.ts +4 -0
  154. package/dist/cjs/globalization/interfaces/panel/index.js +4 -0
  155. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +11 -3
  156. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.d.ts +2 -0
  157. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +120 -0
  158. package/dist/cjs/globalization/labels/bucket_builder/index.d.ts +1 -0
  159. package/dist/cjs/globalization/labels/bucket_builder/index.js +13 -0
  160. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +6 -6
  161. package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +6 -6
  162. package/dist/cjs/globalization/labels/cross_tabs/I18N_CROSS_TABS.d.ts +2 -0
  163. package/dist/cjs/globalization/labels/cross_tabs/I18N_CROSS_TABS.js +14 -0
  164. package/dist/cjs/globalization/labels/cross_tabs/index.d.ts +1 -0
  165. package/dist/cjs/globalization/labels/cross_tabs/index.js +13 -0
  166. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +5 -0
  167. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +23 -5
  168. package/dist/cjs/globalization/labels/filters/I18N_FILTER_DISPLAY.d.ts +2 -0
  169. package/dist/cjs/globalization/labels/filters/I18N_FILTER_DISPLAY.js +9 -0
  170. package/dist/cjs/globalization/labels/filters/I18N_FILTER_OPERATOR.d.ts +2 -0
  171. package/dist/cjs/globalization/labels/filters/I18N_FILTER_OPERATOR.js +7 -0
  172. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.d.ts +2 -0
  173. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +50 -0
  174. package/dist/cjs/globalization/labels/filters/I18N_FILTER_SCOPE.d.ts +2 -0
  175. package/dist/cjs/globalization/labels/filters/I18N_FILTER_SCOPE.js +14 -0
  176. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CURSOR.d.ts +1 -1
  177. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CURSOR.js +4 -4
  178. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -5
  179. package/dist/cjs/globalization/labels/filters/index.d.ts +4 -0
  180. package/dist/cjs/globalization/labels/filters/index.js +4 -0
  181. package/dist/cjs/globalization/labels/index.d.ts +1 -0
  182. package/dist/cjs/globalization/labels/index.js +1 -0
  183. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +24 -0
  184. package/dist/columns/constants/COLUMN.d.ts +6 -6
  185. package/dist/columns/constants/COLUMN.js +8 -8
  186. package/dist/columns/constants/COLUMN_INFO.js +2 -1
  187. package/dist/columns/constants/COLUMN_INFO_LIST.js +2 -6
  188. package/dist/columns/constants/COLUMN_LABEL.d.ts +7 -6
  189. package/dist/columns/constants/COLUMN_LABEL.js +2 -1
  190. package/dist/columns/constants/NUMERICAL_COLUMN.d.ts +8 -0
  191. package/dist/columns/constants/NUMERICAL_COLUMN.js +9 -0
  192. package/dist/columns/constants/NUMERICAL_COLUMNS.d.ts +5 -0
  193. package/dist/columns/constants/NUMERICAL_COLUMNS.js +12 -0
  194. package/dist/columns/constants/NUMERICAL_COLUMN_INFO.d.ts +8 -0
  195. package/dist/columns/constants/NUMERICAL_COLUMN_INFO.js +13 -0
  196. package/dist/columns/constants/NUMERICAL_COLUMN_INFO_LIST.d.ts +5 -0
  197. package/dist/columns/constants/NUMERICAL_COLUMN_INFO_LIST.js +13 -0
  198. package/dist/columns/constants/NUMERICAL_COLUMN_LABEL.d.ts +8 -0
  199. package/dist/columns/constants/NUMERICAL_COLUMN_LABEL.js +9 -0
  200. package/dist/columns/constants/index.d.ts +5 -0
  201. package/dist/columns/constants/index.js +5 -0
  202. package/dist/columns/helpers/index.d.ts +1 -0
  203. package/dist/columns/helpers/index.js +1 -0
  204. package/dist/columns/helpers/isNumericalColumn.d.ts +2 -0
  205. package/dist/columns/helpers/isNumericalColumn.js +4 -0
  206. package/dist/columns/interfaces/IColumnType.d.ts +2 -1
  207. package/dist/columns/interfaces/INumericalColumnType.d.ts +2 -0
  208. package/dist/{globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js → columns/interfaces/INumericalColumnType.js} +0 -0
  209. package/dist/columns/interfaces/index.d.ts +3 -0
  210. package/dist/columns/interfaces/index.js +3 -0
  211. package/dist/dates/adapters/mdyDateToDate.d.ts +7 -0
  212. package/dist/dates/adapters/mdyDateToDate.js +17 -0
  213. package/dist/dates/adapters/monthYearToDate.d.ts +7 -0
  214. package/dist/dates/adapters/monthYearToDate.js +20 -0
  215. package/dist/dates/adapters/quarterYearToDate.d.ts +7 -0
  216. package/dist/dates/adapters/quarterYearToDate.js +20 -0
  217. package/dist/dates/adapters/weekYearToDate.d.ts +7 -0
  218. package/dist/dates/adapters/weekYearToDate.js +28 -0
  219. package/dist/dates/adapters/yearToDate.d.ts +7 -0
  220. package/dist/dates/adapters/yearToDate.js +18 -0
  221. package/dist/dates/constants/DATE_FORMAT.d.ts +16 -14
  222. package/dist/dates/constants/DATE_FORMAT.js +23 -18
  223. package/dist/dates/constants/DATE_REGULAR_EXPRESSION.d.ts +19 -1
  224. package/dist/dates/constants/DATE_REGULAR_EXPRESSION.js +29 -5
  225. package/dist/dates/constants/DATE_YEAR_QUARTERS_RANGE.d.ts +18 -0
  226. package/dist/dates/constants/DATE_YEAR_QUARTERS_RANGE.js +18 -0
  227. package/dist/dates/constants/index.d.ts +1 -0
  228. package/dist/dates/constants/index.js +1 -0
  229. package/dist/dates/helpers/getDateByDateFormat.d.ts +9 -0
  230. package/dist/dates/helpers/getDateByDateFormat.js +32 -0
  231. package/dist/dates/helpers/getDateFormatByProperty.d.ts +8 -0
  232. package/dist/dates/helpers/getDateFormatByProperty.js +23 -0
  233. package/dist/dates/helpers/getDateFormatRegularExpressionInArray.d.ts +7 -0
  234. package/dist/dates/helpers/getDateFormatRegularExpressionInArray.js +43 -0
  235. package/dist/dates/helpers/getSeparatorByDateFormat.d.ts +7 -0
  236. package/dist/dates/helpers/getSeparatorByDateFormat.js +11 -0
  237. package/dist/dates/helpers/getWeek.d.ts +11 -0
  238. package/dist/dates/helpers/getWeek.js +21 -0
  239. package/dist/dates/helpers/index.d.ts +6 -0
  240. package/dist/dates/helpers/index.js +6 -0
  241. package/dist/dates/helpers/validateDate.d.ts +11 -0
  242. package/dist/dates/helpers/validateDate.js +20 -0
  243. package/dist/dates/helpers/validateDateByDateFormat.d.ts +8 -0
  244. package/dist/dates/helpers/validateDateByDateFormat.js +22 -0
  245. package/dist/dates/index.d.ts +1 -0
  246. package/dist/dates/index.js +1 -0
  247. package/dist/filters/classes/FilterInputErrorHandler.d.ts +27 -0
  248. package/dist/filters/classes/FilterInputErrorHandler.js +11 -0
  249. package/dist/filters/classes/index.d.ts +1 -0
  250. package/dist/filters/classes/index.js +1 -0
  251. package/dist/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.d.ts +5 -0
  252. package/dist/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.js +6 -0
  253. package/dist/filters/index.d.ts +1 -0
  254. package/dist/filters/index.js +1 -0
  255. package/dist/general/mix/index.d.ts +1 -0
  256. package/dist/general/mix/index.js +1 -0
  257. package/dist/general/mix/isNaNV2.d.ts +8 -0
  258. package/dist/general/mix/isNaNV2.js +11 -0
  259. package/dist/globalization/interfaces/II18nServiceTranslateOption.d.ts +2 -1
  260. package/dist/globalization/interfaces/IResourceI18n.d.ts +18 -10
  261. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilder.d.ts +24 -0
  262. package/dist/globalization/interfaces/{filters/II18nValueContainerSearchInputEnterValue.js → bucket_builder/II18nBucketBuilder.js} +0 -0
  263. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.d.ts +15 -0
  264. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.js +1 -0
  265. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +33 -0
  266. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.js +1 -0
  267. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.d.ts +15 -0
  268. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.js +1 -0
  269. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.d.ts +6 -0
  270. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.js +1 -0
  271. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.d.ts +6 -0
  272. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.js +1 -0
  273. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +6 -0
  274. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.js +1 -0
  275. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.d.ts +5 -0
  276. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.js +1 -0
  277. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +7 -0
  278. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.js +1 -0
  279. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +5 -0
  280. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.js +1 -0
  281. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +11 -0
  282. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.js +1 -0
  283. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.d.ts +6 -0
  284. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.js +1 -0
  285. package/dist/globalization/interfaces/bucket_builder/index.d.ts +12 -0
  286. package/dist/globalization/interfaces/bucket_builder/index.js +12 -0
  287. package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +6 -6
  288. package/dist/globalization/interfaces/cross_tabs/II18nCrossTabs.d.ts +8 -0
  289. package/dist/globalization/interfaces/cross_tabs/II18nCrossTabs.js +1 -0
  290. package/dist/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.d.ts +5 -0
  291. package/dist/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.js +1 -0
  292. package/dist/globalization/interfaces/cross_tabs/index.d.ts +1 -0
  293. package/dist/globalization/interfaces/cross_tabs/index.js +1 -0
  294. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +5 -0
  295. package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +4 -0
  296. package/dist/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.d.ts +14 -0
  297. package/dist/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.js +1 -0
  298. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +2 -2
  299. package/dist/globalization/interfaces/filters/II18nFilterBuilderScopes.d.ts +10 -0
  300. package/dist/globalization/interfaces/filters/II18nFilterBuilderScopes.js +1 -0
  301. package/dist/globalization/interfaces/filters/II18nFilterDisplay.d.ts +6 -0
  302. package/dist/globalization/interfaces/filters/II18nFilterDisplay.js +1 -0
  303. package/dist/globalization/interfaces/filters/II18nFilterOperator.d.ts +4 -0
  304. package/dist/globalization/interfaces/filters/II18nFilterOperator.js +1 -0
  305. package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +17 -0
  306. package/dist/globalization/interfaces/filters/II18nFilterPanel.js +1 -0
  307. package/dist/globalization/interfaces/filters/II18nFilterPanelCardAction.d.ts +6 -0
  308. package/dist/globalization/interfaces/filters/II18nFilterPanelCardAction.js +1 -0
  309. package/dist/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.d.ts +6 -0
  310. package/dist/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.js +1 -0
  311. package/dist/globalization/interfaces/filters/II18nFilterPanelEmptyState.d.ts +4 -0
  312. package/dist/globalization/interfaces/filters/II18nFilterPanelEmptyState.js +1 -0
  313. package/dist/globalization/interfaces/filters/II18nFilterPanelHeaderSection.d.ts +9 -0
  314. package/dist/globalization/interfaces/filters/II18nFilterPanelHeaderSection.js +1 -0
  315. package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.d.ts +7 -0
  316. package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.js +1 -0
  317. package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.d.ts +5 -0
  318. package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.js +1 -0
  319. package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsSection.d.ts +10 -0
  320. package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsSection.js +1 -0
  321. package/dist/globalization/interfaces/filters/II18nFilterScopes.d.ts +10 -0
  322. package/dist/globalization/interfaces/filters/II18nFilterScopes.js +1 -0
  323. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +3 -2
  324. package/dist/globalization/interfaces/filters/index.d.ts +13 -2
  325. package/dist/globalization/interfaces/filters/index.js +13 -2
  326. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +8 -0
  327. package/dist/globalization/interfaces/panel/II18nPanelEmbed.d.ts +7 -0
  328. package/dist/globalization/interfaces/panel/II18nPanelEmbed.js +1 -0
  329. package/dist/globalization/interfaces/panel/II18nPanelSummaryDisplay.d.ts +5 -0
  330. package/dist/globalization/interfaces/panel/II18nPanelSummaryDisplay.js +1 -0
  331. package/dist/globalization/interfaces/panel/II18nPanelSummaryFilter.d.ts +5 -0
  332. package/dist/globalization/interfaces/panel/II18nPanelSummaryFilter.js +1 -0
  333. package/dist/globalization/interfaces/panel/II18nPanelSummaryGroup.d.ts +7 -0
  334. package/dist/globalization/interfaces/panel/II18nPanelSummaryGroup.js +1 -0
  335. package/dist/globalization/interfaces/panel/index.d.ts +4 -0
  336. package/dist/globalization/interfaces/panel/index.js +4 -0
  337. package/dist/globalization/labels/I18N_DEFAULT.js +11 -3
  338. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.d.ts +2 -0
  339. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +117 -0
  340. package/dist/globalization/labels/bucket_builder/index.d.ts +1 -0
  341. package/dist/globalization/labels/bucket_builder/index.js +1 -0
  342. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +6 -6
  343. package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +6 -6
  344. package/dist/globalization/labels/cross_tabs/I18N_CROSS_TABS.d.ts +2 -0
  345. package/dist/globalization/labels/cross_tabs/I18N_CROSS_TABS.js +11 -0
  346. package/dist/globalization/labels/cross_tabs/index.d.ts +1 -0
  347. package/dist/globalization/labels/cross_tabs/index.js +1 -0
  348. package/dist/globalization/labels/filters/I18N_FILTER.js +5 -0
  349. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +23 -5
  350. package/dist/globalization/labels/filters/I18N_FILTER_DISPLAY.d.ts +2 -0
  351. package/dist/globalization/labels/filters/I18N_FILTER_DISPLAY.js +6 -0
  352. package/dist/globalization/labels/filters/I18N_FILTER_OPERATOR.d.ts +2 -0
  353. package/dist/globalization/labels/filters/I18N_FILTER_OPERATOR.js +4 -0
  354. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.d.ts +2 -0
  355. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +47 -0
  356. package/dist/globalization/labels/filters/I18N_FILTER_SCOPE.d.ts +2 -0
  357. package/dist/globalization/labels/filters/I18N_FILTER_SCOPE.js +11 -0
  358. package/dist/globalization/labels/filters/I18N_RELATIVE_CURSOR.d.ts +1 -1
  359. package/dist/globalization/labels/filters/I18N_RELATIVE_CURSOR.js +1 -1
  360. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -5
  361. package/dist/globalization/labels/filters/index.d.ts +4 -0
  362. package/dist/globalization/labels/filters/index.js +4 -0
  363. package/dist/globalization/labels/index.d.ts +1 -0
  364. package/dist/globalization/labels/index.js +1 -0
  365. package/dist/globalization/labels/panel/I18N_PANEL.js +24 -0
  366. package/package.json +2 -2
  367. package/src/columns/constants/COLUMN.ts +9 -9
  368. package/src/columns/constants/COLUMN_INFO.ts +2 -6
  369. package/src/columns/constants/COLUMN_INFO_LIST.ts +2 -6
  370. package/src/columns/constants/COLUMN_LABEL.ts +3 -7
  371. package/src/columns/constants/NUMERICAL_COLUMN.ts +8 -0
  372. package/src/columns/constants/NUMERICAL_COLUMNS.ts +13 -0
  373. package/src/columns/constants/NUMERICAL_COLUMN_INFO.ts +16 -0
  374. package/src/columns/constants/NUMERICAL_COLUMN_INFO_LIST.ts +15 -0
  375. package/src/columns/constants/NUMERICAL_COLUMN_LABEL.ts +8 -0
  376. package/src/columns/constants/index.ts +6 -0
  377. package/src/columns/helpers/index.ts +1 -0
  378. package/src/columns/helpers/isNumericalColumn.ts +7 -0
  379. package/src/columns/interfaces/IColumnType.ts +2 -1
  380. package/src/columns/interfaces/INumericalColumnType.ts +4 -0
  381. package/src/columns/interfaces/index.ts +4 -0
  382. package/src/dates/adapters/mdyDateToDate.ts +18 -0
  383. package/src/dates/adapters/monthYearToDate.ts +21 -0
  384. package/src/dates/adapters/quarterYearToDate.ts +21 -0
  385. package/src/dates/adapters/weekYearToDate.ts +28 -0
  386. package/src/dates/adapters/yearToDate.ts +20 -0
  387. package/src/dates/constants/DATE_FORMAT.ts +23 -18
  388. package/src/dates/constants/DATE_REGULAR_EXPRESSION.ts +32 -5
  389. package/src/dates/constants/DATE_YEAR_QUARTERS_RANGE.ts +18 -0
  390. package/src/dates/constants/index.ts +1 -0
  391. package/src/dates/helpers/getDateByDateFormat.ts +34 -0
  392. package/src/dates/helpers/getDateFormatByProperty.ts +26 -0
  393. package/src/dates/helpers/getDateFormatRegularExpressionInArray.ts +45 -0
  394. package/src/dates/helpers/getSeparatorByDateFormat.ts +13 -0
  395. package/src/dates/helpers/getWeek.ts +21 -0
  396. package/src/dates/helpers/index.ts +6 -0
  397. package/src/dates/helpers/validateDate.ts +22 -0
  398. package/src/dates/helpers/validateDateByDateFormat.ts +25 -0
  399. package/src/dates/index.ts +1 -0
  400. package/src/filters/classes/FilterInputErrorHandler.ts +213 -0
  401. package/src/filters/classes/index.ts +1 -0
  402. package/src/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.ts +7 -0
  403. package/src/filters/index.ts +1 -0
  404. package/src/general/mix/index.ts +1 -0
  405. package/src/general/mix/isNaNV2.ts +12 -0
  406. package/src/globalization/interfaces/II18nServiceTranslateOption.ts +3 -2
  407. package/src/globalization/interfaces/IResourceI18n.ts +18 -11
  408. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilder.ts +25 -0
  409. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.ts +15 -0
  410. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.ts +33 -0
  411. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.ts +15 -0
  412. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.ts +6 -0
  413. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.ts +6 -0
  414. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.ts +6 -0
  415. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.ts +5 -0
  416. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +7 -0
  417. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.ts +5 -0
  418. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.ts +11 -0
  419. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.ts +6 -0
  420. package/src/globalization/interfaces/bucket_builder/index.ts +12 -0
  421. package/src/globalization/interfaces/common/II18nColumnProperties.ts +6 -6
  422. package/src/globalization/interfaces/cross_tabs/II18nCrossTabs.ts +9 -0
  423. package/src/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.ts +5 -0
  424. package/src/globalization/interfaces/cross_tabs/index.ts +1 -0
  425. package/src/globalization/interfaces/filters/II18nFilter.ts +5 -0
  426. package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +4 -0
  427. package/src/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.ts +14 -0
  428. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +2 -3
  429. package/src/globalization/interfaces/filters/II18nFilterBuilderScopes.ts +10 -0
  430. package/src/globalization/interfaces/filters/II18nFilterDisplay.ts +6 -0
  431. package/src/globalization/interfaces/filters/II18nFilterOperator.ts +4 -0
  432. package/src/globalization/interfaces/filters/II18nFilterPanel.ts +18 -0
  433. package/src/globalization/interfaces/filters/II18nFilterPanelCardAction.ts +6 -0
  434. package/src/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.ts +6 -0
  435. package/src/globalization/interfaces/filters/II18nFilterPanelEmptyState.ts +4 -0
  436. package/src/globalization/interfaces/filters/II18nFilterPanelHeaderSection.ts +9 -0
  437. package/src/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.ts +7 -0
  438. package/src/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.ts +5 -0
  439. package/src/globalization/interfaces/filters/II18nFilterPanelSettingsSection.ts +10 -0
  440. package/src/globalization/interfaces/filters/II18nFilterScopes.ts +10 -0
  441. package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +3 -3
  442. package/src/globalization/interfaces/filters/index.ts +15 -2
  443. package/src/globalization/interfaces/panel/II18nPanel.ts +8 -1
  444. package/src/globalization/interfaces/panel/II18nPanelEmbed.ts +7 -0
  445. package/src/globalization/interfaces/panel/II18nPanelSummaryDisplay.ts +5 -0
  446. package/src/globalization/interfaces/panel/II18nPanelSummaryFilter.ts +5 -0
  447. package/src/globalization/interfaces/panel/II18nPanelSummaryGroup.ts +7 -0
  448. package/src/globalization/interfaces/panel/index.ts +4 -0
  449. package/src/globalization/labels/I18N_DEFAULT.ts +11 -3
  450. package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +119 -0
  451. package/src/globalization/labels/bucket_builder/index.ts +1 -0
  452. package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +6 -6
  453. package/src/globalization/labels/cross_tabs/I18N_CROSS_TABS.ts +14 -0
  454. package/src/globalization/labels/cross_tabs/index.ts +1 -0
  455. package/src/globalization/labels/filters/I18N_FILTER.ts +5 -0
  456. package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +23 -5
  457. package/src/globalization/labels/filters/I18N_FILTER_DISPLAY.ts +8 -0
  458. package/src/globalization/labels/filters/I18N_FILTER_OPERATOR.ts +6 -0
  459. package/src/globalization/labels/filters/I18N_FILTER_PANEL.ts +49 -0
  460. package/src/globalization/labels/filters/I18N_FILTER_SCOPE.ts +13 -0
  461. package/src/globalization/labels/filters/I18N_RELATIVE_CURSOR.ts +1 -1
  462. package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +3 -5
  463. package/src/globalization/labels/filters/index.ts +4 -1
  464. package/src/globalization/labels/index.ts +1 -1
  465. package/src/globalization/labels/panel/I18N_PANEL.ts +24 -0
  466. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
  467. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
  468. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
  469. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
  470. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +0 -4
  471. package/src/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.ts +0 -5
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-14*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-18*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -80,6 +80,401 @@ Get a text and evaluate if it matchs with a token box label.
80
80
 
81
81
 
82
82
 
83
+ ### dist/dates/adapters/mdyDateToDate.js
84
+
85
+
86
+ #### mdyDateToDate(monthYearDate, time)
87
+
88
+ Transforms String Date from a [mm/dd/yyyy] format to Date object.
89
+
90
+
91
+
92
+
93
+ ##### Parameters
94
+
95
+ | Name | Type | Description | |
96
+ | ---- | ---- | ----------- | -------- |
97
+ | monthYearDate | | String of [mm/dd/yyyy] date |   |
98
+ | time | | Flag to parse the object date to milliseconds. |   |
99
+
100
+
101
+
102
+
103
+ ##### Returns
104
+
105
+
106
+ - The date object or the date in milliseconds
107
+
108
+
109
+
110
+
111
+ ### dist/dates/adapters/monthYearToDate.js
112
+
113
+
114
+ #### monthYearToDate(monthYearDate, time)
115
+
116
+ Transforms String Date from a [Month Year] format to Date object.
117
+
118
+
119
+
120
+
121
+ ##### Parameters
122
+
123
+ | Name | Type | Description | |
124
+ | ---- | ---- | ----------- | -------- |
125
+ | monthYearDate | | String of [Month Year] date |   |
126
+ | time | | Flag to parse the object date to milliseconds. |   |
127
+
128
+
129
+
130
+
131
+ ##### Returns
132
+
133
+
134
+ - The date object or the date in milliseconds
135
+
136
+
137
+
138
+
139
+ ### dist/dates/adapters/quarterYearToDate.js
140
+
141
+
142
+ #### quarterYearToDate(quarterYearDate, time)
143
+
144
+ Transforms String Date from a [Quarter Year] format to Date object.
145
+
146
+
147
+
148
+
149
+ ##### Parameters
150
+
151
+ | Name | Type | Description | |
152
+ | ---- | ---- | ----------- | -------- |
153
+ | quarterYearDate | | String of [Quarter Year] date |   |
154
+ | time | | Flag to parse the object date to milliseconds. |   |
155
+
156
+
157
+
158
+
159
+ ##### Returns
160
+
161
+
162
+ - The date object or the date in milliseconds
163
+
164
+
165
+
166
+
167
+ ### dist/dates/adapters/weekYearToDate.js
168
+
169
+
170
+ #### weekYearToDate(date, time)
171
+
172
+ Transforms String Date from a [Week Year] format to Date object.
173
+
174
+
175
+
176
+
177
+ ##### Parameters
178
+
179
+ | Name | Type | Description | |
180
+ | ---- | ---- | ----------- | -------- |
181
+ | date | | String of [Week Year] date |   |
182
+ | time | | Flag to parse the object date to milliseconds. |   |
183
+
184
+
185
+
186
+
187
+ ##### Returns
188
+
189
+
190
+ - The date object or the date in milliseconds
191
+
192
+
193
+
194
+
195
+ ### dist/dates/adapters/yearToDate.js
196
+
197
+
198
+ #### yearToDate(yearDate, time)
199
+
200
+ Transforms String Date from a [Year] format to Date object.
201
+
202
+
203
+
204
+
205
+ ##### Parameters
206
+
207
+ | Name | Type | Description | |
208
+ | ---- | ---- | ----------- | -------- |
209
+ | yearDate | | String of [Year] date |   |
210
+ | time | | Flag to parse the object date to milliseconds. |   |
211
+
212
+
213
+
214
+
215
+ ##### Returns
216
+
217
+
218
+ - The date object or the date in milliseconds
219
+
220
+
221
+
222
+
223
+ ### dist/dates/helpers/getDateByDateFormat.js
224
+
225
+
226
+ #### getDateByDateFormat(date, format, time)
227
+
228
+ Gets a Date Object instance by a Date format
229
+
230
+
231
+
232
+
233
+ ##### Parameters
234
+
235
+ | Name | Type | Description | |
236
+ | ---- | ---- | ----------- | -------- |
237
+ | date | | String with a formatted date |   |
238
+ | format | | The date format |   |
239
+ | time | | flag to convert the formatted date to miliseconds |   |
240
+
241
+
242
+
243
+
244
+ ##### Returns
245
+
246
+
247
+ - a Date object, milisecond time or the same value if date format does not match.
248
+
249
+
250
+
251
+
252
+ ### dist/dates/helpers/getDateFormatByProperty.js
253
+
254
+
255
+ #### getDateFormatByProperty(property)
256
+
257
+ Gets the date format by the given property
258
+
259
+
260
+
261
+
262
+ ##### Parameters
263
+
264
+ | Name | Type | Description | |
265
+ | ---- | ---- | ----------- | -------- |
266
+ | property | | The Column Property |   |
267
+
268
+
269
+
270
+
271
+ ##### Returns
272
+
273
+
274
+ - The date format
275
+
276
+
277
+
278
+
279
+ ### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
280
+
281
+
282
+ #### getDateFormatRegularExpressionInArray(dateFormat)
283
+
284
+ Gets an array of regular expressions by the given date format
285
+
286
+
287
+
288
+
289
+ ##### Parameters
290
+
291
+ | Name | Type | Description | |
292
+ | ---- | ---- | ----------- | -------- |
293
+ | dateFormat | | the date format |   |
294
+
295
+
296
+
297
+
298
+ ##### Returns
299
+
300
+
301
+ - an array of regular expressions
302
+
303
+
304
+
305
+
306
+ ### dist/dates/helpers/getSeparatorByDateFormat.js
307
+
308
+
309
+ #### getSeparatorByDateFormat(format)
310
+
311
+ Gets the separator of the date format
312
+
313
+
314
+
315
+
316
+ ##### Parameters
317
+
318
+ | Name | Type | Description | |
319
+ | ---- | ---- | ----------- | -------- |
320
+ | format | | the date format |   |
321
+
322
+
323
+
324
+
325
+ ##### Returns
326
+
327
+
328
+ - a separator string
329
+
330
+
331
+
332
+
333
+ ### dist/dates/helpers/getWeek.js
334
+
335
+
336
+ #### getWeek(date)
337
+
338
+ Gets the week number of the year
339
+ Additionally, the month and the year
340
+
341
+
342
+
343
+
344
+ ##### Parameters
345
+
346
+ | Name | Type | Description | |
347
+ | ---- | ---- | ----------- | -------- |
348
+ | date | | the date object |   |
349
+
350
+
351
+
352
+
353
+ ##### Returns
354
+
355
+
356
+ - an object with the week, month and year.
357
+
358
+
359
+
360
+
361
+ ### dist/dates/helpers/validateDate.js
362
+
363
+
364
+ #### validateDate(date, format)
365
+
366
+ Validate a string date depending on giving format
367
+ - If the string is a token label, the function lets it pass.
368
+ - Otherwise depends of the format
369
+ - Some escenarios the string is a mix of token labels and dates
370
+
371
+
372
+
373
+
374
+ ##### Parameters
375
+
376
+ | Name | Type | Description | |
377
+ | ---- | ---- | ----------- | -------- |
378
+ | date | | String of date |   |
379
+ | format | | String of the format to validate |   |
380
+
381
+
382
+
383
+
384
+ ##### Returns
385
+
386
+
387
+ - True if it is valid or not. Undefined if date is undefined
388
+
389
+
390
+
391
+
392
+ ### dist/dates/helpers/validateDateByDateFormat.js
393
+
394
+
395
+ #### validateDateByDateFormat(date, dateForma)
396
+
397
+ Validates the given string as Date by its date format.
398
+
399
+
400
+
401
+
402
+ ##### Parameters
403
+
404
+ | Name | Type | Description | |
405
+ | ---- | ---- | ----------- | -------- |
406
+ | date | | a string to validate as date form |   |
407
+ | dateForma | | the format of the date to validate the string |   |
408
+
409
+
410
+
411
+
412
+ ##### Returns
413
+
414
+
415
+ - true: the string is a valida date
416
+
417
+
418
+
419
+
420
+ ### dist/dates/range/getDateRange.js
421
+
422
+
423
+ #### getDateRange(value, dateGroupLabel, withTime)
424
+
425
+ Get date range object from a string date value
426
+
427
+
428
+
429
+
430
+ ##### Parameters
431
+
432
+ | Name | Type | Description | |
433
+ | ---- | ---- | ----------- | -------- |
434
+ | value | `String` | string date value |   |
435
+ | dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' |   |
436
+ | withTime | `Boolean` | determines if the date range will include time. Default is true |   |
437
+
438
+
439
+
440
+
441
+ ##### Examples
442
+
443
+ ```javascript
444
+ // 1) Year:
445
+ getDateRange('2020', 'YEAR');
446
+ // Will return:
447
+ {
448
+ from: '01/01/2020 00:00:00',
449
+ to: '12/31/2020 23:59:59'
450
+ }
451
+
452
+ // 2) Quarter:
453
+ getDateRange('Q3 2020', 'QUARTER');
454
+ // Will return:
455
+ {
456
+ from: '07/01/2020 00:00:00',
457
+ to: '09/30/2020 23:59:59'
458
+ }
459
+
460
+ // 3) Month:
461
+ getDateRange('Oct 2020', 'MONTH');
462
+ // Will return:
463
+ {
464
+ from: '10/01/2020 00:00:00',
465
+ to: '10/31/2020 23:59:59'
466
+ }
467
+ ```
468
+
469
+
470
+ ##### Returns
471
+
472
+
473
+ - `Object` an object with the date range with two string date properties: from and to
474
+
475
+
476
+
477
+
83
478
  ### dist/dates/relative/Adapter.js
84
479
 
85
480
 
@@ -293,64 +688,6 @@ Output:
293
688
 
294
689
 
295
690
 
296
- ### dist/dates/range/getDateRange.js
297
-
298
-
299
- #### getDateRange(value, dateGroupLabel, withTime)
300
-
301
- Get date range object from a string date value
302
-
303
-
304
-
305
-
306
- ##### Parameters
307
-
308
- | Name | Type | Description | |
309
- | ---- | ---- | ----------- | -------- |
310
- | value | `String` | string date value |   |
311
- | dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' |   |
312
- | withTime | `Boolean` | determines if the date range will include time. Default is true |   |
313
-
314
-
315
-
316
-
317
- ##### Examples
318
-
319
- ```javascript
320
- // 1) Year:
321
- getDateRange('2020', 'YEAR');
322
- // Will return:
323
- {
324
- from: '01/01/2020 00:00:00',
325
- to: '12/31/2020 23:59:59'
326
- }
327
-
328
- // 2) Quarter:
329
- getDateRange('Q3 2020', 'QUARTER');
330
- // Will return:
331
- {
332
- from: '07/01/2020 00:00:00',
333
- to: '09/30/2020 23:59:59'
334
- }
335
-
336
- // 3) Month:
337
- getDateRange('Oct 2020', 'MONTH');
338
- // Will return:
339
- {
340
- from: '10/01/2020 00:00:00',
341
- to: '10/31/2020 23:59:59'
342
- }
343
- ```
344
-
345
-
346
- ##### Returns
347
-
348
-
349
- - `Object` an object with the date range with two string date properties: from and to
350
-
351
-
352
-
353
-
354
691
  ### dist/filters/adapters/FDToFlatUI.js
355
692
 
356
693
 
@@ -1201,41 +1538,32 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1201
1538
 
1202
1539
 
1203
1540
 
1204
- ### dist/filters/helpers/applyHierarchyForAggFilters.js
1541
+ ### dist/filters/classes/FilterInputErrorHandler.js
1205
1542
 
1206
1543
 
1207
- #### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
1544
+ #### new FilterInputErrorHandler()
1208
1545
 
1209
- [TODO: Make a proper description for this function]
1210
1546
 
1211
1547
 
1212
1548
 
1213
1549
 
1214
- ##### Parameters
1215
-
1216
- | Name | Type | Description | |
1217
- | ---- | ---- | ----------- | -------- |
1218
- | chartSettings | | Chart Settings for the Filter Builder |   |
1219
- | scopes | | |   |
1220
- | currentScope | | |   |
1221
-
1222
1550
 
1223
1551
 
1224
1552
 
1225
1553
  ##### Returns
1226
1554
 
1227
1555
 
1228
- -
1556
+ - `Void`
1229
1557
 
1230
1558
 
1231
1559
 
1232
1560
 
1233
- ### dist/filters/helpers/getAvailableScopes.js
1561
+ ### dist/filters/helpers/applyHierarchyForAggFilters.js
1234
1562
 
1235
1563
 
1236
- #### getAvailableScopes(config)
1564
+ #### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
1237
1565
 
1238
- Gets Scopes/Scope IDs by given IDs
1566
+ [TODO: Make a proper description for this function]
1239
1567
 
1240
1568
 
1241
1569
 
@@ -1244,7 +1572,9 @@ Gets Scopes/Scope IDs by given IDs
1244
1572
 
1245
1573
  | Name | Type | Description | |
1246
1574
  | ---- | ---- | ----------- | -------- |
1247
- | config | | given Differnts IDs in order set a available scope |   |
1575
+ | chartSettings | | Chart Settings for the Filter Builder |   |
1576
+ | scopes | | |   |
1577
+ | currentScope | | |   |
1248
1578
 
1249
1579
 
1250
1580
 
@@ -1252,17 +1582,17 @@ Gets Scopes/Scope IDs by given IDs
1252
1582
  ##### Returns
1253
1583
 
1254
1584
 
1255
- - a Scopes/Scope IDs array
1585
+ -
1256
1586
 
1257
1587
 
1258
1588
 
1259
1589
 
1260
- ### dist/filters/helpers/getScopesByHierarchy.js
1590
+ ### dist/filters/helpers/getAvailableScopes.js
1261
1591
 
1262
1592
 
1263
- #### getScopesByHierarchy(scopes, currentScope)
1593
+ #### getAvailableScopes(config)
1264
1594
 
1265
- [TODO: Make a description for this]
1595
+ Gets Scopes/Scope IDs by given IDs
1266
1596
 
1267
1597
 
1268
1598
 
@@ -1271,8 +1601,7 @@ Gets Scopes/Scope IDs by given IDs
1271
1601
 
1272
1602
  | Name | Type | Description | |
1273
1603
  | ---- | ---- | ----------- | -------- |
1274
- | scopes | | the collection of Scopes/Scope IDs |   |
1275
- | currentScope | | Current scope type |   |
1604
+ | config | | given Differnts IDs in order set a available scope |   |
1276
1605
 
1277
1606
 
1278
1607
 
@@ -1280,7 +1609,7 @@ Gets Scopes/Scope IDs by given IDs
1280
1609
  ##### Returns
1281
1610
 
1282
1611
 
1283
- - A new array of Scopes/Scope IDs
1612
+ - a Scopes/Scope IDs array
1284
1613
 
1285
1614
 
1286
1615
 
@@ -1312,15 +1641,12 @@ Gets the Scopes IDS for the Available Scope function by any config
1312
1641
 
1313
1642
 
1314
1643
 
1315
- ### dist/general/array/filterNestedTree.js
1644
+ ### dist/filters/helpers/getScopesByHierarchy.js
1316
1645
 
1317
1646
 
1318
- #### filterNestedTree(arr, childArrKey, condition)
1647
+ #### getScopesByHierarchy(scopes, currentScope)
1319
1648
 
1320
- Filters a nested tree array by a custom condition on the last child node
1321
- - If the given arguments are not valid, the function returns the first argument.
1322
- - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
1323
- - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
1649
+ [TODO: Make a description for this]
1324
1650
 
1325
1651
 
1326
1652
 
@@ -1329,9 +1655,8 @@ Filters a nested tree array by a custom condition on the last child node
1329
1655
 
1330
1656
  | Name | Type | Description | |
1331
1657
  | ---- | ---- | ----------- | -------- |
1332
- | arr | | nested tree array |   |
1333
- | childArrKey | | property representing the children array on the nested tree |   |
1334
- | condition | | function callback that determines if the filter is applied on the last child node of the nested tree |   |
1658
+ | scopes | | the collection of Scopes/Scope IDs |   |
1659
+ | currentScope | | Current scope type |   |
1335
1660
 
1336
1661
 
1337
1662
 
@@ -1339,7 +1664,7 @@ Filters a nested tree array by a custom condition on the last child node
1339
1664
  ##### Returns
1340
1665
 
1341
1666
 
1342
- - array filtered
1667
+ - A new array of Scopes/Scope IDs
1343
1668
 
1344
1669
 
1345
1670
 
@@ -1372,12 +1697,15 @@ Inmutable Array Item deletion
1372
1697
 
1373
1698
 
1374
1699
 
1375
- ### dist/general/array/flattenDeep.js
1700
+ ### dist/general/array/filterNestedTree.js
1376
1701
 
1377
1702
 
1378
- #### flattenDeep(arr)
1703
+ #### filterNestedTree(arr, childArrKey, condition)
1379
1704
 
1380
- Flat deeply an array
1705
+ Filters a nested tree array by a custom condition on the last child node
1706
+ - If the given arguments are not valid, the function returns the first argument.
1707
+ - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
1708
+ - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
1381
1709
 
1382
1710
 
1383
1711
 
@@ -1386,7 +1714,9 @@ Flat deeply an array
1386
1714
 
1387
1715
  | Name | Type | Description | |
1388
1716
  | ---- | ---- | ----------- | -------- |
1389
- | arr | | Array to flat deeply |   |
1717
+ | arr | | nested tree array |   |
1718
+ | childArrKey | | property representing the children array on the nested tree |   |
1719
+ | condition | | function callback that determines if the filter is applied on the last child node of the nested tree |   |
1390
1720
 
1391
1721
 
1392
1722
 
@@ -1394,7 +1724,7 @@ Flat deeply an array
1394
1724
  ##### Returns
1395
1725
 
1396
1726
 
1397
- - flatten array
1727
+ - array filtered
1398
1728
 
1399
1729
 
1400
1730
 
@@ -1427,6 +1757,33 @@ Gets the first index from the array by a callback condition
1427
1757
 
1428
1758
 
1429
1759
 
1760
+ ### dist/general/array/flattenDeep.js
1761
+
1762
+
1763
+ #### flattenDeep(arr)
1764
+
1765
+ Flat deeply an array
1766
+
1767
+
1768
+
1769
+
1770
+ ##### Parameters
1771
+
1772
+ | Name | Type | Description | |
1773
+ | ---- | ---- | ----------- | -------- |
1774
+ | arr | | Array to flat deeply |   |
1775
+
1776
+
1777
+
1778
+
1779
+ ##### Returns
1780
+
1781
+
1782
+ - flatten array
1783
+
1784
+
1785
+
1786
+
1430
1787
  ### dist/general/array/getLastIndexFromArray.js
1431
1788
 
1432
1789
 
@@ -1680,6 +2037,35 @@ Validates if the given argument is empty
1680
2037
 
1681
2038
 
1682
2039
 
2040
+ ### dist/general/mix/isNaNV2.js
2041
+
2042
+
2043
+ #### isNaNV2(variable)
2044
+
2045
+ Validates if the recieved number is NaN type.
2046
+ This function recieves any variable but will return false.
2047
+ Validates if variable is null, undefined, or an empty string, also, the function uses isNaN native function.
2048
+
2049
+
2050
+
2051
+
2052
+ ##### Parameters
2053
+
2054
+ | Name | Type | Description | |
2055
+ | ---- | ---- | ----------- | -------- |
2056
+ | variable | | the variable to validate |   |
2057
+
2058
+
2059
+
2060
+
2061
+ ##### Returns
2062
+
2063
+
2064
+ - True if variable is a NaN or false otherwise
2065
+
2066
+
2067
+
2068
+
1683
2069
  ### dist/general/mix/isNull.js
1684
2070
 
1685
2071
 
@@ -1767,6 +2153,34 @@ Gets the length of the given array.
1767
2153
 
1768
2154
 
1769
2155
 
2156
+ ### dist/general/object/cloneDeep.js
2157
+
2158
+
2159
+ #### cloneDeep(obj)
2160
+
2161
+ A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
2162
+ Not to use this function with inner objects and functions
2163
+
2164
+
2165
+
2166
+
2167
+ ##### Parameters
2168
+
2169
+ | Name | Type | Description | |
2170
+ | ---- | ---- | ----------- | -------- |
2171
+ | obj | | The object |   |
2172
+
2173
+
2174
+
2175
+
2176
+ ##### Returns
2177
+
2178
+
2179
+ - The new reference object or the given object if the parsing is incorrect or empty
2180
+
2181
+
2182
+
2183
+
1770
2184
  ### dist/general/object/get.js
1771
2185
 
1772
2186
 
@@ -1824,34 +2238,6 @@ _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
1824
2238
 
1825
2239
 
1826
2240
 
1827
- ### dist/general/object/cloneDeep.js
1828
-
1829
-
1830
- #### cloneDeep(obj)
1831
-
1832
- A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
1833
- Not to use this function with inner objects and functions
1834
-
1835
-
1836
-
1837
-
1838
- ##### Parameters
1839
-
1840
- | Name | Type | Description | |
1841
- | ---- | ---- | ----------- | -------- |
1842
- | obj | | The object |   |
1843
-
1844
-
1845
-
1846
-
1847
- ##### Returns
1848
-
1849
-
1850
- - The new reference object or the given object if the parsing is incorrect or empty
1851
-
1852
-
1853
-
1854
-
1855
2241
  ### dist/general/object/getAttribute.js
1856
2242
 
1857
2243
 
@@ -2206,48 +2592,47 @@ Upper case the first letter of a given text
2206
2592
 
2207
2593
 
2208
2594
 
2209
- ### dist/services/api/getAllDatasets.api.js
2210
-
2211
-
2212
- #### getAllDatasets(qrveyids)
2595
+ ### dist/stencil/decorators/Config.js
2213
2596
 
2214
- Get a dataset list from a collection of Qrvey IDs
2215
2597
 
2598
+ #### Config()
2216
2599
 
2600
+ Stencil.js - Prop Decorator
2601
+ Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
2602
+ But for this, is required ask for a property in `snake_case` style
2217
2603
 
2218
2604
 
2219
- ##### Parameters
2220
2605
 
2221
- | Name | Type | Description | |
2222
- | ---- | ---- | ----------- | -------- |
2223
- | qrveyids | | Collection of Qrvey IDs |   |
2224
2606
 
2225
2607
 
2226
2608
 
2609
+ ##### Examples
2227
2610
 
2228
- ##### Returns
2611
+ ```javascript
2612
+ \ @Config() @Prop() settings;
2229
2613
 
2614
+ someMethod() {
2615
+ this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2616
+ }
2617
+ ```
2230
2618
 
2231
- - a promise
2232
2619
 
2620
+ ##### Returns
2233
2621
 
2234
2622
 
2623
+ - `Void`
2235
2624
 
2236
- ### dist/services/api/getDatasetColumns.api.js
2237
2625
 
2238
2626
 
2239
- #### getDatasetColumns(qrveyid)
2240
2627
 
2241
- Get a dataset by Qrvey ID
2628
+ ### dist/stencil/util/createRef.js
2242
2629
 
2243
2630
 
2631
+ #### createRef()
2244
2632
 
2633
+ lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
2245
2634
 
2246
- ##### Parameters
2247
2635
 
2248
- | Name | Type | Description | |
2249
- | ---- | ---- | ----------- | -------- |
2250
- | qrveyid | | The Qrvey ID |   |
2251
2636
 
2252
2637
 
2253
2638
 
@@ -2255,17 +2640,21 @@ Get a dataset by Qrvey ID
2255
2640
  ##### Returns
2256
2641
 
2257
2642
 
2258
- - a promise
2643
+ - function - Function to use in ref prop in html elements
2259
2644
 
2260
2645
 
2261
2646
 
2262
2647
 
2263
- ### dist/services/api/getAllQrveys.api.js
2648
+ ### dist/stencil/util/getConfig.js
2264
2649
 
2265
2650
 
2266
- #### getAllQrveys(config, params)
2651
+ #### getConfig(cfg)
2267
2652
 
2268
- POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2653
+ verify the Config object type and try to return a parsed Object
2654
+ - In case _cfg_ is a string, first try to make a JSON parse in other case
2655
+ try to find this string as a variable on Windows object
2656
+ - If _cfg_ is a fuction, tis is invoked and parsed
2657
+ - Finally, if is an object, _cfg_ is inmediatly returned
2269
2658
 
2270
2659
 
2271
2660
 
@@ -2274,8 +2663,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2274
2663
 
2275
2664
  | Name | Type | Description | |
2276
2665
  | ---- | ---- | ----------- | -------- |
2277
- | config | | Configuration |   |
2278
- | params | | Object for getting precise data |   |
2666
+ | cfg | | |   |
2279
2667
 
2280
2668
 
2281
2669
 
@@ -2288,12 +2676,12 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2288
2676
 
2289
2677
 
2290
2678
 
2291
- ### dist/qrvey/helpers/getColumnsLabel.js
2679
+ ### dist/services/api/getAllDatasets.api.js
2292
2680
 
2293
2681
 
2294
- #### getColumnLabels(column)
2682
+ #### getAllDatasets(qrveyids)
2295
2683
 
2296
- Get an string of the properties of the given column.
2684
+ Get a dataset list from a collection of Qrvey IDs
2297
2685
 
2298
2686
 
2299
2687
 
@@ -2302,7 +2690,7 @@ Get an string of the properties of the given column.
2302
2690
 
2303
2691
  | Name | Type | Description | |
2304
2692
  | ---- | ---- | ----------- | -------- |
2305
- | column | | The column |   |
2693
+ | qrveyids | | Collection of Qrvey IDs |   |
2306
2694
 
2307
2695
 
2308
2696
 
@@ -2310,34 +2698,29 @@ Get an string of the properties of the given column.
2310
2698
  ##### Returns
2311
2699
 
2312
2700
 
2313
- - an string with the property, aggregate or calculation label.
2314
-
2701
+ - a promise
2315
2702
 
2316
2703
 
2317
2704
 
2318
- ### dist/stencil/decorators/Config.js
2319
2705
 
2706
+ ### dist/services/api/getAllQrveys.api.js
2320
2707
 
2321
- #### Config()
2322
2708
 
2323
- Stencil.js - Prop Decorator
2324
- Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
2325
- But for this, is required ask for a property in `snake_case` style
2709
+ #### getAllQrveys(config, params)
2326
2710
 
2711
+ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2327
2712
 
2328
2713
 
2329
2714
 
2330
2715
 
2716
+ ##### Parameters
2331
2717
 
2332
- ##### Examples
2718
+ | Name | Type | Description | |
2719
+ | ---- | ---- | ----------- | -------- |
2720
+ | config | | Configuration |   |
2721
+ | params | | Object for getting precise data |   |
2333
2722
 
2334
- ```javascript
2335
- \ @Config() @Prop() settings;
2336
2723
 
2337
- someMethod() {
2338
- this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2339
- }
2340
- ```
2341
2724
 
2342
2725
 
2343
2726
  ##### Returns
@@ -2348,36 +2731,39 @@ someMethod() {
2348
2731
 
2349
2732
 
2350
2733
 
2351
- ### dist/stencil/util/createRef.js
2734
+ ### dist/services/api/getDatasetColumns.api.js
2352
2735
 
2353
2736
 
2354
- #### createRef()
2737
+ #### getDatasetColumns(qrveyid)
2738
+
2739
+ Get a dataset by Qrvey ID
2355
2740
 
2356
- lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
2357
2741
 
2358
2742
 
2359
2743
 
2744
+ ##### Parameters
2745
+
2746
+ | Name | Type | Description | |
2747
+ | ---- | ---- | ----------- | -------- |
2748
+ | qrveyid | | The Qrvey ID |   |
2749
+
2360
2750
 
2361
2751
 
2362
2752
 
2363
2753
  ##### Returns
2364
2754
 
2365
2755
 
2366
- - function - Function to use in ref prop in html elements
2756
+ - a promise
2367
2757
 
2368
2758
 
2369
2759
 
2370
2760
 
2371
- ### dist/stencil/util/getConfig.js
2761
+ ### dist/qrvey/helpers/getColumnsLabel.js
2372
2762
 
2373
2763
 
2374
- #### getConfig(cfg)
2764
+ #### getColumnLabels(column)
2375
2765
 
2376
- verify the Config object type and try to return a parsed Object
2377
- - In case _cfg_ is a string, first try to make a JSON parse in other case
2378
- try to find this string as a variable on Windows object
2379
- - If _cfg_ is a fuction, tis is invoked and parsed
2380
- - Finally, if is an object, _cfg_ is inmediatly returned
2766
+ Get an string of the properties of the given column.
2381
2767
 
2382
2768
 
2383
2769
 
@@ -2386,7 +2772,7 @@ try to find this string as a variable on Windows object
2386
2772
 
2387
2773
  | Name | Type | Description | |
2388
2774
  | ---- | ---- | ----------- | -------- |
2389
- | cfg | | |   |
2775
+ | column | | The column |   |
2390
2776
 
2391
2777
 
2392
2778
 
@@ -2394,7 +2780,7 @@ try to find this string as a variable on Windows object
2394
2780
  ##### Returns
2395
2781
 
2396
2782
 
2397
- - `Void`
2783
+ - an string with the property, aggregate or calculation label.
2398
2784
 
2399
2785
 
2400
2786
 
@@ -2645,12 +3031,12 @@ Transform user Filters array into Filter Logic structure
2645
3031
 
2646
3032
 
2647
3033
 
2648
- ### dist/filters/helpers/backend/getBackendGroupValue.js
3034
+ ### dist/filters/helpers/backend/getBackendProperty.js
2649
3035
 
2650
3036
 
2651
- #### getBackendGroupValue(filter)
3037
+ #### getBackendProperty(filter)
2652
3038
 
2653
- Gets a group value for the backend logic structure
3039
+ Gets a property for the logic structure
2654
3040
 
2655
3041
 
2656
3042
 
@@ -2672,12 +3058,12 @@ Gets a group value for the backend logic structure
2672
3058
 
2673
3059
 
2674
3060
 
2675
- ### dist/filters/helpers/backend/getBackendProperty.js
3061
+ ### dist/filters/helpers/backend/getBackendGroupValue.js
2676
3062
 
2677
3063
 
2678
- #### getBackendProperty(filter)
3064
+ #### getBackendGroupValue(filter)
2679
3065
 
2680
- Gets a property for the logic structure
3066
+ Gets a group value for the backend logic structure
2681
3067
 
2682
3068
 
2683
3069
 
@@ -2801,12 +3187,12 @@ Gets the Ranking values.
2801
3187
 
2802
3188
 
2803
3189
 
2804
- ### dist/filters/helpers/backend/getLogicByScopes.js
3190
+ ### dist/filters/helpers/backend/getLogicByScopesHierarchy.js
2805
3191
 
2806
3192
 
2807
- #### getLogicByScopes(logics, scopes)
3193
+ #### getLogicByScopesHierarchy(filterData, scopes, currentScope)
2808
3194
 
2809
- Gets the filters from logic data by Scopes/Scope IDs.
3195
+ Gets filters from the logic by the scopes hierarchy.
2810
3196
 
2811
3197
 
2812
3198
 
@@ -2815,8 +3201,9 @@ Gets the filters from logic data by Scopes/Scope IDs.
2815
3201
 
2816
3202
  | Name | Type | Description | |
2817
3203
  | ---- | ---- | ----------- | -------- |
2818
- | logics | | The logic array |   |
2819
- | scopes | | The collection of Scopes/Scope IDs |   |
3204
+ | filterData | | |   |
3205
+ | scopes | | |   |
3206
+ | currentScope | | |   |
2820
3207
 
2821
3208
 
2822
3209
 
@@ -2824,17 +3211,17 @@ Gets the filters from logic data by Scopes/Scope IDs.
2824
3211
  ##### Returns
2825
3212
 
2826
3213
 
2827
- - a new Logic array
3214
+ - a new array of Logic
2828
3215
 
2829
3216
 
2830
3217
 
2831
3218
 
2832
- ### dist/filters/helpers/backend/getLogicByScopesHierarchy.js
3219
+ ### dist/filters/helpers/backend/getLogicByScopes.js
2833
3220
 
2834
3221
 
2835
- #### getLogicByScopesHierarchy(filterData, scopes, currentScope)
3222
+ #### getLogicByScopes(logics, scopes)
2836
3223
 
2837
- Gets filters from the logic by the scopes hierarchy.
3224
+ Gets the filters from logic data by Scopes/Scope IDs.
2838
3225
 
2839
3226
 
2840
3227
 
@@ -2843,9 +3230,8 @@ Gets filters from the logic by the scopes hierarchy.
2843
3230
 
2844
3231
  | Name | Type | Description | |
2845
3232
  | ---- | ---- | ----------- | -------- |
2846
- | filterData | | |   |
2847
- | scopes | | |   |
2848
- | currentScope | | |   |
3233
+ | logics | | The logic array |   |
3234
+ | scopes | | The collection of Scopes/Scope IDs |   |
2849
3235
 
2850
3236
 
2851
3237
 
@@ -2853,17 +3239,17 @@ Gets filters from the logic by the scopes hierarchy.
2853
3239
  ##### Returns
2854
3240
 
2855
3241
 
2856
- - a new array of Logic
3242
+ - a new Logic array
2857
3243
 
2858
3244
 
2859
3245
 
2860
3246
 
2861
- ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
3247
+ ### dist/filters/helpers/common/areFiltersEquals.js
2862
3248
 
2863
3249
 
2864
- #### excludeUIFlatFiltersByScopes(uFilters, scopes)
3250
+ #### areFiltersEquals(filter1, filter2)
2865
3251
 
2866
- Excludes and returns a UI Flat Filters without filters by the given scopes
3252
+ Validates if both filters are the same
2867
3253
 
2868
3254
 
2869
3255
 
@@ -2872,8 +3258,8 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
2872
3258
 
2873
3259
  | Name | Type | Description | |
2874
3260
  | ---- | ---- | ----------- | -------- |
2875
- | uFilters | | The Flatten UI Filters |   |
2876
- | scopes | | collection of scopes types |   |
3261
+ | filter1 | | filter 1 |   |
3262
+ | filter2 | | filter 2 |   |
2877
3263
 
2878
3264
 
2879
3265
 
@@ -2881,17 +3267,17 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
2881
3267
  ##### Returns
2882
3268
 
2883
3269
 
2884
- - The new array of UI Flattened filters
3270
+ - true: the filters are equal; false: the filters are NOT equal
2885
3271
 
2886
3272
 
2887
3273
 
2888
3274
 
2889
- ### dist/filters/helpers/ui/getFilterPropertyLabel.js
3275
+ ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
2890
3276
 
2891
3277
 
2892
- #### getFilterPropertyLabel(filter)
3278
+ #### excludeFiltersByAggregateColumn(filterData)
2893
3279
 
2894
- Gets the label of the filter property
3280
+ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
2895
3281
 
2896
3282
 
2897
3283
 
@@ -2900,7 +3286,7 @@ Gets the label of the filter property
2900
3286
 
2901
3287
  | Name | Type | Description | |
2902
3288
  | ---- | ---- | ----------- | -------- |
2903
- | filter | | The UI Filter |   |
3289
+ | filterData | | The filter data object |   |
2904
3290
 
2905
3291
 
2906
3292
 
@@ -2908,17 +3294,26 @@ Gets the label of the filter property
2908
3294
  ##### Returns
2909
3295
 
2910
3296
 
2911
- - a string of the filter property label
3297
+ - The new filter data object that were excluded the aggregate filters
2912
3298
 
2913
3299
 
2914
3300
 
2915
3301
 
2916
- ### dist/filters/helpers/ui/getOutputFormatByColumn.js
3302
+ ### dist/filters/helpers/common/excludeFiltersByParams.js
2917
3303
 
2918
3304
 
2919
- #### getOutputFormatByColumn(column, datasets)
3305
+ #### excludeFiltersByParams(filterData, params)
2920
3306
 
2921
- Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
3307
+ Excludes filters from the given Filters.
3308
+ The validation to filter the stored filter is depending on:
3309
+ - Column
3310
+ - Qrvey ID
3311
+ - Scope type
3312
+ - Scope ID
3313
+ - Panel ID
3314
+ - Validator type
3315
+ - Property type
3316
+ - Enabled flags
2922
3317
 
2923
3318
 
2924
3319
 
@@ -2927,8 +3322,8 @@ Gets output format object from Datasets by the given column. Item of the dataset
2927
3322
 
2928
3323
  | Name | Type | Description | |
2929
3324
  | ---- | ---- | ----------- | -------- |
2930
- | column | | The column |   |
2931
- | datasets | | array of datasets |   |
3325
+ | filterData | | The Filter Data or the UI Filter Data |   |
3326
+ | params | | given parameters to validate the filter data |   |
2932
3327
 
2933
3328
 
2934
3329
 
@@ -2936,17 +3331,17 @@ Gets output format object from Datasets by the given column. Item of the dataset
2936
3331
  ##### Returns
2937
3332
 
2938
3333
 
2939
- - The output format object
3334
+ - a new Filter object structure
2940
3335
 
2941
3336
 
2942
3337
 
2943
3338
 
2944
- ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
3339
+ ### dist/filters/helpers/common/excludeFiltersByScopes.js
2945
3340
 
2946
3341
 
2947
- #### excludeUIFiltersByAggregate(uFilters)
3342
+ #### excludeFiltersByScopes(filterData, scopes)
2948
3343
 
2949
- Excludes Aggregate Filters in the Flattened UI Filters array
3344
+ Excludes and returns a filter data without filters by the given scopes
2950
3345
 
2951
3346
 
2952
3347
 
@@ -2955,7 +3350,8 @@ Excludes Aggregate Filters in the Flattened UI Filters array
2955
3350
 
2956
3351
  | Name | Type | Description | |
2957
3352
  | ---- | ---- | ----------- | -------- |
2958
- | uFilters | | Collection of Flat UI Filters |   |
3353
+ | filterData | | The Filter Data |   |
3354
+ | scopes | | collection of scopes to be as filtering parameters |   |
2959
3355
 
2960
3356
 
2961
3357
 
@@ -2963,74 +3359,71 @@ Excludes Aggregate Filters in the Flattened UI Filters array
2963
3359
  ##### Returns
2964
3360
 
2965
3361
 
2966
- - a new Flat UI Filters that were excluded the aggregate filters
3362
+ - The new Filter Data without filters by the given scopes.
2967
3363
 
2968
3364
 
2969
3365
 
2970
3366
 
2971
- ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
3367
+ ### dist/filters/helpers/common/getFilterColumnLabel.js
2972
3368
 
2973
3369
 
2974
- #### getUIFlatFilterByParams()
3370
+ #### getFilterColumnLabel(column)
2975
3371
 
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
3372
+ Get an string of the properties of the given filter column.
2985
3373
 
2986
3374
 
2987
3375
 
2988
3376
 
3377
+ ##### Parameters
3378
+
3379
+ | Name | Type | Description | |
3380
+ | ---- | ---- | ----------- | -------- |
3381
+ | column | | The filter column |   |
3382
+
3383
+
2989
3384
 
2990
3385
 
2991
3386
  ##### Returns
2992
3387
 
2993
3388
 
2994
- - The index of the uFilter array or the Filter object s
3389
+ - an string with the property, aggregate or calculation label.
2995
3390
 
2996
3391
 
2997
3392
 
2998
3393
 
2999
- ### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
3394
+ ### dist/filters/helpers/common/getFilterLabel.js
3000
3395
 
3001
3396
 
3002
- #### getUIFlatFiltersByParams()
3397
+ #### getFilterLabel(filter)
3003
3398
 
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
3399
+ Gets the Filter Label + Column label
3014
3400
 
3015
3401
 
3016
3402
 
3017
3403
 
3404
+ ##### Parameters
3405
+
3406
+ | Name | Type | Description | |
3407
+ | ---- | ---- | ----------- | -------- |
3408
+ | filter | | the UI filter |   |
3018
3409
 
3019
3410
 
3020
- ##### Returns
3021
3411
 
3022
3412
 
3023
- - The index of the uFilter array or the Filter object s
3413
+ ##### Returns
3024
3414
 
3025
3415
 
3416
+ - a sring label
3026
3417
 
3027
3418
 
3028
- ### dist/filters/helpers/ui/getUIValues.js
3029
3419
 
3030
3420
 
3031
- #### getUIValues(filter, addEnableds, rankingGroupIndex)
3421
+ ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3032
3422
 
3033
3423
 
3424
+ #### getFiltersByAggregateColumn(filterData)
3425
+
3426
+ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3034
3427
 
3035
3428
 
3036
3429
 
@@ -3039,9 +3432,7 @@ The validation to filter the stored filter is depending on:
3039
3432
 
3040
3433
  | Name | Type | Description | |
3041
3434
  | ---- | ---- | ----------- | -------- |
3042
- | filter | | |   |
3043
- | addEnableds | | |   |
3044
- | rankingGroupIndex | | |   |
3435
+ | filterData | | The filter data object |   |
3045
3436
 
3046
3437
 
3047
3438
 
@@ -3049,17 +3440,28 @@ The validation to filter the stored filter is depending on:
3049
3440
  ##### Returns
3050
3441
 
3051
3442
 
3052
- -
3443
+ - The new filter data object that were get the aggregate filters
3053
3444
 
3054
3445
 
3055
3446
 
3056
3447
 
3057
- ### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
3448
+ ### dist/filters/helpers/common/getFilterid.js
3058
3449
 
3059
3450
 
3060
- #### getUIFlatFiltersByScopes(uFilters, scopes)
3451
+ #### getFilterid(filter)
3061
3452
 
3062
- Filters and gets a UI Flatten Filters by the given scopes
3453
+ Get the Filter ID by the filter structure
3454
+ The order of the epression ID is:
3455
+ - Scope Type
3456
+ - scopeid
3457
+ - qrveyid
3458
+ - panelid
3459
+ - columnid
3460
+ - validator
3461
+ - property
3462
+ - Column Aggregate
3463
+ - Column Calculation
3464
+ - Optional Index
3063
3465
 
3064
3466
 
3065
3467
 
@@ -3068,8 +3470,7 @@ Filters and gets a UI Flatten Filters by the given scopes
3068
3470
 
3069
3471
  | Name | Type | Description | |
3070
3472
  | ---- | ---- | ----------- | -------- |
3071
- | uFilters | | The Flatten UI Filters |   |
3072
- | scopes | | collection of scopes types |   |
3473
+ | filter | | the filter structure |   |
3073
3474
 
3074
3475
 
3075
3476
 
@@ -3077,17 +3478,26 @@ Filters and gets a UI Flatten Filters by the given scopes
3077
3478
  ##### Returns
3078
3479
 
3079
3480
 
3080
- - The new array of UI Flattened filters
3481
+ - a text to identify the filter
3081
3482
 
3082
3483
 
3083
3484
 
3084
3485
 
3085
- ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
3486
+ ### dist/filters/helpers/common/getFiltersByParams.js
3086
3487
 
3087
3488
 
3088
- #### resolveUIFlatFilterByParams(filter, params)
3489
+ #### getFiltersByParams(filterData, params)
3089
3490
 
3090
- Resolves conditions between UI flattened filter and given parameters
3491
+ Gets filters from the given params.
3492
+ The validation to filter the stored filter is depending on:
3493
+ - Column
3494
+ - Qrvey ID
3495
+ - Scope type
3496
+ - Scope ID
3497
+ - Panel ID
3498
+ - Validator type
3499
+ - Property type
3500
+ - Enabled flags
3091
3501
 
3092
3502
 
3093
3503
 
@@ -3096,8 +3506,8 @@ Resolves conditions between UI flattened filter and given parameters
3096
3506
 
3097
3507
  | Name | Type | Description | |
3098
3508
  | ---- | ---- | ----------- | -------- |
3099
- | filter | | UI Flatten Filter |   |
3100
- | params | | Parameters to validate |   |
3509
+ | filterData | | The Filter Data or the UI Filter Data |   |
3510
+ | params | | given parameters to validate the dataset |   |
3101
3511
 
3102
3512
 
3103
3513
 
@@ -3105,17 +3515,17 @@ Resolves conditions between UI flattened filter and given parameters
3105
3515
  ##### Returns
3106
3516
 
3107
3517
 
3108
- - true: the conditions are satisfied.
3518
+ - a new Filter object structure
3109
3519
 
3110
3520
 
3111
3521
 
3112
3522
 
3113
- ### dist/filters/helpers/common/areFiltersEquals.js
3523
+ ### dist/filters/helpers/common/getFiltersByScopes.js
3114
3524
 
3115
3525
 
3116
- #### areFiltersEquals(filter1, filter2)
3526
+ #### getFiltersByScopes(filterData, scopes)
3117
3527
 
3118
- Validates if both filters are the same
3528
+ Filters and gets a Filter Data by the given scopes
3119
3529
 
3120
3530
 
3121
3531
 
@@ -3124,8 +3534,8 @@ Validates if both filters are the same
3124
3534
 
3125
3535
  | Name | Type | Description | |
3126
3536
  | ---- | ---- | ----------- | -------- |
3127
- | filter1 | | filter 1 |   |
3128
- | filter2 | | filter 2 |   |
3537
+ | filterData | | The Filter Data |   |
3538
+ | scopes | | collection of scopes types |   |
3129
3539
 
3130
3540
 
3131
3541
 
@@ -3133,17 +3543,17 @@ Validates if both filters are the same
3133
3543
  ##### Returns
3134
3544
 
3135
3545
 
3136
- - true: the filters are equal; false: the filters are NOT equal
3546
+ - The new Filter Data
3137
3547
 
3138
3548
 
3139
3549
 
3140
3550
 
3141
- ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3551
+ ### dist/filters/helpers/common/getFiltersByScopesIds.js
3142
3552
 
3143
3553
 
3144
- #### excludeFiltersByAggregateColumn(filterData)
3554
+ #### getFiltersByScopesIds(filterData, scopes)
3145
3555
 
3146
- Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3556
+ Gets filters from Filter Data by Scopes/Scope IDs.
3147
3557
 
3148
3558
 
3149
3559
 
@@ -3152,7 +3562,8 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3152
3562
 
3153
3563
  | Name | Type | Description | |
3154
3564
  | ---- | ---- | ----------- | -------- |
3155
- | filterData | | The filter data object |   |
3565
+ | filterData | | The filter data |   |
3566
+ | scopes | | The collection of Scopes/Scope IDs |   |
3156
3567
 
3157
3568
 
3158
3569
 
@@ -3160,26 +3571,17 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3160
3571
  ##### Returns
3161
3572
 
3162
3573
 
3163
- - The new filter data object that were excluded the aggregate filters
3574
+ - a new Filter Data
3164
3575
 
3165
3576
 
3166
3577
 
3167
3578
 
3168
- ### dist/filters/helpers/common/excludeFiltersByParams.js
3579
+ ### dist/filters/helpers/common/getFiltersByVisibility.js
3169
3580
 
3170
3581
 
3171
- #### excludeFiltersByParams(filterData, params)
3582
+ #### getFiltersByVisibility(filterData, scopes)
3172
3583
 
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
3584
+ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3183
3585
 
3184
3586
 
3185
3587
 
@@ -3188,8 +3590,8 @@ The validation to filter the stored filter is depending on:
3188
3590
 
3189
3591
  | Name | Type | Description | |
3190
3592
  | ---- | ---- | ----------- | -------- |
3191
- | filterData | | The Filter Data or the UI Filter Data |   |
3192
- | params | | given parameters to validate the filter data |   |
3593
+ | filterData | | a Filter Data or UI Filter Data |   |
3594
+ | scopes | | a Scopes/Scope IDs array |   |
3193
3595
 
3194
3596
 
3195
3597
 
@@ -3197,17 +3599,17 @@ The validation to filter the stored filter is depending on:
3197
3599
  ##### Returns
3198
3600
 
3199
3601
 
3200
- - a new Filter object structure
3602
+ - a new Filter Data
3201
3603
 
3202
3604
 
3203
3605
 
3204
3606
 
3205
- ### dist/filters/helpers/common/excludeFiltersByScopes.js
3607
+ ### dist/filters/helpers/common/getMergeFiltersSettings.js
3206
3608
 
3207
3609
 
3208
- #### excludeFiltersByScopes(filterData, scopes)
3610
+ #### getMergeFiltersSettings(settings)
3209
3611
 
3210
- Excludes and returns a filter data without filters by the given scopes
3612
+ Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
3211
3613
 
3212
3614
 
3213
3615
 
@@ -3216,8 +3618,7 @@ Excludes and returns a filter data without filters by the given scopes
3216
3618
 
3217
3619
  | Name | Type | Description | |
3218
3620
  | ---- | ---- | ----------- | -------- |
3219
- | filterData | | The Filter Data |   |
3220
- | scopes | | collection of scopes to be as filtering parameters |   |
3621
+ | settings | | an object to the MergeFilters settings |   |
3221
3622
 
3222
3623
 
3223
3624
 
@@ -3225,17 +3626,17 @@ Excludes and returns a filter data without filters by the given scopes
3225
3626
  ##### Returns
3226
3627
 
3227
3628
 
3228
- - The new Filter Data without filters by the given scopes.
3629
+ - a new MergeFilters settings object.
3229
3630
 
3230
3631
 
3231
3632
 
3232
3633
 
3233
- ### dist/filters/helpers/common/getFilterColumnLabel.js
3634
+ ### dist/filters/helpers/common/getParamsToGetFilterSettings.js
3234
3635
 
3235
3636
 
3236
- #### getFilterColumnLabel(column)
3637
+ #### getParamsToGetFilterSettings(settings)
3237
3638
 
3238
- Get an string of the properties of the given filter column.
3639
+ Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
3239
3640
 
3240
3641
 
3241
3642
 
@@ -3244,7 +3645,7 @@ Get an string of the properties of the given filter column.
3244
3645
 
3245
3646
  | Name | Type | Description | |
3246
3647
  | ---- | ---- | ----------- | -------- |
3247
- | column | | The filter column |   |
3648
+ | settings | | an object to the ParamsToGetFilter settings |   |
3248
3649
 
3249
3650
 
3250
3651
 
@@ -3252,17 +3653,17 @@ Get an string of the properties of the given filter column.
3252
3653
  ##### Returns
3253
3654
 
3254
3655
 
3255
- - an string with the property, aggregate or calculation label.
3656
+ - a new ParamsToGetFilter settings object.
3256
3657
 
3257
3658
 
3258
3659
 
3259
3660
 
3260
- ### dist/filters/helpers/common/getFilterLabel.js
3661
+ ### dist/filters/helpers/common/haveFiltersByDataset.js
3261
3662
 
3262
3663
 
3263
- #### getFilterLabel(filter)
3664
+ #### haveFiltersByDataset(filterData, qrveyid)
3264
3665
 
3265
- Gets the Filter Label + Column label
3666
+ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3266
3667
 
3267
3668
 
3268
3669
 
@@ -3271,7 +3672,8 @@ Gets the Filter Label + Column label
3271
3672
 
3272
3673
  | Name | Type | Description | |
3273
3674
  | ---- | ---- | ----------- | -------- |
3274
- | filter | | the UI filter |   |
3675
+ | filterData | | the filter data or the UI filter data. |   |
3676
+ | qrveyid | | The Qrvey ID |   |
3275
3677
 
3276
3678
 
3277
3679
 
@@ -3279,28 +3681,17 @@ Gets the Filter Label + Column label
3279
3681
  ##### Returns
3280
3682
 
3281
3683
 
3282
- - a sring label
3684
+ - true: the filter data has filters by the Qrvey ID
3283
3685
 
3284
3686
 
3285
3687
 
3286
3688
 
3287
- ### dist/filters/helpers/common/getFilterid.js
3689
+ ### dist/filters/helpers/common/isBetweenValidator.js
3288
3690
 
3289
3691
 
3290
- #### getFilterid(filter)
3692
+ #### isBetweenValidator(validator)
3291
3693
 
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
3694
+ Validates if the given validator is a Between type
3304
3695
 
3305
3696
 
3306
3697
 
@@ -3309,7 +3700,7 @@ The order of the epression ID is:
3309
3700
 
3310
3701
  | Name | Type | Description | |
3311
3702
  | ---- | ---- | ----------- | -------- |
3312
- | filter | | the filter structure |   |
3703
+ | validator | | The validator |   |
3313
3704
 
3314
3705
 
3315
3706
 
@@ -3317,17 +3708,17 @@ The order of the epression ID is:
3317
3708
  ##### Returns
3318
3709
 
3319
3710
 
3320
- - a text to identify the filter
3711
+ - true: it is a between validator; false: it is not a between validator
3321
3712
 
3322
3713
 
3323
3714
 
3324
3715
 
3325
- ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3716
+ ### dist/filters/helpers/common/isDateDistinctProperty.js
3326
3717
 
3327
3718
 
3328
- #### getFiltersByAggregateColumn(filterData)
3719
+ #### isDateDistinctProperty(column, property)
3329
3720
 
3330
- Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3721
+ Determines if the filter column and property is a distinct group dates type
3331
3722
 
3332
3723
 
3333
3724
 
@@ -3336,7 +3727,8 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3336
3727
 
3337
3728
  | Name | Type | Description | |
3338
3729
  | ---- | ---- | ----------- | -------- |
3339
- | filterData | | The filter data object |   |
3730
+ | column | | The filter column |   |
3731
+ | property | | The filter property |   |
3340
3732
 
3341
3733
 
3342
3734
 
@@ -3344,26 +3736,17 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3344
3736
  ##### Returns
3345
3737
 
3346
3738
 
3347
- - The new filter data object that were get the aggregate filters
3739
+ - True if the given property is included from distinct group dates type
3348
3740
 
3349
3741
 
3350
3742
 
3351
3743
 
3352
- ### dist/filters/helpers/common/getFiltersByParams.js
3744
+ ### dist/filters/helpers/common/isInValidator.js
3353
3745
 
3354
3746
 
3355
- #### getFiltersByParams(filterData, params)
3747
+ #### isInValidator(validator)
3356
3748
 
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
3749
+ Validates if the given validator is a In type
3367
3750
 
3368
3751
 
3369
3752
 
@@ -3372,8 +3755,7 @@ The validation to filter the stored filter is depending on:
3372
3755
 
3373
3756
  | Name | Type | Description | |
3374
3757
  | ---- | ---- | ----------- | -------- |
3375
- | filterData | | The Filter Data or the UI Filter Data |   |
3376
- | params | | given parameters to validate the dataset |   |
3758
+ | validator | | The validator |   |
3377
3759
 
3378
3760
 
3379
3761
 
@@ -3381,17 +3763,17 @@ The validation to filter the stored filter is depending on:
3381
3763
  ##### Returns
3382
3764
 
3383
3765
 
3384
- - a new Filter object structure
3766
+ - true: it is a In validator; false: it is not a In validator
3385
3767
 
3386
3768
 
3387
3769
 
3388
3770
 
3389
- ### dist/filters/helpers/common/getFiltersByScopes.js
3771
+ ### dist/filters/helpers/common/isNullValidator.js
3390
3772
 
3391
3773
 
3392
- #### getFiltersByScopes(filterData, scopes)
3774
+ #### isNullValidator(validator)
3393
3775
 
3394
- Filters and gets a Filter Data by the given scopes
3776
+ Checks if the given validator is a Null type.
3395
3777
 
3396
3778
 
3397
3779
 
@@ -3400,8 +3782,7 @@ Filters and gets a Filter Data by the given scopes
3400
3782
 
3401
3783
  | Name | Type | Description | |
3402
3784
  | ---- | ---- | ----------- | -------- |
3403
- | filterData | | The Filter Data |   |
3404
- | scopes | | collection of scopes types |   |
3785
+ | validator | | The Filter Validator |   |
3405
3786
 
3406
3787
 
3407
3788
 
@@ -3409,17 +3790,17 @@ Filters and gets a Filter Data by the given scopes
3409
3790
  ##### Returns
3410
3791
 
3411
3792
 
3412
- - The new Filter Data
3793
+ - True: It is a Null Validator; False: It is not a Null Validator.
3413
3794
 
3414
3795
 
3415
3796
 
3416
3797
 
3417
- ### dist/filters/helpers/common/getFiltersByScopesIds.js
3798
+ ### dist/filters/helpers/common/isRangeValidator.js
3418
3799
 
3419
3800
 
3420
- #### getFiltersByScopesIds(filterData, scopes)
3801
+ #### isRangeValidator(validator)
3421
3802
 
3422
- Gets filters from Filter Data by Scopes/Scope IDs.
3803
+ Validates if the given validator is a Range type. Range type means the value has min and max values to filter
3423
3804
 
3424
3805
 
3425
3806
 
@@ -3428,8 +3809,7 @@ Gets filters from Filter Data by Scopes/Scope IDs.
3428
3809
 
3429
3810
  | Name | Type | Description | |
3430
3811
  | ---- | ---- | ----------- | -------- |
3431
- | filterData | | The filter data |   |
3432
- | scopes | | The collection of Scopes/Scope IDs |   |
3812
+ | validator | | The filter validator |   |
3433
3813
 
3434
3814
 
3435
3815
 
@@ -3437,17 +3817,17 @@ Gets filters from Filter Data by Scopes/Scope IDs.
3437
3817
  ##### Returns
3438
3818
 
3439
3819
 
3440
- - a new Filter Data
3820
+ - true: it is a range validator
3441
3821
 
3442
3822
 
3443
3823
 
3444
3824
 
3445
- ### dist/filters/helpers/common/getFiltersByVisibility.js
3825
+ ### dist/filters/helpers/common/mergeFilters.js
3446
3826
 
3447
3827
 
3448
- #### getFiltersByVisibility(filterData, scopes)
3828
+ #### mergeFilters(filterData1, filterData2, overwriteValues)
3449
3829
 
3450
- Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3830
+ Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
3451
3831
 
3452
3832
 
3453
3833
 
@@ -3456,8 +3836,9 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3456
3836
 
3457
3837
  | Name | Type | Description | |
3458
3838
  | ---- | ---- | ----------- | -------- |
3459
- | filterData | | a Filter Data or UI Filter Data |   |
3460
- | scopes | | a Scopes/Scope IDs array |   |
3839
+ | filterData1 | | The target filter data |   |
3840
+ | filterData2 | | the filter data to be merged |   |
3841
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3461
3842
 
3462
3843
 
3463
3844
 
@@ -3465,17 +3846,13 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3465
3846
  ##### Returns
3466
3847
 
3467
3848
 
3468
- - a new Filter Data
3469
-
3470
-
3471
-
3849
+ - a new filter data structure
3472
3850
 
3473
- ### dist/filters/helpers/common/getMergeFiltersSettings.js
3474
3851
 
3475
3852
 
3476
- #### getMergeFiltersSettings(settings)
3853
+ #### mergeScopes(scopes1, scopes2, overwriteValues)
3477
3854
 
3478
- Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
3855
+ Gets a new scope structure array by merging two scope structures
3479
3856
 
3480
3857
 
3481
3858
 
@@ -3484,7 +3861,9 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
3484
3861
 
3485
3862
  | Name | Type | Description | |
3486
3863
  | ---- | ---- | ----------- | -------- |
3487
- | settings | | an object to the MergeFilters settings |   |
3864
+ | scopes1 | | the target scope structure |   |
3865
+ | scopes2 | | the scope to be merged |   |
3866
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3488
3867
 
3489
3868
 
3490
3869
 
@@ -3492,17 +3871,13 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
3492
3871
  ##### Returns
3493
3872
 
3494
3873
 
3495
- - a new MergeFilters settings object.
3496
-
3497
-
3498
-
3874
+ - a new scope structure array
3499
3875
 
3500
- ### dist/filters/helpers/common/getParamsToGetFilterSettings.js
3501
3876
 
3502
3877
 
3503
- #### getParamsToGetFilterSettings(settings)
3878
+ #### mergeDatasets(datasets1, datasets2, overwriteValues)
3504
3879
 
3505
- Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
3880
+ Gets a new dataset structure array by merging two dataset structures
3506
3881
 
3507
3882
 
3508
3883
 
@@ -3511,7 +3886,9 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3511
3886
 
3512
3887
  | Name | Type | Description | |
3513
3888
  | ---- | ---- | ----------- | -------- |
3514
- | settings | | an object to the ParamsToGetFilter settings |   |
3889
+ | datasets1 | | the target dataset structure |   |
3890
+ | datasets2 | | the dataset to be merged |   |
3891
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3515
3892
 
3516
3893
 
3517
3894
 
@@ -3519,17 +3896,13 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3519
3896
  ##### Returns
3520
3897
 
3521
3898
 
3522
- - a new ParamsToGetFilter settings object.
3523
-
3524
-
3525
-
3899
+ - a new dataset structure array
3526
3900
 
3527
- ### dist/filters/helpers/common/haveFiltersByDataset.js
3528
3901
 
3529
3902
 
3530
- #### haveFiltersByDataset(filterData, qrveyid)
3903
+ #### mergeFilterss(filters1, filters2, overwriteValues)
3531
3904
 
3532
- Validates if the filter data has filters by a dataset ID (Qrvey ID).
3905
+ Gets a new filter structure array by merging two filter structures
3533
3906
 
3534
3907
 
3535
3908
 
@@ -3538,8 +3911,9 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3538
3911
 
3539
3912
  | Name | Type | Description | |
3540
3913
  | ---- | ---- | ----------- | -------- |
3541
- | filterData | | the filter data or the UI filter data. |   |
3542
- | qrveyid | | The Qrvey ID |   |
3914
+ | filters1 | | the target filter structure |   |
3915
+ | filters2 | | the filter to be merged |   |
3916
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3543
3917
 
3544
3918
 
3545
3919
 
@@ -3547,17 +3921,13 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3547
3921
  ##### Returns
3548
3922
 
3549
3923
 
3550
- - true: the filter data has filters by the Qrvey ID
3551
-
3552
-
3553
-
3924
+ - a new filter structure array
3554
3925
 
3555
- ### dist/filters/helpers/common/isBetweenValidator.js
3556
3926
 
3557
3927
 
3558
- #### isBetweenValidator(validator)
3928
+ #### mergeValues(filter1, filter2, overwrite)
3559
3929
 
3560
- Validates if the given validator is a Between type
3930
+ Gets a new value structure array by merging two value structures
3561
3931
 
3562
3932
 
3563
3933
 
@@ -3566,7 +3936,9 @@ Validates if the given validator is a Between type
3566
3936
 
3567
3937
  | Name | Type | Description | |
3568
3938
  | ---- | ---- | ----------- | -------- |
3569
- | validator | | The validator |   |
3939
+ | filter1 | | the target filter structure |   |
3940
+ | filter2 | | the filter to be used to merge the values |   |
3941
+ | overwrite | | Flag to overwrite or not the filter values |   |
3570
3942
 
3571
3943
 
3572
3944
 
@@ -3574,17 +3946,17 @@ Validates if the given validator is a Between type
3574
3946
  ##### Returns
3575
3947
 
3576
3948
 
3577
- - true: it is a between validator; false: it is not a between validator
3949
+ - a new value structure array
3578
3950
 
3579
3951
 
3580
3952
 
3581
3953
 
3582
- ### dist/filters/helpers/common/isDateDistinctProperty.js
3954
+ ### dist/filters/helpers/common/isRegularValidator.js
3583
3955
 
3584
3956
 
3585
- #### isDateDistinctProperty(column, property)
3957
+ #### isRegularValidator(validator)
3586
3958
 
3587
- Determines if the filter column and property is a distinct group dates type
3959
+ Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
3588
3960
 
3589
3961
 
3590
3962
 
@@ -3593,8 +3965,7 @@ Determines if the filter column and property is a distinct group dates type
3593
3965
 
3594
3966
  | Name | Type | Description | |
3595
3967
  | ---- | ---- | ----------- | -------- |
3596
- | column | | The filter column |   |
3597
- | property | | The filter property |   |
3968
+ | validator | | The filter validator |   |
3598
3969
 
3599
3970
 
3600
3971
 
@@ -3602,17 +3973,17 @@ Determines if the filter column and property is a distinct group dates type
3602
3973
  ##### Returns
3603
3974
 
3604
3975
 
3605
- - True if the given property is included from distinct group dates type
3976
+ - true: it is a range validator
3606
3977
 
3607
3978
 
3608
3979
 
3609
3980
 
3610
- ### dist/filters/helpers/common/isInValidator.js
3981
+ ### dist/filters/helpers/common/resolveDatasetConditions.js
3611
3982
 
3612
3983
 
3613
- #### isInValidator(validator)
3984
+ #### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3614
3985
 
3615
- Validates if the given validator is a In type
3986
+ Resolves the conditions by given params
3616
3987
 
3617
3988
 
3618
3989
 
@@ -3621,7 +3992,10 @@ Validates if the given validator is a In type
3621
3992
 
3622
3993
  | Name | Type | Description | |
3623
3994
  | ---- | ---- | ----------- | -------- |
3624
- | validator | | The validator |   |
3995
+ | filter | | The dataset structure |   |
3996
+ | params | | given parameters to validate the dataset |   |
3997
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3998
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3625
3999
 
3626
4000
 
3627
4001
 
@@ -3629,17 +4003,17 @@ Validates if the given validator is a In type
3629
4003
  ##### Returns
3630
4004
 
3631
4005
 
3632
- - true: it is a In validator; false: it is not a In validator
4006
+ - true: the condition is satisfied
3633
4007
 
3634
4008
 
3635
4009
 
3636
4010
 
3637
- ### dist/filters/helpers/common/isNullValidator.js
4011
+ ### dist/filters/helpers/common/resolveFilterConditions.js
3638
4012
 
3639
4013
 
3640
- #### isNullValidator(validator)
4014
+ #### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3641
4015
 
3642
- Checks if the given validator is a Null type.
4016
+ Resolves the conditions by given params
3643
4017
 
3644
4018
 
3645
4019
 
@@ -3648,7 +4022,10 @@ Checks if the given validator is a Null type.
3648
4022
 
3649
4023
  | Name | Type | Description | |
3650
4024
  | ---- | ---- | ----------- | -------- |
3651
- | validator | | The Filter Validator |   |
4025
+ | filter | | The filter |   |
4026
+ | params | | given parameters to validate the filter |   |
4027
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
4028
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3652
4029
 
3653
4030
 
3654
4031
 
@@ -3656,17 +4033,17 @@ Checks if the given validator is a Null type.
3656
4033
  ##### Returns
3657
4034
 
3658
4035
 
3659
- - True: It is a Null Validator; False: It is not a Null Validator.
4036
+ - true: the condition is satisfied
3660
4037
 
3661
4038
 
3662
4039
 
3663
4040
 
3664
- ### dist/filters/helpers/common/isRangeValidator.js
4041
+ ### dist/filters/helpers/common/resolveScopeConditions.js
3665
4042
 
3666
4043
 
3667
- #### isRangeValidator(validator)
4044
+ #### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3668
4045
 
3669
- Validates if the given validator is a Range type. Range type means the value has min and max values to filter
4046
+ Resolves the conditions by given params
3670
4047
 
3671
4048
 
3672
4049
 
@@ -3675,7 +4052,10 @@ Validates if the given validator is a Range type. Range type means the value has
3675
4052
 
3676
4053
  | Name | Type | Description | |
3677
4054
  | ---- | ---- | ----------- | -------- |
3678
- | validator | | The filter validator |   |
4055
+ | filter | | The filter scope structure |   |
4056
+ | params | | given parameters to validate the filter |   |
4057
+ | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
4058
+ | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3679
4059
 
3680
4060
 
3681
4061
 
@@ -3683,17 +4063,17 @@ Validates if the given validator is a Range type. Range type means the value has
3683
4063
  ##### Returns
3684
4064
 
3685
4065
 
3686
- - true: it is a range validator
4066
+ - true: the condition is satisfied
3687
4067
 
3688
4068
 
3689
4069
 
3690
4070
 
3691
- ### dist/filters/helpers/common/isRegularValidator.js
4071
+ ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
3692
4072
 
3693
4073
 
3694
- #### isRegularValidator(validator)
4074
+ #### excludeUIFiltersByAggregate(uFilters)
3695
4075
 
3696
- Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
4076
+ Excludes Aggregate Filters in the Flattened UI Filters array
3697
4077
 
3698
4078
 
3699
4079
 
@@ -3702,7 +4082,7 @@ Validates if the given validator is a regular type. Regular type means the filte
3702
4082
 
3703
4083
  | Name | Type | Description | |
3704
4084
  | ---- | ---- | ----------- | -------- |
3705
- | validator | | The filter validator |   |
4085
+ | uFilters | | Collection of Flat UI Filters |   |
3706
4086
 
3707
4087
 
3708
4088
 
@@ -3710,17 +4090,17 @@ Validates if the given validator is a regular type. Regular type means the filte
3710
4090
  ##### Returns
3711
4091
 
3712
4092
 
3713
- - true: it is a range validator
4093
+ - a new Flat UI Filters that were excluded the aggregate filters
3714
4094
 
3715
4095
 
3716
4096
 
3717
4097
 
3718
- ### dist/filters/helpers/common/mergeFilters.js
4098
+ ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
3719
4099
 
3720
4100
 
3721
- #### mergeFilters(filterData1, filterData2, overwriteValues)
4101
+ #### excludeUIFlatFiltersByScopes(uFilters, scopes)
3722
4102
 
3723
- Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
4103
+ Excludes and returns a UI Flat Filters without filters by the given scopes
3724
4104
 
3725
4105
 
3726
4106
 
@@ -3729,9 +4109,8 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
3729
4109
 
3730
4110
  | Name | Type | Description | |
3731
4111
  | ---- | ---- | ----------- | -------- |
3732
- | filterData1 | | The target filter data |   |
3733
- | filterData2 | | the filter data to be merged |   |
3734
- | overwriteValues | | Flag to overwrite or not the filter values |   |
4112
+ | uFilters | | The Flatten UI Filters |   |
4113
+ | scopes | | collection of scopes types |   |
3735
4114
 
3736
4115
 
3737
4116
 
@@ -3739,13 +4118,17 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
3739
4118
  ##### Returns
3740
4119
 
3741
4120
 
3742
- - a new filter data structure
4121
+ - The new array of UI Flattened filters
3743
4122
 
3744
4123
 
3745
4124
 
3746
- #### mergeScopes(scopes1, scopes2, overwriteValues)
3747
4125
 
3748
- Gets a new scope structure array by merging two scope structures
4126
+ ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4127
+
4128
+
4129
+ #### getFilterPropertyLabel(filter)
4130
+
4131
+ Gets the label of the filter property
3749
4132
 
3750
4133
 
3751
4134
 
@@ -3754,9 +4137,7 @@ Gets a new scope structure array by merging two scope structures
3754
4137
 
3755
4138
  | Name | Type | Description | |
3756
4139
  | ---- | ---- | ----------- | -------- |
3757
- | scopes1 | | the target scope structure |   |
3758
- | scopes2 | | the scope to be merged |   |
3759
- | overwriteValues | | Flag to overwrite or not the filter values |   |
4140
+ | filter | | The UI Filter |   |
3760
4141
 
3761
4142
 
3762
4143
 
@@ -3764,13 +4145,17 @@ Gets a new scope structure array by merging two scope structures
3764
4145
  ##### Returns
3765
4146
 
3766
4147
 
3767
- - a new scope structure array
4148
+ - a string of the filter property label
3768
4149
 
3769
4150
 
3770
4151
 
3771
- #### mergeDatasets(datasets1, datasets2, overwriteValues)
3772
4152
 
3773
- Gets a new dataset structure array by merging two dataset structures
4153
+ ### dist/filters/helpers/ui/getOutputFormatByColumn.js
4154
+
4155
+
4156
+ #### getOutputFormatByColumn(column, datasets)
4157
+
4158
+ Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
3774
4159
 
3775
4160
 
3776
4161
 
@@ -3779,9 +4164,8 @@ Gets a new dataset structure array by merging two dataset structures
3779
4164
 
3780
4165
  | Name | Type | Description | |
3781
4166
  | ---- | ---- | ----------- | -------- |
3782
- | datasets1 | | the target dataset structure |   |
3783
- | datasets2 | | the dataset to be merged |   |
3784
- | overwriteValues | | Flag to overwrite or not the filter values |   |
4167
+ | column | | The column |   |
4168
+ | datasets | | array of datasets |   |
3785
4169
 
3786
4170
 
3787
4171
 
@@ -3789,24 +4173,27 @@ Gets a new dataset structure array by merging two dataset structures
3789
4173
  ##### Returns
3790
4174
 
3791
4175
 
3792
- - a new dataset structure array
4176
+ - The output format object
3793
4177
 
3794
4178
 
3795
4179
 
3796
- #### mergeFilterss(filters1, filters2, overwriteValues)
3797
4180
 
3798
- Gets a new filter structure array by merging two filter structures
4181
+ ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
3799
4182
 
3800
4183
 
4184
+ #### getUIFlatFilterByParams()
3801
4185
 
4186
+ Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
4187
+ The validation to filter the stored filter is depending on:
4188
+ - Column
4189
+ - Qrvey ID,
4190
+ - Scope type
4191
+ - Scope ID
4192
+ - Panel ID
4193
+ - Validator type
4194
+ - Property type
3802
4195
 
3803
- ##### Parameters
3804
4196
 
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 |   |
3810
4197
 
3811
4198
 
3812
4199
 
@@ -3814,24 +4201,28 @@ Gets a new filter structure array by merging two filter structures
3814
4201
  ##### Returns
3815
4202
 
3816
4203
 
3817
- - a new filter structure array
4204
+ - The index of the uFilter array or the Filter object s
3818
4205
 
3819
4206
 
3820
4207
 
3821
- #### mergeValues(filter1, filter2, overwrite)
3822
4208
 
3823
- Gets a new value structure array by merging two value structures
4209
+ ### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
3824
4210
 
3825
4211
 
4212
+ #### getUIFlatFiltersByParams()
3826
4213
 
4214
+ Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
4215
+ The validation to filter the stored filter is depending on:
4216
+ - Column
4217
+ - Qrvey ID,
4218
+ - Scope type
4219
+ - Scope ID
4220
+ - Panel ID
4221
+ - Validator type
4222
+ - Property type
4223
+ - Enabled flags
3827
4224
 
3828
- ##### Parameters
3829
4225
 
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 |   |
3835
4226
 
3836
4227
 
3837
4228
 
@@ -3839,17 +4230,17 @@ Gets a new value structure array by merging two value structures
3839
4230
  ##### Returns
3840
4231
 
3841
4232
 
3842
- - a new value structure array
4233
+ - The index of the uFilter array or the Filter object s
3843
4234
 
3844
4235
 
3845
4236
 
3846
4237
 
3847
- ### dist/filters/helpers/common/resolveDatasetConditions.js
4238
+ ### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
3848
4239
 
3849
4240
 
3850
- #### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4241
+ #### getUIFlatFiltersByScopes(uFilters, scopes)
3851
4242
 
3852
- Resolves the conditions by given params
4243
+ Filters and gets a UI Flatten Filters by the given scopes
3853
4244
 
3854
4245
 
3855
4246
 
@@ -3858,10 +4249,8 @@ Resolves the conditions by given params
3858
4249
 
3859
4250
  | Name | Type | Description | |
3860
4251
  | ---- | ---- | ----------- | -------- |
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. |   |
4252
+ | uFilters | | The Flatten UI Filters |   |
4253
+ | scopes | | collection of scopes types |   |
3865
4254
 
3866
4255
 
3867
4256
 
@@ -3869,17 +4258,17 @@ Resolves the conditions by given params
3869
4258
  ##### Returns
3870
4259
 
3871
4260
 
3872
- - true: the condition is satisfied
4261
+ - The new array of UI Flattened filters
3873
4262
 
3874
4263
 
3875
4264
 
3876
4265
 
3877
- ### dist/filters/helpers/common/resolveFilterConditions.js
4266
+ ### dist/filters/helpers/ui/getUIValues.js
3878
4267
 
3879
4268
 
3880
- #### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4269
+ #### getUIValues(filter, addEnableds, rankingGroupIndex)
4270
+
3881
4271
 
3882
- Resolves the conditions by given params
3883
4272
 
3884
4273
 
3885
4274
 
@@ -3888,10 +4277,9 @@ Resolves the conditions by given params
3888
4277
 
3889
4278
  | Name | Type | Description | |
3890
4279
  | ---- | ---- | ----------- | -------- |
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. |   |
4280
+ | filter | | |   |
4281
+ | addEnableds | | |   |
4282
+ | rankingGroupIndex | | |   |
3895
4283
 
3896
4284
 
3897
4285
 
@@ -3899,17 +4287,17 @@ Resolves the conditions by given params
3899
4287
  ##### Returns
3900
4288
 
3901
4289
 
3902
- - true: the condition is satisfied
4290
+ -
3903
4291
 
3904
4292
 
3905
4293
 
3906
4294
 
3907
- ### dist/filters/helpers/common/resolveScopeConditions.js
4295
+ ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
3908
4296
 
3909
4297
 
3910
- #### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4298
+ #### resolveUIFlatFilterByParams(filter, params)
3911
4299
 
3912
- Resolves the conditions by given params
4300
+ Resolves conditions between UI flattened filter and given parameters
3913
4301
 
3914
4302
 
3915
4303
 
@@ -3918,10 +4306,8 @@ Resolves the conditions by given params
3918
4306
 
3919
4307
  | Name | Type | Description | |
3920
4308
  | ---- | ---- | ----------- | -------- |
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. |   |
4309
+ | filter | | UI Flatten Filter |   |
4310
+ | params | | Parameters to validate |   |
3925
4311
 
3926
4312
 
3927
4313
 
@@ -3929,7 +4315,7 @@ Resolves the conditions by given params
3929
4315
  ##### Returns
3930
4316
 
3931
4317
 
3932
- - true: the condition is satisfied
4318
+ - true: the conditions are satisfied.
3933
4319
 
3934
4320
 
3935
4321