@qrvey/utils 1.2.4-24 → 1.2.4-25

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 (504) hide show
  1. package/README.md +682 -682
  2. package/dist/charts/constants/AGGREGATE_GENERAL.d.ts +5 -0
  3. package/dist/charts/constants/AGGREGATE_GENERAL.js +6 -0
  4. package/dist/cjs/charts/constants/AGGREGATE_GENERAL.d.ts +5 -0
  5. package/dist/cjs/charts/constants/AGGREGATE_GENERAL.js +9 -0
  6. package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +2 -0
  7. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +156 -0
  8. package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesCrosstab.js → chart_builder/II18nChartBuilder.js} +0 -0
  9. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.d.ts +11 -0
  10. package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesDefault.js → chart_builder/II18nChartBuilderActionPanel.js} +0 -0
  11. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAddress.d.ts +5 -0
  12. package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.js → chart_builder/II18nChartBuilderAddress.js} +0 -0
  13. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +6 -0
  14. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.js +2 -0
  15. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +28 -0
  16. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.js +2 -0
  17. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.d.ts +15 -0
  18. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.js +2 -0
  19. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.d.ts +9 -0
  20. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.js +2 -0
  21. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.d.ts +8 -0
  22. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.js +2 -0
  23. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.d.ts +4 -0
  24. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.js +2 -0
  25. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.d.ts +24 -0
  26. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js +2 -0
  27. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.d.ts +5 -0
  28. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.js +2 -0
  29. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +24 -0
  30. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.js +2 -0
  31. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.d.ts +5 -0
  32. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.js +2 -0
  33. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.d.ts +7 -0
  34. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.js +2 -0
  35. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.d.ts +13 -0
  36. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.js +2 -0
  37. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +9 -0
  38. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.js +2 -0
  39. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +20 -0
  40. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.js +2 -0
  41. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +5 -0
  42. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js +2 -0
  43. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +4 -0
  44. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js +2 -0
  45. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +4 -0
  46. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.js +2 -0
  47. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +4 -0
  48. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +2 -0
  49. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +4 -0
  50. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +2 -0
  51. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +6 -0
  52. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +2 -0
  53. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +5 -0
  54. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +2 -0
  55. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.d.ts +21 -0
  56. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.js +2 -0
  57. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.d.ts +10 -0
  58. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.js +2 -0
  59. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.d.ts +8 -0
  60. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.js +2 -0
  61. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +24 -0
  62. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.js +2 -0
  63. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.d.ts +17 -0
  64. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.js +2 -0
  65. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDialog.d.ts +6 -0
  66. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDialog.js +2 -0
  67. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +19 -0
  68. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.js +2 -0
  69. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.d.ts +4 -0
  70. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.js +2 -0
  71. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.d.ts +3 -0
  72. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.js +2 -0
  73. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +9 -0
  74. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.js +2 -0
  75. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.d.ts +17 -0
  76. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.js +2 -0
  77. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.d.ts +5 -0
  78. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.js +2 -0
  79. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.d.ts +5 -0
  80. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.js +2 -0
  81. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +21 -0
  82. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.js +2 -0
  83. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.d.ts +4 -0
  84. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.js +2 -0
  85. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLegends.d.ts +5 -0
  86. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLegends.js +2 -0
  87. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.d.ts +21 -0
  88. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.js +2 -0
  89. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.d.ts +12 -0
  90. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.js +2 -0
  91. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.d.ts +5 -0
  92. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.js +2 -0
  93. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.d.ts +4 -0
  94. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.js +2 -0
  95. package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesCrosstab.d.ts → chart_builder/II18nChartBuilderMessagesCrosstab.d.ts} +1 -1
  96. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.js +2 -0
  97. package/{src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts → dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.d.ts} +1 -1
  98. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.js +2 -0
  99. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.d.ts +3 -0
  100. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.js +2 -0
  101. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.d.ts +3 -0
  102. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.js +2 -0
  103. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.d.ts +3 -0
  104. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.js +2 -0
  105. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.d.ts +3 -0
  106. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.js +2 -0
  107. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.d.ts +5 -0
  108. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.js +2 -0
  109. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.d.ts +4 -0
  110. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.js +2 -0
  111. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.d.ts +13 -0
  112. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.js +2 -0
  113. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.d.ts +7 -0
  114. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.js +2 -0
  115. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.d.ts +4 -0
  116. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.js +2 -0
  117. package/dist/{globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts → cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.d.ts} +1 -1
  118. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.js +2 -0
  119. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.d.ts +10 -0
  120. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.js +2 -0
  121. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderOperators.d.ts +23 -0
  122. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderOperators.js +2 -0
  123. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +14 -0
  124. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.js +2 -0
  125. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.d.ts +6 -0
  126. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.js +2 -0
  127. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.d.ts +4 -0
  128. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.js +2 -0
  129. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.d.ts +4 -0
  130. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.js +2 -0
  131. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +5 -0
  132. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.js +2 -0
  133. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.d.ts +7 -0
  134. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.js +2 -0
  135. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +16 -0
  136. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.js +2 -0
  137. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +27 -0
  138. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.js +2 -0
  139. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.d.ts +13 -0
  140. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.js +2 -0
  141. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.d.ts +14 -0
  142. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.js +2 -0
  143. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +30 -0
  144. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.js +2 -0
  145. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.d.ts +9 -0
  146. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.js +2 -0
  147. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.d.ts +9 -0
  148. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.js +2 -0
  149. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.d.ts +9 -0
  150. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.js +2 -0
  151. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.d.ts +12 -0
  152. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.js +2 -0
  153. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.d.ts +20 -0
  154. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.js +2 -0
  155. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.d.ts +6 -0
  156. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.js +2 -0
  157. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +17 -0
  158. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.js +2 -0
  159. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTotals.d.ts +23 -0
  160. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTotals.js +2 -0
  161. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +30 -0
  162. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.js +2 -0
  163. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.d.ts +11 -0
  164. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.js +2 -0
  165. package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +78 -0
  166. package/dist/cjs/globalization/interfaces/chart_builder/index.js +90 -0
  167. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +3 -0
  168. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +1 -6
  169. package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -3
  170. package/dist/cjs/globalization/interfaces/common/index.js +0 -3
  171. package/dist/cjs/globalization/interfaces/index.d.ts +1 -0
  172. package/dist/cjs/globalization/interfaces/index.js +1 -0
  173. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +1 -0
  174. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +10 -0
  175. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +2 -0
  176. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +2 -0
  177. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +54 -0
  178. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +2 -0
  179. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +25 -0
  180. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +4 -0
  181. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +33 -0
  182. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +4 -0
  183. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +293 -0
  184. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +4 -0
  185. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +128 -0
  186. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +4 -0
  187. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +30 -0
  188. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.d.ts +4 -0
  189. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.js +28 -0
  190. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +4 -0
  191. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +251 -0
  192. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.d.ts +4 -0
  193. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.js +17 -0
  194. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.d.ts +4 -0
  195. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +31 -0
  196. package/dist/cjs/globalization/labels/chart_builder/index.d.ts +10 -0
  197. package/dist/cjs/globalization/labels/chart_builder/index.js +22 -0
  198. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +4 -0
  199. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +1 -21
  200. package/dist/cjs/globalization/labels/index.d.ts +2 -1
  201. package/dist/cjs/globalization/labels/index.js +2 -1
  202. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +13 -2
  203. package/dist/globalization/interfaces/IResourceI18n.d.ts +2 -0
  204. package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +156 -0
  205. package/dist/globalization/interfaces/{common/II18nChartInfoMessagesCrosstab.js → chart_builder/II18nChartBuilder.js} +0 -0
  206. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.d.ts +11 -0
  207. package/dist/globalization/interfaces/{common/II18nChartInfoMessagesDefault.js → chart_builder/II18nChartBuilderActionPanel.js} +0 -0
  208. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAddress.d.ts +5 -0
  209. package/dist/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.js → chart_builder/II18nChartBuilderAddress.js} +0 -0
  210. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +6 -0
  211. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.js +1 -0
  212. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +28 -0
  213. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.js +1 -0
  214. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.d.ts +15 -0
  215. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.js +1 -0
  216. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.d.ts +9 -0
  217. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.js +1 -0
  218. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.d.ts +8 -0
  219. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.js +1 -0
  220. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.d.ts +4 -0
  221. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.js +1 -0
  222. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.d.ts +24 -0
  223. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js +1 -0
  224. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.d.ts +5 -0
  225. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.js +1 -0
  226. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +24 -0
  227. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.js +1 -0
  228. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.d.ts +5 -0
  229. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.js +1 -0
  230. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.d.ts +7 -0
  231. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.js +1 -0
  232. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.d.ts +13 -0
  233. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.js +1 -0
  234. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +9 -0
  235. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.js +1 -0
  236. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +20 -0
  237. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.js +1 -0
  238. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +5 -0
  239. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js +1 -0
  240. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +4 -0
  241. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js +1 -0
  242. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +4 -0
  243. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.js +1 -0
  244. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +4 -0
  245. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +1 -0
  246. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +4 -0
  247. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +1 -0
  248. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +6 -0
  249. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +1 -0
  250. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +5 -0
  251. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +1 -0
  252. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.d.ts +21 -0
  253. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.js +1 -0
  254. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.d.ts +10 -0
  255. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.js +1 -0
  256. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.d.ts +8 -0
  257. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.js +1 -0
  258. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +24 -0
  259. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.js +1 -0
  260. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.d.ts +17 -0
  261. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.js +1 -0
  262. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDialog.d.ts +6 -0
  263. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDialog.js +1 -0
  264. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +19 -0
  265. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.js +1 -0
  266. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.d.ts +4 -0
  267. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.js +1 -0
  268. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.d.ts +3 -0
  269. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.js +1 -0
  270. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +9 -0
  271. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.js +1 -0
  272. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.d.ts +17 -0
  273. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.js +1 -0
  274. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.d.ts +5 -0
  275. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.js +1 -0
  276. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.d.ts +5 -0
  277. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.js +1 -0
  278. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +21 -0
  279. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.js +1 -0
  280. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.d.ts +4 -0
  281. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.js +1 -0
  282. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLegends.d.ts +5 -0
  283. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLegends.js +1 -0
  284. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.d.ts +21 -0
  285. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.js +1 -0
  286. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.d.ts +12 -0
  287. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.js +1 -0
  288. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.d.ts +5 -0
  289. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.js +1 -0
  290. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.d.ts +4 -0
  291. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.js +1 -0
  292. package/{src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts → dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.d.ts} +1 -1
  293. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.js +1 -0
  294. package/dist/globalization/interfaces/{common/II18nChartInfoMessagesDefault.d.ts → chart_builder/II18nChartBuilderMessagesDefault.d.ts} +1 -1
  295. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.js +1 -0
  296. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.d.ts +3 -0
  297. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.js +1 -0
  298. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.d.ts +3 -0
  299. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.js +1 -0
  300. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.d.ts +3 -0
  301. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.js +1 -0
  302. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.d.ts +3 -0
  303. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.js +1 -0
  304. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.d.ts +5 -0
  305. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.js +1 -0
  306. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.d.ts +4 -0
  307. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.js +1 -0
  308. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.d.ts +13 -0
  309. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.js +1 -0
  310. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.d.ts +7 -0
  311. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.js +1 -0
  312. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.d.ts +4 -0
  313. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.js +1 -0
  314. package/dist/{cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts → globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.d.ts} +1 -1
  315. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.js +1 -0
  316. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.d.ts +10 -0
  317. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.js +1 -0
  318. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderOperators.d.ts +23 -0
  319. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderOperators.js +1 -0
  320. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +14 -0
  321. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.js +1 -0
  322. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.d.ts +6 -0
  323. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.js +1 -0
  324. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.d.ts +4 -0
  325. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.js +1 -0
  326. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.d.ts +4 -0
  327. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.js +1 -0
  328. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +5 -0
  329. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.js +1 -0
  330. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.d.ts +7 -0
  331. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.js +1 -0
  332. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +16 -0
  333. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.js +1 -0
  334. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +27 -0
  335. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.js +1 -0
  336. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.d.ts +13 -0
  337. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.js +1 -0
  338. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.d.ts +14 -0
  339. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.js +1 -0
  340. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +30 -0
  341. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.js +1 -0
  342. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.d.ts +9 -0
  343. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.js +1 -0
  344. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.d.ts +9 -0
  345. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.js +1 -0
  346. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.d.ts +9 -0
  347. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.js +1 -0
  348. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.d.ts +12 -0
  349. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.js +1 -0
  350. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.d.ts +20 -0
  351. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.js +1 -0
  352. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.d.ts +6 -0
  353. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.js +1 -0
  354. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +17 -0
  355. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.js +1 -0
  356. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTotals.d.ts +23 -0
  357. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTotals.js +1 -0
  358. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +30 -0
  359. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.js +1 -0
  360. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.d.ts +11 -0
  361. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.js +1 -0
  362. package/dist/globalization/interfaces/chart_builder/index.d.ts +78 -0
  363. package/dist/globalization/interfaces/chart_builder/index.js +78 -0
  364. package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +3 -0
  365. package/dist/globalization/interfaces/common/II18nCommon.d.ts +1 -6
  366. package/dist/globalization/interfaces/common/index.d.ts +0 -3
  367. package/dist/globalization/interfaces/common/index.js +0 -3
  368. package/dist/globalization/interfaces/index.d.ts +1 -0
  369. package/dist/globalization/interfaces/index.js +1 -0
  370. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +1 -0
  371. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +10 -0
  372. package/dist/globalization/labels/I18N_DEFAULT.js +2 -0
  373. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +2 -0
  374. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +51 -0
  375. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +2 -0
  376. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +22 -0
  377. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +4 -0
  378. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +30 -0
  379. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +4 -0
  380. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +290 -0
  381. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +4 -0
  382. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +125 -0
  383. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +4 -0
  384. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +27 -0
  385. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.d.ts +4 -0
  386. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.js +25 -0
  387. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +4 -0
  388. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +248 -0
  389. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.d.ts +4 -0
  390. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.js +14 -0
  391. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.d.ts +4 -0
  392. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +28 -0
  393. package/dist/globalization/labels/chart_builder/index.d.ts +10 -0
  394. package/dist/globalization/labels/chart_builder/index.js +10 -0
  395. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +4 -0
  396. package/dist/globalization/labels/common/I18N_COMMON.js +1 -21
  397. package/dist/globalization/labels/index.d.ts +2 -1
  398. package/dist/globalization/labels/index.js +2 -1
  399. package/dist/globalization/labels/panel/I18N_PANEL.js +13 -2
  400. package/package.json +1 -1
  401. package/src/charts/constants/AGGREGATE_GENERAL.ts +5 -0
  402. package/src/globalization/interfaces/IResourceI18n.ts +2 -0
  403. package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +157 -0
  404. package/src/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.ts +11 -0
  405. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAddress.ts +5 -0
  406. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.ts +6 -0
  407. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +28 -0
  408. package/src/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.ts +16 -0
  409. package/src/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.ts +9 -0
  410. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.ts +8 -0
  411. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.ts +4 -0
  412. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.ts +24 -0
  413. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.ts +5 -0
  414. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.ts +24 -0
  415. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.ts +5 -0
  416. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.ts +7 -0
  417. package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.ts +13 -0
  418. package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +9 -0
  419. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +20 -0
  420. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +6 -0
  421. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +4 -0
  422. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +4 -0
  423. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +4 -0
  424. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +4 -0
  425. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +6 -0
  426. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.ts +6 -0
  427. package/src/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.ts +21 -0
  428. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.ts +10 -0
  429. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.ts +8 -0
  430. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +24 -0
  431. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.ts +17 -0
  432. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDialog.ts +6 -0
  433. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +19 -0
  434. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.ts +4 -0
  435. package/src/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.ts +3 -0
  436. package/src/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.ts +9 -0
  437. package/src/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.ts +17 -0
  438. package/src/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.ts +5 -0
  439. package/src/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.ts +5 -0
  440. package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +21 -0
  441. package/src/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.ts +5 -0
  442. package/src/globalization/interfaces/chart_builder/II18nChartBuilderLegends.ts +5 -0
  443. package/src/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.ts +21 -0
  444. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.ts +12 -0
  445. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.ts +5 -0
  446. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.ts +4 -0
  447. package/{dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts → src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.ts} +2 -2
  448. package/{dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts → src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.ts} +2 -2
  449. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.ts +3 -0
  450. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.ts +3 -0
  451. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.ts +3 -0
  452. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.ts +3 -0
  453. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.ts +5 -0
  454. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.ts +4 -0
  455. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.ts +13 -0
  456. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.ts +7 -0
  457. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.ts +4 -0
  458. package/src/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.ts → chart_builder/II18nChartBuilderMessagesTableChart.ts} +2 -2
  459. package/src/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.ts +10 -0
  460. package/src/globalization/interfaces/chart_builder/II18nChartBuilderOperators.ts +23 -0
  461. package/src/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.ts +14 -0
  462. package/src/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.ts +6 -0
  463. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.ts +5 -0
  464. package/src/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.ts +4 -0
  465. package/src/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.ts +5 -0
  466. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.ts +7 -0
  467. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +16 -0
  468. package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +27 -0
  469. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.ts +13 -0
  470. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.ts +14 -0
  471. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +30 -0
  472. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.ts +9 -0
  473. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.ts +9 -0
  474. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.ts +9 -0
  475. package/src/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.ts +12 -0
  476. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.ts +20 -0
  477. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.ts +6 -0
  478. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +17 -0
  479. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTotals.ts +23 -0
  480. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +30 -0
  481. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.ts +11 -0
  482. package/src/globalization/interfaces/chart_builder/index.ts +78 -0
  483. package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +4 -1
  484. package/src/globalization/interfaces/common/II18nCommon.ts +1 -6
  485. package/src/globalization/interfaces/common/index.ts +0 -3
  486. package/src/globalization/interfaces/index.ts +1 -0
  487. package/src/globalization/interfaces/panel/II18nPanel.ts +1 -0
  488. package/src/globalization/interfaces/panel/II18nPanelErrors.ts +10 -0
  489. package/src/globalization/labels/I18N_DEFAULT.ts +3 -0
  490. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER.ts +66 -0
  491. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +24 -0
  492. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.ts +34 -0
  493. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +300 -0
  494. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +128 -0
  495. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +30 -0
  496. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.ts +28 -0
  497. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +256 -0
  498. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.ts +17 -0
  499. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +31 -0
  500. package/src/globalization/labels/chart_builder/index.ts +10 -0
  501. package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +4 -0
  502. package/src/globalization/labels/common/I18N_COMMON.ts +1 -21
  503. package/src/globalization/labels/index.ts +2 -1
  504. package/src/globalization/labels/panel/I18N_PANEL.ts +13 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-24*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-25*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -80,12 +80,12 @@ Get a text and evaluate if it matchs with a token box label.
80
80
 
81
81
 
82
82
 
83
- ### dist/dates/adapters/monthYearToDate.js
83
+ ### dist/filters/adapters/FDToFlatUI.js
84
84
 
85
85
 
86
- #### monthYearToDate(monthYearDate, time)
86
+ #### FDToFlatUI(filterData, datasetsInfo)
87
87
 
88
- Transforms String Date from a [Month Year] format to Date object.
88
+ Generates a Flattened UI filter structure from Filter Data structure.
89
89
 
90
90
 
91
91
 
@@ -94,8 +94,8 @@ Transforms String Date from a [Month Year] format to Date object.
94
94
 
95
95
  | Name | Type | Description | |
96
96
  | ---- | ---- | ----------- | -------- |
97
- | monthYearDate | | String of [Month Year] date |   |
98
- | time | | Flag to parse the object date to milliseconds. |   |
97
+ | filterData | | The filter data object. |   |
98
+ | datasetsInfo | | Collection of datasets information |   |
99
99
 
100
100
 
101
101
 
@@ -103,17 +103,13 @@ Transforms String Date from a [Month Year] format to Date object.
103
103
  ##### Returns
104
104
 
105
105
 
106
- - The date object or the date in milliseconds
107
-
108
-
109
-
106
+ - a flattened UI filters array
110
107
 
111
- ### dist/dates/adapters/mdyDateToDate.js
112
108
 
113
109
 
114
- #### mdyDateToDate(monthYearDate, time)
110
+ #### FD21ToFlatUI(scopes, datasetsInfo)
115
111
 
116
- Transforms String Date from a [mm/dd/yyyy] format to Date object.
112
+ Generates a Filter Builder Structure from the Filter Data structure v2.1
117
113
 
118
114
 
119
115
 
@@ -122,8 +118,8 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
122
118
 
123
119
  | Name | Type | Description | |
124
120
  | ---- | ---- | ----------- | -------- |
125
- | monthYearDate | | String of [mm/dd/yyyy] date |   |
126
- | time | | Flag to parse the object date to milliseconds. |   |
121
+ | scopes | | The filter scope section |   |
122
+ | datasetsInfo | | Collection of datasets information |   |
127
123
 
128
124
 
129
125
 
@@ -131,17 +127,17 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
131
127
  ##### Returns
132
128
 
133
129
 
134
- - The date object or the date in milliseconds
130
+ - a flattened UI filters array
135
131
 
136
132
 
137
133
 
138
134
 
139
- ### dist/dates/adapters/quarterYearToDate.js
135
+ ### dist/filters/adapters/FDToLogic.js
140
136
 
141
137
 
142
- #### quarterYearToDate(quarterYearDate, time)
138
+ #### FDToLogic(filterData)
143
139
 
144
- Transforms String Date from a [Quarter Year] format to Date object.
140
+ Generates a Filter Logic structure from Filter Data structure.
145
141
 
146
142
 
147
143
 
@@ -150,8 +146,7 @@ Transforms String Date from a [Quarter Year] format to Date object.
150
146
 
151
147
  | Name | Type | Description | |
152
148
  | ---- | ---- | ----------- | -------- |
153
- | quarterYearDate | | String of [Quarter Year] date |   |
154
- | time | | Flag to parse the object date to milliseconds. |   |
149
+ | filterData | | The filter data object. |   |
155
150
 
156
151
 
157
152
 
@@ -159,17 +154,13 @@ Transforms String Date from a [Quarter Year] format to Date object.
159
154
  ##### Returns
160
155
 
161
156
 
162
- - The date object or the date in milliseconds
163
-
164
-
165
-
157
+ - a filter logic array
166
158
 
167
- ### dist/dates/adapters/weekYearToDate.js
168
159
 
169
160
 
170
- #### weekYearToDate(date, time)
161
+ #### getLogicBodyFromFD21(filterData)
171
162
 
172
- Transforms String Date from a [Week Year] format to Date object.
163
+ Gets the logic body
173
164
 
174
165
 
175
166
 
@@ -178,8 +169,7 @@ Transforms String Date from a [Week Year] format to Date object.
178
169
 
179
170
  | Name | Type | Description | |
180
171
  | ---- | ---- | ----------- | -------- |
181
- | date | | String of [Week Year] date |   |
182
- | time | | Flag to parse the object date to milliseconds. |   |
172
+ | filterData | | The filter data object |   |
183
173
 
184
174
 
185
175
 
@@ -187,17 +177,17 @@ Transforms String Date from a [Week Year] format to Date object.
187
177
  ##### Returns
188
178
 
189
179
 
190
- - The date object or the date in milliseconds
180
+ - a filter logic array
191
181
 
192
182
 
193
183
 
194
184
 
195
- ### dist/dates/adapters/yearToDate.js
185
+ ### dist/filters/adapters/FDToUI.js
196
186
 
197
187
 
198
- #### yearToDate(yearDate, time)
188
+ #### FDToUI(filterData, datasetsInfo)
199
189
 
200
- Transforms String Date from a [Year] format to Date object.
190
+ Generates a UI filter structure from Filter Data structure.
201
191
 
202
192
 
203
193
 
@@ -206,8 +196,8 @@ Transforms String Date from a [Year] format to Date object.
206
196
 
207
197
  | Name | Type | Description | |
208
198
  | ---- | ---- | ----------- | -------- |
209
- | yearDate | | String of [Year] date |   |
210
- | time | | Flag to parse the object date to milliseconds. |   |
199
+ | filterData | | The filter data object. |   |
200
+ | datasetsInfo | | Collection of datasets information |   |
211
201
 
212
202
 
213
203
 
@@ -215,17 +205,13 @@ Transforms String Date from a [Year] format to Date object.
215
205
  ##### Returns
216
206
 
217
207
 
218
- - The date object or the date in milliseconds
219
-
220
-
221
-
208
+ - a UI Filters structure
222
209
 
223
- ### dist/dates/helpers/getDateByDateFormat.js
224
210
 
225
211
 
226
- #### getDateByDateFormat(date, format, time)
212
+ #### FD21ToUI(scopes, section, version, datasetsInfo)
227
213
 
228
- Gets a Date Object instance by a Date format
214
+ Generates a UI filter Structure from the Filter Data structure v2.1
229
215
 
230
216
 
231
217
 
@@ -234,9 +220,10 @@ Gets a Date Object instance by a Date format
234
220
 
235
221
  | Name | Type | Description | |
236
222
  | ---- | ---- | ----------- | -------- |
237
- | date | | String with a formatted date |   |
238
- | format | | The date format |   |
239
- | time | | flag to convert the formatted date to miliseconds |   |
223
+ | scopes | | The filter scope section |   |
224
+ | section | | The filter section. |   |
225
+ | version | | The version of the filter structure |   |
226
+ | datasetsInfo | | Collection of datasets information |   |
240
227
 
241
228
 
242
229
 
@@ -244,17 +231,17 @@ Gets a Date Object instance by a Date format
244
231
  ##### Returns
245
232
 
246
233
 
247
- - a Date object, milisecond time or the same value if date format does not match.
234
+ - a UI filter Structure
248
235
 
249
236
 
250
237
 
251
238
 
252
- ### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
239
+ ### dist/filters/adapters/UIToFD.js
253
240
 
254
241
 
255
- #### getDateFormatRegularExpressionInArray(dateFormat)
242
+ #### UIToFD(filterData)
256
243
 
257
- Gets an array of regular expressions by the given date format
244
+ Generates a Filter Data Structure structure from UI Filter Data structure.
258
245
 
259
246
 
260
247
 
@@ -263,7 +250,7 @@ Gets an array of regular expressions by the given date format
263
250
 
264
251
  | Name | Type | Description | |
265
252
  | ---- | ---- | ----------- | -------- |
266
- | dateFormat | | the date format |   |
253
+ | filterData | | The UI filter data object. |   |
267
254
 
268
255
 
269
256
 
@@ -271,17 +258,13 @@ Gets an array of regular expressions by the given date format
271
258
  ##### Returns
272
259
 
273
260
 
274
- - an array of regular expressions
275
-
276
-
277
-
261
+ - a Filter Data structure
278
262
 
279
- ### dist/dates/helpers/getDateFormatByProperty.js
280
263
 
281
264
 
282
- #### getDateFormatByProperty(property)
265
+ #### UI21ToFD(uFilterData, version)
283
266
 
284
- Gets the date format by the given property
267
+ Builds the Fitler Data structure from UI filter data
285
268
 
286
269
 
287
270
 
@@ -290,7 +273,8 @@ Gets the date format by the given property
290
273
 
291
274
  | Name | Type | Description | |
292
275
  | ---- | ---- | ----------- | -------- |
293
- | property | | The Column Property |   |
276
+ | uFilterData | | The UI filter Data object |   |
277
+ | version | | the version of the structure |   |
294
278
 
295
279
 
296
280
 
@@ -298,17 +282,17 @@ Gets the date format by the given property
298
282
  ##### Returns
299
283
 
300
284
 
301
- - The date format
285
+ -
302
286
 
303
287
 
304
288
 
305
289
 
306
- ### dist/dates/helpers/getSeparatorByDateFormat.js
290
+ ### dist/filters/adapters/UIToFlatUI.js
307
291
 
308
292
 
309
- #### getSeparatorByDateFormat(format)
293
+ #### UIToFlatUI(filterData, datasetsInfo)
310
294
 
311
- Gets the separator of the date format
295
+ Generates a Flattened UI filter structure from UI Filter Data structure.
312
296
 
313
297
 
314
298
 
@@ -317,7 +301,8 @@ Gets the separator of the date format
317
301
 
318
302
  | Name | Type | Description | |
319
303
  | ---- | ---- | ----------- | -------- |
320
- | format | | the date format |   |
304
+ | filterData | | The UI filter data object. |   |
305
+ | datasetsInfo | | Collection of datasets information. Optional for updating the datasets info |   |
321
306
 
322
307
 
323
308
 
@@ -325,18 +310,13 @@ Gets the separator of the date format
325
310
  ##### Returns
326
311
 
327
312
 
328
- - a separator string
329
-
330
-
331
-
313
+ - a flattened UI filters array
332
314
 
333
- ### dist/dates/helpers/getWeek.js
334
315
 
335
316
 
336
- #### getWeek(date)
317
+ #### UI21ToFlatUI(scopes)
337
318
 
338
- Gets the week number of the year
339
- Additionally, the month and the year
319
+ Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
340
320
 
341
321
 
342
322
 
@@ -345,7 +325,7 @@ Additionally, the month and the year
345
325
 
346
326
  | Name | Type | Description | |
347
327
  | ---- | ---- | ----------- | -------- |
348
- | date | | the date object |   |
328
+ | scopes | | The filter scope section |   |
349
329
 
350
330
 
351
331
 
@@ -353,20 +333,18 @@ Additionally, the month and the year
353
333
  ##### Returns
354
334
 
355
335
 
356
- - an object with the week, month and year.
336
+ - a flattened UI filters array
357
337
 
358
338
 
359
339
 
360
340
 
361
- ### dist/dates/helpers/validateDate.js
341
+ ### dist/filters/adapters/adaptDateGroupingProperty.js
362
342
 
363
343
 
364
- #### validateDate(date, format)
344
+ #### adaptDateGroupingProperty(property)
365
345
 
366
- Validate a string date depending on giving format
367
- - If the string is a token label, the function lets it pass.
368
- - Otherwise depends of the format
369
- - Some escenarios the string is a mix of token labels and dates
346
+ [TODO: For 2022, eliminate this adapter]
347
+ Get the new property base on the old date grouping properties
370
348
 
371
349
 
372
350
 
@@ -375,8 +353,7 @@ Validate a string date depending on giving format
375
353
 
376
354
  | Name | Type | Description | |
377
355
  | ---- | ---- | ----------- | -------- |
378
- | date | | String of date |   |
379
- | format | | String of the format to validate |   |
356
+ | property | | |   |
380
357
 
381
358
 
382
359
 
@@ -384,17 +361,17 @@ Validate a string date depending on giving format
384
361
  ##### Returns
385
362
 
386
363
 
387
- - True if it is valid or not. Undefined if date is undefined
364
+ -
388
365
 
389
366
 
390
367
 
391
368
 
392
- ### dist/dates/helpers/validateDateByDateFormat.js
369
+ ### dist/filters/adapters/adaptFilterData.js
393
370
 
394
371
 
395
- #### validateDateByDateFormat(date, dateForma)
372
+ #### adaptFilterData(filterData, getUIFilterData, datasetsInfo)
396
373
 
397
- Validates the given string as Date by its date format.
374
+ Checks and adapts the v2.0 Filter Data Structure to the v2.1
398
375
 
399
376
 
400
377
 
@@ -403,8 +380,9 @@ Validates the given string as Date by its date format.
403
380
 
404
381
  | Name | Type | Description | |
405
382
  | ---- | ---- | ----------- | -------- |
406
- | date | | a string to validate as date form |   |
407
- | dateForma | | the format of the date to validate the string |   |
383
+ | filterData | | The filter data structure. Accepts both v2.1 or v2.0 |   |
384
+ | getUIFilterData | | Flag to get a Filter Data (False) or the UI Filter Data (True) |   |
385
+ | datasetsInfo | | Collection of datasets information. If getUIFilterData is true, the datasetsInfo should be mandatory |   |
408
386
 
409
387
 
410
388
 
@@ -412,17 +390,18 @@ Validates the given string as Date by its date format.
412
390
  ##### Returns
413
391
 
414
392
 
415
- - true: the string is a valida date
393
+ - A new filter data structure v2.1
416
394
 
417
395
 
418
396
 
419
397
 
420
- ### dist/dates/range/getDateRange.js
398
+ ### dist/filters/adapters/adaptFilterValues.js
421
399
 
422
400
 
423
- #### getDateRange(value, dateGroupLabel, withTime)
401
+ #### adaptFilterValues(filter)
424
402
 
425
- Get date range object from a string date value
403
+ [TODO: For 2022, eliminate this adapter]
404
+ Gets an adapted filter value array. Validates the enabled property and sets
426
405
 
427
406
 
428
407
 
@@ -431,74 +410,59 @@ Get date range object from a string date value
431
410
 
432
411
  | Name | Type | Description | |
433
412
  | ---- | ---- | ----------- | -------- |
434
- | value | `String` | string date value |   |
435
- | dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' |   |
436
- | withTime | `Boolean` | determines if the date range will include time. Default is true |   |
413
+ | filter | | The filter |   |
437
414
 
438
415
 
439
416
 
440
417
 
441
- ##### Examples
418
+ ##### Returns
442
419
 
443
- ```javascript
444
- // 1) Year:
445
- getDateRange('2020', 'YEAR');
446
- // Will return:
447
- {
448
- from: '01/01/2020 00:00:00',
449
- to: '12/31/2020 23:59:59'
450
- }
451
420
 
452
- // 2) Quarter:
453
- getDateRange('Q3 2020', 'QUARTER');
454
- // Will return:
455
- {
456
- from: '07/01/2020 00:00:00',
457
- to: '09/30/2020 23:59:59'
458
- }
421
+ - A new value array with the filled properties.
459
422
 
460
- // 3) Month:
461
- getDateRange('Oct 2020', 'MONTH');
462
- // Will return:
463
- {
464
- from: '10/01/2020 00:00:00',
465
- to: '10/31/2020 23:59:59'
466
- }
467
- ```
468
423
 
469
424
 
470
- ##### Returns
471
425
 
426
+ ### dist/filters/adapters/flatUIToFD.js
472
427
 
473
- - `Object` an object with the date range with two string date properties: from and to
474
428
 
429
+ #### flatUIToFD(uFilters, version)
475
430
 
431
+ Generates a filter data structure from the flatttened UI filters.
476
432
 
477
433
 
478
- ### dist/dates/relative/Adapter.js
479
434
 
480
435
 
481
- #### value()
436
+ ##### Parameters
482
437
 
483
- Resolves statement and returns statement value
438
+ | Name | Type | Description | |
439
+ | ---- | ---- | ----------- | -------- |
440
+ | uFilters | | Array of flattened filters from UI |   |
441
+ | version | | Tag for the version of the filter data structure |   |
484
442
 
485
443
 
486
444
 
487
445
 
446
+ ##### Returns
488
447
 
489
448
 
490
- ##### Returns
449
+ - a Filter Data.
491
450
 
492
451
 
493
- - `AbsoluteRange` `string`
494
452
 
453
+ #### buildScopes(fbFilters)
454
+
455
+ Gets an array of scopes structure for the filter data. The scopes is organized by scope types and scope IDs
456
+ Also, adds and organizes filters by datasets
495
457
 
496
458
 
497
- #### valueAsAnchor()
498
459
 
499
- Resolves statement as an anchor
500
460
 
461
+ ##### Parameters
501
462
 
463
+ | Name | Type | Description | |
464
+ | ---- | ---- | ----------- | -------- |
465
+ | fbFilters | | Array of flat filters from UI |   |
502
466
 
503
467
 
504
468
 
@@ -506,77 +470,86 @@ Resolves statement as an anchor
506
470
  ##### Returns
507
471
 
508
472
 
509
- - `string`
473
+ - an array of scopes structure.
510
474
 
511
475
 
512
476
 
513
- #### _statementToRange() *private method*
477
+ #### buildScope(uFilter)
514
478
 
515
- Convert verbal statement to range value
479
+ Gets an scope structure for the filter data
516
480
 
517
481
 
518
482
 
519
483
 
484
+ ##### Parameters
520
485
 
486
+ | Name | Type | Description | |
487
+ | ---- | ---- | ----------- | -------- |
488
+ | uFilter | | UI structure filter |   |
521
489
 
522
- ##### Returns
523
490
 
524
491
 
525
- - `AbsoluteRange`
526
492
 
493
+ ##### Returns
527
494
 
528
495
 
529
- #### _resolveAsThis() *private method*
496
+ - an scope structure
530
497
 
531
- Apply 'this' cursor logic to statement
532
498
 
533
499
 
500
+ #### buildDataset(uFilter)
534
501
 
502
+ Gets an dataset structure for the filter data
535
503
 
536
504
 
537
505
 
538
- ##### Returns
539
506
 
507
+ ##### Parameters
540
508
 
541
- - `AbsoluteStatement`
509
+ | Name | Type | Description | |
510
+ | ---- | ---- | ----------- | -------- |
511
+ | uFilter | | a UI structure filter |   |
542
512
 
543
513
 
544
514
 
545
- #### _resolveAsTheLast() *private method*
546
515
 
547
- Apply 'the last' cursor logic to statement
516
+ ##### Returns
548
517
 
549
518
 
519
+ - an dataset structure
550
520
 
551
521
 
552
522
 
523
+ #### buildFilter(uFilter)
553
524
 
554
- ##### Returns
525
+ Gets an filter structure for the filter data
555
526
 
556
527
 
557
- - `AbsoluteStatement`
558
528
 
559
529
 
530
+ ##### Parameters
560
531
 
561
- #### _resolveAsTheNext() *private method*
532
+ | Name | Type | Description | |
533
+ | ---- | ---- | ----------- | -------- |
534
+ | uFilter | | a UI structure filter |   |
562
535
 
563
- Apply 'the next' cursor logic to statement
564
536
 
565
537
 
566
538
 
539
+ ##### Returns
567
540
 
568
541
 
542
+ - an filter structure
569
543
 
570
- ##### Returns
571
544
 
572
545
 
573
- - `AbsoluteStatement`
574
546
 
547
+ ### dist/filters/adapters/flatUIToLogic.js
575
548
 
576
549
 
577
- #### replaceNowToken(value, now)
550
+ #### flatUIToLogic(uFilter)
578
551
 
579
- Replace '@now' token inside a string
552
+ Generates a Logic structure from flattened UI filters
580
553
 
581
554
 
582
555
 
@@ -585,8 +558,7 @@ Replace '@now' token inside a string
585
558
 
586
559
  | Name | Type | Description | |
587
560
  | ---- | ---- | ----------- | -------- |
588
- | value | `string` | |   |
589
- | now | `Date` | |   |
561
+ | uFilter | | Array of flat filters from UI |   |
590
562
 
591
563
 
592
564
 
@@ -594,60 +566,44 @@ Replace '@now' token inside a string
594
566
  ##### Returns
595
567
 
596
568
 
597
- - `string`
569
+ - The logic structure
598
570
 
599
571
 
600
572
 
601
- #### convertRelativeToAbsolute(args)
602
573
 
603
- Returns a range object (date) from a group of statement params
574
+ ### dist/filters/adapters/flatUIToOldLogic.js
604
575
 
605
576
 
577
+ #### flatUIToOldLogic(uFilters)
606
578
 
579
+ Generates a Logic structure from flattened UI filters
607
580
 
608
- ##### Parameters
609
581
 
610
- | Name | Type | Description | |
611
- | ---- | ---- | ----------- | -------- |
612
- | args | `RelativeToAbsoluteStruct` | |   |
613
582
 
614
583
 
584
+ ##### Parameters
615
585
 
586
+ | Name | Type | Description | |
587
+ | ---- | ---- | ----------- | -------- |
588
+ | uFilters | | Array of flat filters from UI |   |
616
589
 
617
- ##### Examples
618
590
 
619
- ```javascript
620
- pivot = '2021-03-03T12:30:40'
621
- unit = month
622
- steps = 2
623
- setTo = END
624
- resolverAsCalendar: true
625
- => Returns '2021-05-31T23:59:59'
626
- ```
627
- ```javascript
628
- pivot = '2021-03-03T12:30:40'
629
- unit = month
630
- steps = -2
631
- setTo = START
632
- resolverAsCalendar: false
633
- => Returns '2021-01-03T00:00:00'
634
- ```
635
591
 
636
592
 
637
593
  ##### Returns
638
594
 
639
595
 
640
- - `string`
596
+ - The logic structure
641
597
 
642
598
 
643
599
 
644
600
 
645
- ### dist/dates/relative/relative.js
601
+ ### dist/filters/adapters/flatUIToUI.js
646
602
 
647
603
 
648
- #### resolveRelative(statements, clock)
604
+ #### flatUIToUI(uFilters, version)
649
605
 
650
- Resolve a list of relative statements according to operator
606
+ Generates a UI filter data structure from the flatttened UI filters.
651
607
 
652
608
 
653
609
 
@@ -656,44 +612,23 @@ Resolve a list of relative statements according to operator
656
612
 
657
613
  | Name | Type | Description | |
658
614
  | ---- | ---- | ----------- | -------- |
659
- | statements | `Array.<RelativeStatement>` `Array.<string>` | - Raw statements/values | &nbsp; |
660
- | clock | `Date` | - Clock/time reference for relative date resolution | &nbsp; |
661
-
662
-
663
-
664
-
665
- ##### Examples
615
+ | uFilters | | Array of flattened filters from UI | &nbsp; |
616
+ | version | | Tag for the version of the filter data structure | &nbsp; |
666
617
 
667
- ```javascript
668
- Input:
669
- {
670
- "cursor": "the_next",
671
- "unit": "year",
672
- "number": 1,
673
- "includeCurrent": false,
674
- "isCalendarDate": false,
675
- "anchor": "03/05/2021"
676
- }
677
618
 
678
- Output:
679
- { gte: "03/06/2021 00:00:00", lte: "03/05/2022 23:59:59" }
680
- ```
681
619
 
682
620
 
683
621
  ##### Returns
684
622
 
685
623
 
686
- - `Array.&lt;AbsoluteRange&gt;` `Array.&lt;string&gt;`
687
-
688
-
689
-
624
+ - a UI Filter Data.
690
625
 
691
- ### dist/filters/adapters/FDToFlatUI.js
692
626
 
693
627
 
694
- #### FDToFlatUI(filterData, datasetsInfo)
628
+ #### buildScopes(fbFilters)
695
629
 
696
- Generates a Flattened UI filter structure from Filter Data structure.
630
+ Gets an array of scopes structure for the UI filter data. The scopes is organized by scope types and scope IDs
631
+ Also, adds and organizes filters by datasets
697
632
 
698
633
 
699
634
 
@@ -702,8 +637,7 @@ Generates a Flattened UI filter structure from Filter Data structure.
702
637
 
703
638
  | Name | Type | Description | |
704
639
  | ---- | ---- | ----------- | -------- |
705
- | filterData | | The filter data object. | &nbsp; |
706
- | datasetsInfo | | Collection of datasets information | &nbsp; |
640
+ | fbFilters | | Array of flat filters from UI | &nbsp; |
707
641
 
708
642
 
709
643
 
@@ -711,13 +645,13 @@ Generates a Flattened UI filter structure from Filter Data structure.
711
645
  ##### Returns
712
646
 
713
647
 
714
- - a flattened UI filters array
648
+ - an array of scopes structure.
715
649
 
716
650
 
717
651
 
718
- #### FD21ToFlatUI(scopes, datasetsInfo)
652
+ #### buildScope(uFilter)
719
653
 
720
- Generates a Filter Builder Structure from the Filter Data structure v2.1
654
+ Gets an scope structure for the UI filter data
721
655
 
722
656
 
723
657
 
@@ -726,8 +660,7 @@ Generates a Filter Builder Structure from the Filter Data structure v2.1
726
660
 
727
661
  | Name | Type | Description | |
728
662
  | ---- | ---- | ----------- | -------- |
729
- | scopes | | The filter scope section | &nbsp; |
730
- | datasetsInfo | | Collection of datasets information | &nbsp; |
663
+ | uFilter | | UI structure filter | &nbsp; |
731
664
 
732
665
 
733
666
 
@@ -735,17 +668,13 @@ Generates a Filter Builder Structure from the Filter Data structure v2.1
735
668
  ##### Returns
736
669
 
737
670
 
738
- - a flattened UI filters array
739
-
740
-
741
-
671
+ - an scope structure
742
672
 
743
- ### dist/filters/adapters/FDToLogic.js
744
673
 
745
674
 
746
- #### FDToLogic(filterData)
675
+ #### buildDataset(uFilter)
747
676
 
748
- Generates a Filter Logic structure from Filter Data structure.
677
+ Gets an dataset structure for the UI filter data
749
678
 
750
679
 
751
680
 
@@ -754,7 +683,7 @@ Generates a Filter Logic structure from Filter Data structure.
754
683
 
755
684
  | Name | Type | Description | |
756
685
  | ---- | ---- | ----------- | -------- |
757
- | filterData | | The filter data object. | &nbsp; |
686
+ | uFilter | | a UI structure filter | &nbsp; |
758
687
 
759
688
 
760
689
 
@@ -762,13 +691,13 @@ Generates a Filter Logic structure from Filter Data structure.
762
691
  ##### Returns
763
692
 
764
693
 
765
- - a filter logic array
694
+ - an dataset structure
766
695
 
767
696
 
768
697
 
769
- #### getLogicBodyFromFD21(filterData)
698
+ #### buildFilter(uFilter)
770
699
 
771
- Gets the logic body
700
+ Gets an filter structure for the UI filter data
772
701
 
773
702
 
774
703
 
@@ -777,7 +706,7 @@ Gets the logic body
777
706
 
778
707
  | Name | Type | Description | |
779
708
  | ---- | ---- | ----------- | -------- |
780
- | filterData | | The filter data object | &nbsp; |
709
+ | uFilter | | a UI structure filter | &nbsp; |
781
710
 
782
711
 
783
712
 
@@ -785,17 +714,17 @@ Gets the logic body
785
714
  ##### Returns
786
715
 
787
716
 
788
- - a filter logic array
717
+ - an filter structure
789
718
 
790
719
 
791
720
 
792
721
 
793
- ### dist/filters/adapters/FDToUI.js
722
+ ### dist/filters/adapters/logicToFD.js
794
723
 
795
724
 
796
- #### FDToUI(filterData, datasetsInfo)
725
+ #### logicToFD(filterData, version)
797
726
 
798
- Generates a UI filter structure from Filter Data structure.
727
+ Generates a filter data structure from the old logic structure (v2.0).
799
728
 
800
729
 
801
730
 
@@ -804,8 +733,8 @@ Generates a UI filter structure from Filter Data structure.
804
733
 
805
734
  | Name | Type | Description | |
806
735
  | ---- | ---- | ----------- | -------- |
807
- | filterData | | The filter data object. | &nbsp; |
808
- | datasetsInfo | | Collection of datasets information | &nbsp; |
736
+ | filterData | | The old filter data structure with logic (v2.0) | &nbsp; |
737
+ | version | | Tag for the version of the filter data structure | &nbsp; |
809
738
 
810
739
 
811
740
 
@@ -813,13 +742,17 @@ Generates a UI filter structure from Filter Data structure.
813
742
  ##### Returns
814
743
 
815
744
 
816
- - a UI Filters structure
745
+ - a Filter Data.
817
746
 
818
747
 
819
748
 
820
- #### FD21ToUI(scopes, section, version, datasetsInfo)
821
749
 
822
- Generates a UI filter Structure from the Filter Data structure v2.1
750
+ ### dist/filters/adapters/logicToFlatUI.js
751
+
752
+
753
+ #### logicToFlatUI(logics)
754
+
755
+ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
823
756
 
824
757
 
825
758
 
@@ -828,10 +761,7 @@ Generates a UI filter Structure from the Filter Data structure v2.1
828
761
 
829
762
  | Name | Type | Description | |
830
763
  | ---- | ---- | ----------- | -------- |
831
- | scopes | | The filter scope section | &nbsp; |
832
- | section | | The filter section. | &nbsp; |
833
- | version | | The version of the filter structure | &nbsp; |
834
- | datasetsInfo | | Collection of datasets information | &nbsp; |
764
+ | logics | | The old logic structure (v2.0) | &nbsp; |
835
765
 
836
766
 
837
767
 
@@ -839,17 +769,13 @@ Generates a UI filter Structure from the Filter Data structure v2.1
839
769
  ##### Returns
840
770
 
841
771
 
842
- - a UI filter Structure
843
-
844
-
845
-
772
+ - The Flattened UI Filters array
846
773
 
847
- ### dist/filters/adapters/UIToFD.js
848
774
 
849
775
 
850
- #### UIToFD(filterData)
776
+ #### getFilter(filters, filter, getIndex)
851
777
 
852
- Generates a Filter Data Structure structure from UI Filter Data structure.
778
+ Get the filter or the index of the given array, validating an old filter structure.
853
779
 
854
780
 
855
781
 
@@ -858,7 +784,9 @@ Generates a Filter Data Structure structure from UI Filter Data structure.
858
784
 
859
785
  | Name | Type | Description | |
860
786
  | ---- | ---- | ----------- | -------- |
861
- | filterData | | The UI filter data object. | &nbsp; |
787
+ | filters | | The array of UI filters | &nbsp; |
788
+ | filter | | The old logic structure filter | &nbsp; |
789
+ | getIndex | | Determines if the index or returns the UI filter object | &nbsp; |
862
790
 
863
791
 
864
792
 
@@ -866,13 +794,13 @@ Generates a Filter Data Structure structure from UI Filter Data structure.
866
794
  ##### Returns
867
795
 
868
796
 
869
- - a Filter Data structure
797
+ - the index or the UI filter object
870
798
 
871
799
 
872
800
 
873
- #### UI21ToFD(uFilterData, version)
801
+ #### refineRankingValues(values, uiValues)
874
802
 
875
- Builds the Fitler Data structure from UI filter data
803
+ Refines the values of the Ranking column type.
876
804
 
877
805
 
878
806
 
@@ -881,8 +809,8 @@ Builds the Fitler Data structure from UI filter data
881
809
 
882
810
  | Name | Type | Description | |
883
811
  | ---- | ---- | ----------- | -------- |
884
- | uFilterData | | The UI filter Data object | &nbsp; |
885
- | version | | the version of the structure | &nbsp; |
812
+ | values | | the Array of Ranking values | &nbsp; |
813
+ | uiValues | | Object with additional info about the values of the filter. | &nbsp; |
886
814
 
887
815
 
888
816
 
@@ -890,17 +818,17 @@ Builds the Fitler Data structure from UI filter data
890
818
  ##### Returns
891
819
 
892
820
 
893
- -
821
+ - the array of Ranking values
894
822
 
895
823
 
896
824
 
897
825
 
898
- ### dist/filters/adapters/UIToFlatUI.js
826
+ ### dist/filters/adapters/logicToUI.js
899
827
 
900
828
 
901
- #### UIToFlatUI(filterData, datasetsInfo)
829
+ #### logicToUI(uFilters, datasetsInfo)
902
830
 
903
- Generates a Flattened UI filter structure from UI Filter Data structure.
831
+ Generates a UI filter structure from the old logic structure (v2.0).
904
832
 
905
833
 
906
834
 
@@ -909,8 +837,8 @@ Generates a Flattened UI filter structure from UI Filter Data structure.
909
837
 
910
838
  | Name | Type | Description | |
911
839
  | ---- | ---- | ----------- | -------- |
912
- | filterData | | The UI filter data object. | &nbsp; |
913
- | datasetsInfo | | Collection of datasets information. Optional for updating the datasets info | &nbsp; |
840
+ | uFilters | | Array of filters from old logic structure | &nbsp; |
841
+ | datasetsInfo | | Collection of datasets information | &nbsp; |
914
842
 
915
843
 
916
844
 
@@ -918,13 +846,17 @@ Generates a Flattened UI filter structure from UI Filter Data structure.
918
846
  ##### Returns
919
847
 
920
848
 
921
- - a flattened UI filters array
849
+ - a UI Filter Data.
922
850
 
923
851
 
924
852
 
925
- #### UI21ToFlatUI(scopes)
926
853
 
927
- Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
854
+ ### dist/filters/adapters/transformFilters.js
855
+
856
+
857
+ #### transformFilters(oldFiltersObj, section)
858
+
859
+ Transform the old filters structure into the new one
928
860
 
929
861
 
930
862
 
@@ -933,53 +865,97 @@ Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
933
865
 
934
866
  | Name | Type | Description | |
935
867
  | ---- | ---- | ----------- | -------- |
936
- | scopes | | The filter scope section | &nbsp; |
868
+ | oldFiltersObj | `Object` | an object with the old filters structure | &nbsp; |
869
+ | section | `String` | could be 'ANALYZE', 'PB', 'UM' or any other value. Deafult is 'ANYWHERE' | &nbsp; |
937
870
 
938
871
 
939
872
 
940
873
 
941
- ##### Returns
874
+ ##### Examples
942
875
 
876
+ ```javascript
943
877
 
944
- - a flattened UI filters array
878
+ const oldPreferenceFilters = {
879
+ "WWXHAULtR-_-xYOQAdpqT__ENABLED": true,
880
+ "WWXHAULtR-_-xYOQAdpqT__ALL--ENABLED": true,
881
+ "WWXHAULtR-_-xYOQAdpqT__COLLAPSED": false,
882
+ "WWXHAULtR-_-xYOQAdpqT__LABEL": "GLOBAL",
883
+ "WWXHAULtR-_-xYOQAdpqT-_-AK4M8UV2": {
884
+ "formulaId": null,
885
+ "panelId": null,
886
+ "values": [
887
+ {
888
+ "EQUALS": [
889
+ {
890
+ "id": "AK4M8UV2a0",
891
+ "value": "A",
892
+ "enabled": true,
893
+ "imageUrl": null
894
+ },
895
+ {
896
+ "id": "AK4M8UV2a1",
897
+ "value": "B",
898
+ "enabled": true,
899
+ "imageUrl": null
900
+ }
901
+ ]
902
+ }
903
+ ],
904
+ "bucketId": null,
905
+ "text": "MC",
906
+ "title": "MC",
907
+ "type": "SINGLE_CHOICE",
908
+ "qid": "AK4M8UV2",
909
+ "dataset": {
910
+ "sourceid": "xYOQAdpqT",
911
+ "name": "Form All Questions",
912
+ "qrveyid": "xYOQAdpqT",
913
+ "text": "Form All Questions",
914
+ "linkid": 0
915
+ },
916
+ "enabled": true,
917
+ "linked": null
918
+ }
919
+ };
945
920
 
921
+ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
922
+ ```
946
923
 
947
924
 
925
+ ##### Returns
948
926
 
949
- ### dist/filters/adapters/adaptDateGroupingProperty.js
950
927
 
928
+ - `Object` an object with the new filters structure
951
929
 
952
- #### adaptDateGroupingProperty(property)
953
930
 
954
- [TODO: For 2022, eliminate this adapter]
955
- Get the new property base on the old date grouping properties
956
931
 
957
932
 
933
+ ### dist/filters/classes/FilterInputErrorHandler.js
958
934
 
959
935
 
960
- ##### Parameters
936
+ #### new FilterInputErrorHandler()
961
937
 
962
- | Name | Type | Description | |
963
- | ---- | ---- | ----------- | -------- |
964
- | property | | | &nbsp; |
965
938
 
966
939
 
967
940
 
968
941
 
969
- ##### Returns
970
942
 
971
943
 
972
- -
973
944
 
945
+ ##### Returns
974
946
 
975
947
 
948
+ - `Void`
976
949
 
977
- ### dist/filters/adapters/adaptFilterData.js
978
950
 
979
951
 
980
- #### adaptFilterData(filterData, getUIFilterData, datasetsInfo)
981
952
 
982
- Checks and adapts the v2.0 Filter Data Structure to the v2.1
953
+ ### dist/filters/helpers/applyHierarchyForAggFilters.js
954
+
955
+
956
+ #### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
957
+
958
+ [TODO: Make a proper description for this function]
983
959
 
984
960
 
985
961
 
@@ -988,9 +964,9 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
988
964
 
989
965
  | Name | Type | Description | |
990
966
  | ---- | ---- | ----------- | -------- |
991
- | filterData | | The filter data structure. Accepts both v2.1 or v2.0 | &nbsp; |
992
- | getUIFilterData | | Flag to get a Filter Data (False) or the UI Filter Data (True) | &nbsp; |
993
- | datasetsInfo | | Collection of datasets information. If getUIFilterData is true, the datasetsInfo should be mandatory | &nbsp; |
967
+ | chartSettings | | Chart Settings for the Filter Builder | &nbsp; |
968
+ | scopes | | | &nbsp; |
969
+ | currentScope | | | &nbsp; |
994
970
 
995
971
 
996
972
 
@@ -998,18 +974,17 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
998
974
  ##### Returns
999
975
 
1000
976
 
1001
- - A new filter data structure v2.1
977
+ -
1002
978
 
1003
979
 
1004
980
 
1005
981
 
1006
- ### dist/filters/adapters/adaptFilterValues.js
982
+ ### dist/filters/helpers/getAvailableScopes.js
1007
983
 
1008
984
 
1009
- #### adaptFilterValues(filter)
985
+ #### getAvailableScopes(config)
1010
986
 
1011
- [TODO: For 2022, eliminate this adapter]
1012
- Gets an adapted filter value array. Validates the enabled property and sets
987
+ Gets Scopes/Scope IDs by given IDs
1013
988
 
1014
989
 
1015
990
 
@@ -1018,7 +993,7 @@ Gets an adapted filter value array. Validates the enabled property and sets
1018
993
 
1019
994
  | Name | Type | Description | |
1020
995
  | ---- | ---- | ----------- | -------- |
1021
- | filter | | The filter | &nbsp; |
996
+ | config | | given Differnts IDs in order set a available scope | &nbsp; |
1022
997
 
1023
998
 
1024
999
 
@@ -1026,17 +1001,17 @@ Gets an adapted filter value array. Validates the enabled property and sets
1026
1001
  ##### Returns
1027
1002
 
1028
1003
 
1029
- - A new value array with the filled properties.
1004
+ - a Scopes/Scope IDs array
1030
1005
 
1031
1006
 
1032
1007
 
1033
1008
 
1034
- ### dist/filters/adapters/flatUIToFD.js
1009
+ ### dist/filters/helpers/getAvailableScopesIDsByConfig.js
1035
1010
 
1036
1011
 
1037
- #### flatUIToFD(uFilters, version)
1012
+ #### getAvailableScopesIDsByConfig(config)
1038
1013
 
1039
- Generates a filter data structure from the flatttened UI filters.
1014
+ Gets the Scopes IDS for the Available Scope function by any config
1040
1015
 
1041
1016
 
1042
1017
 
@@ -1045,8 +1020,7 @@ Generates a filter data structure from the flatttened UI filters.
1045
1020
 
1046
1021
  | Name | Type | Description | |
1047
1022
  | ---- | ---- | ----------- | -------- |
1048
- | uFilters | | Array of flattened filters from UI | &nbsp; |
1049
- | version | | Tag for the version of the filter data structure | &nbsp; |
1023
+ | config | | any config | &nbsp; |
1050
1024
 
1051
1025
 
1052
1026
 
@@ -1054,14 +1028,17 @@ Generates a filter data structure from the flatttened UI filters.
1054
1028
  ##### Returns
1055
1029
 
1056
1030
 
1057
- - a Filter Data.
1031
+ - a Available Scope IDS config
1058
1032
 
1059
1033
 
1060
1034
 
1061
- #### buildScopes(fbFilters)
1062
1035
 
1063
- Gets an array of scopes structure for the filter data. The scopes is organized by scope types and scope IDs
1064
- Also, adds and organizes filters by datasets
1036
+ ### dist/filters/helpers/getScopesByHierarchy.js
1037
+
1038
+
1039
+ #### getScopesByHierarchy(scopes, currentScope)
1040
+
1041
+ [TODO: Make a description for this]
1065
1042
 
1066
1043
 
1067
1044
 
@@ -1070,7 +1047,8 @@ Also, adds and organizes filters by datasets
1070
1047
 
1071
1048
  | Name | Type | Description | |
1072
1049
  | ---- | ---- | ----------- | -------- |
1073
- | fbFilters | | Array of flat filters from UI | &nbsp; |
1050
+ | scopes | | the collection of Scopes/Scope IDs | &nbsp; |
1051
+ | currentScope | | Current scope type | &nbsp; |
1074
1052
 
1075
1053
 
1076
1054
 
@@ -1078,13 +1056,17 @@ Also, adds and organizes filters by datasets
1078
1056
  ##### Returns
1079
1057
 
1080
1058
 
1081
- - an array of scopes structure.
1059
+ - A new array of Scopes/Scope IDs
1082
1060
 
1083
1061
 
1084
1062
 
1085
- #### buildScope(uFilter)
1086
1063
 
1087
- Gets an scope structure for the filter data
1064
+ ### dist/dates/adapters/mdyDateToDate.js
1065
+
1066
+
1067
+ #### mdyDateToDate(monthYearDate, time)
1068
+
1069
+ Transforms String Date from a [mm/dd/yyyy] format to Date object.
1088
1070
 
1089
1071
 
1090
1072
 
@@ -1093,7 +1075,8 @@ Gets an scope structure for the filter data
1093
1075
 
1094
1076
  | Name | Type | Description | |
1095
1077
  | ---- | ---- | ----------- | -------- |
1096
- | uFilter | | UI structure filter | &nbsp; |
1078
+ | monthYearDate | | String of [mm/dd/yyyy] date | &nbsp; |
1079
+ | time | | Flag to parse the object date to milliseconds. | &nbsp; |
1097
1080
 
1098
1081
 
1099
1082
 
@@ -1101,13 +1084,17 @@ Gets an scope structure for the filter data
1101
1084
  ##### Returns
1102
1085
 
1103
1086
 
1104
- - an scope structure
1087
+ - The date object or the date in milliseconds
1105
1088
 
1106
1089
 
1107
1090
 
1108
- #### buildDataset(uFilter)
1109
1091
 
1110
- Gets an dataset structure for the filter data
1092
+ ### dist/dates/adapters/monthYearToDate.js
1093
+
1094
+
1095
+ #### monthYearToDate(monthYearDate, time)
1096
+
1097
+ Transforms String Date from a [Month Year] format to Date object.
1111
1098
 
1112
1099
 
1113
1100
 
@@ -1116,7 +1103,8 @@ Gets an dataset structure for the filter data
1116
1103
 
1117
1104
  | Name | Type | Description | |
1118
1105
  | ---- | ---- | ----------- | -------- |
1119
- | uFilter | | a UI structure filter | &nbsp; |
1106
+ | monthYearDate | | String of [Month Year] date | &nbsp; |
1107
+ | time | | Flag to parse the object date to milliseconds. | &nbsp; |
1120
1108
 
1121
1109
 
1122
1110
 
@@ -1124,13 +1112,17 @@ Gets an dataset structure for the filter data
1124
1112
  ##### Returns
1125
1113
 
1126
1114
 
1127
- - an dataset structure
1115
+ - The date object or the date in milliseconds
1128
1116
 
1129
1117
 
1130
1118
 
1131
- #### buildFilter(uFilter)
1132
1119
 
1133
- Gets an filter structure for the filter data
1120
+ ### dist/dates/adapters/quarterYearToDate.js
1121
+
1122
+
1123
+ #### quarterYearToDate(quarterYearDate, time)
1124
+
1125
+ Transforms String Date from a [Quarter Year] format to Date object.
1134
1126
 
1135
1127
 
1136
1128
 
@@ -1139,7 +1131,8 @@ Gets an filter structure for the filter data
1139
1131
 
1140
1132
  | Name | Type | Description | |
1141
1133
  | ---- | ---- | ----------- | -------- |
1142
- | uFilter | | a UI structure filter | &nbsp; |
1134
+ | quarterYearDate | | String of [Quarter Year] date | &nbsp; |
1135
+ | time | | Flag to parse the object date to milliseconds. | &nbsp; |
1143
1136
 
1144
1137
 
1145
1138
 
@@ -1147,17 +1140,17 @@ Gets an filter structure for the filter data
1147
1140
  ##### Returns
1148
1141
 
1149
1142
 
1150
- - an filter structure
1143
+ - The date object or the date in milliseconds
1151
1144
 
1152
1145
 
1153
1146
 
1154
1147
 
1155
- ### dist/filters/adapters/flatUIToLogic.js
1148
+ ### dist/dates/adapters/weekYearToDate.js
1156
1149
 
1157
1150
 
1158
- #### flatUIToLogic(uFilter)
1151
+ #### weekYearToDate(date, time)
1159
1152
 
1160
- Generates a Logic structure from flattened UI filters
1153
+ Transforms String Date from a [Week Year] format to Date object.
1161
1154
 
1162
1155
 
1163
1156
 
@@ -1166,7 +1159,8 @@ Generates a Logic structure from flattened UI filters
1166
1159
 
1167
1160
  | Name | Type | Description | |
1168
1161
  | ---- | ---- | ----------- | -------- |
1169
- | uFilter | | Array of flat filters from UI | &nbsp; |
1162
+ | date | | String of [Week Year] date | &nbsp; |
1163
+ | time | | Flag to parse the object date to milliseconds. | &nbsp; |
1170
1164
 
1171
1165
 
1172
1166
 
@@ -1174,17 +1168,17 @@ Generates a Logic structure from flattened UI filters
1174
1168
  ##### Returns
1175
1169
 
1176
1170
 
1177
- - The logic structure
1171
+ - The date object or the date in milliseconds
1178
1172
 
1179
1173
 
1180
1174
 
1181
1175
 
1182
- ### dist/filters/adapters/flatUIToOldLogic.js
1176
+ ### dist/dates/adapters/yearToDate.js
1183
1177
 
1184
1178
 
1185
- #### flatUIToOldLogic(uFilters)
1179
+ #### yearToDate(yearDate, time)
1186
1180
 
1187
- Generates a Logic structure from flattened UI filters
1181
+ Transforms String Date from a [Year] format to Date object.
1188
1182
 
1189
1183
 
1190
1184
 
@@ -1193,7 +1187,8 @@ Generates a Logic structure from flattened UI filters
1193
1187
 
1194
1188
  | Name | Type | Description | |
1195
1189
  | ---- | ---- | ----------- | -------- |
1196
- | uFilters | | Array of flat filters from UI | &nbsp; |
1190
+ | yearDate | | String of [Year] date | &nbsp; |
1191
+ | time | | Flag to parse the object date to milliseconds. | &nbsp; |
1197
1192
 
1198
1193
 
1199
1194
 
@@ -1201,17 +1196,17 @@ Generates a Logic structure from flattened UI filters
1201
1196
  ##### Returns
1202
1197
 
1203
1198
 
1204
- - The logic structure
1199
+ - The date object or the date in milliseconds
1205
1200
 
1206
1201
 
1207
1202
 
1208
1203
 
1209
- ### dist/filters/adapters/flatUIToUI.js
1204
+ ### dist/dates/range/getDateRange.js
1210
1205
 
1211
1206
 
1212
- #### flatUIToUI(uFilters, version)
1207
+ #### getDateRange(value, dateGroupLabel, withTime)
1213
1208
 
1214
- Generates a UI filter data structure from the flatttened UI filters.
1209
+ Get date range object from a string date value
1215
1210
 
1216
1211
 
1217
1212
 
@@ -1220,46 +1215,56 @@ Generates a UI filter data structure from the flatttened UI filters.
1220
1215
 
1221
1216
  | Name | Type | Description | |
1222
1217
  | ---- | ---- | ----------- | -------- |
1223
- | uFilters | | Array of flattened filters from UI | &nbsp; |
1224
- | version | | Tag for the version of the filter data structure | &nbsp; |
1225
-
1226
-
1227
-
1228
-
1229
- ##### Returns
1230
-
1231
-
1232
- - a UI Filter Data.
1233
-
1218
+ | value | `String` | string date value | &nbsp; |
1219
+ | dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' | &nbsp; |
1220
+ | withTime | `Boolean` | determines if the date range will include time. Default is true | &nbsp; |
1234
1221
 
1235
1222
 
1236
- #### buildScopes(fbFilters)
1237
1223
 
1238
- Gets an array of scopes structure for the UI filter data. The scopes is organized by scope types and scope IDs
1239
- Also, adds and organizes filters by datasets
1240
1224
 
1225
+ ##### Examples
1241
1226
 
1227
+ ```javascript
1228
+ // 1) Year:
1229
+ getDateRange('2020', 'YEAR');
1230
+ // Will return:
1231
+ {
1232
+ from: '01/01/2020 00:00:00',
1233
+ to: '12/31/2020 23:59:59'
1234
+ }
1242
1235
 
1236
+ // 2) Quarter:
1237
+ getDateRange('Q3 2020', 'QUARTER');
1238
+ // Will return:
1239
+ {
1240
+ from: '07/01/2020 00:00:00',
1241
+ to: '09/30/2020 23:59:59'
1242
+ }
1243
1243
 
1244
- ##### Parameters
1244
+ // 3) Month:
1245
+ getDateRange('Oct 2020', 'MONTH');
1246
+ // Will return:
1247
+ {
1248
+ from: '10/01/2020 00:00:00',
1249
+ to: '10/31/2020 23:59:59'
1250
+ }
1251
+ ```
1245
1252
 
1246
- | Name | Type | Description | |
1247
- | ---- | ---- | ----------- | -------- |
1248
- | fbFilters | | Array of flat filters from UI | &nbsp; |
1249
1253
 
1254
+ ##### Returns
1250
1255
 
1251
1256
 
1257
+ - `Object` an object with the date range with two string date properties: from and to
1252
1258
 
1253
- ##### Returns
1254
1259
 
1255
1260
 
1256
- - an array of scopes structure.
1257
1261
 
1262
+ ### dist/dates/helpers/getDateByDateFormat.js
1258
1263
 
1259
1264
 
1260
- #### buildScope(uFilter)
1265
+ #### getDateByDateFormat(date, format, time)
1261
1266
 
1262
- Gets an scope structure for the UI filter data
1267
+ Gets a Date Object instance by a Date format
1263
1268
 
1264
1269
 
1265
1270
 
@@ -1268,7 +1273,9 @@ Gets an scope structure for the UI filter data
1268
1273
 
1269
1274
  | Name | Type | Description | |
1270
1275
  | ---- | ---- | ----------- | -------- |
1271
- | uFilter | | UI structure filter | &nbsp; |
1276
+ | date | | String with a formatted date | &nbsp; |
1277
+ | format | | The date format | &nbsp; |
1278
+ | time | | flag to convert the formatted date to miliseconds | &nbsp; |
1272
1279
 
1273
1280
 
1274
1281
 
@@ -1276,13 +1283,17 @@ Gets an scope structure for the UI filter data
1276
1283
  ##### Returns
1277
1284
 
1278
1285
 
1279
- - an scope structure
1286
+ - a Date object, milisecond time or the same value if date format does not match.
1280
1287
 
1281
1288
 
1282
1289
 
1283
- #### buildDataset(uFilter)
1284
1290
 
1285
- Gets an dataset structure for the UI filter data
1291
+ ### dist/dates/helpers/getDateFormatByProperty.js
1292
+
1293
+
1294
+ #### getDateFormatByProperty(property)
1295
+
1296
+ Gets the date format by the given property
1286
1297
 
1287
1298
 
1288
1299
 
@@ -1291,7 +1302,7 @@ Gets an dataset structure for the UI filter data
1291
1302
 
1292
1303
  | Name | Type | Description | |
1293
1304
  | ---- | ---- | ----------- | -------- |
1294
- | uFilter | | a UI structure filter | &nbsp; |
1305
+ | property | | The Column Property | &nbsp; |
1295
1306
 
1296
1307
 
1297
1308
 
@@ -1299,13 +1310,17 @@ Gets an dataset structure for the UI filter data
1299
1310
  ##### Returns
1300
1311
 
1301
1312
 
1302
- - an dataset structure
1313
+ - The date format
1303
1314
 
1304
1315
 
1305
1316
 
1306
- #### buildFilter(uFilter)
1307
1317
 
1308
- Gets an filter structure for the UI filter data
1318
+ ### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
1319
+
1320
+
1321
+ #### getDateFormatRegularExpressionInArray(dateFormat)
1322
+
1323
+ Gets an array of regular expressions by the given date format
1309
1324
 
1310
1325
 
1311
1326
 
@@ -1314,7 +1329,7 @@ Gets an filter structure for the UI filter data
1314
1329
 
1315
1330
  | Name | Type | Description | |
1316
1331
  | ---- | ---- | ----------- | -------- |
1317
- | uFilter | | a UI structure filter | &nbsp; |
1332
+ | dateFormat | | the date format | &nbsp; |
1318
1333
 
1319
1334
 
1320
1335
 
@@ -1322,17 +1337,17 @@ Gets an filter structure for the UI filter data
1322
1337
  ##### Returns
1323
1338
 
1324
1339
 
1325
- - an filter structure
1340
+ - an array of regular expressions
1326
1341
 
1327
1342
 
1328
1343
 
1329
1344
 
1330
- ### dist/filters/adapters/logicToFD.js
1345
+ ### dist/dates/helpers/getSeparatorByDateFormat.js
1331
1346
 
1332
1347
 
1333
- #### logicToFD(filterData, version)
1348
+ #### getSeparatorByDateFormat(format)
1334
1349
 
1335
- Generates a filter data structure from the old logic structure (v2.0).
1350
+ Gets the separator of the date format
1336
1351
 
1337
1352
 
1338
1353
 
@@ -1341,8 +1356,7 @@ Generates a filter data structure from the old logic structure (v2.0).
1341
1356
 
1342
1357
  | Name | Type | Description | |
1343
1358
  | ---- | ---- | ----------- | -------- |
1344
- | filterData | | The old filter data structure with logic (v2.0) | &nbsp; |
1345
- | version | | Tag for the version of the filter data structure | &nbsp; |
1359
+ | format | | the date format | &nbsp; |
1346
1360
 
1347
1361
 
1348
1362
 
@@ -1350,17 +1364,18 @@ Generates a filter data structure from the old logic structure (v2.0).
1350
1364
  ##### Returns
1351
1365
 
1352
1366
 
1353
- - a Filter Data.
1367
+ - a separator string
1354
1368
 
1355
1369
 
1356
1370
 
1357
1371
 
1358
- ### dist/filters/adapters/logicToFlatUI.js
1372
+ ### dist/dates/helpers/getWeek.js
1359
1373
 
1360
1374
 
1361
- #### logicToFlatUI(logics)
1375
+ #### getWeek(date)
1362
1376
 
1363
- Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1377
+ Gets the week number of the year
1378
+ Additionally, the month and the year
1364
1379
 
1365
1380
 
1366
1381
 
@@ -1369,7 +1384,7 @@ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1369
1384
 
1370
1385
  | Name | Type | Description | |
1371
1386
  | ---- | ---- | ----------- | -------- |
1372
- | logics | | The old logic structure (v2.0) | &nbsp; |
1387
+ | date | | the date object | &nbsp; |
1373
1388
 
1374
1389
 
1375
1390
 
@@ -1377,13 +1392,20 @@ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1377
1392
  ##### Returns
1378
1393
 
1379
1394
 
1380
- - The Flattened UI Filters array
1395
+ - an object with the week, month and year.
1381
1396
 
1382
1397
 
1383
1398
 
1384
- #### getFilter(filters, filter, getIndex)
1385
1399
 
1386
- Get the filter or the index of the given array, validating an old filter structure.
1400
+ ### dist/dates/helpers/validateDate.js
1401
+
1402
+
1403
+ #### validateDate(date, format)
1404
+
1405
+ Validate a string date depending on giving format
1406
+ - If the string is a token label, the function lets it pass.
1407
+ - Otherwise depends of the format
1408
+ - Some escenarios the string is a mix of token labels and dates
1387
1409
 
1388
1410
 
1389
1411
 
@@ -1392,9 +1414,8 @@ Get the filter or the index of the given array, validating an old filter structu
1392
1414
 
1393
1415
  | Name | Type | Description | |
1394
1416
  | ---- | ---- | ----------- | -------- |
1395
- | filters | | The array of UI filters | &nbsp; |
1396
- | filter | | The old logic structure filter | &nbsp; |
1397
- | getIndex | | Determines if the index or returns the UI filter object | &nbsp; |
1417
+ | date | | String of date | &nbsp; |
1418
+ | format | | String of the format to validate | &nbsp; |
1398
1419
 
1399
1420
 
1400
1421
 
@@ -1402,13 +1423,17 @@ Get the filter or the index of the given array, validating an old filter structu
1402
1423
  ##### Returns
1403
1424
 
1404
1425
 
1405
- - the index or the UI filter object
1426
+ - True if it is valid or not. Undefined if date is undefined
1406
1427
 
1407
1428
 
1408
1429
 
1409
- #### refineRankingValues(values, uiValues)
1410
1430
 
1411
- Refines the values of the Ranking column type.
1431
+ ### dist/dates/helpers/validateDateByDateFormat.js
1432
+
1433
+
1434
+ #### validateDateByDateFormat(date, dateForma)
1435
+
1436
+ Validates the given string as Date by its date format.
1412
1437
 
1413
1438
 
1414
1439
 
@@ -1417,8 +1442,8 @@ Refines the values of the Ranking column type.
1417
1442
 
1418
1443
  | Name | Type | Description | |
1419
1444
  | ---- | ---- | ----------- | -------- |
1420
- | values | | the Array of Ranking values | &nbsp; |
1421
- | uiValues | | Object with additional info about the values of the filter. | &nbsp; |
1445
+ | date | | a string to validate as date form | &nbsp; |
1446
+ | dateForma | | the format of the date to validate the string | &nbsp; |
1422
1447
 
1423
1448
 
1424
1449
 
@@ -1426,17 +1451,17 @@ Refines the values of the Ranking column type.
1426
1451
  ##### Returns
1427
1452
 
1428
1453
 
1429
- - the array of Ranking values
1454
+ - true: the string is a valida date
1430
1455
 
1431
1456
 
1432
1457
 
1433
1458
 
1434
- ### dist/filters/adapters/logicToUI.js
1459
+ ### dist/general/array/delete.js
1435
1460
 
1436
1461
 
1437
- #### logicToUI(uFilters, datasetsInfo)
1462
+ #### ArrayDelete(array, index)
1438
1463
 
1439
- Generates a UI filter structure from the old logic structure (v2.0).
1464
+ Inmutable Array Item deletion
1440
1465
 
1441
1466
 
1442
1467
 
@@ -1445,8 +1470,8 @@ Generates a UI filter structure from the old logic structure (v2.0).
1445
1470
 
1446
1471
  | Name | Type | Description | |
1447
1472
  | ---- | ---- | ----------- | -------- |
1448
- | uFilters | | Array of filters from old logic structure | &nbsp; |
1449
- | datasetsInfo | | Collection of datasets information | &nbsp; |
1473
+ | array | `Array` | a collection of items to delete | &nbsp; |
1474
+ | index | `Number` | the position of the item to delete | &nbsp; |
1450
1475
 
1451
1476
 
1452
1477
 
@@ -1454,98 +1479,58 @@ Generates a UI filter structure from the old logic structure (v2.0).
1454
1479
  ##### Returns
1455
1480
 
1456
1481
 
1457
- - a UI Filter Data.
1458
-
1459
-
1460
-
1461
-
1462
- ### dist/filters/adapters/transformFilters.js
1463
-
1464
-
1465
- #### transformFilters(oldFiltersObj, section)
1466
-
1467
- Transform the old filters structure into the new one
1468
-
1482
+ - a new Array or the given parameter when is empty or not an array
1469
1483
 
1470
1484
 
1471
1485
 
1472
- ##### Parameters
1473
-
1474
- | Name | Type | Description | |
1475
- | ---- | ---- | ----------- | -------- |
1476
- | oldFiltersObj | `Object` | an object with the old filters structure | &nbsp; |
1477
- | section | `String` | could be 'ANALYZE', 'PB', 'UM' or any other value. Deafult is 'ANYWHERE' | &nbsp; |
1478
1486
 
1487
+ ### dist/general/array/filterNestedTree.js
1479
1488
 
1480
1489
 
1490
+ #### filterNestedTree(arr, childArrKey, condition)
1481
1491
 
1482
- ##### Examples
1492
+ Filters a nested tree array by a custom condition on the last child node
1493
+ - If the given arguments are not valid, the function returns the first argument.
1494
+ - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
1495
+ - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
1483
1496
 
1484
- ```javascript
1485
1497
 
1486
- const oldPreferenceFilters = {
1487
- "WWXHAULtR-_-xYOQAdpqT__ENABLED": true,
1488
- "WWXHAULtR-_-xYOQAdpqT__ALL--ENABLED": true,
1489
- "WWXHAULtR-_-xYOQAdpqT__COLLAPSED": false,
1490
- "WWXHAULtR-_-xYOQAdpqT__LABEL": "GLOBAL",
1491
- "WWXHAULtR-_-xYOQAdpqT-_-AK4M8UV2": {
1492
- "formulaId": null,
1493
- "panelId": null,
1494
- "values": [
1495
- {
1496
- "EQUALS": [
1497
- {
1498
- "id": "AK4M8UV2a0",
1499
- "value": "A",
1500
- "enabled": true,
1501
- "imageUrl": null
1502
- },
1503
- {
1504
- "id": "AK4M8UV2a1",
1505
- "value": "B",
1506
- "enabled": true,
1507
- "imageUrl": null
1508
- }
1509
- ]
1510
- }
1511
- ],
1512
- "bucketId": null,
1513
- "text": "MC",
1514
- "title": "MC",
1515
- "type": "SINGLE_CHOICE",
1516
- "qid": "AK4M8UV2",
1517
- "dataset": {
1518
- "sourceid": "xYOQAdpqT",
1519
- "name": "Form All Questions",
1520
- "qrveyid": "xYOQAdpqT",
1521
- "text": "Form All Questions",
1522
- "linkid": 0
1523
- },
1524
- "enabled": true,
1525
- "linked": null
1526
- }
1527
- };
1528
1498
 
1529
- const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1530
- ```
1499
+
1500
+ ##### Parameters
1501
+
1502
+ | Name | Type | Description | |
1503
+ | ---- | ---- | ----------- | -------- |
1504
+ | arr | | nested tree array | &nbsp; |
1505
+ | childArrKey | | property representing the children array on the nested tree | &nbsp; |
1506
+ | condition | | function callback that determines if the filter is applied on the last child node of the nested tree | &nbsp; |
1507
+
1508
+
1531
1509
 
1532
1510
 
1533
1511
  ##### Returns
1534
1512
 
1535
1513
 
1536
- - `Object` an object with the new filters structure
1514
+ - array filtered
1537
1515
 
1538
1516
 
1539
1517
 
1540
1518
 
1541
- ### dist/filters/classes/FilterInputErrorHandler.js
1519
+ ### dist/general/array/flattenDeep.js
1542
1520
 
1543
1521
 
1544
- #### new FilterInputErrorHandler()
1522
+ #### flattenDeep(arr)
1523
+
1524
+ Flat deeply an array
1545
1525
 
1546
1526
 
1547
1527
 
1548
1528
 
1529
+ ##### Parameters
1530
+
1531
+ | Name | Type | Description | |
1532
+ | ---- | ---- | ----------- | -------- |
1533
+ | arr | | Array to flat deeply | &nbsp; |
1549
1534
 
1550
1535
 
1551
1536
 
@@ -1553,17 +1538,17 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1553
1538
  ##### Returns
1554
1539
 
1555
1540
 
1556
- - `Void`
1541
+ - flatten array
1557
1542
 
1558
1543
 
1559
1544
 
1560
1545
 
1561
- ### dist/filters/helpers/applyHierarchyForAggFilters.js
1546
+ ### dist/general/array/getFirstIndexFromArray.js
1562
1547
 
1563
1548
 
1564
- #### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
1549
+ #### getFirstIndexFromArray(array, callback)
1565
1550
 
1566
- [TODO: Make a proper description for this function]
1551
+ Gets the first index from the array by a callback condition
1567
1552
 
1568
1553
 
1569
1554
 
@@ -1572,9 +1557,8 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1572
1557
 
1573
1558
  | Name | Type | Description | |
1574
1559
  | ---- | ---- | ----------- | -------- |
1575
- | chartSettings | | Chart Settings for the Filter Builder | &nbsp; |
1576
- | scopes | | | &nbsp; |
1577
- | currentScope | | | &nbsp; |
1560
+ | array | | | &nbsp; |
1561
+ | callback | | function callback | &nbsp; |
1578
1562
 
1579
1563
 
1580
1564
 
@@ -1582,17 +1566,17 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1582
1566
  ##### Returns
1583
1567
 
1584
1568
 
1585
- -
1569
+ - the first index of the array. -1 when the condition is not satisfied
1586
1570
 
1587
1571
 
1588
1572
 
1589
1573
 
1590
- ### dist/filters/helpers/getAvailableScopes.js
1574
+ ### dist/general/array/getLastIndexFromArray.js
1591
1575
 
1592
1576
 
1593
- #### getAvailableScopes(config)
1577
+ #### getLastIndexFromArray(array, callback)
1594
1578
 
1595
- Gets Scopes/Scope IDs by given IDs
1579
+ Gets the last index from the array by a callback condition
1596
1580
 
1597
1581
 
1598
1582
 
@@ -1601,7 +1585,8 @@ Gets Scopes/Scope IDs by given IDs
1601
1585
 
1602
1586
  | Name | Type | Description | |
1603
1587
  | ---- | ---- | ----------- | -------- |
1604
- | config | | given Differnts IDs in order set a available scope | &nbsp; |
1588
+ | array | | | &nbsp; |
1589
+ | callback | | function callback | &nbsp; |
1605
1590
 
1606
1591
 
1607
1592
 
@@ -1609,132 +1594,113 @@ Gets Scopes/Scope IDs by given IDs
1609
1594
  ##### Returns
1610
1595
 
1611
1596
 
1612
- - a Scopes/Scope IDs array
1597
+ - the last index of the array. -1 when the condition is not satisfied
1613
1598
 
1614
1599
 
1615
1600
 
1616
1601
 
1617
- ### dist/filters/helpers/getAvailableScopesIDsByConfig.js
1602
+ ### dist/dates/relative/Adapter.js
1618
1603
 
1619
1604
 
1620
- #### getAvailableScopesIDsByConfig(config)
1605
+ #### value()
1621
1606
 
1622
- Gets the Scopes IDS for the Available Scope function by any config
1607
+ Resolves statement and returns statement value
1623
1608
 
1624
1609
 
1625
1610
 
1626
1611
 
1627
- ##### Parameters
1628
1612
 
1629
- | Name | Type | Description | |
1630
- | ---- | ---- | ----------- | -------- |
1631
- | config | | any config | &nbsp; |
1632
1613
 
1614
+ ##### Returns
1633
1615
 
1634
1616
 
1617
+ - `AbsoluteRange` `string`
1635
1618
 
1636
- ##### Returns
1637
1619
 
1638
1620
 
1639
- - a Available Scope IDS config
1621
+ #### valueAsAnchor()
1640
1622
 
1623
+ Resolves statement as an anchor
1641
1624
 
1642
1625
 
1643
1626
 
1644
- ### dist/filters/helpers/getScopesByHierarchy.js
1645
1627
 
1646
1628
 
1647
- #### getScopesByHierarchy(scopes, currentScope)
1648
1629
 
1649
- [TODO: Make a description for this]
1630
+ ##### Returns
1650
1631
 
1651
1632
 
1633
+ - `string`
1652
1634
 
1653
1635
 
1654
- ##### Parameters
1655
1636
 
1656
- | Name | Type | Description | |
1657
- | ---- | ---- | ----------- | -------- |
1658
- | scopes | | the collection of Scopes/Scope IDs | &nbsp; |
1659
- | currentScope | | Current scope type | &nbsp; |
1637
+ #### _statementToRange() *private method*
1660
1638
 
1639
+ Convert verbal statement to range value
1661
1640
 
1662
1641
 
1663
1642
 
1664
- ##### Returns
1665
1643
 
1666
1644
 
1667
- - A new array of Scopes/Scope IDs
1668
1645
 
1646
+ ##### Returns
1669
1647
 
1670
1648
 
1649
+ - `AbsoluteRange`
1671
1650
 
1672
- ### dist/general/array/delete.js
1673
1651
 
1674
1652
 
1675
- #### ArrayDelete(array, index)
1653
+ #### _resolveAsThis() *private method*
1676
1654
 
1677
- Inmutable Array Item deletion
1655
+ Apply 'this' cursor logic to statement
1678
1656
 
1679
1657
 
1680
1658
 
1681
1659
 
1682
- ##### Parameters
1683
1660
 
1684
- | Name | Type | Description | |
1685
- | ---- | ---- | ----------- | -------- |
1686
- | array | `Array` | a collection of items to delete | &nbsp; |
1687
- | index | `Number` | the position of the item to delete | &nbsp; |
1688
1661
 
1662
+ ##### Returns
1689
1663
 
1690
1664
 
1665
+ - `AbsoluteStatement`
1691
1666
 
1692
- ##### Returns
1693
1667
 
1694
1668
 
1695
- - a new Array or the given parameter when is empty or not an array
1669
+ #### _resolveAsTheLast() *private method*
1696
1670
 
1671
+ Apply 'the last' cursor logic to statement
1697
1672
 
1698
1673
 
1699
1674
 
1700
- ### dist/general/array/filterNestedTree.js
1701
1675
 
1702
1676
 
1703
- #### filterNestedTree(arr, childArrKey, condition)
1704
1677
 
1705
- Filters a nested tree array by a custom condition on the last child node
1706
- - If the given arguments are not valid, the function returns the first argument.
1707
- - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
1708
- - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
1678
+ ##### Returns
1709
1679
 
1710
1680
 
1681
+ - `AbsoluteStatement`
1711
1682
 
1712
1683
 
1713
- ##### Parameters
1714
1684
 
1715
- | Name | Type | Description | |
1716
- | ---- | ---- | ----------- | -------- |
1717
- | arr | | nested tree array | &nbsp; |
1718
- | childArrKey | | property representing the children array on the nested tree | &nbsp; |
1719
- | condition | | function callback that determines if the filter is applied on the last child node of the nested tree | &nbsp; |
1685
+ #### _resolveAsTheNext() *private method*
1720
1686
 
1687
+ Apply 'the next' cursor logic to statement
1721
1688
 
1722
1689
 
1723
1690
 
1724
- ##### Returns
1725
1691
 
1726
1692
 
1727
- - array filtered
1728
1693
 
1694
+ ##### Returns
1729
1695
 
1730
1696
 
1697
+ - `AbsoluteStatement`
1731
1698
 
1732
- ### dist/general/array/getFirstIndexFromArray.js
1733
1699
 
1734
1700
 
1735
- #### getFirstIndexFromArray(array, callback)
1701
+ #### replaceNowToken(value, now)
1736
1702
 
1737
- Gets the first index from the array by a callback condition
1703
+ Replace '@now' token inside a string
1738
1704
 
1739
1705
 
1740
1706
 
@@ -1743,8 +1709,8 @@ Gets the first index from the array by a callback condition
1743
1709
 
1744
1710
  | Name | Type | Description | |
1745
1711
  | ---- | ---- | ----------- | -------- |
1746
- | array | | | &nbsp; |
1747
- | callback | | function callback | &nbsp; |
1712
+ | value | `string` | | &nbsp; |
1713
+ | now | `Date` | | &nbsp; |
1748
1714
 
1749
1715
 
1750
1716
 
@@ -1752,17 +1718,13 @@ Gets the first index from the array by a callback condition
1752
1718
  ##### Returns
1753
1719
 
1754
1720
 
1755
- - the first index of the array. -1 when the condition is not satisfied
1756
-
1757
-
1758
-
1721
+ - `string`
1759
1722
 
1760
- ### dist/general/array/flattenDeep.js
1761
1723
 
1762
1724
 
1763
- #### flattenDeep(arr)
1725
+ #### convertRelativeToAbsolute(args)
1764
1726
 
1765
- Flat deeply an array
1727
+ Returns a range object (date) from a group of statement params
1766
1728
 
1767
1729
 
1768
1730
 
@@ -1771,25 +1733,45 @@ Flat deeply an array
1771
1733
 
1772
1734
  | Name | Type | Description | |
1773
1735
  | ---- | ---- | ----------- | -------- |
1774
- | arr | | Array to flat deeply | &nbsp; |
1736
+ | args | `RelativeToAbsoluteStruct` | | &nbsp; |
1775
1737
 
1776
1738
 
1777
1739
 
1778
1740
 
1741
+ ##### Examples
1742
+
1743
+ ```javascript
1744
+ pivot = '2021-03-03T12:30:40'
1745
+ unit = month
1746
+ steps = 2
1747
+ setTo = END
1748
+ resolverAsCalendar: true
1749
+ => Returns '2021-05-31T23:59:59'
1750
+ ```
1751
+ ```javascript
1752
+ pivot = '2021-03-03T12:30:40'
1753
+ unit = month
1754
+ steps = -2
1755
+ setTo = START
1756
+ resolverAsCalendar: false
1757
+ => Returns '2021-01-03T00:00:00'
1758
+ ```
1759
+
1760
+
1779
1761
  ##### Returns
1780
1762
 
1781
1763
 
1782
- - flatten array
1764
+ - `string`
1783
1765
 
1784
1766
 
1785
1767
 
1786
1768
 
1787
- ### dist/general/array/getLastIndexFromArray.js
1769
+ ### dist/dates/relative/relative.js
1788
1770
 
1789
1771
 
1790
- #### getLastIndexFromArray(array, callback)
1772
+ #### resolveRelative(statements, clock)
1791
1773
 
1792
- Gets the last index from the array by a callback condition
1774
+ Resolve a list of relative statements according to operator
1793
1775
 
1794
1776
 
1795
1777
 
@@ -1798,16 +1780,34 @@ Gets the last index from the array by a callback condition
1798
1780
 
1799
1781
  | Name | Type | Description | |
1800
1782
  | ---- | ---- | ----------- | -------- |
1801
- | array | | | &nbsp; |
1802
- | callback | | function callback | &nbsp; |
1783
+ | statements | `Array.<RelativeStatement>` `Array.<string>` | - Raw statements/values | &nbsp; |
1784
+ | clock | `Date` | - Clock/time reference for relative date resolution | &nbsp; |
1785
+
1786
+
1787
+
1788
+
1789
+ ##### Examples
1803
1790
 
1791
+ ```javascript
1792
+ Input:
1793
+ {
1794
+ "cursor": "the_next",
1795
+ "unit": "year",
1796
+ "number": 1,
1797
+ "includeCurrent": false,
1798
+ "isCalendarDate": false,
1799
+ "anchor": "03/05/2021"
1800
+ }
1804
1801
 
1802
+ Output:
1803
+ { gte: "03/06/2021 00:00:00", lte: "03/05/2022 23:59:59" }
1804
+ ```
1805
1805
 
1806
1806
 
1807
1807
  ##### Returns
1808
1808
 
1809
1809
 
1810
- - the last index of the array. -1 when the condition is not satisfied
1810
+ - `Array.&lt;AbsoluteRange&gt;` `Array.&lt;string&gt;`
1811
1811
 
1812
1812
 
1813
1813
 
@@ -1868,12 +1868,12 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1868
1868
 
1869
1869
 
1870
1870
 
1871
- ### dist/general/mix/getTag.js
1871
+ ### dist/general/string/capitalize.js
1872
1872
 
1873
1873
 
1874
- #### getTag(value)
1874
+ #### capitalize(text)
1875
1875
 
1876
- Gets the `toStringTag` of `value`.
1876
+ Upper case the first letter of a given text
1877
1877
 
1878
1878
 
1879
1879
 
@@ -1882,7 +1882,7 @@ Gets the `toStringTag` of `value`.
1882
1882
 
1883
1883
  | Name | Type | Description | |
1884
1884
  | ---- | ---- | ----------- | -------- |
1885
- | value | | The value to query. | &nbsp; |
1885
+ | text | `String` | | &nbsp; |
1886
1886
 
1887
1887
 
1888
1888
 
@@ -1890,7 +1890,7 @@ Gets the `toStringTag` of `value`.
1890
1890
  ##### Returns
1891
1891
 
1892
1892
 
1893
- - `string` Returns the `toStringTag`.
1893
+ - `String` a capitalized text
1894
1894
 
1895
1895
 
1896
1896
 
@@ -1924,6 +1924,33 @@ Includes arrays in the comparison.
1924
1924
 
1925
1925
 
1926
1926
 
1927
+ ### dist/general/mix/getTag.js
1928
+
1929
+
1930
+ #### getTag(value)
1931
+
1932
+ Gets the `toStringTag` of `value`.
1933
+
1934
+
1935
+
1936
+
1937
+ ##### Parameters
1938
+
1939
+ | Name | Type | Description | |
1940
+ | ---- | ---- | ----------- | -------- |
1941
+ | value | | The value to query. | &nbsp; |
1942
+
1943
+
1944
+
1945
+
1946
+ ##### Returns
1947
+
1948
+
1949
+ - `string` Returns the `toStringTag`.
1950
+
1951
+
1952
+
1953
+
1927
1954
  ### dist/general/mix/importScripts.js
1928
1955
 
1929
1956
 
@@ -2148,34 +2175,7 @@ Gets the length of the given array.
2148
2175
  ##### Returns
2149
2176
 
2150
2177
 
2151
- - `Number` the size of the given variable
2152
-
2153
-
2154
-
2155
-
2156
- ### dist/general/string/capitalize.js
2157
-
2158
-
2159
- #### capitalize(text)
2160
-
2161
- Upper case the first letter of a given text
2162
-
2163
-
2164
-
2165
-
2166
- ##### Parameters
2167
-
2168
- | Name | Type | Description | |
2169
- | ---- | ---- | ----------- | -------- |
2170
- | text | `String` | | &nbsp; |
2171
-
2172
-
2173
-
2174
-
2175
- ##### Returns
2176
-
2177
-
2178
- - `String` a capitalized text
2178
+ - `Number` the size of the given variable
2179
2179
 
2180
2180
 
2181
2181
 
@@ -2404,12 +2404,13 @@ and return a mapped object
2404
2404
 
2405
2405
 
2406
2406
 
2407
- ### dist/general/object/objectCopy.js
2407
+ ### dist/general/object/mergeDeep.js
2408
2408
 
2409
2409
 
2410
- #### objectCopy(entity, cache)
2410
+ #### mergeDeep(obj1, obj2, settings)
2411
2411
 
2412
- Created a new reference of the given argument
2412
+ Merges two objects into a new one.
2413
+ The second given argument to the first given argument.
2413
2414
 
2414
2415
 
2415
2416
 
@@ -2418,8 +2419,9 @@ Created a new reference of the given argument
2418
2419
 
2419
2420
  | Name | Type | Description | |
2420
2421
  | ---- | ---- | ----------- | -------- |
2421
- | entity | | The variable to be copied | &nbsp; |
2422
- | cache | | | &nbsp; |
2422
+ | obj1 | | The target object | &nbsp; |
2423
+ | obj2 | | The object to be merged | &nbsp; |
2424
+ | settings | | Object settings for this function | &nbsp; |
2423
2425
 
2424
2426
 
2425
2427
 
@@ -2427,18 +2429,13 @@ Created a new reference of the given argument
2427
2429
  ##### Returns
2428
2430
 
2429
2431
 
2430
- - A new reference of the given argument
2431
-
2432
-
2433
-
2432
+ - a new merged object
2434
2433
 
2435
- ### dist/general/object/mergeDeep.js
2436
2434
 
2437
2435
 
2438
- #### mergeDeep(obj1, obj2, settings)
2436
+ #### isValid(obj1, obj2)
2439
2437
 
2440
- Merges two objects into a new one.
2441
- The second given argument to the first given argument.
2438
+ Validates if the two arguments are objects
2442
2439
 
2443
2440
 
2444
2441
 
@@ -2449,7 +2446,6 @@ The second given argument to the first given argument.
2449
2446
  | ---- | ---- | ----------- | -------- |
2450
2447
  | obj1 | | The target object | &nbsp; |
2451
2448
  | obj2 | | The object to be merged | &nbsp; |
2452
- | settings | | Object settings for this function | &nbsp; |
2453
2449
 
2454
2450
 
2455
2451
 
@@ -2457,13 +2453,13 @@ The second given argument to the first given argument.
2457
2453
  ##### Returns
2458
2454
 
2459
2455
 
2460
- - a new merged object
2456
+ - true: they are valid; false: they are not
2461
2457
 
2462
2458
 
2463
2459
 
2464
- #### isValid(obj1, obj2)
2460
+ #### getParamsToMergeDeep(settings)
2465
2461
 
2466
- Validates if the two arguments are objects
2462
+ Validates and gets the settings with all set parameters.
2467
2463
 
2468
2464
 
2469
2465
 
@@ -2472,8 +2468,7 @@ Validates if the two arguments are objects
2472
2468
 
2473
2469
  | Name | Type | Description | |
2474
2470
  | ---- | ---- | ----------- | -------- |
2475
- | obj1 | | The target object | &nbsp; |
2476
- | obj2 | | The object to be merged | &nbsp; |
2471
+ | settings | | the settings object | &nbsp; |
2477
2472
 
2478
2473
 
2479
2474
 
@@ -2481,13 +2476,17 @@ Validates if the two arguments are objects
2481
2476
  ##### Returns
2482
2477
 
2483
2478
 
2484
- - true: they are valid; false: they are not
2479
+ - a new settings object with all set parameters.
2485
2480
 
2486
2481
 
2487
2482
 
2488
- #### getParamsToMergeDeep(settings)
2489
2483
 
2490
- Validates and gets the settings with all set parameters.
2484
+ ### dist/general/object/objectCopy.js
2485
+
2486
+
2487
+ #### objectCopy(entity, cache)
2488
+
2489
+ Created a new reference of the given argument
2491
2490
 
2492
2491
 
2493
2492
 
@@ -2496,7 +2495,8 @@ Validates and gets the settings with all set parameters.
2496
2495
 
2497
2496
  | Name | Type | Description | |
2498
2497
  | ---- | ---- | ----------- | -------- |
2499
- | settings | | the settings object | &nbsp; |
2498
+ | entity | | The variable to be copied | &nbsp; |
2499
+ | cache | | | &nbsp; |
2500
2500
 
2501
2501
 
2502
2502
 
@@ -2504,7 +2504,7 @@ Validates and gets the settings with all set parameters.
2504
2504
  ##### Returns
2505
2505
 
2506
2506
 
2507
- - a new settings object with all set parameters.
2507
+ - A new reference of the given argument
2508
2508
 
2509
2509
 
2510
2510
 
@@ -2592,12 +2592,12 @@ serialize object to url param
2592
2592
 
2593
2593
 
2594
2594
 
2595
- ### dist/services/api/getAllDatasets.api.js
2595
+ ### dist/qrvey/helpers/getColumnsLabel.js
2596
2596
 
2597
2597
 
2598
- #### getAllDatasets(qrveyids)
2598
+ #### getColumnLabels(column)
2599
2599
 
2600
- Get a dataset list from a collection of Qrvey IDs
2600
+ Get an string of the properties of the given column.
2601
2601
 
2602
2602
 
2603
2603
 
@@ -2606,7 +2606,7 @@ Get a dataset list from a collection of Qrvey IDs
2606
2606
 
2607
2607
  | Name | Type | Description | |
2608
2608
  | ---- | ---- | ----------- | -------- |
2609
- | qrveyids | | Collection of Qrvey IDs | &nbsp; |
2609
+ | column | | The column | &nbsp; |
2610
2610
 
2611
2611
 
2612
2612
 
@@ -2614,17 +2614,17 @@ Get a dataset list from a collection of Qrvey IDs
2614
2614
  ##### Returns
2615
2615
 
2616
2616
 
2617
- - a promise
2617
+ - an string with the property, aggregate or calculation label.
2618
2618
 
2619
2619
 
2620
2620
 
2621
2621
 
2622
- ### dist/services/api/getAllQrveys.api.js
2622
+ ### dist/services/api/getAllDatasets.api.js
2623
2623
 
2624
2624
 
2625
- #### getAllQrveys(config, params)
2625
+ #### getAllDatasets(qrveyids)
2626
2626
 
2627
- POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2627
+ Get a dataset list from a collection of Qrvey IDs
2628
2628
 
2629
2629
 
2630
2630
 
@@ -2633,8 +2633,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2633
2633
 
2634
2634
  | Name | Type | Description | |
2635
2635
  | ---- | ---- | ----------- | -------- |
2636
- | config | | Configuration | &nbsp; |
2637
- | params | | Object for getting precise data | &nbsp; |
2636
+ | qrveyids | | Collection of Qrvey IDs | &nbsp; |
2638
2637
 
2639
2638
 
2640
2639
 
@@ -2642,17 +2641,17 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2642
2641
  ##### Returns
2643
2642
 
2644
2643
 
2645
- - `Void`
2644
+ - a promise
2646
2645
 
2647
2646
 
2648
2647
 
2649
2648
 
2650
- ### dist/services/api/getDatasetColumns.api.js
2649
+ ### dist/services/api/getAllQrveys.api.js
2651
2650
 
2652
2651
 
2653
- #### getDatasetColumns(qrveyid)
2652
+ #### getAllQrveys(config, params)
2654
2653
 
2655
- Get a dataset by Qrvey ID
2654
+ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2656
2655
 
2657
2656
 
2658
2657
 
@@ -2661,7 +2660,8 @@ Get a dataset by Qrvey ID
2661
2660
 
2662
2661
  | Name | Type | Description | |
2663
2662
  | ---- | ---- | ----------- | -------- |
2664
- | qrveyid | | The Qrvey ID | &nbsp; |
2663
+ | config | | Configuration | &nbsp; |
2664
+ | params | | Object for getting precise data | &nbsp; |
2665
2665
 
2666
2666
 
2667
2667
 
@@ -2669,17 +2669,17 @@ Get a dataset by Qrvey ID
2669
2669
  ##### Returns
2670
2670
 
2671
2671
 
2672
- - a promise
2672
+ - `Void`
2673
2673
 
2674
2674
 
2675
2675
 
2676
2676
 
2677
- ### dist/qrvey/helpers/getColumnsLabel.js
2677
+ ### dist/services/api/getDatasetColumns.api.js
2678
2678
 
2679
2679
 
2680
- #### getColumnLabels(column)
2680
+ #### getDatasetColumns(qrveyid)
2681
2681
 
2682
- Get an string of the properties of the given column.
2682
+ Get a dataset by Qrvey ID
2683
2683
 
2684
2684
 
2685
2685
 
@@ -2688,7 +2688,7 @@ Get an string of the properties of the given column.
2688
2688
 
2689
2689
  | Name | Type | Description | |
2690
2690
  | ---- | ---- | ----------- | -------- |
2691
- | column | | The column | &nbsp; |
2691
+ | qrveyid | | The Qrvey ID | &nbsp; |
2692
2692
 
2693
2693
 
2694
2694
 
@@ -2696,7 +2696,7 @@ Get an string of the properties of the given column.
2696
2696
  ##### Returns
2697
2697
 
2698
2698
 
2699
- - an string with the property, aggregate or calculation label.
2699
+ - a promise
2700
2700
 
2701
2701
 
2702
2702
 
@@ -2839,88 +2839,6 @@ try to find this string as a variable on Windows object
2839
2839
 
2840
2840
 
2841
2841
 
2842
- ### dist/dates/relative/helpers/formatStatement.js
2843
-
2844
-
2845
- #### formatStatement(statement)
2846
-
2847
- Build a proper relative date statement type
2848
-
2849
-
2850
-
2851
-
2852
- ##### Parameters
2853
-
2854
- | Name | Type | Description | |
2855
- | ---- | ---- | ----------- | -------- |
2856
- | statement | `RelativeStatement` | | &nbsp; |
2857
-
2858
-
2859
-
2860
-
2861
- ##### Returns
2862
-
2863
-
2864
- - `RelativeStatement`
2865
-
2866
-
2867
-
2868
-
2869
- ### dist/dates/relative/helpers/getStatementCase.js
2870
-
2871
-
2872
- #### getStatementCase(includeCurrent, isCalendarDate)
2873
-
2874
- Returns a number/constant that identifies a relative date case
2875
-
2876
-
2877
-
2878
-
2879
- ##### Parameters
2880
-
2881
- | Name | Type | Description | |
2882
- | ---- | ---- | ----------- | -------- |
2883
- | includeCurrent | `boolean` | | &nbsp; |
2884
- | isCalendarDate | `boolean` | | &nbsp; |
2885
-
2886
-
2887
-
2888
-
2889
- ##### Returns
2890
-
2891
-
2892
- - `number`
2893
-
2894
-
2895
-
2896
-
2897
- ### dist/dates/relative/helpers/parseDate.js
2898
-
2899
-
2900
- #### parseDate(date)
2901
-
2902
- Parses a string date and returns a dayjs date
2903
-
2904
-
2905
-
2906
-
2907
- ##### Parameters
2908
-
2909
- | Name | Type | Description | |
2910
- | ---- | ---- | ----------- | -------- |
2911
- | date | `string` `Dayjs` `Date` | | &nbsp; |
2912
-
2913
-
2914
-
2915
-
2916
- ##### Returns
2917
-
2918
-
2919
- - `Dayjs` A dayjs date
2920
-
2921
-
2922
-
2923
-
2924
2842
  ### dist/filters/helpers/backend/buildExpression.js
2925
2843
 
2926
2844
 
@@ -4320,4 +4238,86 @@ Resolves conditions between UI flattened filter and given parameters
4320
4238
 
4321
4239
 
4322
4240
 
4241
+ ### dist/dates/relative/helpers/formatStatement.js
4242
+
4243
+
4244
+ #### formatStatement(statement)
4245
+
4246
+ Build a proper relative date statement type
4247
+
4248
+
4249
+
4250
+
4251
+ ##### Parameters
4252
+
4253
+ | Name | Type | Description | |
4254
+ | ---- | ---- | ----------- | -------- |
4255
+ | statement | `RelativeStatement` | | &nbsp; |
4256
+
4257
+
4258
+
4259
+
4260
+ ##### Returns
4261
+
4262
+
4263
+ - `RelativeStatement`
4264
+
4265
+
4266
+
4267
+
4268
+ ### dist/dates/relative/helpers/getStatementCase.js
4269
+
4270
+
4271
+ #### getStatementCase(includeCurrent, isCalendarDate)
4272
+
4273
+ Returns a number/constant that identifies a relative date case
4274
+
4275
+
4276
+
4277
+
4278
+ ##### Parameters
4279
+
4280
+ | Name | Type | Description | |
4281
+ | ---- | ---- | ----------- | -------- |
4282
+ | includeCurrent | `boolean` | | &nbsp; |
4283
+ | isCalendarDate | `boolean` | | &nbsp; |
4284
+
4285
+
4286
+
4287
+
4288
+ ##### Returns
4289
+
4290
+
4291
+ - `number`
4292
+
4293
+
4294
+
4295
+
4296
+ ### dist/dates/relative/helpers/parseDate.js
4297
+
4298
+
4299
+ #### parseDate(date)
4300
+
4301
+ Parses a string date and returns a dayjs date
4302
+
4303
+
4304
+
4305
+
4306
+ ##### Parameters
4307
+
4308
+ | Name | Type | Description | |
4309
+ | ---- | ---- | ----------- | -------- |
4310
+ | date | `string` `Dayjs` `Date` | | &nbsp; |
4311
+
4312
+
4313
+
4314
+
4315
+ ##### Returns
4316
+
4317
+
4318
+ - `Dayjs` A dayjs date
4319
+
4320
+
4321
+
4322
+
4323
4323
  *Documentation generated with [doxdox](https://github.com/neogeek/doxdox).*