@qrvey/utils 1.2.8 → 1.2.9-3

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 (550) hide show
  1. package/README.md +374 -374
  2. package/dist/cjs/columns/constants/COLUMN_LABEL.d.ts +1 -0
  3. package/dist/cjs/columns/constants/COLUMN_LABEL.js +1 -1
  4. package/dist/cjs/dates/constants/DATE_WEEK_DAYS_DDDD.d.ts +1 -0
  5. package/dist/cjs/dates/constants/DATE_WEEK_DAYS_DDDD.js +6 -0
  6. package/dist/cjs/filters/adapters/FDToFlatUI.js +0 -2
  7. package/dist/cjs/filters/adapters/FDToUI.js +1 -2
  8. package/dist/cjs/filters/adapters/UIToFD.js +0 -1
  9. package/dist/cjs/filters/adapters/UIToFlatUI.js +0 -2
  10. package/dist/cjs/filters/adapters/UIToOldLogic.js +1 -1
  11. package/dist/cjs/filters/adapters/flatUIToOldLogic.js +1 -1
  12. package/dist/cjs/filters/adapters/flatUIToUI.js +0 -2
  13. package/dist/cjs/filters/adapters/logicToFlatUI.js +0 -2
  14. package/dist/cjs/filters/helpers/ui/getUIValues.d.ts +2 -1
  15. package/dist/cjs/filters/helpers/ui/getUIValues.js +25 -12
  16. package/dist/cjs/filters/interfaces/ui/IFUFilter.d.ts +1 -1
  17. package/dist/cjs/filters/interfaces/ui/IFUUIValueSettings.d.ts +6 -0
  18. package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.js → filters/interfaces/ui/IFUUIValueSettings.js} +0 -0
  19. package/dist/cjs/filters/interfaces/ui/index.d.ts +1 -0
  20. package/dist/cjs/filters/interfaces/ui/index.js +1 -0
  21. package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.d.ts +3 -0
  22. package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.js +74 -0
  23. package/dist/cjs/globalization/helpers/index.d.ts +1 -0
  24. package/dist/cjs/globalization/helpers/index.js +1 -0
  25. package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +1 -1
  26. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilder.d.ts +6 -6
  27. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.d.ts +5 -5
  28. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +18 -18
  29. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.d.ts +7 -7
  30. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.d.ts +2 -2
  31. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.d.ts +2 -2
  32. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +2 -1
  33. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.d.ts +2 -2
  34. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +4 -4
  35. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +1 -1
  36. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +6 -6
  37. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.d.ts +3 -3
  38. package/dist/cjs/globalization/interfaces/bucket_builder/index.d.ts +1 -1
  39. package/dist/cjs/globalization/interfaces/bucket_builder/index.js +1 -1
  40. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +61 -59
  41. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +2 -1
  42. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBoxWhisker.d.ts +4 -0
  43. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBoxWhisker.js +2 -0
  44. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.d.ts +2 -0
  45. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +9 -8
  46. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +1 -0
  47. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +11 -9
  48. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.d.ts +5 -0
  49. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +14 -13
  50. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.d.ts +4 -0
  51. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderWordCloud.d.ts +3 -0
  52. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderWordCloud.js +2 -0
  53. package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +2 -1
  54. package/dist/cjs/globalization/interfaces/chart_builder/index.js +2 -1
  55. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +5 -5
  56. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +1 -0
  57. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +3 -1
  58. package/dist/cjs/globalization/interfaces/common/II18nDateGrouping.d.ts +2 -0
  59. package/dist/cjs/globalization/interfaces/common/II18nDayNames.d.ts +16 -0
  60. package/dist/cjs/globalization/interfaces/common/II18nDayNames.js +2 -0
  61. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +5 -1
  62. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +1 -0
  63. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardEmptyState.d.ts +5 -0
  64. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardEmptyState.js +2 -0
  65. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardToast.d.ts +6 -0
  66. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardToast.js +2 -0
  67. package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +2 -0
  68. package/dist/cjs/globalization/interfaces/dashboard/index.js +2 -0
  69. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +1 -1
  70. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +5 -5
  71. package/dist/cjs/globalization/interfaces/filters/II18nFilterDisplay.d.ts +2 -2
  72. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +1 -1
  73. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilder.d.ts +112 -3
  74. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +2 -0
  75. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunction.d.ts +4 -0
  76. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunction.js +2 -0
  77. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAbs.d.ts +5 -0
  78. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAbs.js +2 -0
  79. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAcos.d.ts +5 -0
  80. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAcos.js +2 -0
  81. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggAvg.d.ts +5 -0
  82. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggAvg.js +2 -0
  83. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggCount.d.ts +5 -0
  84. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggCount.js +2 -0
  85. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggDistinctcount.d.ts +5 -0
  86. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggDistinctcount.js +2 -0
  87. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMax.d.ts +5 -0
  88. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMax.js +2 -0
  89. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMin.d.ts +5 -0
  90. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMin.js +2 -0
  91. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggSum.d.ts +5 -0
  92. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggSum.js +2 -0
  93. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAsin.d.ts +5 -0
  94. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAsin.js +2 -0
  95. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan.d.ts +5 -0
  96. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan.js +2 -0
  97. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan2.d.ts +7 -0
  98. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan2.js +2 -0
  99. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCbrt.d.ts +5 -0
  100. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCbrt.js +2 -0
  101. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCeil.d.ts +5 -0
  102. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCeil.js +2 -0
  103. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCopySign.d.ts +7 -0
  104. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCopySign.js +2 -0
  105. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCos.d.ts +5 -0
  106. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCos.js +2 -0
  107. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCosh.d.ts +5 -0
  108. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCosh.js +2 -0
  109. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateAdd.d.ts +9 -0
  110. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateAdd.js +2 -0
  111. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateDiff.d.ts +9 -0
  112. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateDiff.js +2 -0
  113. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateFormat.d.ts +7 -0
  114. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateFormat.js +2 -0
  115. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateIsNull.d.ts +7 -0
  116. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateIsNull.js +2 -0
  117. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateParse.d.ts +7 -0
  118. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateParse.js +2 -0
  119. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateSubtract.d.ts +9 -0
  120. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateSubtract.js +2 -0
  121. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExp.d.ts +5 -0
  122. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExp.js +2 -0
  123. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExpm1.d.ts +5 -0
  124. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExpm1.js +2 -0
  125. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionFloor.d.ts +5 -0
  126. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionFloor.js +2 -0
  127. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionHypot.d.ts +7 -0
  128. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionHypot.js +2 -0
  129. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionInclude.d.ts +5 -0
  130. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionInclude.js +2 -0
  131. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionIsnull.d.ts +7 -0
  132. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionIsnull.js +2 -0
  133. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog.d.ts +5 -0
  134. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog.js +2 -0
  135. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog10.d.ts +5 -0
  136. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog10.js +2 -0
  137. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog1p.d.ts +5 -0
  138. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog1p.js +2 -0
  139. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMax.d.ts +7 -0
  140. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMax.js +2 -0
  141. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMin.d.ts +7 -0
  142. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMin.js +2 -0
  143. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextAfter.d.ts +7 -0
  144. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextAfter.js +2 -0
  145. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextDown.d.ts +5 -0
  146. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextDown.js +2 -0
  147. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextUp.d.ts +5 -0
  148. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextUp.js +2 -0
  149. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionPow.d.ts +7 -0
  150. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionPow.js +2 -0
  151. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionReplace.d.ts +7 -0
  152. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionReplace.js +2 -0
  153. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRint.d.ts +5 -0
  154. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRint.js +2 -0
  155. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRound.d.ts +5 -0
  156. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRound.js +2 -0
  157. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionScalb.d.ts +7 -0
  158. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionScalb.js +2 -0
  159. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSignum.d.ts +5 -0
  160. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSignum.js +2 -0
  161. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSin.d.ts +5 -0
  162. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSin.js +2 -0
  163. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSinh.d.ts +5 -0
  164. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSinh.js +2 -0
  165. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSqrt.d.ts +5 -0
  166. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSqrt.js +2 -0
  167. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSubstring.d.ts +7 -0
  168. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSubstring.js +2 -0
  169. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTan.d.ts +5 -0
  170. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTan.js +2 -0
  171. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTanh.d.ts +5 -0
  172. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTanh.js +2 -0
  173. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToDegrees.d.ts +5 -0
  174. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToDegrees.js +2 -0
  175. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToRadians.d.ts +5 -0
  176. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToRadians.js +2 -0
  177. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionUlp.d.ts +5 -0
  178. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionUlp.js +2 -0
  179. package/dist/cjs/globalization/interfaces/formula_builder/index.d.ts +52 -0
  180. package/dist/cjs/globalization/interfaces/formula_builder/index.js +52 -0
  181. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +10 -7
  182. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +11 -9
  183. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenuOptions.d.ts +6 -0
  184. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenuOptions.js +2 -0
  185. package/dist/cjs/globalization/interfaces/panel/index.d.ts +1 -0
  186. package/dist/cjs/globalization/interfaces/panel/index.js +1 -0
  187. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +57 -56
  188. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +5 -0
  189. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
  190. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +14 -27
  191. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +14 -11
  192. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +14 -9
  193. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +5 -0
  194. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +1 -0
  195. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +1 -0
  196. package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +2 -2
  197. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +3 -1
  198. package/dist/cjs/globalization/labels/common/I18N_DATE_GROUPING.js +2 -0
  199. package/dist/cjs/globalization/labels/common/I18N_DAY_NAMES.d.ts +2 -0
  200. package/dist/cjs/globalization/labels/common/I18N_DAY_NAMES.js +22 -0
  201. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +20 -8
  202. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +7 -7
  203. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +15 -15
  204. package/dist/cjs/globalization/labels/filters/I18N_FILTER_DISPLAY.js +2 -2
  205. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +375 -3
  206. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +58 -49
  207. package/dist/cjs/globalization/service/i18nextBuilder.js +1 -1
  208. package/dist/columns/constants/COLUMN_LABEL.d.ts +1 -0
  209. package/dist/columns/constants/COLUMN_LABEL.js +1 -1
  210. package/dist/dates/constants/DATE_WEEK_DAYS_DDDD.d.ts +1 -0
  211. package/dist/dates/constants/DATE_WEEK_DAYS_DDDD.js +3 -0
  212. package/dist/filters/adapters/FDToFlatUI.js +0 -2
  213. package/dist/filters/adapters/FDToUI.js +1 -2
  214. package/dist/filters/adapters/UIToFD.js +0 -1
  215. package/dist/filters/adapters/UIToFlatUI.js +0 -2
  216. package/dist/filters/adapters/UIToOldLogic.js +1 -1
  217. package/dist/filters/adapters/flatUIToOldLogic.js +1 -1
  218. package/dist/filters/adapters/flatUIToUI.js +0 -2
  219. package/dist/filters/adapters/logicToFlatUI.js +0 -2
  220. package/dist/filters/helpers/ui/getUIValues.d.ts +2 -1
  221. package/dist/filters/helpers/ui/getUIValues.js +25 -12
  222. package/dist/filters/interfaces/ui/IFUFilter.d.ts +1 -1
  223. package/dist/filters/interfaces/ui/IFUUIValueSettings.d.ts +6 -0
  224. package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.js → filters/interfaces/ui/IFUUIValueSettings.js} +0 -0
  225. package/dist/filters/interfaces/ui/index.d.ts +1 -0
  226. package/dist/filters/interfaces/ui/index.js +1 -0
  227. package/dist/globalization/helpers/getReverseI18nGroupLabel.d.ts +3 -0
  228. package/dist/globalization/helpers/getReverseI18nGroupLabel.js +70 -0
  229. package/dist/globalization/helpers/index.d.ts +1 -0
  230. package/dist/globalization/helpers/index.js +1 -0
  231. package/dist/globalization/interfaces/IResourceI18n.d.ts +1 -1
  232. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilder.d.ts +6 -6
  233. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.d.ts +5 -5
  234. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +18 -18
  235. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.d.ts +7 -7
  236. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.d.ts +2 -2
  237. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.d.ts +2 -2
  238. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +2 -1
  239. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.d.ts +2 -2
  240. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +4 -4
  241. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +1 -1
  242. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +6 -6
  243. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.d.ts +3 -3
  244. package/dist/globalization/interfaces/bucket_builder/index.d.ts +1 -1
  245. package/dist/globalization/interfaces/bucket_builder/index.js +1 -1
  246. package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +61 -59
  247. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +2 -1
  248. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBoxWhisker.d.ts +4 -0
  249. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBoxWhisker.js +1 -0
  250. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.d.ts +2 -0
  251. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +9 -8
  252. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +1 -0
  253. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +11 -9
  254. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.d.ts +5 -0
  255. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +14 -13
  256. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.d.ts +4 -0
  257. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderWordCloud.d.ts +3 -0
  258. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderWordCloud.js +1 -0
  259. package/dist/globalization/interfaces/chart_builder/index.d.ts +2 -1
  260. package/dist/globalization/interfaces/chart_builder/index.js +2 -1
  261. package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +5 -5
  262. package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +1 -0
  263. package/dist/globalization/interfaces/common/II18nCommon.d.ts +3 -1
  264. package/dist/globalization/interfaces/common/II18nDateGrouping.d.ts +2 -0
  265. package/dist/globalization/interfaces/common/II18nDayNames.d.ts +16 -0
  266. package/dist/globalization/interfaces/common/II18nDayNames.js +1 -0
  267. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +5 -1
  268. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +1 -0
  269. package/dist/globalization/interfaces/dashboard/II18nDashboardEmptyState.d.ts +5 -0
  270. package/dist/globalization/interfaces/dashboard/II18nDashboardEmptyState.js +1 -0
  271. package/dist/globalization/interfaces/dashboard/II18nDashboardToast.d.ts +6 -0
  272. package/dist/globalization/interfaces/dashboard/II18nDashboardToast.js +1 -0
  273. package/dist/globalization/interfaces/dashboard/index.d.ts +2 -0
  274. package/dist/globalization/interfaces/dashboard/index.js +2 -0
  275. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +1 -1
  276. package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +5 -5
  277. package/dist/globalization/interfaces/filters/II18nFilterDisplay.d.ts +2 -2
  278. package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +1 -1
  279. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilder.d.ts +112 -3
  280. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +2 -0
  281. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunction.d.ts +4 -0
  282. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunction.js +1 -0
  283. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAbs.d.ts +5 -0
  284. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAbs.js +1 -0
  285. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAcos.d.ts +5 -0
  286. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAcos.js +1 -0
  287. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggAvg.d.ts +5 -0
  288. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggAvg.js +1 -0
  289. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggCount.d.ts +5 -0
  290. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggCount.js +1 -0
  291. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggDistinctcount.d.ts +5 -0
  292. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggDistinctcount.js +1 -0
  293. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMax.d.ts +5 -0
  294. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMax.js +1 -0
  295. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMin.d.ts +5 -0
  296. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMin.js +1 -0
  297. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggSum.d.ts +5 -0
  298. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggSum.js +1 -0
  299. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAsin.d.ts +5 -0
  300. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAsin.js +1 -0
  301. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan.d.ts +5 -0
  302. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan.js +1 -0
  303. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan2.d.ts +7 -0
  304. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan2.js +1 -0
  305. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCbrt.d.ts +5 -0
  306. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCbrt.js +1 -0
  307. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCeil.d.ts +5 -0
  308. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCeil.js +1 -0
  309. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCopySign.d.ts +7 -0
  310. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCopySign.js +1 -0
  311. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCos.d.ts +5 -0
  312. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCos.js +1 -0
  313. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCosh.d.ts +5 -0
  314. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCosh.js +1 -0
  315. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateAdd.d.ts +9 -0
  316. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateAdd.js +1 -0
  317. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateDiff.d.ts +9 -0
  318. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateDiff.js +1 -0
  319. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateFormat.d.ts +7 -0
  320. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateFormat.js +1 -0
  321. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateIsNull.d.ts +7 -0
  322. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateIsNull.js +1 -0
  323. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateParse.d.ts +7 -0
  324. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateParse.js +1 -0
  325. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateSubtract.d.ts +9 -0
  326. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateSubtract.js +1 -0
  327. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExp.d.ts +5 -0
  328. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExp.js +1 -0
  329. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExpm1.d.ts +5 -0
  330. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExpm1.js +1 -0
  331. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionFloor.d.ts +5 -0
  332. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionFloor.js +1 -0
  333. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionHypot.d.ts +7 -0
  334. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionHypot.js +1 -0
  335. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionInclude.d.ts +5 -0
  336. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionInclude.js +1 -0
  337. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionIsnull.d.ts +7 -0
  338. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionIsnull.js +1 -0
  339. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog.d.ts +5 -0
  340. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog.js +1 -0
  341. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog10.d.ts +5 -0
  342. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog10.js +1 -0
  343. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog1p.d.ts +5 -0
  344. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog1p.js +1 -0
  345. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMax.d.ts +7 -0
  346. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMax.js +1 -0
  347. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMin.d.ts +7 -0
  348. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMin.js +1 -0
  349. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextAfter.d.ts +7 -0
  350. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextAfter.js +1 -0
  351. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextDown.d.ts +5 -0
  352. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextDown.js +1 -0
  353. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextUp.d.ts +5 -0
  354. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextUp.js +1 -0
  355. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionPow.d.ts +7 -0
  356. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionPow.js +1 -0
  357. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionReplace.d.ts +7 -0
  358. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionReplace.js +1 -0
  359. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRint.d.ts +5 -0
  360. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRint.js +1 -0
  361. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRound.d.ts +5 -0
  362. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRound.js +1 -0
  363. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionScalb.d.ts +7 -0
  364. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionScalb.js +1 -0
  365. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSignum.d.ts +5 -0
  366. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSignum.js +1 -0
  367. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSin.d.ts +5 -0
  368. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSin.js +1 -0
  369. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSinh.d.ts +5 -0
  370. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSinh.js +1 -0
  371. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSqrt.d.ts +5 -0
  372. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSqrt.js +1 -0
  373. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSubstring.d.ts +7 -0
  374. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSubstring.js +1 -0
  375. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTan.d.ts +5 -0
  376. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTan.js +1 -0
  377. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTanh.d.ts +5 -0
  378. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTanh.js +1 -0
  379. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToDegrees.d.ts +5 -0
  380. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToDegrees.js +1 -0
  381. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToRadians.d.ts +5 -0
  382. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToRadians.js +1 -0
  383. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionUlp.d.ts +5 -0
  384. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionUlp.js +1 -0
  385. package/dist/globalization/interfaces/formula_builder/index.d.ts +52 -0
  386. package/dist/globalization/interfaces/formula_builder/index.js +52 -0
  387. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +10 -7
  388. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +11 -9
  389. package/dist/globalization/interfaces/panel/II18nPanelMenuOptions.d.ts +6 -0
  390. package/dist/globalization/interfaces/panel/II18nPanelMenuOptions.js +1 -0
  391. package/dist/globalization/interfaces/panel/index.d.ts +1 -0
  392. package/dist/globalization/interfaces/panel/index.js +1 -0
  393. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +57 -56
  394. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +5 -0
  395. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
  396. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +14 -27
  397. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +14 -11
  398. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +14 -9
  399. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +5 -0
  400. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +1 -0
  401. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +1 -0
  402. package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +2 -2
  403. package/dist/globalization/labels/common/I18N_COMMON.js +3 -1
  404. package/dist/globalization/labels/common/I18N_DATE_GROUPING.js +2 -0
  405. package/dist/globalization/labels/common/I18N_DAY_NAMES.d.ts +2 -0
  406. package/dist/globalization/labels/common/I18N_DAY_NAMES.js +19 -0
  407. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +20 -8
  408. package/dist/globalization/labels/filters/I18N_FILTER.js +7 -7
  409. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +15 -15
  410. package/dist/globalization/labels/filters/I18N_FILTER_DISPLAY.js +2 -2
  411. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +375 -3
  412. package/dist/globalization/labels/panel/I18N_PANEL.js +58 -49
  413. package/dist/globalization/service/i18nextBuilder.js +1 -1
  414. package/package.json +1 -1
  415. package/src/columns/constants/COLUMN_LABEL.ts +1 -0
  416. package/src/dates/constants/DATE_WEEK_DAYS_DDDD.ts +4 -0
  417. package/src/filters/adapters/FDToFlatUI.ts +0 -2
  418. package/src/filters/adapters/FDToUI.ts +0 -2
  419. package/src/filters/adapters/UIToFD.ts +0 -1
  420. package/src/filters/adapters/UIToFlatUI.ts +0 -2
  421. package/src/filters/adapters/UIToOldLogic.ts +1 -1
  422. package/src/filters/adapters/flatUIToOldLogic.ts +1 -1
  423. package/src/filters/adapters/flatUIToUI.ts +0 -2
  424. package/src/filters/adapters/logicToFlatUI.ts +1 -3
  425. package/src/filters/helpers/ui/getUIValues.ts +28 -12
  426. package/src/filters/interfaces/ui/IFUFilter.ts +1 -1
  427. package/src/filters/interfaces/ui/IFUUIValueSettings.ts +7 -0
  428. package/src/filters/interfaces/ui/index.ts +1 -0
  429. package/src/globalization/helpers/getReverseI18nGroupLabel.ts +80 -0
  430. package/src/globalization/helpers/index.ts +1 -0
  431. package/src/globalization/interfaces/IResourceI18n.ts +1 -1
  432. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilder.ts +6 -6
  433. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.ts +7 -5
  434. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.ts +18 -18
  435. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.ts +7 -7
  436. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.ts +2 -2
  437. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.ts +2 -2
  438. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.ts +2 -1
  439. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.ts +2 -2
  440. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +4 -4
  441. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.ts +1 -1
  442. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.ts +6 -6
  443. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.ts +3 -3
  444. package/src/globalization/interfaces/bucket_builder/index.ts +1 -1
  445. package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +61 -59
  446. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.ts +2 -1
  447. package/src/globalization/interfaces/chart_builder/II18nChartBuilderBoxWhisker.ts +4 -0
  448. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.ts +2 -0
  449. package/src/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.ts +9 -8
  450. package/src/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.ts +1 -0
  451. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +11 -9
  452. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.ts +5 -0
  453. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +14 -13
  454. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.ts +4 -0
  455. package/src/globalization/interfaces/chart_builder/II18nChartBuilderWordCloud.ts +3 -0
  456. package/src/globalization/interfaces/chart_builder/index.ts +2 -1
  457. package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +5 -5
  458. package/src/globalization/interfaces/common/II18nColumnTypes.ts +1 -0
  459. package/src/globalization/interfaces/common/II18nCommon.ts +3 -1
  460. package/src/globalization/interfaces/common/II18nDateGrouping.ts +2 -0
  461. package/src/globalization/interfaces/common/II18nDayNames.ts +17 -0
  462. package/src/globalization/interfaces/dashboard/II18nDashboard.ts +5 -1
  463. package/src/globalization/interfaces/dashboard/II18nDashboardAddChart.ts +1 -0
  464. package/src/globalization/interfaces/dashboard/II18nDashboardEmptyState.ts +5 -0
  465. package/src/globalization/interfaces/dashboard/II18nDashboardToast.ts +6 -0
  466. package/src/globalization/interfaces/dashboard/index.ts +2 -0
  467. package/src/globalization/interfaces/filters/II18nFilter.ts +1 -1
  468. package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +5 -5
  469. package/src/globalization/interfaces/filters/II18nFilterDisplay.ts +2 -2
  470. package/src/globalization/interfaces/filters/II18nFilterPanel.ts +1 -1
  471. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilder.ts +112 -3
  472. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.ts +2 -0
  473. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunction.ts +4 -0
  474. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAbs.ts +6 -0
  475. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAcos.ts +6 -0
  476. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggAvg.ts +6 -0
  477. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggCount.ts +6 -0
  478. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggDistinctcount.ts +6 -0
  479. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMax.ts +6 -0
  480. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggMin.ts +6 -0
  481. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAggSum.ts +6 -0
  482. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAsin.ts +6 -0
  483. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan.ts +6 -0
  484. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionAtan2.ts +8 -0
  485. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCbrt.ts +6 -0
  486. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCeil.ts +6 -0
  487. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCopySign.ts +8 -0
  488. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCos.ts +6 -0
  489. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionCosh.ts +6 -0
  490. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateAdd.ts +10 -0
  491. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateDiff.ts +10 -0
  492. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateFormat.ts +8 -0
  493. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateIsNull.ts +8 -0
  494. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateParse.ts +8 -0
  495. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionDateSubtract.ts +10 -0
  496. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExp.ts +6 -0
  497. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionExpm1.ts +6 -0
  498. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionFloor.ts +6 -0
  499. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionHypot.ts +8 -0
  500. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionInclude.ts +6 -0
  501. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionIsnull.ts +8 -0
  502. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog.ts +6 -0
  503. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog10.ts +6 -0
  504. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionLog1p.ts +6 -0
  505. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMax.ts +8 -0
  506. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionMin.ts +8 -0
  507. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextAfter.ts +8 -0
  508. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextDown.ts +6 -0
  509. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionNextUp.ts +6 -0
  510. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionPow.ts +8 -0
  511. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionReplace.ts +8 -0
  512. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRint.ts +6 -0
  513. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionRound.ts +6 -0
  514. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionScalb.ts +8 -0
  515. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSignum.ts +6 -0
  516. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSin.ts +6 -0
  517. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSinh.ts +6 -0
  518. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSqrt.ts +6 -0
  519. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionSubstring.ts +8 -0
  520. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTan.ts +6 -0
  521. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionTanh.ts +6 -0
  522. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToDegrees.ts +6 -0
  523. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionToRadians.ts +6 -0
  524. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionUlp.ts +6 -0
  525. package/src/globalization/interfaces/formula_builder/index.ts +53 -1
  526. package/src/globalization/interfaces/panel/II18nPanel.ts +10 -7
  527. package/src/globalization/interfaces/panel/II18nPanelErrors.ts +11 -9
  528. package/src/globalization/interfaces/panel/II18nPanelMenuOptions.ts +6 -0
  529. package/src/globalization/interfaces/panel/index.ts +1 -0
  530. package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +57 -56
  531. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER.ts +7 -0
  532. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +16 -28
  533. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +15 -11
  534. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +14 -9
  535. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +5 -0
  536. package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +1 -0
  537. package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +2 -2
  538. package/src/globalization/labels/common/I18N_COMMON.ts +3 -1
  539. package/src/globalization/labels/common/I18N_DATE_GROUPING.ts +2 -0
  540. package/src/globalization/labels/common/I18N_DAY_NAMES.ts +22 -0
  541. package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +20 -8
  542. package/src/globalization/labels/filters/I18N_FILTER.ts +7 -7
  543. package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +15 -15
  544. package/src/globalization/labels/filters/I18N_FILTER_DISPLAY.ts +2 -2
  545. package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +375 -3
  546. package/src/globalization/labels/panel/I18N_PANEL.ts +58 -49
  547. package/src/globalization/service/i18nextBuilder.ts +1 -1
  548. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.d.ts +0 -17
  549. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.d.ts +0 -17
  550. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.ts +0 -17
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.8*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-3*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -688,26 +688,6 @@ Output:
688
688
 
689
689
 
690
690
 
691
- ### dist/filters/classes/FilterInputErrorHandler.js
692
-
693
-
694
- #### new FilterInputErrorHandler()
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
- ##### Returns
704
-
705
-
706
- - `Void`
707
-
708
-
709
-
710
-
711
691
  ### dist/filters/adapters/FDToFlatUI.js
712
692
 
713
693
 
@@ -1023,34 +1003,6 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
1023
1003
 
1024
1004
 
1025
1005
 
1026
- ### dist/filters/adapters/adaptFilterValues.js
1027
-
1028
-
1029
- #### adaptFilterValues(filter)
1030
-
1031
- [TODO: For 2022, eliminate this adapter]
1032
- Gets an adapted filter value array. Validates the enabled property and sets
1033
-
1034
-
1035
-
1036
-
1037
- ##### Parameters
1038
-
1039
- | Name | Type | Description | |
1040
- | ---- | ---- | ----------- | -------- |
1041
- | filter | | The filter |   |
1042
-
1043
-
1044
-
1045
-
1046
- ##### Returns
1047
-
1048
-
1049
- - A new value array with the filled properties.
1050
-
1051
-
1052
-
1053
-
1054
1006
  ### dist/filters/adapters/flatUIToFD.js
1055
1007
 
1056
1008
 
@@ -1172,6 +1124,34 @@ Gets an filter structure for the filter data
1172
1124
 
1173
1125
 
1174
1126
 
1127
+ ### dist/filters/adapters/adaptFilterValues.js
1128
+
1129
+
1130
+ #### adaptFilterValues(filter)
1131
+
1132
+ [TODO: For 2022, eliminate this adapter]
1133
+ Gets an adapted filter value array. Validates the enabled property and sets
1134
+
1135
+
1136
+
1137
+
1138
+ ##### Parameters
1139
+
1140
+ | Name | Type | Description | |
1141
+ | ---- | ---- | ----------- | -------- |
1142
+ | filter | | The filter |   |
1143
+
1144
+
1145
+
1146
+
1147
+ ##### Returns
1148
+
1149
+
1150
+ - A new value array with the filled properties.
1151
+
1152
+
1153
+
1154
+
1175
1155
  ### dist/filters/adapters/flatUIToLogic.js
1176
1156
 
1177
1157
 
@@ -1558,6 +1538,26 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1558
1538
 
1559
1539
 
1560
1540
 
1541
+ ### dist/filters/classes/FilterInputErrorHandler.js
1542
+
1543
+
1544
+ #### new FilterInputErrorHandler()
1545
+
1546
+
1547
+
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+ ##### Returns
1554
+
1555
+
1556
+ - `Void`
1557
+
1558
+
1559
+
1560
+
1561
1561
  ### dist/filters/helpers/applyHierarchyForAggFilters.js
1562
1562
 
1563
1563
 
@@ -2619,69 +2619,67 @@ Get an string of the properties of the given column.
2619
2619
 
2620
2620
 
2621
2621
 
2622
- ### dist/stencil/decorators/Config.js
2623
-
2622
+ ### dist/services/api/getAllDatasets.api.js
2624
2623
 
2625
- #### Config()
2626
2624
 
2627
- Stencil.js - Prop Decorator
2628
- 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
2629
- But for this, is required ask for a property in `snake_case` style
2625
+ #### getAllDatasets(qrveyids)
2630
2626
 
2627
+ Get a dataset list from a collection of Qrvey IDs
2631
2628
 
2632
2629
 
2633
2630
 
2634
2631
 
2632
+ ##### Parameters
2635
2633
 
2636
- ##### Examples
2634
+ | Name | Type | Description | |
2635
+ | ---- | ---- | ----------- | -------- |
2636
+ | qrveyids | | Collection of Qrvey IDs |   |
2637
2637
 
2638
- ```javascript
2639
- \ @Config() @Prop() settings;
2640
2638
 
2641
- someMethod() {
2642
- this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2643
- }
2644
- ```
2645
2639
 
2646
2640
 
2647
2641
  ##### Returns
2648
2642
 
2649
2643
 
2650
- - `Void`
2644
+ - a promise
2651
2645
 
2652
2646
 
2653
2647
 
2654
2648
 
2655
- ### dist/stencil/util/createRef.js
2649
+ ### dist/services/api/getAllQrveys.api.js
2656
2650
 
2657
2651
 
2658
- #### createRef()
2652
+ #### getAllQrveys(config, params)
2659
2653
 
2660
- lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
2654
+ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2661
2655
 
2662
2656
 
2663
2657
 
2664
2658
 
2659
+ ##### Parameters
2660
+
2661
+ | Name | Type | Description | |
2662
+ | ---- | ---- | ----------- | -------- |
2663
+ | config | | Configuration |   |
2664
+ | params | | Object for getting precise data |   |
2665
+
2666
+
2665
2667
 
2666
2668
 
2667
2669
  ##### Returns
2668
2670
 
2669
2671
 
2670
- - function - Function to use in ref prop in html elements
2672
+ - `Void`
2671
2673
 
2672
2674
 
2673
2675
 
2674
2676
 
2675
- ### dist/stencil/util/getConfig.js
2677
+ ### dist/services/api/getDatasetColumns.api.js
2676
2678
 
2677
2679
 
2678
- #### getConfig(cfg)
2680
+ #### getDatasetColumns(qrveyid)
2679
2681
 
2680
- verify the Config object type and try to return a parsed Object
2681
- - In case _cfg_ is a string, first try to make a JSON parse in other case
2682
- try to find this string as a variable on Windows object
2683
- - If _cfg_ is a fuction, tis is invoked and parsed
2684
- - Finally, if is an object, _cfg_ is inmediatly returned
2682
+ Get a dataset by Qrvey ID
2685
2683
 
2686
2684
 
2687
2685
 
@@ -2690,7 +2688,7 @@ try to find this string as a variable on Windows object
2690
2688
 
2691
2689
  | Name | Type | Description | |
2692
2690
  | ---- | ---- | ----------- | -------- |
2693
- | cfg | | |   |
2691
+ | qrveyid | | The Qrvey ID |   |
2694
2692
 
2695
2693
 
2696
2694
 
@@ -2698,54 +2696,52 @@ try to find this string as a variable on Windows object
2698
2696
  ##### Returns
2699
2697
 
2700
2698
 
2701
- - `Void`
2702
-
2703
-
2699
+ - a promise
2704
2700
 
2705
2701
 
2706
- ### dist/services/api/getAllDatasets.api.js
2707
2702
 
2708
2703
 
2709
- #### getAllDatasets(qrveyids)
2704
+ ### dist/stencil/decorators/Config.js
2710
2705
 
2711
- Get a dataset list from a collection of Qrvey IDs
2712
2706
 
2707
+ #### Config()
2713
2708
 
2709
+ Stencil.js - Prop Decorator
2710
+ 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
2711
+ But for this, is required ask for a property in `snake_case` style
2714
2712
 
2715
2713
 
2716
- ##### Parameters
2717
2714
 
2718
- | Name | Type | Description | |
2719
- | ---- | ---- | ----------- | -------- |
2720
- | qrveyids | | Collection of Qrvey IDs |   |
2721
2715
 
2722
2716
 
2723
2717
 
2718
+ ##### Examples
2724
2719
 
2725
- ##### Returns
2720
+ ```javascript
2721
+ \ @Config() @Prop() settings;
2726
2722
 
2723
+ someMethod() {
2724
+ this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2725
+ }
2726
+ ```
2727
2727
 
2728
- - a promise
2729
2728
 
2729
+ ##### Returns
2730
2730
 
2731
2731
 
2732
+ - `Void`
2732
2733
 
2733
- ### dist/services/api/getAllQrveys.api.js
2734
2734
 
2735
2735
 
2736
- #### getAllQrveys(config, params)
2737
2736
 
2738
- POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2737
+ ### dist/stencil/util/createRef.js
2739
2738
 
2740
2739
 
2740
+ #### createRef()
2741
2741
 
2742
+ lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
2742
2743
 
2743
- ##### Parameters
2744
2744
 
2745
- | Name | Type | Description | |
2746
- | ---- | ---- | ----------- | -------- |
2747
- | config | | Configuration |   |
2748
- | params | | Object for getting precise data |   |
2749
2745
 
2750
2746
 
2751
2747
 
@@ -2753,17 +2749,21 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2753
2749
  ##### Returns
2754
2750
 
2755
2751
 
2756
- - `Void`
2752
+ - function - Function to use in ref prop in html elements
2757
2753
 
2758
2754
 
2759
2755
 
2760
2756
 
2761
- ### dist/services/api/getDatasetColumns.api.js
2757
+ ### dist/stencil/util/getConfig.js
2762
2758
 
2763
2759
 
2764
- #### getDatasetColumns(qrveyid)
2760
+ #### getConfig(cfg)
2765
2761
 
2766
- Get a dataset by Qrvey ID
2762
+ verify the Config object type and try to return a parsed Object
2763
+ - In case _cfg_ is a string, first try to make a JSON parse in other case
2764
+ try to find this string as a variable on Windows object
2765
+ - If _cfg_ is a fuction, tis is invoked and parsed
2766
+ - Finally, if is an object, _cfg_ is inmediatly returned
2767
2767
 
2768
2768
 
2769
2769
 
@@ -2772,7 +2772,7 @@ Get a dataset by Qrvey ID
2772
2772
 
2773
2773
  | Name | Type | Description | |
2774
2774
  | ---- | ---- | ----------- | -------- |
2775
- | qrveyid | | The Qrvey ID |   |
2775
+ | cfg | | |   |
2776
2776
 
2777
2777
 
2778
2778
 
@@ -2780,7 +2780,7 @@ Get a dataset by Qrvey ID
2780
2780
  ##### Returns
2781
2781
 
2782
2782
 
2783
- - a promise
2783
+ - `Void`
2784
2784
 
2785
2785
 
2786
2786
 
@@ -2948,12 +2948,13 @@ Returns a filter builder config object by a any given config
2948
2948
 
2949
2949
 
2950
2950
 
2951
- ### dist/filters/helpers/common/areFiltersEquals.js
2951
+ ### dist/filters/helpers/backend/buildExpression.js
2952
2952
 
2953
2953
 
2954
- #### areFiltersEquals(filter1, filter2)
2954
+ #### buildExpression(filter)
2955
2955
 
2956
- Validates if both filters are the same
2956
+ Builds filter expression by the filter data.
2957
+ - If the resulting value array is empty the enabled property will be false.
2957
2958
 
2958
2959
 
2959
2960
 
@@ -2962,8 +2963,7 @@ Validates if both filters are the same
2962
2963
 
2963
2964
  | Name | Type | Description | |
2964
2965
  | ---- | ---- | ----------- | -------- |
2965
- | filter1 | | filter 1 |   |
2966
- | filter2 | | filter 2 |   |
2966
+ | filter | | The filter to transform |   |
2967
2967
 
2968
2968
 
2969
2969
 
@@ -2971,17 +2971,17 @@ Validates if both filters are the same
2971
2971
  ##### Returns
2972
2972
 
2973
2973
 
2974
- - true: the filters are equal; false: the filters are NOT equal
2974
+ - a filter expression
2975
2975
 
2976
2976
 
2977
2977
 
2978
2978
 
2979
- ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
2979
+ ### dist/filters/helpers/backend/buildUserFilters.js
2980
2980
 
2981
2981
 
2982
- #### excludeFiltersByAggregateColumn(filterData)
2982
+ #### buildUserFilters(userFilters)
2983
2983
 
2984
- Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
2984
+ Transform user Filters array into Filter Logic structure
2985
2985
 
2986
2986
 
2987
2987
 
@@ -2990,7 +2990,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
2990
2990
 
2991
2991
  | Name | Type | Description | |
2992
2992
  | ---- | ---- | ----------- | -------- |
2993
- | filterData | | The filter data object |   |
2993
+ | userFilters | | The filters that the user defined. |   |
2994
2994
 
2995
2995
 
2996
2996
 
@@ -2998,26 +2998,17 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
2998
2998
  ##### Returns
2999
2999
 
3000
3000
 
3001
- - The new filter data object that were excluded the aggregate filters
3001
+ - The filter logic for the given user filters. if No a given object is recieved, it will return an empty array.
3002
3002
 
3003
3003
 
3004
3004
 
3005
3005
 
3006
- ### dist/filters/helpers/common/excludeFiltersByParams.js
3006
+ ### dist/filters/helpers/backend/getAggFiltersBySummaryIndex.js
3007
3007
 
3008
3008
 
3009
- #### excludeFiltersByParams(filterData, params)
3009
+ #### getAggFiltersBySummaryIndex(aggFilters, summaryIndex)
3010
+
3010
3011
 
3011
- Excludes filters from the given Filters.
3012
- The validation to filter the stored filter is depending on:
3013
- - Column
3014
- - Qrvey ID
3015
- - Scope type
3016
- - Scope ID
3017
- - Panel ID
3018
- - Validator type
3019
- - Property type
3020
- - Enabled flags
3021
3012
 
3022
3013
 
3023
3014
 
@@ -3026,8 +3017,8 @@ The validation to filter the stored filter is depending on:
3026
3017
 
3027
3018
  | Name | Type | Description | |
3028
3019
  | ---- | ---- | ----------- | -------- |
3029
- | filterData | | The Filter Data or the UI Filter Data |   |
3030
- | params | | given parameters to validate the filter data |   |
3020
+ | aggFilters | | |   |
3021
+ | summaryIndex | | |   |
3031
3022
 
3032
3023
 
3033
3024
 
@@ -3035,17 +3026,17 @@ The validation to filter the stored filter is depending on:
3035
3026
  ##### Returns
3036
3027
 
3037
3028
 
3038
- - a new Filter object structure
3029
+ -
3039
3030
 
3040
3031
 
3041
3032
 
3042
3033
 
3043
- ### dist/filters/helpers/common/excludeFiltersByScopes.js
3034
+ ### dist/filters/helpers/backend/getBackendGroupValue.js
3044
3035
 
3045
3036
 
3046
- #### excludeFiltersByScopes(filterData, scopes)
3037
+ #### getBackendGroupValue(filter)
3047
3038
 
3048
- Excludes and returns a filter data without filters by the given scopes
3039
+ Gets a group value for the backend logic structure
3049
3040
 
3050
3041
 
3051
3042
 
@@ -3054,8 +3045,7 @@ Excludes and returns a filter data without filters by the given scopes
3054
3045
 
3055
3046
  | Name | Type | Description | |
3056
3047
  | ---- | ---- | ----------- | -------- |
3057
- | filterData | | The Filter Data |   |
3058
- | scopes | | collection of scopes to be as filtering parameters |   |
3048
+ | filter | | The filter |   |
3059
3049
 
3060
3050
 
3061
3051
 
@@ -3063,17 +3053,17 @@ Excludes and returns a filter data without filters by the given scopes
3063
3053
  ##### Returns
3064
3054
 
3065
3055
 
3066
- - The new Filter Data without filters by the given scopes.
3056
+ - a property
3067
3057
 
3068
3058
 
3069
3059
 
3070
3060
 
3071
- ### dist/filters/helpers/common/getFilterColumnLabel.js
3061
+ ### dist/filters/helpers/backend/getBackendProperty.js
3072
3062
 
3073
3063
 
3074
- #### getFilterColumnLabel(column)
3064
+ #### getBackendProperty(filter)
3075
3065
 
3076
- Get an string of the properties of the given filter column.
3066
+ Gets a property for the logic structure
3077
3067
 
3078
3068
 
3079
3069
 
@@ -3082,7 +3072,7 @@ Get an string of the properties of the given filter column.
3082
3072
 
3083
3073
  | Name | Type | Description | |
3084
3074
  | ---- | ---- | ----------- | -------- |
3085
- | column | | The filter column |   |
3075
+ | filter | | The filter |   |
3086
3076
 
3087
3077
 
3088
3078
 
@@ -3090,17 +3080,17 @@ Get an string of the properties of the given filter column.
3090
3080
  ##### Returns
3091
3081
 
3092
3082
 
3093
- - an string with the property, aggregate or calculation label.
3083
+ - a property
3094
3084
 
3095
3085
 
3096
3086
 
3097
3087
 
3098
- ### dist/filters/helpers/common/getFilterLabel.js
3088
+ ### dist/filters/helpers/backend/getBackendValidator.js
3099
3089
 
3100
3090
 
3101
- #### getFilterLabel(filter)
3091
+ #### getBackendValidator(validator)
3102
3092
 
3103
- Gets the Filter Label + Column label
3093
+ Gets the Validator that is used in requests
3104
3094
 
3105
3095
 
3106
3096
 
@@ -3109,7 +3099,7 @@ Gets the Filter Label + Column label
3109
3099
 
3110
3100
  | Name | Type | Description | |
3111
3101
  | ---- | ---- | ----------- | -------- |
3112
- | filter | | the UI filter |   |
3102
+ | validator | | Filter Validator used in UI |   |
3113
3103
 
3114
3104
 
3115
3105
 
@@ -3117,28 +3107,17 @@ Gets the Filter Label + Column label
3117
3107
  ##### Returns
3118
3108
 
3119
3109
 
3120
- - a sring label
3110
+ - Filter Validator used in Backend
3121
3111
 
3122
3112
 
3123
3113
 
3124
3114
 
3125
- ### dist/filters/helpers/common/getFilterid.js
3115
+ ### dist/filters/helpers/backend/getBackendValues.js
3126
3116
 
3127
3117
 
3128
- #### getFilterid(filter)
3118
+ #### getBackendValues(filter)
3129
3119
 
3130
- Get the Filter ID by the filter structure
3131
- The order of the epression ID is:
3132
- - Scope Type
3133
- - scopeid
3134
- - qrveyid
3135
- - panelid
3136
- - columnid
3137
- - validator
3138
- - property
3139
- - Column Aggregate
3140
- - Column Calculation
3141
- - Optional Index
3120
+ Gets the expresion values in the logic format
3142
3121
 
3143
3122
 
3144
3123
 
@@ -3147,7 +3126,7 @@ The order of the epression ID is:
3147
3126
 
3148
3127
  | Name | Type | Description | |
3149
3128
  | ---- | ---- | ----------- | -------- |
3150
- | filter | | the filter structure |   |
3129
+ | filter | | The filter structure |   |
3151
3130
 
3152
3131
 
3153
3132
 
@@ -3155,17 +3134,13 @@ The order of the epression ID is:
3155
3134
  ##### Returns
3156
3135
 
3157
3136
 
3158
- - a text to identify the filter
3159
-
3160
-
3161
-
3137
+ - A collection of backend expression value
3162
3138
 
3163
- ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3164
3139
 
3165
3140
 
3166
- #### getFiltersByAggregateColumn(filterData)
3141
+ #### getResultValues(values, filter)
3167
3142
 
3168
- Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3143
+ Gets the expression values. Depending on the column type
3169
3144
 
3170
3145
 
3171
3146
 
@@ -3174,7 +3149,8 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3174
3149
 
3175
3150
  | Name | Type | Description | |
3176
3151
  | ---- | ---- | ----------- | -------- |
3177
- | filterData | | The filter data object |   |
3152
+ | values | | a collection of filter values |   |
3153
+ | filter | | The filter structure |   |
3178
3154
 
3179
3155
 
3180
3156
 
@@ -3182,26 +3158,13 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
3182
3158
  ##### Returns
3183
3159
 
3184
3160
 
3185
- - The new filter data object that were get the aggregate filters
3186
-
3187
-
3161
+ -
3188
3162
 
3189
3163
 
3190
- ### dist/filters/helpers/common/getFiltersByParams.js
3191
3164
 
3165
+ #### getRankingValues(values, rankingGroupIndex)
3192
3166
 
3193
- #### getFiltersByParams(filterData, params)
3194
-
3195
- Gets filters from the given params.
3196
- The validation to filter the stored filter is depending on:
3197
- - Column
3198
- - Qrvey ID
3199
- - Scope type
3200
- - Scope ID
3201
- - Panel ID
3202
- - Validator type
3203
- - Property type
3204
- - Enabled flags
3167
+ Gets the Ranking values.
3205
3168
 
3206
3169
 
3207
3170
 
@@ -3210,8 +3173,8 @@ The validation to filter the stored filter is depending on:
3210
3173
 
3211
3174
  | Name | Type | Description | |
3212
3175
  | ---- | ---- | ----------- | -------- |
3213
- | filterData | | The Filter Data or the UI Filter Data |   |
3214
- | params | | given parameters to validate the dataset |   |
3176
+ | values | | a collection of filter values in the ranking structure |   |
3177
+ | rankingGroupIndex | | determine the value by this index to build and return it |   |
3215
3178
 
3216
3179
 
3217
3180
 
@@ -3219,17 +3182,17 @@ The validation to filter the stored filter is depending on:
3219
3182
  ##### Returns
3220
3183
 
3221
3184
 
3222
- - a new Filter object structure
3185
+ - Expression values for ranking
3223
3186
 
3224
3187
 
3225
3188
 
3226
3189
 
3227
- ### dist/filters/helpers/common/getFiltersByScopes.js
3190
+ ### dist/filters/helpers/backend/getLogicByScopes.js
3228
3191
 
3229
3192
 
3230
- #### getFiltersByScopes(filterData, scopes)
3193
+ #### getLogicByScopes(logics, scopes)
3231
3194
 
3232
- Filters and gets a Filter Data by the given scopes
3195
+ Gets the filters from logic data by Scopes/Scope IDs.
3233
3196
 
3234
3197
 
3235
3198
 
@@ -3238,8 +3201,8 @@ Filters and gets a Filter Data by the given scopes
3238
3201
 
3239
3202
  | Name | Type | Description | |
3240
3203
  | ---- | ---- | ----------- | -------- |
3241
- | filterData | | The Filter Data |   |
3242
- | scopes | | collection of scopes types |   |
3204
+ | logics | | The logic array |   |
3205
+ | scopes | | The collection of Scopes/Scope IDs |   |
3243
3206
 
3244
3207
 
3245
3208
 
@@ -3247,17 +3210,17 @@ Filters and gets a Filter Data by the given scopes
3247
3210
  ##### Returns
3248
3211
 
3249
3212
 
3250
- - The new Filter Data
3213
+ - a new Logic array
3251
3214
 
3252
3215
 
3253
3216
 
3254
3217
 
3255
- ### dist/filters/helpers/common/getFiltersByScopesIds.js
3218
+ ### dist/filters/helpers/backend/getLogicByScopesHierarchy.js
3256
3219
 
3257
3220
 
3258
- #### getFiltersByScopesIds(filterData, scopes)
3221
+ #### getLogicByScopesHierarchy(filterData, scopes, currentScope)
3259
3222
 
3260
- Gets filters from Filter Data by Scopes/Scope IDs.
3223
+ Gets filters from the logic by the scopes hierarchy.
3261
3224
 
3262
3225
 
3263
3226
 
@@ -3266,8 +3229,9 @@ Gets filters from Filter Data by Scopes/Scope IDs.
3266
3229
 
3267
3230
  | Name | Type | Description | |
3268
3231
  | ---- | ---- | ----------- | -------- |
3269
- | filterData | | The filter data |   |
3270
- | scopes | | The collection of Scopes/Scope IDs |   |
3232
+ | filterData | | |   |
3233
+ | scopes | | |   |
3234
+ | currentScope | | |   |
3271
3235
 
3272
3236
 
3273
3237
 
@@ -3275,17 +3239,17 @@ Gets filters from Filter Data by Scopes/Scope IDs.
3275
3239
  ##### Returns
3276
3240
 
3277
3241
 
3278
- - a new Filter Data
3242
+ - a new array of Logic
3279
3243
 
3280
3244
 
3281
3245
 
3282
3246
 
3283
- ### dist/filters/helpers/common/getFiltersByVisibility.js
3247
+ ### dist/filters/helpers/common/areFiltersEquals.js
3284
3248
 
3285
3249
 
3286
- #### getFiltersByVisibility(filterData, scopes)
3250
+ #### areFiltersEquals(filter1, filter2)
3287
3251
 
3288
- Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3252
+ Validates if both filters are the same
3289
3253
 
3290
3254
 
3291
3255
 
@@ -3294,8 +3258,8 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3294
3258
 
3295
3259
  | Name | Type | Description | |
3296
3260
  | ---- | ---- | ----------- | -------- |
3297
- | filterData | | a Filter Data or UI Filter Data |   |
3298
- | scopes | | a Scopes/Scope IDs array |   |
3261
+ | filter1 | | filter 1 |   |
3262
+ | filter2 | | filter 2 |   |
3299
3263
 
3300
3264
 
3301
3265
 
@@ -3303,17 +3267,17 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3303
3267
  ##### Returns
3304
3268
 
3305
3269
 
3306
- - a new Filter Data
3270
+ - true: the filters are equal; false: the filters are NOT equal
3307
3271
 
3308
3272
 
3309
3273
 
3310
3274
 
3311
- ### dist/filters/helpers/common/getMergeFiltersSettings.js
3275
+ ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3312
3276
 
3313
3277
 
3314
- #### getMergeFiltersSettings(settings)
3278
+ #### excludeFiltersByAggregateColumn(filterData)
3315
3279
 
3316
- Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
3280
+ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3317
3281
 
3318
3282
 
3319
3283
 
@@ -3322,7 +3286,7 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
3322
3286
 
3323
3287
  | Name | Type | Description | |
3324
3288
  | ---- | ---- | ----------- | -------- |
3325
- | settings | | an object to the MergeFilters settings |   |
3289
+ | filterData | | The filter data object |   |
3326
3290
 
3327
3291
 
3328
3292
 
@@ -3330,17 +3294,26 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
3330
3294
  ##### Returns
3331
3295
 
3332
3296
 
3333
- - a new MergeFilters settings object.
3297
+ - The new filter data object that were excluded the aggregate filters
3334
3298
 
3335
3299
 
3336
3300
 
3337
3301
 
3338
- ### dist/filters/helpers/common/getParamsToGetFilterSettings.js
3302
+ ### dist/filters/helpers/common/excludeFiltersByParams.js
3339
3303
 
3340
3304
 
3341
- #### getParamsToGetFilterSettings(settings)
3305
+ #### excludeFiltersByParams(filterData, params)
3342
3306
 
3343
- Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
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
3344
3317
 
3345
3318
 
3346
3319
 
@@ -3349,7 +3322,8 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3349
3322
 
3350
3323
  | Name | Type | Description | |
3351
3324
  | ---- | ---- | ----------- | -------- |
3352
- | settings | | an object to the ParamsToGetFilter settings |   |
3325
+ | filterData | | The Filter Data or the UI Filter Data |   |
3326
+ | params | | given parameters to validate the filter data |   |
3353
3327
 
3354
3328
 
3355
3329
 
@@ -3357,17 +3331,17 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3357
3331
  ##### Returns
3358
3332
 
3359
3333
 
3360
- - a new ParamsToGetFilter settings object.
3334
+ - a new Filter object structure
3361
3335
 
3362
3336
 
3363
3337
 
3364
3338
 
3365
- ### dist/filters/helpers/common/haveFiltersByDataset.js
3339
+ ### dist/filters/helpers/common/excludeFiltersByScopes.js
3366
3340
 
3367
3341
 
3368
- #### haveFiltersByDataset(filterData, qrveyid)
3342
+ #### excludeFiltersByScopes(filterData, scopes)
3369
3343
 
3370
- Validates if the filter data has filters by a dataset ID (Qrvey ID).
3344
+ Excludes and returns a filter data without filters by the given scopes
3371
3345
 
3372
3346
 
3373
3347
 
@@ -3376,8 +3350,8 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3376
3350
 
3377
3351
  | Name | Type | Description | |
3378
3352
  | ---- | ---- | ----------- | -------- |
3379
- | filterData | | the filter data or the UI filter data. |   |
3380
- | qrveyid | | The Qrvey ID |   |
3353
+ | filterData | | The Filter Data |   |
3354
+ | scopes | | collection of scopes to be as filtering parameters |   |
3381
3355
 
3382
3356
 
3383
3357
 
@@ -3385,17 +3359,17 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3385
3359
  ##### Returns
3386
3360
 
3387
3361
 
3388
- - true: the filter data has filters by the Qrvey ID
3362
+ - The new Filter Data without filters by the given scopes.
3389
3363
 
3390
3364
 
3391
3365
 
3392
3366
 
3393
- ### dist/filters/helpers/common/isBetweenValidator.js
3367
+ ### dist/filters/helpers/common/getFilterColumnLabel.js
3394
3368
 
3395
3369
 
3396
- #### isBetweenValidator(validator)
3370
+ #### getFilterColumnLabel(column)
3397
3371
 
3398
- Validates if the given validator is a Between type
3372
+ Get an string of the properties of the given filter column.
3399
3373
 
3400
3374
 
3401
3375
 
@@ -3404,7 +3378,7 @@ Validates if the given validator is a Between type
3404
3378
 
3405
3379
  | Name | Type | Description | |
3406
3380
  | ---- | ---- | ----------- | -------- |
3407
- | validator | | The validator |   |
3381
+ | column | | The filter column |   |
3408
3382
 
3409
3383
 
3410
3384
 
@@ -3412,17 +3386,17 @@ Validates if the given validator is a Between type
3412
3386
  ##### Returns
3413
3387
 
3414
3388
 
3415
- - true: it is a between validator; false: it is not a between validator
3389
+ - an string with the property, aggregate or calculation label.
3416
3390
 
3417
3391
 
3418
3392
 
3419
3393
 
3420
- ### dist/filters/helpers/common/isDateDistinctProperty.js
3394
+ ### dist/filters/helpers/common/getFilterLabel.js
3421
3395
 
3422
3396
 
3423
- #### isDateDistinctProperty(column, property)
3397
+ #### getFilterLabel(filter)
3424
3398
 
3425
- Determines if the filter column and property is a distinct group dates type
3399
+ Gets the Filter Label + Column label
3426
3400
 
3427
3401
 
3428
3402
 
@@ -3431,8 +3405,7 @@ Determines if the filter column and property is a distinct group dates type
3431
3405
 
3432
3406
  | Name | Type | Description | |
3433
3407
  | ---- | ---- | ----------- | -------- |
3434
- | column | | The filter column |   |
3435
- | property | | The filter property |   |
3408
+ | filter | | the UI filter |   |
3436
3409
 
3437
3410
 
3438
3411
 
@@ -3440,17 +3413,28 @@ Determines if the filter column and property is a distinct group dates type
3440
3413
  ##### Returns
3441
3414
 
3442
3415
 
3443
- - True if the given property is included from distinct group dates type
3416
+ - a sring label
3444
3417
 
3445
3418
 
3446
3419
 
3447
3420
 
3448
- ### dist/filters/helpers/common/isInValidator.js
3421
+ ### dist/filters/helpers/common/getFilterid.js
3449
3422
 
3450
3423
 
3451
- #### isInValidator(validator)
3424
+ #### getFilterid(filter)
3452
3425
 
3453
- Validates if the given validator is a In type
3426
+ Get the Filter ID by the filter structure
3427
+ The order of the epression ID is:
3428
+ - Scope Type
3429
+ - scopeid
3430
+ - qrveyid
3431
+ - panelid
3432
+ - columnid
3433
+ - validator
3434
+ - property
3435
+ - Column Aggregate
3436
+ - Column Calculation
3437
+ - Optional Index
3454
3438
 
3455
3439
 
3456
3440
 
@@ -3459,7 +3443,7 @@ Validates if the given validator is a In type
3459
3443
 
3460
3444
  | Name | Type | Description | |
3461
3445
  | ---- | ---- | ----------- | -------- |
3462
- | validator | | The validator |   |
3446
+ | filter | | the filter structure |   |
3463
3447
 
3464
3448
 
3465
3449
 
@@ -3467,17 +3451,17 @@ Validates if the given validator is a In type
3467
3451
  ##### Returns
3468
3452
 
3469
3453
 
3470
- - true: it is a In validator; false: it is not a In validator
3454
+ - a text to identify the filter
3471
3455
 
3472
3456
 
3473
3457
 
3474
3458
 
3475
- ### dist/filters/helpers/common/isNullValidator.js
3459
+ ### dist/filters/helpers/common/getFiltersByAggregateColumn.js
3476
3460
 
3477
3461
 
3478
- #### isNullValidator(validator)
3462
+ #### getFiltersByAggregateColumn(filterData)
3479
3463
 
3480
- Checks if the given validator is a Null type.
3464
+ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
3481
3465
 
3482
3466
 
3483
3467
 
@@ -3486,7 +3470,7 @@ Checks if the given validator is a Null type.
3486
3470
 
3487
3471
  | Name | Type | Description | |
3488
3472
  | ---- | ---- | ----------- | -------- |
3489
- | validator | | The Filter Validator |   |
3473
+ | filterData | | The filter data object |   |
3490
3474
 
3491
3475
 
3492
3476
 
@@ -3494,17 +3478,26 @@ Checks if the given validator is a Null type.
3494
3478
  ##### Returns
3495
3479
 
3496
3480
 
3497
- - True: It is a Null Validator; False: It is not a Null Validator.
3481
+ - The new filter data object that were get the aggregate filters
3498
3482
 
3499
3483
 
3500
3484
 
3501
3485
 
3502
- ### dist/filters/helpers/common/isRangeValidator.js
3486
+ ### dist/filters/helpers/common/getFiltersByParams.js
3503
3487
 
3504
3488
 
3505
- #### isRangeValidator(validator)
3489
+ #### getFiltersByParams(filterData, params)
3506
3490
 
3507
- Validates if the given validator is a Range type. Range type means the value has min and max values to filter
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
3508
3501
 
3509
3502
 
3510
3503
 
@@ -3513,7 +3506,8 @@ Validates if the given validator is a Range type. Range type means the value has
3513
3506
 
3514
3507
  | Name | Type | Description | |
3515
3508
  | ---- | ---- | ----------- | -------- |
3516
- | validator | | The filter validator |   |
3509
+ | filterData | | The Filter Data or the UI Filter Data |   |
3510
+ | params | | given parameters to validate the dataset |   |
3517
3511
 
3518
3512
 
3519
3513
 
@@ -3521,17 +3515,17 @@ Validates if the given validator is a Range type. Range type means the value has
3521
3515
  ##### Returns
3522
3516
 
3523
3517
 
3524
- - true: it is a range validator
3518
+ - a new Filter object structure
3525
3519
 
3526
3520
 
3527
3521
 
3528
3522
 
3529
- ### dist/filters/helpers/common/isRegularValidator.js
3523
+ ### dist/filters/helpers/common/getFiltersByScopes.js
3530
3524
 
3531
3525
 
3532
- #### isRegularValidator(validator)
3526
+ #### getFiltersByScopes(filterData, scopes)
3533
3527
 
3534
- Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
3528
+ Filters and gets a Filter Data by the given scopes
3535
3529
 
3536
3530
 
3537
3531
 
@@ -3540,7 +3534,8 @@ Validates if the given validator is a regular type. Regular type means the filte
3540
3534
 
3541
3535
  | Name | Type | Description | |
3542
3536
  | ---- | ---- | ----------- | -------- |
3543
- | validator | | The filter validator |   |
3537
+ | filterData | | The Filter Data |   |
3538
+ | scopes | | collection of scopes types |   |
3544
3539
 
3545
3540
 
3546
3541
 
@@ -3548,17 +3543,17 @@ Validates if the given validator is a regular type. Regular type means the filte
3548
3543
  ##### Returns
3549
3544
 
3550
3545
 
3551
- - true: it is a range validator
3546
+ - The new Filter Data
3552
3547
 
3553
3548
 
3554
3549
 
3555
3550
 
3556
- ### dist/filters/helpers/common/mergeFilters.js
3551
+ ### dist/filters/helpers/common/getFiltersByScopesIds.js
3557
3552
 
3558
3553
 
3559
- #### mergeFilters(filterData1, filterData2, overwriteValues)
3554
+ #### getFiltersByScopesIds(filterData, scopes)
3560
3555
 
3561
- Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
3556
+ Gets filters from Filter Data by Scopes/Scope IDs.
3562
3557
 
3563
3558
 
3564
3559
 
@@ -3567,9 +3562,8 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
3567
3562
 
3568
3563
  | Name | Type | Description | |
3569
3564
  | ---- | ---- | ----------- | -------- |
3570
- | filterData1 | | The target filter data |   |
3571
- | filterData2 | | the filter data to be merged |   |
3572
- | overwriteValues | | Flag to overwrite or not the filter values |   |
3565
+ | filterData | | The filter data |   |
3566
+ | scopes | | The collection of Scopes/Scope IDs |   |
3573
3567
 
3574
3568
 
3575
3569
 
@@ -3577,13 +3571,17 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
3577
3571
  ##### Returns
3578
3572
 
3579
3573
 
3580
- - a new filter data structure
3574
+ - a new Filter Data
3581
3575
 
3582
3576
 
3583
3577
 
3584
- #### mergeScopes(scopes1, scopes2, overwriteValues)
3585
3578
 
3586
- Gets a new scope structure array by merging two scope structures
3579
+ ### dist/filters/helpers/common/getFiltersByVisibility.js
3580
+
3581
+
3582
+ #### getFiltersByVisibility(filterData, scopes)
3583
+
3584
+ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
3587
3585
 
3588
3586
 
3589
3587
 
@@ -3592,9 +3590,8 @@ Gets a new scope structure array by merging two scope structures
3592
3590
 
3593
3591
  | Name | Type | Description | |
3594
3592
  | ---- | ---- | ----------- | -------- |
3595
- | scopes1 | | the target scope structure |   |
3596
- | scopes2 | | the scope to be merged |   |
3597
- | overwriteValues | | Flag to overwrite or not the filter values |   |
3593
+ | filterData | | a Filter Data or UI Filter Data |   |
3594
+ | scopes | | a Scopes/Scope IDs array |   |
3598
3595
 
3599
3596
 
3600
3597
 
@@ -3602,13 +3599,17 @@ Gets a new scope structure array by merging two scope structures
3602
3599
  ##### Returns
3603
3600
 
3604
3601
 
3605
- - a new scope structure array
3602
+ - a new Filter Data
3606
3603
 
3607
3604
 
3608
3605
 
3609
- #### mergeDatasets(datasets1, datasets2, overwriteValues)
3610
3606
 
3611
- Gets a new dataset structure array by merging two dataset structures
3607
+ ### dist/filters/helpers/common/getMergeFiltersSettings.js
3608
+
3609
+
3610
+ #### getMergeFiltersSettings(settings)
3611
+
3612
+ Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
3612
3613
 
3613
3614
 
3614
3615
 
@@ -3617,9 +3618,7 @@ Gets a new dataset structure array by merging two dataset structures
3617
3618
 
3618
3619
  | Name | Type | Description | |
3619
3620
  | ---- | ---- | ----------- | -------- |
3620
- | datasets1 | | the target dataset structure |   |
3621
- | datasets2 | | the dataset to be merged |   |
3622
- | overwriteValues | | Flag to overwrite or not the filter values |   |
3621
+ | settings | | an object to the MergeFilters settings |   |
3623
3622
 
3624
3623
 
3625
3624
 
@@ -3627,13 +3626,17 @@ Gets a new dataset structure array by merging two dataset structures
3627
3626
  ##### Returns
3628
3627
 
3629
3628
 
3630
- - a new dataset structure array
3629
+ - a new MergeFilters settings object.
3631
3630
 
3632
3631
 
3633
3632
 
3634
- #### mergeFilterss(filters1, filters2, overwriteValues)
3635
3633
 
3636
- Gets a new filter structure array by merging two filter structures
3634
+ ### dist/filters/helpers/common/getParamsToGetFilterSettings.js
3635
+
3636
+
3637
+ #### getParamsToGetFilterSettings(settings)
3638
+
3639
+ Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
3637
3640
 
3638
3641
 
3639
3642
 
@@ -3642,9 +3645,7 @@ Gets a new filter structure array by merging two filter structures
3642
3645
 
3643
3646
  | Name | Type | Description | |
3644
3647
  | ---- | ---- | ----------- | -------- |
3645
- | filters1 | | the target filter structure |   |
3646
- | filters2 | | the filter to be merged |   |
3647
- | overwriteValues | | Flag to overwrite or not the filter values |   |
3648
+ | settings | | an object to the ParamsToGetFilter settings |   |
3648
3649
 
3649
3650
 
3650
3651
 
@@ -3652,13 +3653,17 @@ Gets a new filter structure array by merging two filter structures
3652
3653
  ##### Returns
3653
3654
 
3654
3655
 
3655
- - a new filter structure array
3656
+ - a new ParamsToGetFilter settings object.
3656
3657
 
3657
3658
 
3658
3659
 
3659
- #### mergeValues(filter1, filter2, overwrite)
3660
3660
 
3661
- Gets a new value structure array by merging two value structures
3661
+ ### dist/filters/helpers/common/haveFiltersByDataset.js
3662
+
3663
+
3664
+ #### haveFiltersByDataset(filterData, qrveyid)
3665
+
3666
+ Validates if the filter data has filters by a dataset ID (Qrvey ID).
3662
3667
 
3663
3668
 
3664
3669
 
@@ -3667,9 +3672,8 @@ Gets a new value structure array by merging two value structures
3667
3672
 
3668
3673
  | Name | Type | Description | |
3669
3674
  | ---- | ---- | ----------- | -------- |
3670
- | filter1 | | the target filter structure |   |
3671
- | filter2 | | the filter to be used to merge the values |   |
3672
- | overwrite | | Flag to overwrite or not the filter values |   |
3675
+ | filterData | | the filter data or the UI filter data. |   |
3676
+ | qrveyid | | The Qrvey ID |   |
3673
3677
 
3674
3678
 
3675
3679
 
@@ -3677,17 +3681,17 @@ Gets a new value structure array by merging two value structures
3677
3681
  ##### Returns
3678
3682
 
3679
3683
 
3680
- - a new value structure array
3684
+ - true: the filter data has filters by the Qrvey ID
3681
3685
 
3682
3686
 
3683
3687
 
3684
3688
 
3685
- ### dist/filters/helpers/common/resolveDatasetConditions.js
3689
+ ### dist/filters/helpers/common/isBetweenValidator.js
3686
3690
 
3687
3691
 
3688
- #### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3692
+ #### isBetweenValidator(validator)
3689
3693
 
3690
- Resolves the conditions by given params
3694
+ Validates if the given validator is a Between type
3691
3695
 
3692
3696
 
3693
3697
 
@@ -3696,10 +3700,7 @@ Resolves the conditions by given params
3696
3700
 
3697
3701
  | Name | Type | Description | |
3698
3702
  | ---- | ---- | ----------- | -------- |
3699
- | filter | | The dataset structure |   |
3700
- | params | | given parameters to validate the dataset |   |
3701
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3702
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3703
+ | validator | | The validator |   |
3703
3704
 
3704
3705
 
3705
3706
 
@@ -3707,17 +3708,17 @@ Resolves the conditions by given params
3707
3708
  ##### Returns
3708
3709
 
3709
3710
 
3710
- - true: the condition is satisfied
3711
+ - true: it is a between validator; false: it is not a between validator
3711
3712
 
3712
3713
 
3713
3714
 
3714
3715
 
3715
- ### dist/filters/helpers/common/resolveFilterConditions.js
3716
+ ### dist/filters/helpers/common/isDateDistinctProperty.js
3716
3717
 
3717
3718
 
3718
- #### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3719
+ #### isDateDistinctProperty(column, property)
3719
3720
 
3720
- Resolves the conditions by given params
3721
+ Determines if the filter column and property is a distinct group dates type
3721
3722
 
3722
3723
 
3723
3724
 
@@ -3726,10 +3727,8 @@ Resolves the conditions by given params
3726
3727
 
3727
3728
  | Name | Type | Description | |
3728
3729
  | ---- | ---- | ----------- | -------- |
3729
- | filter | | The filter |   |
3730
- | params | | given parameters to validate the filter |   |
3731
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3732
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3730
+ | column | | The filter column |   |
3731
+ | property | | The filter property |   |
3733
3732
 
3734
3733
 
3735
3734
 
@@ -3737,17 +3736,17 @@ Resolves the conditions by given params
3737
3736
  ##### Returns
3738
3737
 
3739
3738
 
3740
- - true: the condition is satisfied
3739
+ - True if the given property is included from distinct group dates type
3741
3740
 
3742
3741
 
3743
3742
 
3744
3743
 
3745
- ### dist/filters/helpers/common/resolveScopeConditions.js
3744
+ ### dist/filters/helpers/common/isInValidator.js
3746
3745
 
3747
3746
 
3748
- #### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3747
+ #### isInValidator(validator)
3749
3748
 
3750
- Resolves the conditions by given params
3749
+ Validates if the given validator is a In type
3751
3750
 
3752
3751
 
3753
3752
 
@@ -3756,10 +3755,7 @@ Resolves the conditions by given params
3756
3755
 
3757
3756
  | Name | Type | Description | |
3758
3757
  | ---- | ---- | ----------- | -------- |
3759
- | filter | | The filter scope structure |   |
3760
- | params | | given parameters to validate the filter |   |
3761
- | letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined |   |
3762
- | letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. |   |
3758
+ | validator | | The validator |   |
3763
3759
 
3764
3760
 
3765
3761
 
@@ -3767,18 +3763,17 @@ Resolves the conditions by given params
3767
3763
  ##### Returns
3768
3764
 
3769
3765
 
3770
- - true: the condition is satisfied
3766
+ - true: it is a In validator; false: it is not a In validator
3771
3767
 
3772
3768
 
3773
3769
 
3774
3770
 
3775
- ### dist/filters/helpers/backend/buildExpression.js
3771
+ ### dist/filters/helpers/common/isNullValidator.js
3776
3772
 
3777
3773
 
3778
- #### buildExpression(filter)
3774
+ #### isNullValidator(validator)
3779
3775
 
3780
- Builds filter expression by the filter data.
3781
- - If the resulting value array is empty the enabled property will be false.
3776
+ Checks if the given validator is a Null type.
3782
3777
 
3783
3778
 
3784
3779
 
@@ -3787,7 +3782,7 @@ Builds filter expression by the filter data.
3787
3782
 
3788
3783
  | Name | Type | Description | |
3789
3784
  | ---- | ---- | ----------- | -------- |
3790
- | filter | | The filter to transform |   |
3785
+ | validator | | The Filter Validator |   |
3791
3786
 
3792
3787
 
3793
3788
 
@@ -3795,17 +3790,17 @@ Builds filter expression by the filter data.
3795
3790
  ##### Returns
3796
3791
 
3797
3792
 
3798
- - a filter expression
3793
+ - True: It is a Null Validator; False: It is not a Null Validator.
3799
3794
 
3800
3795
 
3801
3796
 
3802
3797
 
3803
- ### dist/filters/helpers/backend/buildUserFilters.js
3798
+ ### dist/filters/helpers/common/isRangeValidator.js
3804
3799
 
3805
3800
 
3806
- #### buildUserFilters(userFilters)
3801
+ #### isRangeValidator(validator)
3807
3802
 
3808
- Transform user Filters array into Filter Logic structure
3803
+ Validates if the given validator is a Range type. Range type means the value has min and max values to filter
3809
3804
 
3810
3805
 
3811
3806
 
@@ -3814,7 +3809,7 @@ Transform user Filters array into Filter Logic structure
3814
3809
 
3815
3810
  | Name | Type | Description | |
3816
3811
  | ---- | ---- | ----------- | -------- |
3817
- | userFilters | | The filters that the user defined. |   |
3812
+ | validator | | The filter validator |   |
3818
3813
 
3819
3814
 
3820
3815
 
@@ -3822,17 +3817,17 @@ Transform user Filters array into Filter Logic structure
3822
3817
  ##### Returns
3823
3818
 
3824
3819
 
3825
- - The filter logic for the given user filters. if No a given object is recieved, it will return an empty array.
3826
-
3820
+ - true: it is a range validator
3827
3821
 
3828
3822
 
3829
3823
 
3830
- ### dist/filters/helpers/backend/getAggFiltersBySummaryIndex.js
3831
3824
 
3825
+ ### dist/filters/helpers/common/isRegularValidator.js
3832
3826
 
3833
- #### getAggFiltersBySummaryIndex(aggFilters, summaryIndex)
3834
3827
 
3828
+ #### isRegularValidator(validator)
3835
3829
 
3830
+ Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
3836
3831
 
3837
3832
 
3838
3833
 
@@ -3841,8 +3836,7 @@ Transform user Filters array into Filter Logic structure
3841
3836
 
3842
3837
  | Name | Type | Description | |
3843
3838
  | ---- | ---- | ----------- | -------- |
3844
- | aggFilters | | |   |
3845
- | summaryIndex | | |   |
3839
+ | validator | | The filter validator |   |
3846
3840
 
3847
3841
 
3848
3842
 
@@ -3850,17 +3844,17 @@ Transform user Filters array into Filter Logic structure
3850
3844
  ##### Returns
3851
3845
 
3852
3846
 
3853
- -
3847
+ - true: it is a range validator
3854
3848
 
3855
3849
 
3856
3850
 
3857
3851
 
3858
- ### dist/filters/helpers/backend/getBackendGroupValue.js
3852
+ ### dist/filters/helpers/common/mergeFilters.js
3859
3853
 
3860
3854
 
3861
- #### getBackendGroupValue(filter)
3855
+ #### mergeFilters(filterData1, filterData2, overwriteValues)
3862
3856
 
3863
- Gets a group value for the backend logic structure
3857
+ Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
3864
3858
 
3865
3859
 
3866
3860
 
@@ -3869,7 +3863,9 @@ Gets a group value for the backend logic structure
3869
3863
 
3870
3864
  | Name | Type | Description | |
3871
3865
  | ---- | ---- | ----------- | -------- |
3872
- | filter | | The filter |   |
3866
+ | filterData1 | | The target filter data |   |
3867
+ | filterData2 | | the filter data to be merged |   |
3868
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3873
3869
 
3874
3870
 
3875
3871
 
@@ -3877,17 +3873,13 @@ Gets a group value for the backend logic structure
3877
3873
  ##### Returns
3878
3874
 
3879
3875
 
3880
- - a property
3881
-
3882
-
3883
-
3876
+ - a new filter data structure
3884
3877
 
3885
- ### dist/filters/helpers/backend/getBackendProperty.js
3886
3878
 
3887
3879
 
3888
- #### getBackendProperty(filter)
3880
+ #### mergeScopes(scopes1, scopes2, overwriteValues)
3889
3881
 
3890
- Gets a property for the logic structure
3882
+ Gets a new scope structure array by merging two scope structures
3891
3883
 
3892
3884
 
3893
3885
 
@@ -3896,7 +3888,9 @@ Gets a property for the logic structure
3896
3888
 
3897
3889
  | Name | Type | Description | |
3898
3890
  | ---- | ---- | ----------- | -------- |
3899
- | filter | | The filter |   |
3891
+ | scopes1 | | the target scope structure |   |
3892
+ | scopes2 | | the scope to be merged |   |
3893
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3900
3894
 
3901
3895
 
3902
3896
 
@@ -3904,17 +3898,13 @@ Gets a property for the logic structure
3904
3898
  ##### Returns
3905
3899
 
3906
3900
 
3907
- - a property
3908
-
3909
-
3910
-
3901
+ - a new scope structure array
3911
3902
 
3912
- ### dist/filters/helpers/backend/getBackendValidator.js
3913
3903
 
3914
3904
 
3915
- #### getBackendValidator(validator)
3905
+ #### mergeDatasets(datasets1, datasets2, overwriteValues)
3916
3906
 
3917
- Gets the Validator that is used in requests
3907
+ Gets a new dataset structure array by merging two dataset structures
3918
3908
 
3919
3909
 
3920
3910
 
@@ -3923,7 +3913,9 @@ Gets the Validator that is used in requests
3923
3913
 
3924
3914
  | Name | Type | Description | |
3925
3915
  | ---- | ---- | ----------- | -------- |
3926
- | validator | | Filter Validator used in UI |   |
3916
+ | datasets1 | | the target dataset structure |   |
3917
+ | datasets2 | | the dataset to be merged |   |
3918
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3927
3919
 
3928
3920
 
3929
3921
 
@@ -3931,17 +3923,13 @@ Gets the Validator that is used in requests
3931
3923
  ##### Returns
3932
3924
 
3933
3925
 
3934
- - Filter Validator used in Backend
3935
-
3936
-
3937
-
3926
+ - a new dataset structure array
3938
3927
 
3939
- ### dist/filters/helpers/backend/getBackendValues.js
3940
3928
 
3941
3929
 
3942
- #### getBackendValues(filter)
3930
+ #### mergeFilterss(filters1, filters2, overwriteValues)
3943
3931
 
3944
- Gets the expresion values in the logic format
3932
+ Gets a new filter structure array by merging two filter structures
3945
3933
 
3946
3934
 
3947
3935
 
@@ -3950,7 +3938,9 @@ Gets the expresion values in the logic format
3950
3938
 
3951
3939
  | Name | Type | Description | |
3952
3940
  | ---- | ---- | ----------- | -------- |
3953
- | filter | | The filter structure |   |
3941
+ | filters1 | | the target filter structure |   |
3942
+ | filters2 | | the filter to be merged |   |
3943
+ | overwriteValues | | Flag to overwrite or not the filter values |   |
3954
3944
 
3955
3945
 
3956
3946
 
@@ -3958,13 +3948,13 @@ Gets the expresion values in the logic format
3958
3948
  ##### Returns
3959
3949
 
3960
3950
 
3961
- - A collection of backend expression value
3951
+ - a new filter structure array
3962
3952
 
3963
3953
 
3964
3954
 
3965
- #### getResultValues(values, filter)
3955
+ #### mergeValues(filter1, filter2, overwrite)
3966
3956
 
3967
- Gets the expression values. Depending on the column type
3957
+ Gets a new value structure array by merging two value structures
3968
3958
 
3969
3959
 
3970
3960
 
@@ -3973,8 +3963,9 @@ Gets the expression values. Depending on the column type
3973
3963
 
3974
3964
  | Name | Type | Description | |
3975
3965
  | ---- | ---- | ----------- | -------- |
3976
- | values | | a collection of filter values |   |
3977
- | filter | | The filter structure |   |
3966
+ | filter1 | | the target filter structure |   |
3967
+ | filter2 | | the filter to be used to merge the values |   |
3968
+ | overwrite | | Flag to overwrite or not the filter values |   |
3978
3969
 
3979
3970
 
3980
3971
 
@@ -3982,13 +3973,17 @@ Gets the expression values. Depending on the column type
3982
3973
  ##### Returns
3983
3974
 
3984
3975
 
3985
- -
3976
+ - a new value structure array
3986
3977
 
3987
3978
 
3988
3979
 
3989
- #### getRankingValues(values, rankingGroupIndex)
3990
3980
 
3991
- Gets the Ranking values.
3981
+ ### dist/filters/helpers/common/resolveDatasetConditions.js
3982
+
3983
+
3984
+ #### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
3985
+
3986
+ Resolves the conditions by given params
3992
3987
 
3993
3988
 
3994
3989
 
@@ -3997,8 +3992,10 @@ Gets the Ranking values.
3997
3992
 
3998
3993
  | Name | Type | Description | |
3999
3994
  | ---- | ---- | ----------- | -------- |
4000
- | values | | a collection of filter values in the ranking structure |   |
4001
- | rankingGroupIndex | | determine the value by this index to build and return it |   |
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. |   |
4002
3999
 
4003
4000
 
4004
4001
 
@@ -4006,17 +4003,17 @@ Gets the Ranking values.
4006
4003
  ##### Returns
4007
4004
 
4008
4005
 
4009
- - Expression values for ranking
4006
+ - true: the condition is satisfied
4010
4007
 
4011
4008
 
4012
4009
 
4013
4010
 
4014
- ### dist/filters/helpers/backend/getLogicByScopes.js
4011
+ ### dist/filters/helpers/common/resolveFilterConditions.js
4015
4012
 
4016
4013
 
4017
- #### getLogicByScopes(logics, scopes)
4014
+ #### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4018
4015
 
4019
- Gets the filters from logic data by Scopes/Scope IDs.
4016
+ Resolves the conditions by given params
4020
4017
 
4021
4018
 
4022
4019
 
@@ -4025,8 +4022,10 @@ Gets the filters from logic data by Scopes/Scope IDs.
4025
4022
 
4026
4023
  | Name | Type | Description | |
4027
4024
  | ---- | ---- | ----------- | -------- |
4028
- | logics | | The logic array |   |
4029
- | scopes | | The collection of Scopes/Scope IDs |   |
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. |   |
4030
4029
 
4031
4030
 
4032
4031
 
@@ -4034,17 +4033,17 @@ Gets the filters from logic data by Scopes/Scope IDs.
4034
4033
  ##### Returns
4035
4034
 
4036
4035
 
4037
- - a new Logic array
4036
+ - true: the condition is satisfied
4038
4037
 
4039
4038
 
4040
4039
 
4041
4040
 
4042
- ### dist/filters/helpers/backend/getLogicByScopesHierarchy.js
4041
+ ### dist/filters/helpers/common/resolveScopeConditions.js
4043
4042
 
4044
4043
 
4045
- #### getLogicByScopesHierarchy(filterData, scopes, currentScope)
4044
+ #### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
4046
4045
 
4047
- Gets filters from the logic by the scopes hierarchy.
4046
+ Resolves the conditions by given params
4048
4047
 
4049
4048
 
4050
4049
 
@@ -4053,9 +4052,10 @@ Gets filters from the logic by the scopes hierarchy.
4053
4052
 
4054
4053
  | Name | Type | Description | |
4055
4054
  | ---- | ---- | ----------- | -------- |
4056
- | filterData | | |   |
4057
- | scopes | | |   |
4058
- | currentScope | | |   |
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. |   |
4059
4059
 
4060
4060
 
4061
4061
 
@@ -4063,7 +4063,7 @@ Gets filters from the logic by the scopes hierarchy.
4063
4063
  ##### Returns
4064
4064
 
4065
4065
 
4066
- - a new array of Logic
4066
+ - true: the condition is satisfied
4067
4067
 
4068
4068
 
4069
4069