@qrvey/utils 1.2.4-21 → 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 (538) hide show
  1. package/README.md +698 -698
  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/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +0 -4
  8. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +2 -2
  9. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -2
  10. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +156 -0
  11. package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesCrosstab.js → chart_builder/II18nChartBuilder.js} +0 -0
  12. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.d.ts +11 -0
  13. package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesDefault.js → chart_builder/II18nChartBuilderActionPanel.js} +0 -0
  14. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAddress.d.ts +5 -0
  15. package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.js → chart_builder/II18nChartBuilderAddress.js} +0 -0
  16. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +6 -0
  17. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.js +2 -0
  18. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +28 -0
  19. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.js +2 -0
  20. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.d.ts +15 -0
  21. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.js +2 -0
  22. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.d.ts +9 -0
  23. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.js +2 -0
  24. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.d.ts +8 -0
  25. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.js +2 -0
  26. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.d.ts +4 -0
  27. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.js +2 -0
  28. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.d.ts +24 -0
  29. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js +2 -0
  30. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.d.ts +5 -0
  31. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.js +2 -0
  32. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +24 -0
  33. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.js +2 -0
  34. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.d.ts +5 -0
  35. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.js +2 -0
  36. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.d.ts +7 -0
  37. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.js +2 -0
  38. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.d.ts +13 -0
  39. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.js +2 -0
  40. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +9 -0
  41. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.js +2 -0
  42. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +20 -0
  43. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.js +2 -0
  44. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +5 -0
  45. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js +2 -0
  46. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +4 -0
  47. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js +2 -0
  48. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +4 -0
  49. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.js +2 -0
  50. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +4 -0
  51. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +2 -0
  52. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +4 -0
  53. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +2 -0
  54. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +6 -0
  55. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +2 -0
  56. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +5 -0
  57. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +2 -0
  58. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.d.ts +21 -0
  59. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.js +2 -0
  60. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.d.ts +10 -0
  61. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.js +2 -0
  62. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.d.ts +8 -0
  63. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.js +2 -0
  64. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +24 -0
  65. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.js +2 -0
  66. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.d.ts +17 -0
  67. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.js +2 -0
  68. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDialog.d.ts +6 -0
  69. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDialog.js +2 -0
  70. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +19 -0
  71. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.js +2 -0
  72. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.d.ts +4 -0
  73. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.js +2 -0
  74. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.d.ts +3 -0
  75. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.js +2 -0
  76. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +9 -0
  77. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.js +2 -0
  78. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.d.ts +17 -0
  79. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.js +2 -0
  80. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.d.ts +5 -0
  81. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.js +2 -0
  82. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.d.ts +5 -0
  83. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.js +2 -0
  84. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +21 -0
  85. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.js +2 -0
  86. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.d.ts +4 -0
  87. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.js +2 -0
  88. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLegends.d.ts +5 -0
  89. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLegends.js +2 -0
  90. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.d.ts +21 -0
  91. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.js +2 -0
  92. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.d.ts +12 -0
  93. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.js +2 -0
  94. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.d.ts +5 -0
  95. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.js +2 -0
  96. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.d.ts +4 -0
  97. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.js +2 -0
  98. package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesCrosstab.d.ts → chart_builder/II18nChartBuilderMessagesCrosstab.d.ts} +1 -1
  99. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.js +2 -0
  100. package/{src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts → dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.d.ts} +1 -1
  101. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.js +2 -0
  102. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.d.ts +3 -0
  103. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.js +2 -0
  104. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.d.ts +3 -0
  105. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.js +2 -0
  106. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.d.ts +3 -0
  107. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.js +2 -0
  108. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.d.ts +3 -0
  109. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.js +2 -0
  110. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.d.ts +5 -0
  111. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.js +2 -0
  112. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.d.ts +4 -0
  113. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.js +2 -0
  114. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.d.ts +13 -0
  115. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.js +2 -0
  116. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.d.ts +7 -0
  117. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.js +2 -0
  118. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.d.ts +4 -0
  119. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.js +2 -0
  120. package/dist/{globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts → cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.d.ts} +1 -1
  121. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.js +2 -0
  122. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.d.ts +10 -0
  123. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.js +2 -0
  124. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderOperators.d.ts +23 -0
  125. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderOperators.js +2 -0
  126. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +14 -0
  127. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.js +2 -0
  128. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.d.ts +6 -0
  129. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.js +2 -0
  130. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.d.ts +4 -0
  131. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.js +2 -0
  132. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.d.ts +4 -0
  133. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.js +2 -0
  134. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +5 -0
  135. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.js +2 -0
  136. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.d.ts +7 -0
  137. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.js +2 -0
  138. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +16 -0
  139. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.js +2 -0
  140. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +27 -0
  141. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.js +2 -0
  142. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.d.ts +13 -0
  143. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.js +2 -0
  144. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.d.ts +14 -0
  145. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.js +2 -0
  146. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +30 -0
  147. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.js +2 -0
  148. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.d.ts +9 -0
  149. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.js +2 -0
  150. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.d.ts +9 -0
  151. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.js +2 -0
  152. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.d.ts +9 -0
  153. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.js +2 -0
  154. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.d.ts +12 -0
  155. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.js +2 -0
  156. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.d.ts +20 -0
  157. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.js +2 -0
  158. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.d.ts +6 -0
  159. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.js +2 -0
  160. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +17 -0
  161. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.js +2 -0
  162. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTotals.d.ts +23 -0
  163. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTotals.js +2 -0
  164. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +30 -0
  165. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.js +2 -0
  166. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.d.ts +11 -0
  167. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.js +2 -0
  168. package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +78 -0
  169. package/dist/cjs/globalization/interfaces/chart_builder/index.js +90 -0
  170. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +3 -0
  171. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +1 -6
  172. package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -3
  173. package/dist/cjs/globalization/interfaces/common/index.js +0 -3
  174. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +2 -0
  175. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +0 -2
  176. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +3 -3
  177. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +1 -1
  178. package/dist/cjs/globalization/interfaces/index.d.ts +1 -0
  179. package/dist/cjs/globalization/interfaces/index.js +1 -0
  180. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +1 -0
  181. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +10 -0
  182. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +2 -0
  183. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +4 -8
  184. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +2 -0
  185. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +54 -0
  186. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +2 -0
  187. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +25 -0
  188. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +4 -0
  189. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +33 -0
  190. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +4 -0
  191. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +293 -0
  192. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +4 -0
  193. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +128 -0
  194. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +4 -0
  195. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +30 -0
  196. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.d.ts +4 -0
  197. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.js +28 -0
  198. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +4 -0
  199. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +251 -0
  200. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.d.ts +4 -0
  201. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.js +17 -0
  202. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.d.ts +4 -0
  203. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +31 -0
  204. package/dist/cjs/globalization/labels/chart_builder/index.d.ts +10 -0
  205. package/dist/cjs/globalization/labels/chart_builder/index.js +22 -0
  206. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +4 -0
  207. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +1 -21
  208. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +10 -0
  209. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +0 -10
  210. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +4 -4
  211. package/dist/cjs/globalization/labels/index.d.ts +2 -1
  212. package/dist/cjs/globalization/labels/index.js +2 -1
  213. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +13 -2
  214. package/dist/globalization/interfaces/IResourceI18n.d.ts +2 -0
  215. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +0 -4
  216. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +2 -2
  217. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -2
  218. package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +156 -0
  219. package/dist/globalization/interfaces/{common/II18nChartInfoMessagesCrosstab.js → chart_builder/II18nChartBuilder.js} +0 -0
  220. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.d.ts +11 -0
  221. package/dist/globalization/interfaces/{common/II18nChartInfoMessagesDefault.js → chart_builder/II18nChartBuilderActionPanel.js} +0 -0
  222. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAddress.d.ts +5 -0
  223. package/dist/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.js → chart_builder/II18nChartBuilderAddress.js} +0 -0
  224. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +6 -0
  225. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.js +1 -0
  226. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +28 -0
  227. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.js +1 -0
  228. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.d.ts +15 -0
  229. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.js +1 -0
  230. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.d.ts +9 -0
  231. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.js +1 -0
  232. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.d.ts +8 -0
  233. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.js +1 -0
  234. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.d.ts +4 -0
  235. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.js +1 -0
  236. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.d.ts +24 -0
  237. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js +1 -0
  238. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.d.ts +5 -0
  239. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.js +1 -0
  240. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +24 -0
  241. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.js +1 -0
  242. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.d.ts +5 -0
  243. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.js +1 -0
  244. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.d.ts +7 -0
  245. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.js +1 -0
  246. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.d.ts +13 -0
  247. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.js +1 -0
  248. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +9 -0
  249. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.js +1 -0
  250. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +20 -0
  251. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.js +1 -0
  252. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +5 -0
  253. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js +1 -0
  254. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +4 -0
  255. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js +1 -0
  256. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +4 -0
  257. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.js +1 -0
  258. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +4 -0
  259. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +1 -0
  260. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +4 -0
  261. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +1 -0
  262. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +6 -0
  263. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +1 -0
  264. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +5 -0
  265. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +1 -0
  266. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.d.ts +21 -0
  267. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.js +1 -0
  268. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.d.ts +10 -0
  269. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.js +1 -0
  270. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.d.ts +8 -0
  271. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.js +1 -0
  272. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +24 -0
  273. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.js +1 -0
  274. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.d.ts +17 -0
  275. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.js +1 -0
  276. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDialog.d.ts +6 -0
  277. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDialog.js +1 -0
  278. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +19 -0
  279. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.js +1 -0
  280. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.d.ts +4 -0
  281. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.js +1 -0
  282. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.d.ts +3 -0
  283. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.js +1 -0
  284. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +9 -0
  285. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.js +1 -0
  286. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.d.ts +17 -0
  287. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.js +1 -0
  288. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.d.ts +5 -0
  289. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.js +1 -0
  290. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.d.ts +5 -0
  291. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.js +1 -0
  292. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +21 -0
  293. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.js +1 -0
  294. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.d.ts +4 -0
  295. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.js +1 -0
  296. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLegends.d.ts +5 -0
  297. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLegends.js +1 -0
  298. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.d.ts +21 -0
  299. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.js +1 -0
  300. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.d.ts +12 -0
  301. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.js +1 -0
  302. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.d.ts +5 -0
  303. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.js +1 -0
  304. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.d.ts +4 -0
  305. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.js +1 -0
  306. package/{src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts → dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.d.ts} +1 -1
  307. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.js +1 -0
  308. package/dist/globalization/interfaces/{common/II18nChartInfoMessagesDefault.d.ts → chart_builder/II18nChartBuilderMessagesDefault.d.ts} +1 -1
  309. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.js +1 -0
  310. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.d.ts +3 -0
  311. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.js +1 -0
  312. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.d.ts +3 -0
  313. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.js +1 -0
  314. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.d.ts +3 -0
  315. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.js +1 -0
  316. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.d.ts +3 -0
  317. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.js +1 -0
  318. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.d.ts +5 -0
  319. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.js +1 -0
  320. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.d.ts +4 -0
  321. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.js +1 -0
  322. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.d.ts +13 -0
  323. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.js +1 -0
  324. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.d.ts +7 -0
  325. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.js +1 -0
  326. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.d.ts +4 -0
  327. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.js +1 -0
  328. package/dist/{cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts → globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.d.ts} +1 -1
  329. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.js +1 -0
  330. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.d.ts +10 -0
  331. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.js +1 -0
  332. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderOperators.d.ts +23 -0
  333. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderOperators.js +1 -0
  334. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +14 -0
  335. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.js +1 -0
  336. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.d.ts +6 -0
  337. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.js +1 -0
  338. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.d.ts +4 -0
  339. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.js +1 -0
  340. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.d.ts +4 -0
  341. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.js +1 -0
  342. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +5 -0
  343. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.js +1 -0
  344. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.d.ts +7 -0
  345. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.js +1 -0
  346. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +16 -0
  347. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.js +1 -0
  348. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +27 -0
  349. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.js +1 -0
  350. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.d.ts +13 -0
  351. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.js +1 -0
  352. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.d.ts +14 -0
  353. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.js +1 -0
  354. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +30 -0
  355. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.js +1 -0
  356. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.d.ts +9 -0
  357. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.js +1 -0
  358. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.d.ts +9 -0
  359. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.js +1 -0
  360. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.d.ts +9 -0
  361. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.js +1 -0
  362. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.d.ts +12 -0
  363. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.js +1 -0
  364. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.d.ts +20 -0
  365. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.js +1 -0
  366. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.d.ts +6 -0
  367. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.js +1 -0
  368. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +17 -0
  369. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.js +1 -0
  370. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTotals.d.ts +23 -0
  371. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTotals.js +1 -0
  372. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +30 -0
  373. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.js +1 -0
  374. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.d.ts +11 -0
  375. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.js +1 -0
  376. package/dist/globalization/interfaces/chart_builder/index.d.ts +78 -0
  377. package/dist/globalization/interfaces/chart_builder/index.js +78 -0
  378. package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +3 -0
  379. package/dist/globalization/interfaces/common/II18nCommon.d.ts +1 -6
  380. package/dist/globalization/interfaces/common/index.d.ts +0 -3
  381. package/dist/globalization/interfaces/common/index.js +0 -3
  382. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +2 -0
  383. package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +0 -2
  384. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +3 -3
  385. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +1 -1
  386. package/dist/globalization/interfaces/index.d.ts +1 -0
  387. package/dist/globalization/interfaces/index.js +1 -0
  388. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +1 -0
  389. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +10 -0
  390. package/dist/globalization/labels/I18N_DEFAULT.js +2 -0
  391. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +4 -8
  392. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +2 -0
  393. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +51 -0
  394. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +2 -0
  395. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +22 -0
  396. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +4 -0
  397. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +30 -0
  398. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +4 -0
  399. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +290 -0
  400. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +4 -0
  401. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +125 -0
  402. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +4 -0
  403. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +27 -0
  404. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.d.ts +4 -0
  405. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.js +25 -0
  406. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +4 -0
  407. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +248 -0
  408. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.d.ts +4 -0
  409. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.js +14 -0
  410. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.d.ts +4 -0
  411. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +28 -0
  412. package/dist/globalization/labels/chart_builder/index.d.ts +10 -0
  413. package/dist/globalization/labels/chart_builder/index.js +10 -0
  414. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +4 -0
  415. package/dist/globalization/labels/common/I18N_COMMON.js +1 -21
  416. package/dist/globalization/labels/filters/I18N_FILTER.js +10 -0
  417. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +0 -10
  418. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +4 -4
  419. package/dist/globalization/labels/index.d.ts +2 -1
  420. package/dist/globalization/labels/index.js +2 -1
  421. package/dist/globalization/labels/panel/I18N_PANEL.js +13 -2
  422. package/package.json +1 -1
  423. package/src/charts/constants/AGGREGATE_GENERAL.ts +5 -0
  424. package/src/globalization/interfaces/IResourceI18n.ts +2 -0
  425. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.ts +0 -4
  426. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.ts +2 -2
  427. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -2
  428. package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +157 -0
  429. package/src/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.ts +11 -0
  430. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAddress.ts +5 -0
  431. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.ts +6 -0
  432. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +28 -0
  433. package/src/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.ts +16 -0
  434. package/src/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.ts +9 -0
  435. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.ts +8 -0
  436. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.ts +4 -0
  437. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.ts +24 -0
  438. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.ts +5 -0
  439. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.ts +24 -0
  440. package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.ts +5 -0
  441. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.ts +7 -0
  442. package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.ts +13 -0
  443. package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +9 -0
  444. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +20 -0
  445. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +6 -0
  446. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +4 -0
  447. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +4 -0
  448. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +4 -0
  449. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +4 -0
  450. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +6 -0
  451. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.ts +6 -0
  452. package/src/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.ts +21 -0
  453. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.ts +10 -0
  454. package/src/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.ts +8 -0
  455. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +24 -0
  456. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.ts +17 -0
  457. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDialog.ts +6 -0
  458. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +19 -0
  459. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.ts +4 -0
  460. package/src/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.ts +3 -0
  461. package/src/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.ts +9 -0
  462. package/src/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.ts +17 -0
  463. package/src/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.ts +5 -0
  464. package/src/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.ts +5 -0
  465. package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +21 -0
  466. package/src/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.ts +5 -0
  467. package/src/globalization/interfaces/chart_builder/II18nChartBuilderLegends.ts +5 -0
  468. package/src/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.ts +21 -0
  469. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.ts +12 -0
  470. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.ts +5 -0
  471. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.ts +4 -0
  472. package/{dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts → src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.ts} +2 -2
  473. package/{dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts → src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.ts} +2 -2
  474. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.ts +3 -0
  475. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.ts +3 -0
  476. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.ts +3 -0
  477. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.ts +3 -0
  478. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.ts +5 -0
  479. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.ts +4 -0
  480. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.ts +13 -0
  481. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.ts +7 -0
  482. package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.ts +4 -0
  483. package/src/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.ts → chart_builder/II18nChartBuilderMessagesTableChart.ts} +2 -2
  484. package/src/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.ts +10 -0
  485. package/src/globalization/interfaces/chart_builder/II18nChartBuilderOperators.ts +23 -0
  486. package/src/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.ts +14 -0
  487. package/src/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.ts +6 -0
  488. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.ts +5 -0
  489. package/src/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.ts +4 -0
  490. package/src/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.ts +5 -0
  491. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.ts +7 -0
  492. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +16 -0
  493. package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +27 -0
  494. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.ts +13 -0
  495. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.ts +14 -0
  496. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +30 -0
  497. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.ts +9 -0
  498. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.ts +9 -0
  499. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.ts +9 -0
  500. package/src/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.ts +12 -0
  501. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.ts +20 -0
  502. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.ts +6 -0
  503. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +17 -0
  504. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTotals.ts +23 -0
  505. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +30 -0
  506. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.ts +11 -0
  507. package/src/globalization/interfaces/chart_builder/index.ts +78 -0
  508. package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +4 -1
  509. package/src/globalization/interfaces/common/II18nCommon.ts +1 -6
  510. package/src/globalization/interfaces/common/index.ts +0 -3
  511. package/src/globalization/interfaces/filters/II18nFilter.ts +2 -0
  512. package/src/globalization/interfaces/filters/II18nFilterPanel.ts +0 -2
  513. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.ts +3 -3
  514. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.ts +2 -2
  515. package/src/globalization/interfaces/index.ts +1 -0
  516. package/src/globalization/interfaces/panel/II18nPanel.ts +1 -0
  517. package/src/globalization/interfaces/panel/II18nPanelErrors.ts +10 -0
  518. package/src/globalization/labels/I18N_DEFAULT.ts +3 -0
  519. package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +4 -8
  520. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER.ts +66 -0
  521. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +24 -0
  522. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.ts +34 -0
  523. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +300 -0
  524. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +128 -0
  525. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +30 -0
  526. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.ts +28 -0
  527. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +256 -0
  528. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.ts +17 -0
  529. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +31 -0
  530. package/src/globalization/labels/chart_builder/index.ts +10 -0
  531. package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +4 -0
  532. package/src/globalization/labels/common/I18N_COMMON.ts +1 -21
  533. package/src/globalization/labels/cross_tabs/I18N_CROSS_TABS.ts +1 -2
  534. package/src/globalization/labels/filters/I18N_FILTER.ts +10 -0
  535. package/src/globalization/labels/filters/I18N_FILTER_PANEL.ts +0 -10
  536. package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +4 -4
  537. package/src/globalization/labels/index.ts +2 -1
  538. 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-21*
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/mdyDateToDate.js
83
+ ### dist/filters/adapters/FDToFlatUI.js
84
84
 
85
85
 
86
- #### mdyDateToDate(monthYearDate, time)
86
+ #### FDToFlatUI(filterData, datasetsInfo)
87
87
 
88
- Transforms String Date from a [mm/dd/yyyy] 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 [mm/dd/yyyy] format to Date object.
94
94
 
95
95
  | Name | Type | Description | |
96
96
  | ---- | ---- | ----------- | -------- |
97
- | monthYearDate | | String of [mm/dd/yyyy] 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 [mm/dd/yyyy] 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/quarterYearToDate.js
112
108
 
113
109
 
114
- #### quarterYearToDate(quarterYearDate, time)
110
+ #### FD21ToFlatUI(scopes, datasetsInfo)
115
111
 
116
- Transforms String Date from a [Quarter Year] 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 [Quarter Year] format to Date object.
122
118
 
123
119
  | Name | Type | Description | |
124
120
  | ---- | ---- | ----------- | -------- |
125
- | quarterYearDate | | String of [Quarter Year] 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 [Quarter Year] 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/monthYearToDate.js
135
+ ### dist/filters/adapters/FDToLogic.js
140
136
 
141
137
 
142
- #### monthYearToDate(monthYearDate, time)
138
+ #### FDToLogic(filterData)
143
139
 
144
- Transforms String Date from a [Month 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 [Month Year] format to Date object.
150
146
 
151
147
  | Name | Type | Description | |
152
148
  | ---- | ---- | ----------- | -------- |
153
- | monthYearDate | | String of [Month 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 [Month 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/getDateFormatByProperty.js
239
+ ### dist/filters/adapters/UIToFD.js
253
240
 
254
241
 
255
- #### getDateFormatByProperty(property)
242
+ #### UIToFD(filterData)
256
243
 
257
- Gets the date format by the given property
244
+ Generates a Filter Data Structure structure from UI Filter Data structure.
258
245
 
259
246
 
260
247
 
@@ -263,7 +250,7 @@ Gets the date format by the given property
263
250
 
264
251
  | Name | Type | Description | |
265
252
  | ---- | ---- | ----------- | -------- |
266
- | property | | The Column Property |   |
253
+ | filterData | | The UI filter data object. |   |
267
254
 
268
255
 
269
256
 
@@ -271,17 +258,13 @@ Gets the date format by the given property
271
258
  ##### Returns
272
259
 
273
260
 
274
- - The date format
275
-
276
-
277
-
261
+ - a Filter Data structure
278
262
 
279
- ### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
280
263
 
281
264
 
282
- #### getDateFormatRegularExpressionInArray(dateFormat)
265
+ #### UI21ToFD(uFilterData, version)
283
266
 
284
- Gets an array of regular expressions by the given date format
267
+ Builds the Fitler Data structure from UI filter data
285
268
 
286
269
 
287
270
 
@@ -290,7 +273,8 @@ Gets an array of regular expressions by the given date format
290
273
 
291
274
  | Name | Type | Description | |
292
275
  | ---- | ---- | ----------- | -------- |
293
- | dateFormat | | the date format |   |
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 an array of regular expressions by the given date format
298
282
  ##### Returns
299
283
 
300
284
 
301
- - an array of regular expressions
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,23 +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; |
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; |
1221
+
1222
+
1223
+
1224
+
1225
+ ##### Examples
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
+ }
1225
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
+ }
1226
1243
 
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
+ ```
1227
1252
 
1228
1253
 
1229
1254
  ##### Returns
1230
1255
 
1231
1256
 
1232
- - a UI Filter Data.
1257
+ - `Object` an object with the date range with two string date properties: from and to
1233
1258
 
1234
1259
 
1235
1260
 
1236
- #### buildScopes(fbFilters)
1237
1261
 
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
1262
+ ### dist/dates/helpers/getDateByDateFormat.js
1263
+
1264
+
1265
+ #### getDateByDateFormat(date, format, time)
1266
+
1267
+ Gets a Date Object instance by a Date format
1240
1268
 
1241
1269
 
1242
1270
 
@@ -1245,7 +1273,9 @@ Also, adds and organizes filters by datasets
1245
1273
 
1246
1274
  | Name | Type | Description | |
1247
1275
  | ---- | ---- | ----------- | -------- |
1248
- | fbFilters | | Array of flat filters from UI | &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; |
1249
1279
 
1250
1280
 
1251
1281
 
@@ -1253,13 +1283,17 @@ Also, adds and organizes filters by datasets
1253
1283
  ##### Returns
1254
1284
 
1255
1285
 
1256
- - an array of scopes structure.
1286
+ - a Date object, milisecond time or the same value if date format does not match.
1257
1287
 
1258
1288
 
1259
1289
 
1260
- #### buildScope(uFilter)
1261
1290
 
1262
- Gets an scope 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
1263
1297
 
1264
1298
 
1265
1299
 
@@ -1268,7 +1302,7 @@ Gets an scope structure for the UI filter data
1268
1302
 
1269
1303
  | Name | Type | Description | |
1270
1304
  | ---- | ---- | ----------- | -------- |
1271
- | uFilter | | UI structure filter | &nbsp; |
1305
+ | property | | The Column Property | &nbsp; |
1272
1306
 
1273
1307
 
1274
1308
 
@@ -1276,13 +1310,17 @@ Gets an scope structure for the UI filter data
1276
1310
  ##### Returns
1277
1311
 
1278
1312
 
1279
- - an scope structure
1313
+ - The date format
1280
1314
 
1281
1315
 
1282
1316
 
1283
- #### buildDataset(uFilter)
1284
1317
 
1285
- Gets an dataset 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
1286
1324
 
1287
1325
 
1288
1326
 
@@ -1291,7 +1329,7 @@ Gets an dataset structure for the UI filter data
1291
1329
 
1292
1330
  | Name | Type | Description | |
1293
1331
  | ---- | ---- | ----------- | -------- |
1294
- | uFilter | | a UI structure filter | &nbsp; |
1332
+ | dateFormat | | the date format | &nbsp; |
1295
1333
 
1296
1334
 
1297
1335
 
@@ -1299,13 +1337,17 @@ Gets an dataset structure for the UI filter data
1299
1337
  ##### Returns
1300
1338
 
1301
1339
 
1302
- - an dataset structure
1340
+ - an array of regular expressions
1303
1341
 
1304
1342
 
1305
1343
 
1306
- #### buildFilter(uFilter)
1307
1344
 
1308
- Gets an filter structure for the UI filter data
1345
+ ### dist/dates/helpers/getSeparatorByDateFormat.js
1346
+
1347
+
1348
+ #### getSeparatorByDateFormat(format)
1349
+
1350
+ Gets the separator of the date format
1309
1351
 
1310
1352
 
1311
1353
 
@@ -1314,7 +1356,7 @@ Gets an filter structure for the UI filter data
1314
1356
 
1315
1357
  | Name | Type | Description | |
1316
1358
  | ---- | ---- | ----------- | -------- |
1317
- | uFilter | | a UI structure filter | &nbsp; |
1359
+ | format | | the date format | &nbsp; |
1318
1360
 
1319
1361
 
1320
1362
 
@@ -1322,17 +1364,18 @@ Gets an filter structure for the UI filter data
1322
1364
  ##### Returns
1323
1365
 
1324
1366
 
1325
- - an filter structure
1367
+ - a separator string
1326
1368
 
1327
1369
 
1328
1370
 
1329
1371
 
1330
- ### dist/filters/adapters/logicToFD.js
1372
+ ### dist/dates/helpers/getWeek.js
1331
1373
 
1332
1374
 
1333
- #### logicToFD(filterData, version)
1375
+ #### getWeek(date)
1334
1376
 
1335
- Generates a filter data structure from the old logic structure (v2.0).
1377
+ Gets the week number of the year
1378
+ Additionally, the month and the year
1336
1379
 
1337
1380
 
1338
1381
 
@@ -1341,8 +1384,7 @@ Generates a filter data structure from the old logic structure (v2.0).
1341
1384
 
1342
1385
  | Name | Type | Description | |
1343
1386
  | ---- | ---- | ----------- | -------- |
1344
- | filterData | | The old filter data structure with logic (v2.0) | &nbsp; |
1345
- | version | | Tag for the version of the filter data structure | &nbsp; |
1387
+ | date | | the date object | &nbsp; |
1346
1388
 
1347
1389
 
1348
1390
 
@@ -1350,17 +1392,20 @@ Generates a filter data structure from the old logic structure (v2.0).
1350
1392
  ##### Returns
1351
1393
 
1352
1394
 
1353
- - a Filter Data.
1395
+ - an object with the week, month and year.
1354
1396
 
1355
1397
 
1356
1398
 
1357
1399
 
1358
- ### dist/filters/adapters/logicToFlatUI.js
1400
+ ### dist/dates/helpers/validateDate.js
1359
1401
 
1360
1402
 
1361
- #### logicToFlatUI(logics)
1403
+ #### validateDate(date, format)
1362
1404
 
1363
- Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
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
1364
1409
 
1365
1410
 
1366
1411
 
@@ -1369,7 +1414,8 @@ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1369
1414
 
1370
1415
  | Name | Type | Description | |
1371
1416
  | ---- | ---- | ----------- | -------- |
1372
- | logics | | The old logic structure (v2.0) | &nbsp; |
1417
+ | date | | String of date | &nbsp; |
1418
+ | format | | String of the format to validate | &nbsp; |
1373
1419
 
1374
1420
 
1375
1421
 
@@ -1377,13 +1423,17 @@ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1377
1423
  ##### Returns
1378
1424
 
1379
1425
 
1380
- - The Flattened UI Filters array
1426
+ - True if it is valid or not. Undefined if date is undefined
1381
1427
 
1382
1428
 
1383
1429
 
1384
- #### getFilter(filters, filter, getIndex)
1385
1430
 
1386
- Get the filter or the index of the given array, validating an old filter structure.
1431
+ ### dist/dates/helpers/validateDateByDateFormat.js
1432
+
1433
+
1434
+ #### validateDateByDateFormat(date, dateForma)
1435
+
1436
+ Validates the given string as Date by its date format.
1387
1437
 
1388
1438
 
1389
1439
 
@@ -1392,9 +1442,8 @@ Get the filter or the index of the given array, validating an old filter structu
1392
1442
 
1393
1443
  | Name | Type | Description | |
1394
1444
  | ---- | ---- | ----------- | -------- |
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; |
1445
+ | date | | a string to validate as date form | &nbsp; |
1446
+ | dateForma | | the format of the date to validate the string | &nbsp; |
1398
1447
 
1399
1448
 
1400
1449
 
@@ -1402,13 +1451,17 @@ Get the filter or the index of the given array, validating an old filter structu
1402
1451
  ##### Returns
1403
1452
 
1404
1453
 
1405
- - the index or the UI filter object
1454
+ - true: the string is a valida date
1406
1455
 
1407
1456
 
1408
1457
 
1409
- #### refineRankingValues(values, uiValues)
1410
1458
 
1411
- Refines the values of the Ranking column type.
1459
+ ### dist/general/array/delete.js
1460
+
1461
+
1462
+ #### ArrayDelete(array, index)
1463
+
1464
+ Inmutable Array Item deletion
1412
1465
 
1413
1466
 
1414
1467
 
@@ -1417,8 +1470,8 @@ Refines the values of the Ranking column type.
1417
1470
 
1418
1471
  | Name | Type | Description | |
1419
1472
  | ---- | ---- | ----------- | -------- |
1420
- | values | | the Array of Ranking values | &nbsp; |
1421
- | uiValues | | Object with additional info about the values of the filter. | &nbsp; |
1473
+ | array | `Array` | a collection of items to delete | &nbsp; |
1474
+ | index | `Number` | the position of the item to delete | &nbsp; |
1422
1475
 
1423
1476
 
1424
1477
 
@@ -1426,17 +1479,20 @@ Refines the values of the Ranking column type.
1426
1479
  ##### Returns
1427
1480
 
1428
1481
 
1429
- - the array of Ranking values
1482
+ - a new Array or the given parameter when is empty or not an array
1430
1483
 
1431
1484
 
1432
1485
 
1433
1486
 
1434
- ### dist/filters/adapters/logicToUI.js
1487
+ ### dist/general/array/filterNestedTree.js
1435
1488
 
1436
1489
 
1437
- #### logicToUI(uFilters, datasetsInfo)
1490
+ #### filterNestedTree(arr, childArrKey, condition)
1438
1491
 
1439
- Generates a UI filter structure from the old logic structure (v2.0).
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
1440
1496
 
1441
1497
 
1442
1498
 
@@ -1445,8 +1501,9 @@ Generates a UI filter structure from the old logic structure (v2.0).
1445
1501
 
1446
1502
  | Name | Type | Description | |
1447
1503
  | ---- | ---- | ----------- | -------- |
1448
- | uFilters | | Array of filters from old logic structure | &nbsp; |
1449
- | datasetsInfo | | Collection of datasets information | &nbsp; |
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; |
1450
1507
 
1451
1508
 
1452
1509
 
@@ -1454,17 +1511,17 @@ Generates a UI filter structure from the old logic structure (v2.0).
1454
1511
  ##### Returns
1455
1512
 
1456
1513
 
1457
- - a UI Filter Data.
1514
+ - array filtered
1458
1515
 
1459
1516
 
1460
1517
 
1461
1518
 
1462
- ### dist/filters/adapters/transformFilters.js
1519
+ ### dist/general/array/flattenDeep.js
1463
1520
 
1464
1521
 
1465
- #### transformFilters(oldFiltersObj, section)
1522
+ #### flattenDeep(arr)
1466
1523
 
1467
- Transform the old filters structure into the new one
1524
+ Flat deeply an array
1468
1525
 
1469
1526
 
1470
1527
 
@@ -1473,88 +1530,63 @@ Transform the old filters structure into the new one
1473
1530
 
1474
1531
  | Name | Type | Description | |
1475
1532
  | ---- | ---- | ----------- | -------- |
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; |
1533
+ | arr | | Array to flat deeply | &nbsp; |
1478
1534
 
1479
1535
 
1480
1536
 
1481
1537
 
1482
- ##### Examples
1538
+ ##### Returns
1483
1539
 
1484
- ```javascript
1485
1540
 
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
- };
1541
+ - flatten array
1542
+
1543
+
1544
+
1545
+
1546
+ ### dist/general/array/getFirstIndexFromArray.js
1547
+
1548
+
1549
+ #### getFirstIndexFromArray(array, callback)
1550
+
1551
+ Gets the first index from the array by a callback condition
1552
+
1553
+
1554
+
1555
+
1556
+ ##### Parameters
1557
+
1558
+ | Name | Type | Description | |
1559
+ | ---- | ---- | ----------- | -------- |
1560
+ | array | | | &nbsp; |
1561
+ | callback | | function callback | &nbsp; |
1562
+
1528
1563
 
1529
- const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1530
- ```
1531
1564
 
1532
1565
 
1533
1566
  ##### Returns
1534
1567
 
1535
1568
 
1536
- - `Object` an object with the new filters structure
1569
+ - the first index of the array. -1 when the condition is not satisfied
1537
1570
 
1538
1571
 
1539
1572
 
1540
1573
 
1541
- ### dist/filters/helpers/applyHierarchyForAggFilters.js
1574
+ ### dist/general/array/getLastIndexFromArray.js
1542
1575
 
1543
1576
 
1544
- #### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
1577
+ #### getLastIndexFromArray(array, callback)
1545
1578
 
1546
- [TODO: Make a proper description for this function]
1579
+ Gets the last index from the array by a callback condition
1547
1580
 
1548
1581
 
1549
1582
 
1550
1583
 
1551
1584
  ##### Parameters
1552
1585
 
1553
- | Name | Type | Description | |
1554
- | ---- | ---- | ----------- | -------- |
1555
- | chartSettings | | Chart Settings for the Filter Builder | &nbsp; |
1556
- | scopes | | | &nbsp; |
1557
- | currentScope | | | &nbsp; |
1586
+ | Name | Type | Description | |
1587
+ | ---- | ---- | ----------- | -------- |
1588
+ | array | | | &nbsp; |
1589
+ | callback | | function callback | &nbsp; |
1558
1590
 
1559
1591
 
1560
1592
 
@@ -1562,119 +1594,113 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1562
1594
  ##### Returns
1563
1595
 
1564
1596
 
1565
- -
1597
+ - the last index of the array. -1 when the condition is not satisfied
1566
1598
 
1567
1599
 
1568
1600
 
1569
1601
 
1570
- ### dist/filters/helpers/getAvailableScopes.js
1602
+ ### dist/dates/relative/Adapter.js
1571
1603
 
1572
1604
 
1573
- #### getAvailableScopes(config)
1605
+ #### value()
1574
1606
 
1575
- Gets Scopes/Scope IDs by given IDs
1607
+ Resolves statement and returns statement value
1576
1608
 
1577
1609
 
1578
1610
 
1579
1611
 
1580
- ##### Parameters
1581
1612
 
1582
- | Name | Type | Description | |
1583
- | ---- | ---- | ----------- | -------- |
1584
- | config | | given Differnts IDs in order set a available scope | &nbsp; |
1585
1613
 
1614
+ ##### Returns
1586
1615
 
1587
1616
 
1617
+ - `AbsoluteRange` `string`
1588
1618
 
1589
- ##### Returns
1590
1619
 
1591
1620
 
1592
- - a Scopes/Scope IDs array
1621
+ #### valueAsAnchor()
1593
1622
 
1623
+ Resolves statement as an anchor
1594
1624
 
1595
1625
 
1596
1626
 
1597
- ### dist/filters/helpers/getAvailableScopesIDsByConfig.js
1598
1627
 
1599
1628
 
1600
- #### getAvailableScopesIDsByConfig(config)
1601
1629
 
1602
- Gets the Scopes IDS for the Available Scope function by any config
1630
+ ##### Returns
1603
1631
 
1604
1632
 
1633
+ - `string`
1605
1634
 
1606
1635
 
1607
- ##### Parameters
1608
1636
 
1609
- | Name | Type | Description | |
1610
- | ---- | ---- | ----------- | -------- |
1611
- | config | | any config | &nbsp; |
1637
+ #### _statementToRange() *private method*
1612
1638
 
1639
+ Convert verbal statement to range value
1613
1640
 
1614
1641
 
1615
1642
 
1616
- ##### Returns
1617
1643
 
1618
1644
 
1619
- - a Available Scope IDS config
1620
1645
 
1646
+ ##### Returns
1621
1647
 
1622
1648
 
1649
+ - `AbsoluteRange`
1623
1650
 
1624
- ### dist/filters/helpers/getScopesByHierarchy.js
1625
1651
 
1626
1652
 
1627
- #### getScopesByHierarchy(scopes, currentScope)
1653
+ #### _resolveAsThis() *private method*
1628
1654
 
1629
- [TODO: Make a description for this]
1655
+ Apply 'this' cursor logic to statement
1630
1656
 
1631
1657
 
1632
1658
 
1633
1659
 
1634
- ##### Parameters
1635
1660
 
1636
- | Name | Type | Description | |
1637
- | ---- | ---- | ----------- | -------- |
1638
- | scopes | | the collection of Scopes/Scope IDs | &nbsp; |
1639
- | currentScope | | Current scope type | &nbsp; |
1661
+
1662
+ ##### Returns
1640
1663
 
1641
1664
 
1665
+ - `AbsoluteStatement`
1642
1666
 
1643
1667
 
1644
- ##### Returns
1645
1668
 
1669
+ #### _resolveAsTheLast() *private method*
1646
1670
 
1647
- - A new array of Scopes/Scope IDs
1671
+ Apply 'the last' cursor logic to statement
1648
1672
 
1649
1673
 
1650
1674
 
1651
1675
 
1652
- ### dist/filters/classes/FilterInputErrorHandler.js
1653
1676
 
1654
1677
 
1655
- #### new FilterInputErrorHandler()
1678
+ ##### Returns
1656
1679
 
1657
1680
 
1681
+ - `AbsoluteStatement`
1658
1682
 
1659
1683
 
1660
1684
 
1685
+ #### _resolveAsTheNext() *private method*
1661
1686
 
1687
+ Apply 'the next' cursor logic to statement
1662
1688
 
1663
1689
 
1664
- ##### Returns
1665
1690
 
1666
1691
 
1667
- - `Void`
1668
1692
 
1669
1693
 
1694
+ ##### Returns
1670
1695
 
1671
1696
 
1672
- ### dist/general/array/delete.js
1697
+ - `AbsoluteStatement`
1673
1698
 
1674
1699
 
1675
- #### ArrayDelete(array, index)
1676
1700
 
1677
- Inmutable Array Item deletion
1701
+ #### replaceNowToken(value, now)
1702
+
1703
+ Replace '@now' token inside a string
1678
1704
 
1679
1705
 
1680
1706
 
@@ -1683,8 +1709,8 @@ Inmutable Array Item deletion
1683
1709
 
1684
1710
  | Name | Type | Description | |
1685
1711
  | ---- | ---- | ----------- | -------- |
1686
- | array | `Array` | a collection of items to delete | &nbsp; |
1687
- | index | `Number` | the position of the item to delete | &nbsp; |
1712
+ | value | `string` | | &nbsp; |
1713
+ | now | `Date` | | &nbsp; |
1688
1714
 
1689
1715
 
1690
1716
 
@@ -1692,20 +1718,13 @@ Inmutable Array Item deletion
1692
1718
  ##### Returns
1693
1719
 
1694
1720
 
1695
- - a new Array or the given parameter when is empty or not an array
1696
-
1697
-
1698
-
1721
+ - `string`
1699
1722
 
1700
- ### dist/general/array/filterNestedTree.js
1701
1723
 
1702
1724
 
1703
- #### filterNestedTree(arr, childArrKey, condition)
1725
+ #### convertRelativeToAbsolute(args)
1704
1726
 
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
1727
+ Returns a range object (date) from a group of statement params
1709
1728
 
1710
1729
 
1711
1730
 
@@ -1714,27 +1733,45 @@ Filters a nested tree array by a custom condition on the last child node
1714
1733
 
1715
1734
  | Name | Type | Description | |
1716
1735
  | ---- | ---- | ----------- | -------- |
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; |
1736
+ | args | `RelativeToAbsoluteStruct` | | &nbsp; |
1737
+
1720
1738
 
1721
1739
 
1722
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
+
1723
1760
 
1724
1761
  ##### Returns
1725
1762
 
1726
1763
 
1727
- - array filtered
1764
+ - `string`
1728
1765
 
1729
1766
 
1730
1767
 
1731
1768
 
1732
- ### dist/general/array/flattenDeep.js
1769
+ ### dist/dates/relative/relative.js
1733
1770
 
1734
1771
 
1735
- #### flattenDeep(arr)
1772
+ #### resolveRelative(statements, clock)
1736
1773
 
1737
- Flat deeply an array
1774
+ Resolve a list of relative statements according to operator
1738
1775
 
1739
1776
 
1740
1777
 
@@ -1743,25 +1780,44 @@ Flat deeply an array
1743
1780
 
1744
1781
  | Name | Type | Description | |
1745
1782
  | ---- | ---- | ----------- | -------- |
1746
- | arr | | Array to flat deeply | &nbsp; |
1783
+ | statements | `Array.<RelativeStatement>` `Array.<string>` | - Raw statements/values | &nbsp; |
1784
+ | clock | `Date` | - Clock/time reference for relative date resolution | &nbsp; |
1785
+
1786
+
1747
1787
 
1748
1788
 
1789
+ ##### Examples
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
+ }
1801
+
1802
+ Output:
1803
+ { gte: "03/06/2021 00:00:00", lte: "03/05/2022 23:59:59" }
1804
+ ```
1749
1805
 
1750
1806
 
1751
1807
  ##### Returns
1752
1808
 
1753
1809
 
1754
- - flatten array
1810
+ - `Array.&lt;AbsoluteRange&gt;` `Array.&lt;string&gt;`
1755
1811
 
1756
1812
 
1757
1813
 
1758
1814
 
1759
- ### dist/general/array/getFirstIndexFromArray.js
1815
+ ### dist/general/function/debounce.js
1760
1816
 
1761
1817
 
1762
- #### getFirstIndexFromArray(array, callback)
1818
+ #### debounce(fn, time)
1763
1819
 
1764
- Gets the first index from the array by a callback condition
1820
+ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
1765
1821
 
1766
1822
 
1767
1823
 
@@ -1770,8 +1826,8 @@ Gets the first index from the array by a callback condition
1770
1826
 
1771
1827
  | Name | Type | Description | |
1772
1828
  | ---- | ---- | ----------- | -------- |
1773
- | array | | | &nbsp; |
1774
- | callback | | function callback | &nbsp; |
1829
+ | fn | `Function` | original Function | &nbsp; |
1830
+ | time | `Number` | default 500ms | &nbsp; |
1775
1831
 
1776
1832
 
1777
1833
 
@@ -1779,17 +1835,17 @@ Gets the first index from the array by a callback condition
1779
1835
  ##### Returns
1780
1836
 
1781
1837
 
1782
- - the first index of the array. -1 when the condition is not satisfied
1838
+ - `Function` debounced functions
1783
1839
 
1784
1840
 
1785
1841
 
1786
1842
 
1787
- ### dist/general/array/getLastIndexFromArray.js
1843
+ ### dist/general/function/throttled.js
1788
1844
 
1789
1845
 
1790
- #### getLastIndexFromArray(array, callback)
1846
+ #### throttled(fn, time)
1791
1847
 
1792
- Gets the last index from the array by a callback condition
1848
+ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1793
1849
 
1794
1850
 
1795
1851
 
@@ -1798,8 +1854,8 @@ Gets the last index from the array by a callback condition
1798
1854
 
1799
1855
  | Name | Type | Description | |
1800
1856
  | ---- | ---- | ----------- | -------- |
1801
- | array | | | &nbsp; |
1802
- | callback | | function callback | &nbsp; |
1857
+ | fn | `Function` | original Function | &nbsp; |
1858
+ | time | `Number` | default 500ms | &nbsp; |
1803
1859
 
1804
1860
 
1805
1861
 
@@ -1807,17 +1863,17 @@ Gets the last index from the array by a callback condition
1807
1863
  ##### Returns
1808
1864
 
1809
1865
 
1810
- - the last index of the array. -1 when the condition is not satisfied
1866
+ - `Function` throttled function
1811
1867
 
1812
1868
 
1813
1869
 
1814
1870
 
1815
- ### dist/general/function/debounce.js
1871
+ ### dist/general/string/capitalize.js
1816
1872
 
1817
1873
 
1818
- #### debounce(fn, time)
1874
+ #### capitalize(text)
1819
1875
 
1820
- Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
1876
+ Upper case the first letter of a given text
1821
1877
 
1822
1878
 
1823
1879
 
@@ -1826,8 +1882,7 @@ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last
1826
1882
 
1827
1883
  | Name | Type | Description | |
1828
1884
  | ---- | ---- | ----------- | -------- |
1829
- | fn | `Function` | original Function | &nbsp; |
1830
- | time | `Number` | default 500ms | &nbsp; |
1885
+ | text | `String` | | &nbsp; |
1831
1886
 
1832
1887
 
1833
1888
 
@@ -1835,17 +1890,18 @@ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last
1835
1890
  ##### Returns
1836
1891
 
1837
1892
 
1838
- - `Function` debounced functions
1893
+ - `String` a capitalized text
1839
1894
 
1840
1895
 
1841
1896
 
1842
1897
 
1843
- ### dist/general/function/throttled.js
1898
+ ### dist/general/mix/compareDeep.js
1844
1899
 
1845
1900
 
1846
- #### throttled(fn, time)
1901
+ #### compareDeep(object1, object2)
1847
1902
 
1848
- Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1903
+ Compares two objects to know if they are equals. Go across nested objects.
1904
+ Includes arrays in the comparison.
1849
1905
 
1850
1906
 
1851
1907
 
@@ -1854,8 +1910,8 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1854
1910
 
1855
1911
  | Name | Type | Description | |
1856
1912
  | ---- | ---- | ----------- | -------- |
1857
- | fn | `Function` | original Function | &nbsp; |
1858
- | time | `Number` | default 500ms | &nbsp; |
1913
+ | object1 | | First Object to compare | &nbsp; |
1914
+ | object2 | | Second Object to compare | &nbsp; |
1859
1915
 
1860
1916
 
1861
1917
 
@@ -1863,18 +1919,17 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1863
1919
  ##### Returns
1864
1920
 
1865
1921
 
1866
- - `Function` throttled function
1922
+ - True: objects are equal. False: Objects are not equal. Undefined: invalid
1867
1923
 
1868
1924
 
1869
1925
 
1870
1926
 
1871
- ### dist/general/mix/compareDeep.js
1927
+ ### dist/general/mix/getTag.js
1872
1928
 
1873
1929
 
1874
- #### compareDeep(object1, object2)
1930
+ #### getTag(value)
1875
1931
 
1876
- Compares two objects to know if they are equals. Go across nested objects.
1877
- Includes arrays in the comparison.
1932
+ Gets the `toStringTag` of `value`.
1878
1933
 
1879
1934
 
1880
1935
 
@@ -1883,8 +1938,7 @@ Includes arrays in the comparison.
1883
1938
 
1884
1939
  | Name | Type | Description | |
1885
1940
  | ---- | ---- | ----------- | -------- |
1886
- | object1 | | First Object to compare | &nbsp; |
1887
- | object2 | | Second Object to compare | &nbsp; |
1941
+ | value | | The value to query. | &nbsp; |
1888
1942
 
1889
1943
 
1890
1944
 
@@ -1892,7 +1946,7 @@ Includes arrays in the comparison.
1892
1946
  ##### Returns
1893
1947
 
1894
1948
 
1895
- - True: objects are equal. False: Objects are not equal. Undefined: invalid
1949
+ - `string` Returns the `toStringTag`.
1896
1950
 
1897
1951
 
1898
1952
 
@@ -1982,33 +2036,6 @@ return a Promise that is resolved when the script is loaded
1982
2036
 
1983
2037
 
1984
2038
 
1985
- ### dist/general/mix/getTag.js
1986
-
1987
-
1988
- #### getTag(value)
1989
-
1990
- Gets the `toStringTag` of `value`.
1991
-
1992
-
1993
-
1994
-
1995
- ##### Parameters
1996
-
1997
- | Name | Type | Description | |
1998
- | ---- | ---- | ----------- | -------- |
1999
- | value | | The value to query. | &nbsp; |
2000
-
2001
-
2002
-
2003
-
2004
- ##### Returns
2005
-
2006
-
2007
- - `string` Returns the `toStringTag`.
2008
-
2009
-
2010
-
2011
-
2012
2039
  ### dist/general/mix/isEmpty.js
2013
2040
 
2014
2041
 
@@ -2543,34 +2570,7 @@ return a new object just with attributes in _keys_ list
2543
2570
 
2544
2571
  #### serialize(obj)
2545
2572
 
2546
- serialize object to url param
2547
-
2548
-
2549
-
2550
-
2551
- ##### Parameters
2552
-
2553
- | Name | Type | Description | |
2554
- | ---- | ---- | ----------- | -------- |
2555
- | obj | | - Object to be serialized | &nbsp; |
2556
-
2557
-
2558
-
2559
-
2560
- ##### Returns
2561
-
2562
-
2563
- - `Void`
2564
-
2565
-
2566
-
2567
-
2568
- ### dist/general/string/capitalize.js
2569
-
2570
-
2571
- #### capitalize(text)
2572
-
2573
- Upper case the first letter of a given text
2573
+ serialize object to url param
2574
2574
 
2575
2575
 
2576
2576
 
@@ -2579,7 +2579,7 @@ Upper case the first letter of a given text
2579
2579
 
2580
2580
  | Name | Type | Description | |
2581
2581
  | ---- | ---- | ----------- | -------- |
2582
- | text | `String` | | &nbsp; |
2582
+ | obj | | - Object to be serialized | &nbsp; |
2583
2583
 
2584
2584
 
2585
2585
 
@@ -2587,7 +2587,7 @@ Upper case the first letter of a given text
2587
2587
  ##### Returns
2588
2588
 
2589
2589
 
2590
- - `String` a capitalized text
2590
+ - `Void`
2591
2591
 
2592
2592
 
2593
2593
 
@@ -2839,115 +2839,6 @@ try to find this string as a variable on Windows object
2839
2839
 
2840
2840
 
2841
2841
 
2842
- ### dist/dates/relative/helpers/getStatementCase.js
2843
-
2844
-
2845
- #### getStatementCase(includeCurrent, isCalendarDate)
2846
-
2847
- Returns a number/constant that identifies a relative date case
2848
-
2849
-
2850
-
2851
-
2852
- ##### Parameters
2853
-
2854
- | Name | Type | Description | |
2855
- | ---- | ---- | ----------- | -------- |
2856
- | includeCurrent | `boolean` | | &nbsp; |
2857
- | isCalendarDate | `boolean` | | &nbsp; |
2858
-
2859
-
2860
-
2861
-
2862
- ##### Returns
2863
-
2864
-
2865
- - `number`
2866
-
2867
-
2868
-
2869
-
2870
- ### dist/dates/relative/helpers/formatStatement.js
2871
-
2872
-
2873
- #### formatStatement(statement)
2874
-
2875
- Build a proper relative date statement type
2876
-
2877
-
2878
-
2879
-
2880
- ##### Parameters
2881
-
2882
- | Name | Type | Description | |
2883
- | ---- | ---- | ----------- | -------- |
2884
- | statement | `RelativeStatement` | | &nbsp; |
2885
-
2886
-
2887
-
2888
-
2889
- ##### Returns
2890
-
2891
-
2892
- - `RelativeStatement`
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
- ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
2925
-
2926
-
2927
- #### getFilterBuilderGeneralConfig(config)
2928
-
2929
- Returns a filter builder config object by a any given config
2930
-
2931
-
2932
-
2933
-
2934
- ##### Parameters
2935
-
2936
- | Name | Type | Description | |
2937
- | ---- | ---- | ----------- | -------- |
2938
- | config | | any config object | &nbsp; |
2939
-
2940
-
2941
-
2942
-
2943
- ##### Returns
2944
-
2945
-
2946
- - The filter builder config object
2947
-
2948
-
2949
-
2950
-
2951
2842
  ### dist/filters/helpers/backend/buildExpression.js
2952
2843
 
2953
2844
 
@@ -3244,12 +3135,12 @@ Gets filters from the logic by the scopes hierarchy.
3244
3135
 
3245
3136
 
3246
3137
 
3247
- ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3138
+ ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
3248
3139
 
3249
3140
 
3250
- #### excludeFiltersByAggregateColumn(filterData)
3141
+ #### getFilterBuilderGeneralConfig(config)
3251
3142
 
3252
- Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3143
+ Returns a filter builder config object by a any given config
3253
3144
 
3254
3145
 
3255
3146
 
@@ -3258,7 +3149,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3258
3149
 
3259
3150
  | Name | Type | Description | |
3260
3151
  | ---- | ---- | ----------- | -------- |
3261
- | filterData | | The filter data object | &nbsp; |
3152
+ | config | | any config object | &nbsp; |
3262
3153
 
3263
3154
 
3264
3155
 
@@ -3266,7 +3157,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3266
3157
  ##### Returns
3267
3158
 
3268
3159
 
3269
- - The new filter data object that were excluded the aggregate filters
3160
+ - The filter builder config object
3270
3161
 
3271
3162
 
3272
3163
 
@@ -3299,6 +3190,33 @@ Validates if both filters are the same
3299
3190
 
3300
3191
 
3301
3192
 
3193
+ ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3194
+
3195
+
3196
+ #### excludeFiltersByAggregateColumn(filterData)
3197
+
3198
+ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3199
+
3200
+
3201
+
3202
+
3203
+ ##### Parameters
3204
+
3205
+ | Name | Type | Description | |
3206
+ | ---- | ---- | ----------- | -------- |
3207
+ | filterData | | The filter data object | &nbsp; |
3208
+
3209
+
3210
+
3211
+
3212
+ ##### Returns
3213
+
3214
+
3215
+ - The new filter data object that were excluded the aggregate filters
3216
+
3217
+
3218
+
3219
+
3302
3220
  ### dist/filters/helpers/common/excludeFiltersByParams.js
3303
3221
 
3304
3222
 
@@ -4095,12 +4013,12 @@ Excludes Aggregate Filters in the Flattened UI Filters array
4095
4013
 
4096
4014
 
4097
4015
 
4098
- ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4016
+ ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
4099
4017
 
4100
4018
 
4101
- #### getFilterPropertyLabel(filter)
4019
+ #### excludeUIFlatFiltersByScopes(uFilters, scopes)
4102
4020
 
4103
- Gets the label of the filter property
4021
+ Excludes and returns a UI Flat Filters without filters by the given scopes
4104
4022
 
4105
4023
 
4106
4024
 
@@ -4109,7 +4027,8 @@ Gets the label of the filter property
4109
4027
 
4110
4028
  | Name | Type | Description | |
4111
4029
  | ---- | ---- | ----------- | -------- |
4112
- | filter | | The UI Filter | &nbsp; |
4030
+ | uFilters | | The Flatten UI Filters | &nbsp; |
4031
+ | scopes | | collection of scopes types | &nbsp; |
4113
4032
 
4114
4033
 
4115
4034
 
@@ -4117,17 +4036,17 @@ Gets the label of the filter property
4117
4036
  ##### Returns
4118
4037
 
4119
4038
 
4120
- - a string of the filter property label
4039
+ - The new array of UI Flattened filters
4121
4040
 
4122
4041
 
4123
4042
 
4124
4043
 
4125
- ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
4044
+ ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4126
4045
 
4127
4046
 
4128
- #### excludeUIFlatFiltersByScopes(uFilters, scopes)
4047
+ #### getFilterPropertyLabel(filter)
4129
4048
 
4130
- Excludes and returns a UI Flat Filters without filters by the given scopes
4049
+ Gets the label of the filter property
4131
4050
 
4132
4051
 
4133
4052
 
@@ -4136,8 +4055,7 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
4136
4055
 
4137
4056
  | Name | Type | Description | |
4138
4057
  | ---- | ---- | ----------- | -------- |
4139
- | uFilters | | The Flatten UI Filters | &nbsp; |
4140
- | scopes | | collection of scopes types | &nbsp; |
4058
+ | filter | | The UI Filter | &nbsp; |
4141
4059
 
4142
4060
 
4143
4061
 
@@ -4145,7 +4063,7 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
4145
4063
  ##### Returns
4146
4064
 
4147
4065
 
4148
- - The new array of UI Flattened filters
4066
+ - a string of the filter property label
4149
4067
 
4150
4068
 
4151
4069
 
@@ -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).*