@qrvey/utils 1.2.9-7 → 1.2.10-0

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 (1037) hide show
  1. package/README.md +1984 -452
  2. package/dist/charts/constants/AGGREGATE_LABEL.d.ts +1 -1
  3. package/dist/charts/constants/AGGREGATE_LABEL.js +1 -1
  4. package/dist/charts/constants/index.d.ts +1 -0
  5. package/dist/charts/constants/index.js +1 -0
  6. package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +1 -1
  7. package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +1 -1
  8. package/dist/cjs/charts/constants/index.d.ts +1 -0
  9. package/dist/cjs/charts/constants/index.js +1 -0
  10. package/dist/cjs/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION.d.ts +5 -0
  11. package/dist/cjs/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION.js +9 -0
  12. package/dist/cjs/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION_LIST.d.ts +2 -0
  13. package/dist/cjs/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION_LIST.js +9 -0
  14. package/dist/cjs/columns/constants/index.d.ts +4 -0
  15. package/dist/cjs/columns/constants/index.js +4 -0
  16. package/dist/{qrvey → cjs/columns}/helpers/getColumnsLabel.d.ts +1 -1
  17. package/dist/cjs/{qrvey → columns}/helpers/getColumnsLabel.js +2 -0
  18. package/dist/cjs/columns/helpers/getDatasetByColumn.d.ts +3 -0
  19. package/dist/cjs/columns/helpers/getDatasetByColumn.js +10 -0
  20. package/dist/cjs/columns/helpers/getDatasetColumn.d.ts +3 -0
  21. package/dist/cjs/columns/helpers/getDatasetColumn.js +16 -0
  22. package/dist/cjs/columns/helpers/getDatasetColumnyDatasets.d.ts +3 -0
  23. package/dist/cjs/columns/helpers/getDatasetColumnyDatasets.js +12 -0
  24. package/dist/cjs/columns/helpers/getModelColumn.d.ts +9 -0
  25. package/dist/cjs/columns/helpers/getModelColumn.js +30 -0
  26. package/dist/cjs/columns/helpers/index.d.ts +5 -0
  27. package/dist/cjs/columns/helpers/index.js +5 -0
  28. package/dist/cjs/columns/interfaces/IBColumAnswer.d.ts +6 -0
  29. package/dist/cjs/{filters/interfaces/builder/IFilterBuilderGeneralConfig.js → columns/interfaces/IBColumAnswer.js} +0 -0
  30. package/dist/cjs/columns/interfaces/IBColumn.d.ts +10 -3
  31. package/dist/cjs/columns/interfaces/IBColumnAnswerExpression.d.ts +5 -0
  32. package/dist/cjs/{filters/interfaces/common/IFSMergeFiltersSettings.js → columns/interfaces/IBColumnAnswerExpression.js} +0 -0
  33. package/dist/cjs/columns/interfaces/IBColumnAnswerExpressionCategory.d.ts +6 -0
  34. package/dist/cjs/{filters/interfaces/common/IFSParamsToGetFilterSettings.js → columns/interfaces/IBColumnAnswerExpressionCategory.js} +0 -0
  35. package/dist/cjs/columns/interfaces/IBColumnAnswerExpressionWord.d.ts +3 -0
  36. package/dist/cjs/{globalization/interfaces/IResourceI18n.js → columns/interfaces/IBColumnAnswerExpressionWord.js} +0 -0
  37. package/dist/cjs/columns/interfaces/IBColumnAnswerGeneral.d.ts +4 -0
  38. package/dist/cjs/columns/interfaces/IBColumnAnswerGeneral.js +2 -0
  39. package/dist/cjs/columns/interfaces/IBColumnAnswerImages.d.ts +5 -0
  40. package/dist/cjs/columns/interfaces/IBColumnAnswerImages.js +2 -0
  41. package/dist/cjs/columns/interfaces/IBColumnAnswerLookupAnswer.d.ts +5 -0
  42. package/dist/cjs/columns/interfaces/IBColumnAnswerLookupAnswer.js +2 -0
  43. package/dist/cjs/columns/interfaces/IBColumnAnswerLookupAnswerAnswer.d.ts +6 -0
  44. package/dist/cjs/columns/interfaces/IBColumnAnswerLookupAnswerAnswer.js +2 -0
  45. package/dist/cjs/columns/interfaces/IBColumnAnswerLookupValue.d.ts +4 -0
  46. package/dist/cjs/columns/interfaces/IBColumnAnswerLookupValue.js +2 -0
  47. package/dist/cjs/columns/interfaces/IBColumnAnswerLookupValueValue.d.ts +7 -0
  48. package/dist/cjs/columns/interfaces/IBColumnAnswerLookupValueValue.js +2 -0
  49. package/dist/cjs/columns/interfaces/IBColumnAnswerSlidebar.d.ts +3 -0
  50. package/dist/cjs/columns/interfaces/IBColumnAnswerSlidebar.js +2 -0
  51. package/dist/cjs/columns/interfaces/IColumn.d.ts +9 -3
  52. package/dist/cjs/columns/interfaces/IColumnImageUploadOption.d.ts +2 -0
  53. package/dist/cjs/columns/interfaces/IColumnImageUploadOption.js +2 -0
  54. package/dist/cjs/columns/interfaces/index.d.ts +11 -0
  55. package/dist/cjs/columns/interfaces/index.js +11 -0
  56. package/dist/cjs/dates/adapters/index.d.ts +5 -0
  57. package/dist/cjs/dates/adapters/index.js +17 -0
  58. package/dist/cjs/dates/constants/DATETIME_COLUMN_FORMAT.d.ts +1 -0
  59. package/dist/cjs/dates/constants/DATETIME_COLUMN_FORMAT.js +11 -0
  60. package/dist/cjs/dates/constants/index.d.ts +2 -0
  61. package/dist/cjs/dates/constants/index.js +2 -0
  62. package/dist/cjs/dates/helpers/index.d.ts +1 -0
  63. package/dist/cjs/dates/helpers/index.js +1 -0
  64. package/dist/cjs/dates/index.d.ts +1 -0
  65. package/dist/cjs/dates/index.js +1 -0
  66. package/dist/cjs/dates/relative/constants/RELATIVE_CURSOR_INFO_LIST.d.ts +1 -1
  67. package/dist/cjs/filters/adapters/FDToFlatUI.js +2 -1
  68. package/dist/cjs/filters/adapters/FDToUI.js +2 -4
  69. package/dist/cjs/filters/adapters/UIToFlatUI.js +1 -0
  70. package/dist/cjs/filters/adapters/UIToOldLogic.js +5 -3
  71. package/dist/cjs/filters/adapters/adaptFilterValues.js +2 -2
  72. package/dist/cjs/filters/adapters/flatUIToFD.js +1 -0
  73. package/dist/cjs/filters/adapters/flatUIToOldLogic.js +41 -25
  74. package/dist/cjs/filters/adapters/flatUIToUI.js +1 -0
  75. package/dist/cjs/filters/adapters/index.d.ts +2 -0
  76. package/dist/cjs/filters/adapters/index.js +2 -0
  77. package/dist/cjs/filters/adapters/logicToFlatUI.js +9 -8
  78. package/dist/cjs/filters/adapters/modelAnswerToFilterValue.d.ts +8 -0
  79. package/dist/cjs/filters/adapters/modelAnswerToFilterValue.js +16 -0
  80. package/dist/cjs/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.js +4 -4
  81. package/dist/cjs/filters/constants/builder/STATIC_OPTION_COLUMNS.d.ts +2 -2
  82. package/dist/cjs/filters/constants/builder/index.d.ts +1 -0
  83. package/dist/cjs/filters/constants/builder/index.js +1 -0
  84. package/dist/cjs/filters/helpers/OLD_getAggFilters.d.ts +9 -0
  85. package/dist/cjs/filters/helpers/OLD_getAggFilters.js +88 -0
  86. package/dist/cjs/filters/helpers/backend/buildExpression.js +3 -2
  87. package/dist/cjs/filters/helpers/backend/getBackendValidator.d.ts +2 -2
  88. package/dist/cjs/filters/helpers/backend/getBackendValidator.js +4 -4
  89. package/dist/cjs/filters/helpers/backend/getBackendValues.js +13 -12
  90. package/dist/cjs/filters/helpers/backend/index.d.ts +1 -1
  91. package/dist/cjs/filters/helpers/backend/index.js +2 -1
  92. package/dist/cjs/filters/helpers/builder/getFilterBuilderGeneralConfig.d.ts +2 -2
  93. package/dist/cjs/filters/helpers/builder/getFilterBuilderGeneralConfig.js +1 -0
  94. package/dist/cjs/filters/helpers/common/excludeFiltersByParams.js +4 -4
  95. package/dist/cjs/filters/helpers/common/getFiltersByParams.d.ts +2 -2
  96. package/dist/cjs/filters/helpers/common/getFiltersByParams.js +2 -2
  97. package/dist/cjs/filters/helpers/common/getMergeFiltersSettings.d.ts +2 -2
  98. package/dist/cjs/filters/helpers/common/getParamsToGetFilterSettings.d.ts +2 -2
  99. package/dist/cjs/filters/helpers/common/getValuesFromDataset.d.ts +8 -0
  100. package/dist/cjs/filters/helpers/common/getValuesFromDataset.js +20 -0
  101. package/dist/cjs/filters/helpers/common/getValuesFromModel.d.ts +8 -0
  102. package/dist/cjs/filters/helpers/common/getValuesFromModel.js +20 -0
  103. package/dist/cjs/filters/helpers/common/index.d.ts +3 -1
  104. package/dist/cjs/filters/helpers/common/index.js +4 -1
  105. package/dist/cjs/filters/helpers/common/mergeFilters.d.ts +2 -2
  106. package/dist/cjs/filters/helpers/common/mergeFilters.js +15 -13
  107. package/dist/cjs/filters/helpers/index.d.ts +1 -0
  108. package/dist/cjs/filters/helpers/index.js +2 -0
  109. package/dist/cjs/filters/helpers/ui/getQrveyIdsByUIFilters.d.ts +7 -0
  110. package/dist/cjs/filters/helpers/ui/getQrveyIdsByUIFilters.js +24 -0
  111. package/dist/cjs/filters/helpers/ui/getUIFlatFilterByParams.js +2 -2
  112. package/dist/cjs/filters/helpers/ui/getUIFlatFiltersByParams.js +2 -2
  113. package/dist/cjs/filters/helpers/ui/getUIValues.js +22 -15
  114. package/dist/cjs/filters/helpers/ui/getUpdatedUIFilters.d.ts +9 -0
  115. package/dist/cjs/filters/helpers/ui/getUpdatedUIFilters.js +38 -0
  116. package/dist/cjs/filters/helpers/ui/index.d.ts +4 -0
  117. package/dist/cjs/filters/helpers/ui/index.js +4 -0
  118. package/dist/cjs/filters/helpers/ui/{resolveUIFlatFiltersByParams.d.ts → resolveUIFlatFilterByParams.d.ts} +2 -1
  119. package/dist/cjs/filters/helpers/ui/{resolveUIFlatFiltersByParams.js → resolveUIFlatFilterByParams.js} +7 -7
  120. package/dist/cjs/filters/helpers/ui/transformFilterValues.d.ts +4 -0
  121. package/dist/cjs/filters/helpers/ui/transformFilterValues.js +23 -0
  122. package/dist/cjs/filters/index.d.ts +1 -0
  123. package/dist/cjs/filters/index.js +1 -0
  124. package/dist/cjs/filters/interfaces/OLD_IFilterDetail.d.ts +7 -1
  125. package/dist/cjs/filters/interfaces/backend/IFBData.d.ts +5 -0
  126. package/dist/cjs/filters/interfaces/backend/IFBData.js +2 -0
  127. package/dist/cjs/filters/interfaces/backend/index.d.ts +1 -0
  128. package/dist/cjs/filters/interfaces/backend/index.js +1 -0
  129. package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +2 -4
  130. package/dist/cjs/filters/interfaces/builder/index.d.ts +0 -1
  131. package/dist/cjs/filters/interfaces/builder/index.js +0 -1
  132. package/dist/cjs/filters/interfaces/common/IFSColumn.d.ts +1 -1
  133. package/dist/cjs/filters/interfaces/common/IFSFilter.d.ts +2 -1
  134. package/dist/cjs/filters/interfaces/common/IFSFilterExtras.d.ts +2 -0
  135. package/dist/cjs/filters/interfaces/common/IFSGetDataValues.d.ts +2 -0
  136. package/dist/cjs/filters/interfaces/common/IFSGetDataValues.js +2 -0
  137. package/dist/cjs/filters/interfaces/common/IFSParamsToGetFilter.d.ts +2 -0
  138. package/dist/cjs/filters/interfaces/common/IFilterConfig.d.ts +2 -0
  139. package/dist/cjs/filters/interfaces/common/IFilterConfig.js +2 -0
  140. package/dist/cjs/filters/interfaces/common/index.d.ts +2 -2
  141. package/dist/cjs/filters/interfaces/common/index.js +2 -2
  142. package/dist/cjs/filters/interfaces/functions/IFFiltersGetData.d.ts +17 -0
  143. package/dist/cjs/filters/interfaces/functions/IFFiltersGetData.js +2 -0
  144. package/dist/cjs/filters/interfaces/functions/IFFiltersGetValuesFromDataset.d.ts +10 -0
  145. package/dist/cjs/filters/interfaces/functions/IFFiltersGetValuesFromDataset.js +2 -0
  146. package/dist/cjs/filters/interfaces/functions/IFFiltersGetValuesFromModel.d.ts +10 -0
  147. package/dist/cjs/filters/interfaces/functions/IFFiltersGetValuesFromModel.js +2 -0
  148. package/dist/cjs/filters/interfaces/{common/IFSMergeFiltersSettings.d.ts → functions/IFFiltersMergeFilters.d.ts} +1 -1
  149. package/dist/cjs/filters/interfaces/functions/IFFiltersMergeFilters.js +2 -0
  150. package/dist/cjs/filters/interfaces/{common/IFSParamsToGetFilterSettings.d.ts → functions/IFFiltersParamsToGetFilter.d.ts} +1 -1
  151. package/dist/cjs/filters/interfaces/functions/IFFiltersParamsToGetFilter.js +2 -0
  152. package/dist/cjs/filters/interfaces/functions/index.d.ts +5 -0
  153. package/dist/cjs/filters/interfaces/functions/index.js +17 -0
  154. package/dist/cjs/filters/interfaces/panel/IFPSettingsGeneral.d.ts +2 -1
  155. package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +2 -2
  156. package/dist/cjs/filters/interfaces/ui/IFUColumn.d.ts +2 -2
  157. package/dist/cjs/filters/interfaces/ui/IFUTransformFilterValuesSettings.d.ts +7 -0
  158. package/dist/cjs/filters/interfaces/ui/IFUTransformFilterValuesSettings.js +2 -0
  159. package/dist/cjs/filters/interfaces/ui/index.d.ts +4 -3
  160. package/dist/cjs/filters/interfaces/ui/index.js +4 -3
  161. package/dist/cjs/filters/services/Filters.api.d.ts +52 -0
  162. package/dist/cjs/filters/services/Filters.api.js +135 -0
  163. package/dist/cjs/filters/services/UChartApi.d.ts +86 -0
  164. package/dist/cjs/filters/services/UChartApi.js +250 -0
  165. package/dist/cjs/filters/services/UChartPaginationApi.d.ts +114 -0
  166. package/dist/cjs/filters/services/UChartPaginationApi.js +295 -0
  167. package/dist/cjs/filters/services/index.d.ts +3 -0
  168. package/dist/cjs/filters/services/index.js +15 -0
  169. package/dist/cjs/format/definition.d.ts +31 -0
  170. package/dist/cjs/format/definition.js +33 -1
  171. package/dist/cjs/format/format.d.ts +2 -1
  172. package/dist/cjs/format/format.js +8 -5
  173. package/dist/cjs/format/index.d.ts +1 -0
  174. package/dist/cjs/format/index.js +1 -0
  175. package/dist/cjs/format/localization.d.ts +4 -0
  176. package/dist/cjs/format/localization.js +79 -0
  177. package/dist/cjs/general/array/getArrayByProperty.d.ts +7 -0
  178. package/dist/cjs/general/array/getArrayByProperty.js +19 -0
  179. package/dist/cjs/general/array/getUniqueArray.d.ts +9 -0
  180. package/dist/cjs/general/array/getUniqueArray.js +15 -0
  181. package/dist/cjs/general/array/index.d.ts +1 -0
  182. package/dist/cjs/general/array/index.js +1 -0
  183. package/dist/cjs/globalization/helpers/getI18nCalendar.d.ts +4 -0
  184. package/dist/cjs/globalization/helpers/getI18nCalendar.js +69 -0
  185. package/dist/cjs/globalization/helpers/index.d.ts +1 -0
  186. package/dist/cjs/globalization/helpers/index.js +1 -0
  187. package/dist/cjs/globalization/interfaces/II18nConfig.d.ts +6 -0
  188. package/dist/cjs/globalization/interfaces/II18nConfig.js +2 -0
  189. package/dist/cjs/globalization/interfaces/{IResourceI18n.d.ts → II18nResource.d.ts} +3 -1
  190. package/dist/cjs/globalization/interfaces/II18nResource.js +2 -0
  191. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +2 -0
  192. package/dist/cjs/globalization/interfaces/calendar/II18nCalendar.d.ts +7 -0
  193. package/dist/cjs/globalization/interfaces/calendar/II18nCalendar.js +2 -0
  194. package/dist/cjs/globalization/interfaces/calendar/II18nCalendarProperties.d.ts +9 -0
  195. package/dist/cjs/globalization/interfaces/calendar/II18nCalendarProperties.js +2 -0
  196. package/dist/cjs/globalization/interfaces/calendar/index.d.ts +2 -0
  197. package/dist/cjs/globalization/interfaces/calendar/index.js +14 -0
  198. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +15 -11
  199. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +1 -0
  200. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +5 -3
  201. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +1 -0
  202. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -0
  203. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +2 -0
  204. package/dist/cjs/globalization/interfaces/common/II18nDayNames.d.ts +7 -0
  205. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +3 -0
  206. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
  207. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.js +2 -0
  208. package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +1 -0
  209. package/dist/cjs/globalization/interfaces/dashboard/index.js +1 -0
  210. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +4 -0
  211. package/dist/cjs/globalization/interfaces/filters/II18nFilterExtraInfo.d.ts +4 -0
  212. package/dist/cjs/globalization/interfaces/filters/II18nFilterExtraInfo.js +2 -0
  213. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +2 -0
  214. package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +1 -0
  215. package/dist/cjs/globalization/interfaces/filters/II18nTokenBox.d.ts +6 -0
  216. package/dist/cjs/globalization/interfaces/filters/II18nTokenBox.js +2 -0
  217. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -1
  218. package/dist/cjs/globalization/interfaces/filters/index.d.ts +1 -0
  219. package/dist/cjs/globalization/interfaces/filters/index.js +1 -0
  220. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +2 -0
  221. package/dist/cjs/globalization/interfaces/index.d.ts +7 -2
  222. package/dist/cjs/globalization/interfaces/index.js +7 -2
  223. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemes.d.ts +13 -0
  224. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemes.js +2 -0
  225. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.d.ts +6 -0
  226. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.js +2 -0
  227. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMenu.d.ts +6 -0
  228. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMenu.js +2 -0
  229. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMessages.d.ts +9 -0
  230. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMessages.js +2 -0
  231. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +27 -0
  232. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTheme.js +2 -0
  233. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTooltips.d.ts +4 -0
  234. package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTooltips.js +2 -0
  235. package/dist/cjs/globalization/interfaces/style_themes/index.d.ts +6 -0
  236. package/dist/cjs/globalization/interfaces/style_themes/index.js +18 -0
  237. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +1 -0
  238. package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +2 -2
  239. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +2 -0
  240. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +2 -0
  241. package/dist/cjs/globalization/labels/calendar/I18N_CALENDAR.d.ts +2 -0
  242. package/dist/cjs/globalization/labels/calendar/I18N_CALENDAR.js +10 -0
  243. package/dist/cjs/globalization/labels/calendar/index.d.ts +1 -0
  244. package/dist/cjs/globalization/labels/calendar/index.js +13 -0
  245. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +1 -1
  246. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +1 -1
  247. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +15 -11
  248. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +1 -1
  249. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +3 -2
  250. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +1 -1
  251. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +1 -0
  252. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +1 -1
  253. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +3 -2
  254. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +1 -1
  255. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +8 -6
  256. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +2 -0
  257. package/dist/cjs/globalization/labels/common/I18N_DAY_NAMES.js +7 -0
  258. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +7 -0
  259. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +10 -0
  260. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +2 -0
  261. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +1 -0
  262. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +1 -1
  263. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +5 -3
  264. package/dist/cjs/globalization/labels/index.d.ts +6 -3
  265. package/dist/cjs/globalization/labels/index.js +6 -3
  266. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +1 -1
  267. package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.d.ts +2 -0
  268. package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.js +58 -0
  269. package/dist/cjs/globalization/labels/style_themes/index.d.ts +1 -0
  270. package/dist/cjs/globalization/labels/style_themes/index.js +13 -0
  271. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +1 -0
  272. package/dist/cjs/globalization/service/i18nextBuilder.d.ts +3 -3
  273. package/dist/cjs/globalization/service/initI18n.d.ts +2 -2
  274. package/dist/cjs/interfaces/format/IFormatConfig.Interface.d.ts +5 -0
  275. package/dist/cjs/interfaces/format/IFormatConfig.Interface.js +2 -0
  276. package/dist/cjs/interfaces/format/IFormatCurrency.Interface.d.ts +4 -0
  277. package/dist/cjs/interfaces/format/IFormatCurrency.Interface.js +2 -0
  278. package/dist/cjs/interfaces/format/IFormatOutputFormat.Interface.d.ts +9 -0
  279. package/dist/cjs/interfaces/format/IFormatOutputFormat.Interface.js +2 -0
  280. package/dist/cjs/interfaces/format/index.d.ts +3 -0
  281. package/dist/cjs/interfaces/format/index.js +15 -0
  282. package/dist/cjs/interfaces/general/IGeneralWidgetConfig.d.ts +5 -3
  283. package/dist/cjs/interfaces/general/IWidgetConfig.d.ts +10 -0
  284. package/dist/cjs/interfaces/general/IWidgetConfig.js +2 -0
  285. package/dist/cjs/interfaces/general/index.d.ts +1 -0
  286. package/dist/cjs/interfaces/general/index.js +1 -0
  287. package/dist/cjs/interfaces/index.d.ts +1 -0
  288. package/dist/cjs/interfaces/index.js +1 -0
  289. package/dist/cjs/qrvey/constants/APP_DATASET_TYPE_LIST.d.ts +6 -0
  290. package/dist/cjs/qrvey/constants/APP_DATASET_TYPE_LIST.js +16 -0
  291. package/dist/cjs/qrvey/constants/APP_FORM_TYPE_LIST.d.ts +6 -0
  292. package/dist/cjs/qrvey/constants/APP_FORM_TYPE_LIST.js +14 -0
  293. package/dist/cjs/qrvey/constants/APP_STATUS.d.ts +5 -0
  294. package/dist/cjs/qrvey/constants/APP_STATUS.js +9 -0
  295. package/dist/cjs/qrvey/constants/APP_STATUS_LIST.d.ts +6 -0
  296. package/dist/cjs/qrvey/constants/APP_STATUS_LIST.js +13 -0
  297. package/dist/cjs/qrvey/constants/APP_TYPE.d.ts +16 -0
  298. package/dist/cjs/qrvey/constants/APP_TYPE.js +20 -0
  299. package/dist/cjs/qrvey/constants/index.d.ts +6 -0
  300. package/dist/cjs/qrvey/constants/index.js +6 -0
  301. package/dist/cjs/qrvey/helpers/areStaticColumnValues.d.ts +8 -0
  302. package/dist/cjs/qrvey/helpers/areStaticColumnValues.js +17 -0
  303. package/dist/cjs/qrvey/helpers/getCategorizableExpression.d.ts +11 -0
  304. package/dist/cjs/qrvey/helpers/getCategorizableExpression.js +22 -0
  305. package/dist/cjs/qrvey/helpers/getDataAnswersByColumn.d.ts +13 -0
  306. package/dist/cjs/qrvey/helpers/getDataAnswersByColumn.js +54 -0
  307. package/dist/cjs/qrvey/helpers/getDropdownAnswers.d.ts +9 -0
  308. package/dist/cjs/qrvey/helpers/getDropdownAnswers.js +14 -0
  309. package/dist/cjs/qrvey/helpers/getExpressionAnswers.d.ts +10 -0
  310. package/dist/cjs/qrvey/helpers/getExpressionAnswers.js +22 -0
  311. package/dist/cjs/qrvey/helpers/getImageAnswers.d.ts +8 -0
  312. package/dist/cjs/qrvey/helpers/getImageAnswers.js +17 -0
  313. package/dist/cjs/qrvey/helpers/getImageUploadHasAnalysis.d.ts +10 -0
  314. package/dist/cjs/qrvey/helpers/getImageUploadHasAnalysis.js +23 -0
  315. package/dist/cjs/qrvey/helpers/getLookupAnswers.d.ts +4 -0
  316. package/dist/cjs/qrvey/helpers/getLookupAnswers.js +16 -0
  317. package/dist/cjs/qrvey/helpers/getLookupDisplays.d.ts +4 -0
  318. package/dist/cjs/qrvey/helpers/getLookupDisplays.js +9 -0
  319. package/dist/cjs/qrvey/helpers/getRatingAnswers.d.ts +7 -0
  320. package/dist/cjs/qrvey/helpers/getRatingAnswers.js +12 -0
  321. package/dist/cjs/qrvey/helpers/getSlidebarAnswers.d.ts +8 -0
  322. package/dist/cjs/qrvey/helpers/getSlidebarAnswers.js +18 -0
  323. package/dist/cjs/qrvey/helpers/getSuffixTranslateByColumn.d.ts +7 -0
  324. package/dist/cjs/qrvey/helpers/getSuffixTranslateByColumn.js +17 -0
  325. package/dist/cjs/qrvey/helpers/getValueWithSuffixes.d.ts +9 -0
  326. package/dist/cjs/qrvey/helpers/getValueWithSuffixes.js +23 -0
  327. package/dist/cjs/qrvey/helpers/getYesNoAnswers.d.ts +9 -0
  328. package/dist/cjs/qrvey/helpers/getYesNoAnswers.js +13 -0
  329. package/dist/cjs/qrvey/helpers/index.d.ts +17 -1
  330. package/dist/cjs/qrvey/helpers/index.js +17 -1
  331. package/dist/cjs/qrvey/helpers/isDataset.d.ts +2 -0
  332. package/dist/cjs/qrvey/helpers/isDataset.js +8 -0
  333. package/dist/cjs/qrvey/helpers/isForm.d.ts +2 -0
  334. package/dist/cjs/qrvey/helpers/isForm.js +8 -0
  335. package/dist/cjs/qrvey/helpers/transformValue.d.ts +8 -0
  336. package/dist/cjs/qrvey/helpers/transformValue.js +49 -0
  337. package/dist/cjs/qrvey/interfaces/IAppStatus.d.ts +2 -0
  338. package/dist/cjs/qrvey/interfaces/IAppStatus.js +2 -0
  339. package/dist/cjs/qrvey/interfaces/IAppType.d.ts +2 -0
  340. package/dist/cjs/qrvey/interfaces/IAppType.js +2 -0
  341. package/dist/cjs/qrvey/interfaces/IBModel.d.ts +19 -0
  342. package/dist/cjs/qrvey/interfaces/IBModel.js +2 -0
  343. package/dist/cjs/qrvey/interfaces/IBModelBranchesMap.d.ts +5 -0
  344. package/dist/cjs/qrvey/interfaces/IBModelBranchesMap.js +2 -0
  345. package/dist/cjs/qrvey/interfaces/IBModelBranchesMapBranch.d.ts +4 -0
  346. package/dist/cjs/qrvey/interfaces/IBModelBranchesMapBranch.js +2 -0
  347. package/dist/cjs/qrvey/interfaces/IBModelData.d.ts +4 -0
  348. package/dist/cjs/qrvey/interfaces/IBModelData.js +2 -0
  349. package/dist/cjs/qrvey/interfaces/IFunctionGetDataAnswersByColumn.d.ts +11 -0
  350. package/dist/cjs/qrvey/interfaces/IFunctionGetDataAnswersByColumn.js +2 -0
  351. package/dist/cjs/qrvey/interfaces/IFunctionGetValueWithSuffixes.d.ts +11 -0
  352. package/dist/cjs/qrvey/interfaces/IFunctionGetValueWithSuffixes.js +2 -0
  353. package/dist/cjs/qrvey/interfaces/IModel.d.ts +10 -0
  354. package/dist/cjs/qrvey/interfaces/IModel.js +2 -0
  355. package/dist/cjs/qrvey/interfaces/IModelAnswer.d.ts +5 -0
  356. package/dist/cjs/qrvey/interfaces/IModelAnswer.js +2 -0
  357. package/dist/cjs/qrvey/interfaces/IModelBranchesMap.d.ts +5 -0
  358. package/dist/cjs/qrvey/interfaces/IModelBranchesMap.js +2 -0
  359. package/dist/cjs/qrvey/interfaces/IModelBranchesMapBranch.d.ts +4 -0
  360. package/dist/cjs/qrvey/interfaces/IModelBranchesMapBranch.js +2 -0
  361. package/dist/cjs/qrvey/interfaces/IModelColumn.d.ts +23 -0
  362. package/dist/cjs/qrvey/interfaces/IModelColumn.js +2 -0
  363. package/dist/cjs/qrvey/interfaces/IModelDataset.d.ts +7 -0
  364. package/dist/cjs/qrvey/interfaces/IModelDataset.js +2 -0
  365. package/dist/cjs/qrvey/interfaces/ITransformValueSettings.d.ts +11 -0
  366. package/dist/cjs/qrvey/interfaces/ITransformValueSettings.js +2 -0
  367. package/dist/cjs/qrvey/interfaces/index.d.ts +13 -0
  368. package/dist/cjs/qrvey/interfaces/index.js +13 -0
  369. package/dist/cjs/services/adapters/BBranchesMapToUIBranchesMap.adapter.d.ts +8 -0
  370. package/dist/cjs/services/adapters/BBranchesMapToUIBranchesMap.adapter.js +21 -0
  371. package/dist/cjs/services/adapters/BColumnsToUIColumns.adapter.js +8 -0
  372. package/dist/cjs/services/adapters/BModelToUIModel.adapter.d.ts +3 -0
  373. package/dist/cjs/services/adapters/BModelToUIModel.adapter.js +26 -0
  374. package/dist/cjs/services/adapters/index.d.ts +1 -0
  375. package/dist/cjs/services/adapters/index.js +1 -0
  376. package/dist/cjs/services/api/Charts.api.d.ts +15 -0
  377. package/dist/cjs/services/api/Charts.api.js +37 -0
  378. package/dist/cjs/services/api/getAllDatasets.api.d.ts +8 -3
  379. package/dist/cjs/services/api/getAllDatasets.api.js +24 -15
  380. package/dist/cjs/services/api/getAllQrveys.api.d.ts +1 -1
  381. package/dist/cjs/services/api/getAllQrveys.api.js +1 -1
  382. package/dist/cjs/services/api/getDatasetColumns.api.d.ts +2 -2
  383. package/dist/cjs/services/api/getDatasetColumns.api.js +6 -3
  384. package/dist/cjs/services/api/getDatasetsByIds.api.d.ts +8 -0
  385. package/dist/cjs/services/api/getDatasetsByIds.api.js +30 -0
  386. package/dist/cjs/services/api/getModel.api.d.ts +1 -0
  387. package/dist/cjs/services/api/getModel.api.js +16 -0
  388. package/dist/cjs/services/api/index.d.ts +2 -0
  389. package/dist/cjs/services/api/index.js +2 -0
  390. package/dist/cjs/services/constants/MODEL_ENDPOINT.d.ts +2 -0
  391. package/dist/cjs/services/constants/MODEL_ENDPOINT.js +7 -0
  392. package/dist/cjs/services/constants/QUESTION_LIST_BULK_ENDPOINT.d.ts +2 -0
  393. package/dist/cjs/services/constants/QUESTION_LIST_BULK_ENDPOINT.js +7 -0
  394. package/dist/cjs/services/constants/UCHART_ENDPOINT.d.ts +2 -0
  395. package/dist/cjs/services/constants/UCHART_ENDPOINT.js +7 -0
  396. package/dist/cjs/services/constants/UCHART_PAGINATION_ENDPOINT.d.ts +2 -0
  397. package/dist/cjs/services/constants/UCHART_PAGINATION_ENDPOINT.js +7 -0
  398. package/dist/cjs/services/constants/index.d.ts +4 -0
  399. package/dist/cjs/services/constants/index.js +4 -0
  400. package/dist/cjs/services/helpers/getDefaultQuestionListOptionsAttributes.d.ts +1 -0
  401. package/dist/cjs/services/helpers/getDefaultQuestionListOptionsAttributes.js +28 -0
  402. package/dist/cjs/services/helpers/index.d.ts +1 -0
  403. package/dist/cjs/services/helpers/index.js +1 -0
  404. package/dist/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION.d.ts +5 -0
  405. package/dist/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION.js +6 -0
  406. package/dist/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION_LIST.d.ts +2 -0
  407. package/dist/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION_LIST.js +6 -0
  408. package/dist/columns/constants/index.d.ts +4 -0
  409. package/dist/columns/constants/index.js +4 -0
  410. package/dist/{cjs/qrvey → columns}/helpers/getColumnsLabel.d.ts +1 -1
  411. package/dist/{qrvey → columns}/helpers/getColumnsLabel.js +2 -0
  412. package/dist/columns/helpers/getDatasetByColumn.d.ts +3 -0
  413. package/dist/columns/helpers/getDatasetByColumn.js +6 -0
  414. package/dist/columns/helpers/getDatasetColumn.d.ts +3 -0
  415. package/dist/columns/helpers/getDatasetColumn.js +12 -0
  416. package/dist/columns/helpers/getDatasetColumnyDatasets.d.ts +3 -0
  417. package/dist/columns/helpers/getDatasetColumnyDatasets.js +8 -0
  418. package/dist/columns/helpers/getModelColumn.d.ts +9 -0
  419. package/dist/columns/helpers/getModelColumn.js +26 -0
  420. package/dist/columns/helpers/index.d.ts +5 -0
  421. package/dist/columns/helpers/index.js +5 -0
  422. package/dist/columns/interfaces/IBColumAnswer.d.ts +6 -0
  423. package/dist/{filters/interfaces/builder/IFilterBuilderGeneralConfig.js → columns/interfaces/IBColumAnswer.js} +0 -0
  424. package/dist/columns/interfaces/IBColumn.d.ts +10 -3
  425. package/dist/columns/interfaces/IBColumnAnswerExpression.d.ts +5 -0
  426. package/dist/{filters/interfaces/common/IFSMergeFiltersSettings.js → columns/interfaces/IBColumnAnswerExpression.js} +0 -0
  427. package/dist/columns/interfaces/IBColumnAnswerExpressionCategory.d.ts +6 -0
  428. package/dist/{filters/interfaces/common/IFSParamsToGetFilterSettings.js → columns/interfaces/IBColumnAnswerExpressionCategory.js} +0 -0
  429. package/dist/columns/interfaces/IBColumnAnswerExpressionWord.d.ts +3 -0
  430. package/dist/{globalization/interfaces/IResourceI18n.js → columns/interfaces/IBColumnAnswerExpressionWord.js} +0 -0
  431. package/dist/columns/interfaces/IBColumnAnswerGeneral.d.ts +4 -0
  432. package/dist/columns/interfaces/IBColumnAnswerGeneral.js +1 -0
  433. package/dist/columns/interfaces/IBColumnAnswerImages.d.ts +5 -0
  434. package/dist/columns/interfaces/IBColumnAnswerImages.js +1 -0
  435. package/dist/columns/interfaces/IBColumnAnswerLookupAnswer.d.ts +5 -0
  436. package/dist/columns/interfaces/IBColumnAnswerLookupAnswer.js +1 -0
  437. package/dist/columns/interfaces/IBColumnAnswerLookupAnswerAnswer.d.ts +6 -0
  438. package/dist/columns/interfaces/IBColumnAnswerLookupAnswerAnswer.js +1 -0
  439. package/dist/columns/interfaces/IBColumnAnswerLookupValue.d.ts +4 -0
  440. package/dist/columns/interfaces/IBColumnAnswerLookupValue.js +1 -0
  441. package/dist/columns/interfaces/IBColumnAnswerLookupValueValue.d.ts +7 -0
  442. package/dist/columns/interfaces/IBColumnAnswerLookupValueValue.js +1 -0
  443. package/dist/columns/interfaces/IBColumnAnswerSlidebar.d.ts +3 -0
  444. package/dist/columns/interfaces/IBColumnAnswerSlidebar.js +1 -0
  445. package/dist/columns/interfaces/IColumn.d.ts +9 -3
  446. package/dist/columns/interfaces/IColumnImageUploadOption.d.ts +2 -0
  447. package/dist/columns/interfaces/IColumnImageUploadOption.js +1 -0
  448. package/dist/columns/interfaces/index.d.ts +11 -0
  449. package/dist/columns/interfaces/index.js +11 -0
  450. package/dist/dates/adapters/index.d.ts +5 -0
  451. package/dist/dates/adapters/index.js +5 -0
  452. package/dist/dates/constants/DATETIME_COLUMN_FORMAT.d.ts +1 -0
  453. package/dist/dates/constants/DATETIME_COLUMN_FORMAT.js +8 -0
  454. package/dist/dates/constants/index.d.ts +2 -0
  455. package/dist/dates/constants/index.js +2 -0
  456. package/dist/dates/helpers/index.d.ts +1 -0
  457. package/dist/dates/helpers/index.js +1 -0
  458. package/dist/dates/index.d.ts +1 -0
  459. package/dist/dates/index.js +1 -0
  460. package/dist/dates/relative/constants/RELATIVE_CURSOR_INFO_LIST.d.ts +1 -1
  461. package/dist/filters/adapters/FDToFlatUI.js +2 -1
  462. package/dist/filters/adapters/FDToUI.js +2 -4
  463. package/dist/filters/adapters/UIToFlatUI.js +1 -0
  464. package/dist/filters/adapters/UIToOldLogic.js +5 -3
  465. package/dist/filters/adapters/adaptFilterValues.js +2 -2
  466. package/dist/filters/adapters/flatUIToFD.js +1 -0
  467. package/dist/filters/adapters/flatUIToOldLogic.js +41 -25
  468. package/dist/filters/adapters/flatUIToUI.js +1 -0
  469. package/dist/filters/adapters/index.d.ts +2 -0
  470. package/dist/filters/adapters/index.js +2 -0
  471. package/dist/filters/adapters/logicToFlatUI.js +9 -8
  472. package/dist/filters/adapters/modelAnswerToFilterValue.d.ts +8 -0
  473. package/dist/filters/adapters/modelAnswerToFilterValue.js +12 -0
  474. package/dist/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.js +1 -1
  475. package/dist/filters/constants/builder/STATIC_OPTION_COLUMNS.d.ts +2 -2
  476. package/dist/filters/constants/builder/index.d.ts +1 -0
  477. package/dist/filters/constants/builder/index.js +1 -0
  478. package/dist/filters/helpers/OLD_getAggFilters.d.ts +9 -0
  479. package/dist/filters/helpers/OLD_getAggFilters.js +84 -0
  480. package/dist/filters/helpers/backend/buildExpression.js +3 -2
  481. package/dist/filters/helpers/backend/getBackendValidator.d.ts +2 -2
  482. package/dist/filters/helpers/backend/getBackendValidator.js +4 -4
  483. package/dist/filters/helpers/backend/getBackendValues.js +13 -12
  484. package/dist/filters/helpers/backend/index.d.ts +1 -1
  485. package/dist/filters/helpers/backend/index.js +2 -1
  486. package/dist/filters/helpers/builder/getFilterBuilderGeneralConfig.d.ts +2 -2
  487. package/dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js +1 -0
  488. package/dist/filters/helpers/common/excludeFiltersByParams.js +4 -4
  489. package/dist/filters/helpers/common/getFiltersByParams.d.ts +2 -2
  490. package/dist/filters/helpers/common/getFiltersByParams.js +2 -2
  491. package/dist/filters/helpers/common/getMergeFiltersSettings.d.ts +2 -2
  492. package/dist/filters/helpers/common/getParamsToGetFilterSettings.d.ts +2 -2
  493. package/dist/filters/helpers/common/getValuesFromDataset.d.ts +8 -0
  494. package/dist/filters/helpers/common/getValuesFromDataset.js +16 -0
  495. package/dist/filters/helpers/common/getValuesFromModel.d.ts +8 -0
  496. package/dist/filters/helpers/common/getValuesFromModel.js +16 -0
  497. package/dist/filters/helpers/common/index.d.ts +3 -1
  498. package/dist/filters/helpers/common/index.js +4 -1
  499. package/dist/filters/helpers/common/mergeFilters.d.ts +2 -2
  500. package/dist/filters/helpers/common/mergeFilters.js +15 -13
  501. package/dist/filters/helpers/index.d.ts +1 -0
  502. package/dist/filters/helpers/index.js +2 -0
  503. package/dist/filters/helpers/ui/getQrveyIdsByUIFilters.d.ts +7 -0
  504. package/dist/filters/helpers/ui/getQrveyIdsByUIFilters.js +20 -0
  505. package/dist/filters/helpers/ui/getUIFlatFilterByParams.js +1 -1
  506. package/dist/filters/helpers/ui/getUIFlatFiltersByParams.js +1 -1
  507. package/dist/filters/helpers/ui/getUIValues.js +21 -14
  508. package/dist/filters/helpers/ui/getUpdatedUIFilters.d.ts +9 -0
  509. package/dist/filters/helpers/ui/getUpdatedUIFilters.js +34 -0
  510. package/dist/filters/helpers/ui/index.d.ts +4 -0
  511. package/dist/filters/helpers/ui/index.js +4 -0
  512. package/dist/filters/helpers/ui/{resolveUIFlatFiltersByParams.d.ts → resolveUIFlatFilterByParams.d.ts} +2 -1
  513. package/dist/filters/helpers/ui/{resolveUIFlatFiltersByParams.js → resolveUIFlatFilterByParams.js} +1 -1
  514. package/dist/filters/helpers/ui/transformFilterValues.d.ts +4 -0
  515. package/dist/filters/helpers/ui/transformFilterValues.js +19 -0
  516. package/dist/filters/index.d.ts +1 -0
  517. package/dist/filters/index.js +1 -0
  518. package/dist/filters/interfaces/OLD_IFilterDetail.d.ts +7 -1
  519. package/dist/filters/interfaces/backend/IFBData.d.ts +5 -0
  520. package/dist/filters/interfaces/backend/IFBData.js +1 -0
  521. package/dist/filters/interfaces/backend/index.d.ts +1 -0
  522. package/dist/filters/interfaces/backend/index.js +1 -0
  523. package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +2 -4
  524. package/dist/filters/interfaces/builder/index.d.ts +0 -1
  525. package/dist/filters/interfaces/builder/index.js +0 -1
  526. package/dist/filters/interfaces/common/IFSColumn.d.ts +1 -1
  527. package/dist/filters/interfaces/common/IFSFilter.d.ts +2 -1
  528. package/dist/filters/interfaces/common/IFSFilterExtras.d.ts +2 -0
  529. package/dist/filters/interfaces/common/IFSGetDataValues.d.ts +2 -0
  530. package/dist/filters/interfaces/common/IFSGetDataValues.js +1 -0
  531. package/dist/filters/interfaces/common/IFSParamsToGetFilter.d.ts +2 -0
  532. package/dist/filters/interfaces/common/IFilterConfig.d.ts +2 -0
  533. package/dist/filters/interfaces/common/IFilterConfig.js +1 -0
  534. package/dist/filters/interfaces/common/index.d.ts +2 -2
  535. package/dist/filters/interfaces/common/index.js +2 -2
  536. package/dist/filters/interfaces/functions/IFFiltersGetData.d.ts +17 -0
  537. package/dist/filters/interfaces/functions/IFFiltersGetData.js +1 -0
  538. package/dist/filters/interfaces/functions/IFFiltersGetValuesFromDataset.d.ts +10 -0
  539. package/dist/filters/interfaces/functions/IFFiltersGetValuesFromDataset.js +1 -0
  540. package/dist/filters/interfaces/functions/IFFiltersGetValuesFromModel.d.ts +10 -0
  541. package/dist/filters/interfaces/functions/IFFiltersGetValuesFromModel.js +1 -0
  542. package/dist/filters/interfaces/{common/IFSMergeFiltersSettings.d.ts → functions/IFFiltersMergeFilters.d.ts} +1 -1
  543. package/dist/filters/interfaces/functions/IFFiltersMergeFilters.js +1 -0
  544. package/dist/filters/interfaces/{common/IFSParamsToGetFilterSettings.d.ts → functions/IFFiltersParamsToGetFilter.d.ts} +1 -1
  545. package/dist/filters/interfaces/functions/IFFiltersParamsToGetFilter.js +1 -0
  546. package/dist/filters/interfaces/functions/index.d.ts +5 -0
  547. package/dist/filters/interfaces/functions/index.js +5 -0
  548. package/dist/filters/interfaces/panel/IFPSettingsGeneral.d.ts +2 -1
  549. package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +2 -2
  550. package/dist/filters/interfaces/ui/IFUColumn.d.ts +2 -2
  551. package/dist/filters/interfaces/ui/IFUTransformFilterValuesSettings.d.ts +7 -0
  552. package/dist/filters/interfaces/ui/IFUTransformFilterValuesSettings.js +1 -0
  553. package/dist/filters/interfaces/ui/index.d.ts +4 -3
  554. package/dist/filters/interfaces/ui/index.js +4 -3
  555. package/dist/filters/services/Filters.api.d.ts +52 -0
  556. package/dist/filters/services/Filters.api.js +128 -0
  557. package/dist/filters/services/UChartApi.d.ts +86 -0
  558. package/dist/filters/services/UChartApi.js +244 -0
  559. package/dist/filters/services/UChartPaginationApi.d.ts +114 -0
  560. package/dist/filters/services/UChartPaginationApi.js +289 -0
  561. package/dist/filters/services/index.d.ts +3 -0
  562. package/dist/filters/services/index.js +3 -0
  563. package/dist/format/definition.d.ts +31 -0
  564. package/dist/format/definition.js +32 -0
  565. package/dist/format/format.d.ts +2 -1
  566. package/dist/format/format.js +6 -3
  567. package/dist/format/index.d.ts +1 -0
  568. package/dist/format/index.js +1 -0
  569. package/dist/format/localization.d.ts +4 -0
  570. package/dist/format/localization.js +73 -0
  571. package/dist/general/array/getArrayByProperty.d.ts +7 -0
  572. package/dist/general/array/getArrayByProperty.js +15 -0
  573. package/dist/general/array/getUniqueArray.d.ts +9 -0
  574. package/dist/general/array/getUniqueArray.js +11 -0
  575. package/dist/general/array/index.d.ts +1 -0
  576. package/dist/general/array/index.js +1 -0
  577. package/dist/globalization/helpers/getI18nCalendar.d.ts +4 -0
  578. package/dist/globalization/helpers/getI18nCalendar.js +65 -0
  579. package/dist/globalization/helpers/index.d.ts +1 -0
  580. package/dist/globalization/helpers/index.js +1 -0
  581. package/dist/globalization/interfaces/II18nConfig.d.ts +6 -0
  582. package/dist/globalization/interfaces/II18nConfig.js +1 -0
  583. package/dist/globalization/interfaces/{IResourceI18n.d.ts → II18nResource.d.ts} +3 -1
  584. package/dist/globalization/interfaces/II18nResource.js +1 -0
  585. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +2 -0
  586. package/dist/globalization/interfaces/calendar/II18nCalendar.d.ts +7 -0
  587. package/dist/globalization/interfaces/calendar/II18nCalendar.js +1 -0
  588. package/dist/globalization/interfaces/calendar/II18nCalendarProperties.d.ts +9 -0
  589. package/dist/globalization/interfaces/calendar/II18nCalendarProperties.js +1 -0
  590. package/dist/globalization/interfaces/calendar/index.d.ts +2 -0
  591. package/dist/globalization/interfaces/calendar/index.js +2 -0
  592. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +15 -11
  593. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +1 -0
  594. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +5 -3
  595. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +1 -0
  596. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -0
  597. package/dist/globalization/interfaces/common/II18nCommon.d.ts +2 -0
  598. package/dist/globalization/interfaces/common/II18nDayNames.d.ts +7 -0
  599. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +3 -0
  600. package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
  601. package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.js +1 -0
  602. package/dist/globalization/interfaces/dashboard/index.d.ts +1 -0
  603. package/dist/globalization/interfaces/dashboard/index.js +1 -0
  604. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +4 -0
  605. package/dist/globalization/interfaces/filters/II18nFilterExtraInfo.d.ts +4 -0
  606. package/dist/globalization/interfaces/filters/II18nFilterExtraInfo.js +1 -0
  607. package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +2 -0
  608. package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +1 -0
  609. package/dist/globalization/interfaces/filters/II18nTokenBox.d.ts +6 -0
  610. package/dist/globalization/interfaces/filters/II18nTokenBox.js +1 -0
  611. package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -1
  612. package/dist/globalization/interfaces/filters/index.d.ts +1 -0
  613. package/dist/globalization/interfaces/filters/index.js +1 -0
  614. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +2 -0
  615. package/dist/globalization/interfaces/index.d.ts +7 -2
  616. package/dist/globalization/interfaces/index.js +7 -2
  617. package/dist/globalization/interfaces/style_themes/II18nStyleThemes.d.ts +13 -0
  618. package/dist/globalization/interfaces/style_themes/II18nStyleThemes.js +1 -0
  619. package/dist/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.d.ts +6 -0
  620. package/dist/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.js +1 -0
  621. package/dist/globalization/interfaces/style_themes/II18nStyleThemesMenu.d.ts +6 -0
  622. package/dist/globalization/interfaces/style_themes/II18nStyleThemesMenu.js +1 -0
  623. package/dist/globalization/interfaces/style_themes/II18nStyleThemesMessages.d.ts +9 -0
  624. package/dist/globalization/interfaces/style_themes/II18nStyleThemesMessages.js +1 -0
  625. package/dist/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +27 -0
  626. package/dist/globalization/interfaces/style_themes/II18nStyleThemesTheme.js +1 -0
  627. package/dist/globalization/interfaces/style_themes/II18nStyleThemesTooltips.d.ts +4 -0
  628. package/dist/globalization/interfaces/style_themes/II18nStyleThemesTooltips.js +1 -0
  629. package/dist/globalization/interfaces/style_themes/index.d.ts +6 -0
  630. package/dist/globalization/interfaces/style_themes/index.js +6 -0
  631. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +1 -0
  632. package/dist/globalization/labels/I18N_DEFAULT.d.ts +2 -2
  633. package/dist/globalization/labels/I18N_DEFAULT.js +2 -0
  634. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +2 -0
  635. package/dist/globalization/labels/calendar/I18N_CALENDAR.d.ts +2 -0
  636. package/dist/globalization/labels/calendar/I18N_CALENDAR.js +7 -0
  637. package/dist/globalization/labels/calendar/index.d.ts +1 -0
  638. package/dist/globalization/labels/calendar/index.js +1 -0
  639. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +1 -1
  640. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +1 -1
  641. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +15 -11
  642. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +1 -1
  643. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +3 -2
  644. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +1 -1
  645. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +1 -0
  646. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +1 -1
  647. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +3 -2
  648. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +1 -1
  649. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +8 -6
  650. package/dist/globalization/labels/common/I18N_COMMON.js +2 -0
  651. package/dist/globalization/labels/common/I18N_DAY_NAMES.js +7 -0
  652. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +7 -0
  653. package/dist/globalization/labels/filters/I18N_FILTER.js +10 -0
  654. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +2 -0
  655. package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +1 -0
  656. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +1 -1
  657. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +5 -3
  658. package/dist/globalization/labels/index.d.ts +6 -3
  659. package/dist/globalization/labels/index.js +6 -3
  660. package/dist/globalization/labels/panel/I18N_PANEL.js +1 -1
  661. package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.d.ts +2 -0
  662. package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.js +55 -0
  663. package/dist/globalization/labels/style_themes/index.d.ts +1 -0
  664. package/dist/globalization/labels/style_themes/index.js +1 -0
  665. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +1 -0
  666. package/dist/globalization/service/i18nextBuilder.d.ts +3 -3
  667. package/dist/globalization/service/initI18n.d.ts +2 -2
  668. package/dist/interfaces/format/IFormatConfig.Interface.d.ts +5 -0
  669. package/dist/interfaces/format/IFormatConfig.Interface.js +1 -0
  670. package/dist/interfaces/format/IFormatCurrency.Interface.d.ts +4 -0
  671. package/dist/interfaces/format/IFormatCurrency.Interface.js +1 -0
  672. package/dist/interfaces/format/IFormatOutputFormat.Interface.d.ts +9 -0
  673. package/dist/interfaces/format/IFormatOutputFormat.Interface.js +1 -0
  674. package/dist/interfaces/format/index.d.ts +3 -0
  675. package/dist/interfaces/format/index.js +3 -0
  676. package/dist/interfaces/general/IGeneralWidgetConfig.d.ts +5 -3
  677. package/dist/interfaces/general/IWidgetConfig.d.ts +10 -0
  678. package/dist/interfaces/general/IWidgetConfig.js +1 -0
  679. package/dist/interfaces/general/index.d.ts +1 -0
  680. package/dist/interfaces/general/index.js +1 -0
  681. package/dist/interfaces/index.d.ts +1 -0
  682. package/dist/interfaces/index.js +1 -0
  683. package/dist/qrvey/constants/APP_DATASET_TYPE_LIST.d.ts +6 -0
  684. package/dist/qrvey/constants/APP_DATASET_TYPE_LIST.js +13 -0
  685. package/dist/qrvey/constants/APP_FORM_TYPE_LIST.d.ts +6 -0
  686. package/dist/qrvey/constants/APP_FORM_TYPE_LIST.js +11 -0
  687. package/dist/qrvey/constants/APP_STATUS.d.ts +5 -0
  688. package/dist/qrvey/constants/APP_STATUS.js +6 -0
  689. package/dist/qrvey/constants/APP_STATUS_LIST.d.ts +6 -0
  690. package/dist/qrvey/constants/APP_STATUS_LIST.js +10 -0
  691. package/dist/qrvey/constants/APP_TYPE.d.ts +16 -0
  692. package/dist/qrvey/constants/APP_TYPE.js +17 -0
  693. package/dist/qrvey/constants/index.d.ts +6 -0
  694. package/dist/qrvey/constants/index.js +6 -0
  695. package/dist/qrvey/helpers/areStaticColumnValues.d.ts +8 -0
  696. package/dist/qrvey/helpers/areStaticColumnValues.js +13 -0
  697. package/dist/qrvey/helpers/getCategorizableExpression.d.ts +11 -0
  698. package/dist/qrvey/helpers/getCategorizableExpression.js +18 -0
  699. package/dist/qrvey/helpers/getDataAnswersByColumn.d.ts +13 -0
  700. package/dist/qrvey/helpers/getDataAnswersByColumn.js +50 -0
  701. package/dist/qrvey/helpers/getDropdownAnswers.d.ts +9 -0
  702. package/dist/qrvey/helpers/getDropdownAnswers.js +10 -0
  703. package/dist/qrvey/helpers/getExpressionAnswers.d.ts +10 -0
  704. package/dist/qrvey/helpers/getExpressionAnswers.js +18 -0
  705. package/dist/qrvey/helpers/getImageAnswers.d.ts +8 -0
  706. package/dist/qrvey/helpers/getImageAnswers.js +13 -0
  707. package/dist/qrvey/helpers/getImageUploadHasAnalysis.d.ts +10 -0
  708. package/dist/qrvey/helpers/getImageUploadHasAnalysis.js +19 -0
  709. package/dist/qrvey/helpers/getLookupAnswers.d.ts +4 -0
  710. package/dist/qrvey/helpers/getLookupAnswers.js +12 -0
  711. package/dist/qrvey/helpers/getLookupDisplays.d.ts +4 -0
  712. package/dist/qrvey/helpers/getLookupDisplays.js +5 -0
  713. package/dist/qrvey/helpers/getRatingAnswers.d.ts +7 -0
  714. package/dist/qrvey/helpers/getRatingAnswers.js +8 -0
  715. package/dist/qrvey/helpers/getSlidebarAnswers.d.ts +8 -0
  716. package/dist/qrvey/helpers/getSlidebarAnswers.js +14 -0
  717. package/dist/qrvey/helpers/getSuffixTranslateByColumn.d.ts +7 -0
  718. package/dist/qrvey/helpers/getSuffixTranslateByColumn.js +13 -0
  719. package/dist/qrvey/helpers/getValueWithSuffixes.d.ts +9 -0
  720. package/dist/qrvey/helpers/getValueWithSuffixes.js +19 -0
  721. package/dist/qrvey/helpers/getYesNoAnswers.d.ts +9 -0
  722. package/dist/qrvey/helpers/getYesNoAnswers.js +9 -0
  723. package/dist/qrvey/helpers/index.d.ts +17 -1
  724. package/dist/qrvey/helpers/index.js +17 -1
  725. package/dist/qrvey/helpers/isDataset.d.ts +2 -0
  726. package/dist/qrvey/helpers/isDataset.js +4 -0
  727. package/dist/qrvey/helpers/isForm.d.ts +2 -0
  728. package/dist/qrvey/helpers/isForm.js +4 -0
  729. package/dist/qrvey/helpers/transformValue.d.ts +8 -0
  730. package/dist/qrvey/helpers/transformValue.js +45 -0
  731. package/dist/qrvey/interfaces/IAppStatus.d.ts +2 -0
  732. package/dist/qrvey/interfaces/IAppStatus.js +1 -0
  733. package/dist/qrvey/interfaces/IAppType.d.ts +2 -0
  734. package/dist/qrvey/interfaces/IAppType.js +1 -0
  735. package/dist/qrvey/interfaces/IBModel.d.ts +19 -0
  736. package/dist/qrvey/interfaces/IBModel.js +1 -0
  737. package/dist/qrvey/interfaces/IBModelBranchesMap.d.ts +5 -0
  738. package/dist/qrvey/interfaces/IBModelBranchesMap.js +1 -0
  739. package/dist/qrvey/interfaces/IBModelBranchesMapBranch.d.ts +4 -0
  740. package/dist/qrvey/interfaces/IBModelBranchesMapBranch.js +1 -0
  741. package/dist/qrvey/interfaces/IBModelData.d.ts +4 -0
  742. package/dist/qrvey/interfaces/IBModelData.js +1 -0
  743. package/dist/qrvey/interfaces/IFunctionGetDataAnswersByColumn.d.ts +11 -0
  744. package/dist/qrvey/interfaces/IFunctionGetDataAnswersByColumn.js +1 -0
  745. package/dist/qrvey/interfaces/IFunctionGetValueWithSuffixes.d.ts +11 -0
  746. package/dist/qrvey/interfaces/IFunctionGetValueWithSuffixes.js +1 -0
  747. package/dist/qrvey/interfaces/IModel.d.ts +10 -0
  748. package/dist/qrvey/interfaces/IModel.js +1 -0
  749. package/dist/qrvey/interfaces/IModelAnswer.d.ts +5 -0
  750. package/dist/qrvey/interfaces/IModelAnswer.js +1 -0
  751. package/dist/qrvey/interfaces/IModelBranchesMap.d.ts +5 -0
  752. package/dist/qrvey/interfaces/IModelBranchesMap.js +1 -0
  753. package/dist/qrvey/interfaces/IModelBranchesMapBranch.d.ts +4 -0
  754. package/dist/qrvey/interfaces/IModelBranchesMapBranch.js +1 -0
  755. package/dist/qrvey/interfaces/IModelColumn.d.ts +23 -0
  756. package/dist/qrvey/interfaces/IModelColumn.js +1 -0
  757. package/dist/qrvey/interfaces/IModelDataset.d.ts +7 -0
  758. package/dist/qrvey/interfaces/IModelDataset.js +1 -0
  759. package/dist/qrvey/interfaces/ITransformValueSettings.d.ts +11 -0
  760. package/dist/qrvey/interfaces/ITransformValueSettings.js +1 -0
  761. package/dist/qrvey/interfaces/index.d.ts +13 -0
  762. package/dist/qrvey/interfaces/index.js +13 -0
  763. package/dist/services/adapters/BBranchesMapToUIBranchesMap.adapter.d.ts +8 -0
  764. package/dist/services/adapters/BBranchesMapToUIBranchesMap.adapter.js +17 -0
  765. package/dist/services/adapters/BColumnsToUIColumns.adapter.js +8 -0
  766. package/dist/services/adapters/BModelToUIModel.adapter.d.ts +3 -0
  767. package/dist/services/adapters/BModelToUIModel.adapter.js +22 -0
  768. package/dist/services/adapters/index.d.ts +1 -0
  769. package/dist/services/adapters/index.js +1 -0
  770. package/dist/services/api/Charts.api.d.ts +15 -0
  771. package/dist/services/api/Charts.api.js +31 -0
  772. package/dist/services/api/getAllDatasets.api.d.ts +8 -3
  773. package/dist/services/api/getAllDatasets.api.js +24 -15
  774. package/dist/services/api/getAllQrveys.api.d.ts +1 -1
  775. package/dist/services/api/getAllQrveys.api.js +1 -1
  776. package/dist/services/api/getDatasetColumns.api.d.ts +2 -2
  777. package/dist/services/api/getDatasetColumns.api.js +9 -6
  778. package/dist/services/api/getDatasetsByIds.api.d.ts +8 -0
  779. package/dist/services/api/getDatasetsByIds.api.js +23 -0
  780. package/dist/services/api/getModel.api.d.ts +1 -0
  781. package/dist/services/api/getModel.api.js +9 -0
  782. package/dist/services/api/index.d.ts +2 -0
  783. package/dist/services/api/index.js +2 -0
  784. package/dist/services/constants/MODEL_ENDPOINT.d.ts +2 -0
  785. package/dist/services/constants/MODEL_ENDPOINT.js +4 -0
  786. package/dist/services/constants/QUESTION_LIST_BULK_ENDPOINT.d.ts +2 -0
  787. package/dist/services/constants/QUESTION_LIST_BULK_ENDPOINT.js +4 -0
  788. package/dist/services/constants/UCHART_ENDPOINT.d.ts +2 -0
  789. package/dist/services/constants/UCHART_ENDPOINT.js +4 -0
  790. package/dist/services/constants/UCHART_PAGINATION_ENDPOINT.d.ts +2 -0
  791. package/dist/services/constants/UCHART_PAGINATION_ENDPOINT.js +4 -0
  792. package/dist/services/constants/index.d.ts +4 -0
  793. package/dist/services/constants/index.js +4 -0
  794. package/dist/services/helpers/getDefaultQuestionListOptionsAttributes.d.ts +1 -0
  795. package/dist/services/helpers/getDefaultQuestionListOptionsAttributes.js +24 -0
  796. package/dist/services/helpers/index.d.ts +1 -0
  797. package/dist/services/helpers/index.js +1 -0
  798. package/package.json +4 -7
  799. package/src/charts/constants/AGGREGATE_LABEL.ts +1 -1
  800. package/src/charts/constants/index.ts +1 -0
  801. package/src/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION.ts +5 -0
  802. package/src/columns/constants/COLUMN_IMAGE_UPLOAD_OPTION_LIST.ts +7 -0
  803. package/src/columns/constants/index.ts +5 -0
  804. package/src/{qrvey → columns}/helpers/getColumnsLabel.ts +2 -1
  805. package/src/columns/helpers/getDatasetByColumn.ts +9 -0
  806. package/src/columns/helpers/getDatasetColumn.ts +15 -0
  807. package/src/columns/helpers/getDatasetColumnyDatasets.ts +11 -0
  808. package/src/columns/helpers/getModelColumn.ts +29 -0
  809. package/src/columns/helpers/index.ts +5 -0
  810. package/src/columns/interfaces/IBColumAnswer.ts +7 -0
  811. package/src/columns/interfaces/IBColumn.ts +10 -3
  812. package/src/columns/interfaces/IBColumnAnswerExpression.ts +6 -0
  813. package/src/columns/interfaces/IBColumnAnswerExpressionCategory.ts +7 -0
  814. package/src/columns/interfaces/IBColumnAnswerExpressionWord.ts +3 -0
  815. package/src/columns/interfaces/IBColumnAnswerGeneral.ts +4 -0
  816. package/src/columns/interfaces/IBColumnAnswerImages.ts +6 -0
  817. package/src/columns/interfaces/IBColumnAnswerLookupAnswer.ts +6 -0
  818. package/src/columns/interfaces/IBColumnAnswerLookupAnswerAnswer.ts +6 -0
  819. package/src/columns/interfaces/IBColumnAnswerLookupValue.ts +5 -0
  820. package/src/columns/interfaces/IBColumnAnswerLookupValueValue.ts +8 -0
  821. package/src/columns/interfaces/IBColumnAnswerSlidebar.ts +3 -0
  822. package/src/columns/interfaces/IColumn.ts +9 -3
  823. package/src/columns/interfaces/IColumnImageUploadOption.ts +3 -0
  824. package/src/columns/interfaces/index.ts +12 -0
  825. package/src/dates/adapters/index.ts +5 -0
  826. package/src/dates/constants/DATETIME_COLUMN_FORMAT.ts +8 -0
  827. package/src/dates/constants/index.ts +2 -0
  828. package/src/dates/helpers/index.ts +1 -0
  829. package/src/dates/index.ts +1 -0
  830. package/src/dates/relative/constants/RELATIVE_CURSOR_INFO_LIST.ts +1 -1
  831. package/src/filters/adapters/FDToFlatUI.ts +2 -1
  832. package/src/filters/adapters/FDToUI.ts +2 -3
  833. package/src/filters/adapters/UIToFlatUI.ts +1 -0
  834. package/src/filters/adapters/UIToOldLogic.ts +4 -3
  835. package/src/filters/adapters/adaptFilterValues.ts +2 -2
  836. package/src/filters/adapters/flatUIToFD.ts +1 -0
  837. package/src/filters/adapters/flatUIToOldLogic.ts +36 -32
  838. package/src/filters/adapters/flatUIToUI.ts +1 -0
  839. package/src/filters/adapters/index.ts +4 -0
  840. package/src/filters/adapters/logicToFlatUI.ts +3 -2
  841. package/src/filters/adapters/modelAnswerToFilterValue.ts +15 -0
  842. package/src/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.ts +1 -1
  843. package/src/filters/constants/builder/STATIC_OPTION_COLUMNS.ts +2 -1
  844. package/src/filters/constants/builder/index.ts +1 -0
  845. package/src/filters/helpers/OLD_getAggFilters.ts +90 -0
  846. package/src/filters/helpers/backend/buildExpression.ts +2 -2
  847. package/src/filters/helpers/backend/getBackendValidator.ts +5 -5
  848. package/src/filters/helpers/backend/getBackendValues.ts +14 -12
  849. package/src/filters/helpers/backend/index.ts +2 -1
  850. package/src/filters/helpers/builder/getFilterBuilderGeneralConfig.ts +3 -2
  851. package/src/filters/helpers/common/excludeFiltersByParams.ts +3 -3
  852. package/src/filters/helpers/common/getFiltersByParams.ts +4 -4
  853. package/src/filters/helpers/common/getMergeFiltersSettings.ts +2 -2
  854. package/src/filters/helpers/common/getParamsToGetFilterSettings.ts +2 -2
  855. package/src/filters/helpers/common/getValuesFromDataset.ts +19 -0
  856. package/src/filters/helpers/common/getValuesFromModel.ts +19 -0
  857. package/src/filters/helpers/common/index.ts +6 -1
  858. package/src/filters/helpers/common/mergeFilters.ts +20 -18
  859. package/src/filters/helpers/index.ts +3 -0
  860. package/src/filters/helpers/ui/getQrveyIdsByUIFilters.ts +22 -0
  861. package/src/filters/helpers/ui/getUIFlatFilterByParams.ts +1 -1
  862. package/src/filters/helpers/ui/getUIFlatFiltersByParams.ts +1 -1
  863. package/src/filters/helpers/ui/getUIValues.ts +23 -15
  864. package/src/filters/helpers/ui/getUpdatedUIFilters.ts +36 -0
  865. package/src/filters/helpers/ui/index.ts +4 -0
  866. package/src/filters/helpers/ui/{resolveUIFlatFiltersByParams.ts → resolveUIFlatFilterByParams.ts} +3 -2
  867. package/src/filters/helpers/ui/transformFilterValues.ts +30 -0
  868. package/src/filters/index.ts +1 -0
  869. package/src/filters/interfaces/OLD_IFilterDetail.ts +3 -1
  870. package/src/filters/interfaces/backend/IFBData.ts +6 -0
  871. package/src/filters/interfaces/backend/index.ts +2 -0
  872. package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +3 -5
  873. package/src/filters/interfaces/builder/index.ts +0 -1
  874. package/src/filters/interfaces/common/IFSColumn.ts +1 -1
  875. package/src/filters/interfaces/common/IFSFilter.ts +2 -1
  876. package/src/filters/interfaces/common/IFSFilterExtras.ts +2 -0
  877. package/src/filters/interfaces/common/IFSGetDataValues.ts +3 -0
  878. package/src/filters/interfaces/common/IFSParamsToGetFilter.ts +2 -0
  879. package/src/filters/interfaces/common/IFilterConfig.ts +3 -0
  880. package/src/filters/interfaces/common/index.ts +2 -2
  881. package/src/filters/interfaces/functions/IFFiltersGetData.ts +18 -0
  882. package/src/filters/interfaces/functions/IFFiltersGetValuesFromDataset.ts +11 -0
  883. package/src/filters/interfaces/functions/IFFiltersGetValuesFromModel.ts +11 -0
  884. package/src/filters/interfaces/{common/IFSMergeFiltersSettings.ts → functions/IFFiltersMergeFilters.ts} +1 -1
  885. package/src/filters/interfaces/{common/IFSParamsToGetFilterSettings.ts → functions/IFFiltersParamsToGetFilter.ts} +1 -1
  886. package/src/filters/interfaces/functions/index.ts +5 -0
  887. package/src/filters/interfaces/panel/IFPSettingsGeneral.ts +2 -1
  888. package/src/filters/interfaces/panel/IFilterPanelConfig.ts +2 -2
  889. package/src/filters/interfaces/ui/IFUColumn.ts +2 -2
  890. package/src/filters/interfaces/ui/IFUTransformFilterValuesSettings.ts +8 -0
  891. package/src/filters/interfaces/ui/index.ts +4 -3
  892. package/src/filters/services/Filters.api.ts +151 -0
  893. package/src/filters/services/UChartApi.ts +265 -0
  894. package/src/filters/services/UChartPaginationApi.ts +328 -0
  895. package/src/filters/services/index.ts +3 -0
  896. package/src/format/definition.ts +50 -0
  897. package/src/format/format.ts +19 -15
  898. package/src/format/index.ts +1 -0
  899. package/src/format/localization.ts +75 -0
  900. package/src/general/array/getArrayByProperty.ts +14 -0
  901. package/src/general/array/getUniqueArray.ts +11 -0
  902. package/src/general/array/index.ts +1 -0
  903. package/src/globalization/helpers/getI18nCalendar.ts +68 -0
  904. package/src/globalization/helpers/index.ts +1 -0
  905. package/src/globalization/interfaces/II18nConfig.ts +7 -0
  906. package/src/globalization/interfaces/{IResourceI18n.ts → II18nResource.ts} +3 -1
  907. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.ts +2 -0
  908. package/src/globalization/interfaces/calendar/II18nCalendar.ts +7 -0
  909. package/src/globalization/interfaces/calendar/II18nCalendarProperties.ts +9 -0
  910. package/src/globalization/interfaces/calendar/index.ts +2 -0
  911. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +15 -11
  912. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +1 -0
  913. package/src/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.ts +5 -3
  914. package/src/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.ts +1 -0
  915. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +1 -0
  916. package/src/globalization/interfaces/common/II18nCommon.ts +2 -0
  917. package/src/globalization/interfaces/common/II18nDayNames.ts +8 -0
  918. package/src/globalization/interfaces/dashboard/II18nDashboard.ts +3 -0
  919. package/src/globalization/interfaces/dashboard/II18nDashboardMessages.ts +6 -0
  920. package/src/globalization/interfaces/dashboard/index.ts +1 -0
  921. package/src/globalization/interfaces/filters/II18nFilter.ts +4 -0
  922. package/src/globalization/interfaces/filters/II18nFilterExtraInfo.ts +4 -0
  923. package/src/globalization/interfaces/filters/II18nFilterPanel.ts +2 -0
  924. package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +1 -0
  925. package/src/globalization/interfaces/filters/II18nTokenBox.ts +6 -0
  926. package/src/globalization/interfaces/filters/II18nValueContainer.ts +1 -1
  927. package/src/globalization/interfaces/filters/index.ts +1 -0
  928. package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.ts +3 -1
  929. package/src/globalization/interfaces/index.ts +7 -2
  930. package/src/globalization/interfaces/style_themes/II18nStyleThemes.ts +14 -0
  931. package/src/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.ts +6 -0
  932. package/src/globalization/interfaces/style_themes/II18nStyleThemesMenu.ts +6 -0
  933. package/src/globalization/interfaces/style_themes/II18nStyleThemesMessages.ts +9 -0
  934. package/src/globalization/interfaces/style_themes/II18nStyleThemesTheme.ts +27 -0
  935. package/src/globalization/interfaces/style_themes/II18nStyleThemesTooltips.ts +4 -0
  936. package/src/globalization/interfaces/style_themes/index.ts +6 -0
  937. package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +1 -0
  938. package/src/globalization/labels/I18N_DEFAULT.ts +4 -2
  939. package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +2 -0
  940. package/src/globalization/labels/calendar/I18N_CALENDAR.ts +9 -0
  941. package/src/globalization/labels/calendar/index.ts +1 -0
  942. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER.ts +1 -1
  943. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +16 -12
  944. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.ts +1 -1
  945. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +3 -2
  946. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +4 -2
  947. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +4 -3
  948. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +10 -8
  949. package/src/globalization/labels/common/I18N_COMMON.ts +2 -0
  950. package/src/globalization/labels/common/I18N_DAY_NAMES.ts +8 -0
  951. package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +7 -0
  952. package/src/globalization/labels/filters/I18N_FILTER.ts +10 -0
  953. package/src/globalization/labels/filters/I18N_FILTER_PANEL.ts +2 -0
  954. package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +1 -0
  955. package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +1 -1
  956. package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +5 -3
  957. package/src/globalization/labels/index.ts +6 -3
  958. package/src/globalization/labels/panel/I18N_PANEL.ts +1 -1
  959. package/src/globalization/labels/style_themes/I18N_STYLE_THEMES.ts +57 -0
  960. package/src/globalization/labels/style_themes/index.ts +1 -0
  961. package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +1 -0
  962. package/src/globalization/service/i18nextBuilder.ts +4 -4
  963. package/src/globalization/service/initI18n.ts +3 -3
  964. package/src/interfaces/Qrvey.Interface.ts +1 -27
  965. package/src/interfaces/format/IFormatConfig.Interface.ts +5 -0
  966. package/src/interfaces/format/IFormatCurrency.Interface.ts +4 -0
  967. package/src/interfaces/format/IFormatOutputFormat.Interface.ts +10 -0
  968. package/src/interfaces/format/index.ts +3 -0
  969. package/src/interfaces/general/IGeneralWidgetConfig.ts +5 -3
  970. package/src/interfaces/general/IWidgetConfig.ts +11 -0
  971. package/src/interfaces/general/index.ts +1 -0
  972. package/src/interfaces/index.ts +1 -0
  973. package/src/qrvey/constants/APP_DATASET_TYPE_LIST.ts +14 -0
  974. package/src/qrvey/constants/APP_FORM_TYPE_LIST.ts +12 -0
  975. package/src/qrvey/constants/APP_STATUS.ts +6 -0
  976. package/src/qrvey/constants/APP_STATUS_LIST.ts +11 -0
  977. package/src/qrvey/constants/APP_TYPE.ts +17 -0
  978. package/src/qrvey/constants/index.ts +6 -0
  979. package/src/qrvey/helpers/areStaticColumnValues.ts +15 -0
  980. package/src/qrvey/helpers/getCategorizableExpression.ts +20 -0
  981. package/src/qrvey/helpers/getDataAnswersByColumn.ts +56 -0
  982. package/src/qrvey/helpers/getDropdownAnswers.ts +13 -0
  983. package/src/qrvey/helpers/getExpressionAnswers.ts +21 -0
  984. package/src/qrvey/helpers/getImageAnswers.ts +16 -0
  985. package/src/qrvey/helpers/getImageUploadHasAnalysis.ts +23 -0
  986. package/src/qrvey/helpers/getLookupAnswers.ts +17 -0
  987. package/src/qrvey/helpers/getLookupDisplays.ts +9 -0
  988. package/src/qrvey/helpers/getRatingAnswers.ts +10 -0
  989. package/src/qrvey/helpers/getSlidebarAnswers.ts +16 -0
  990. package/src/qrvey/helpers/getSuffixTranslateByColumn.ts +13 -0
  991. package/src/qrvey/helpers/getValueWithSuffixes.ts +19 -0
  992. package/src/qrvey/helpers/getYesNoAnswers.ts +12 -0
  993. package/src/qrvey/helpers/index.ts +17 -1
  994. package/src/qrvey/helpers/isDataset.ts +6 -0
  995. package/src/qrvey/helpers/isForm.ts +6 -0
  996. package/src/qrvey/helpers/transformValue.ts +49 -0
  997. package/src/qrvey/interfaces/IAppStatus.ts +3 -0
  998. package/src/qrvey/interfaces/IAppType.ts +3 -0
  999. package/src/qrvey/interfaces/IBModel.ts +20 -0
  1000. package/src/qrvey/interfaces/IBModelBranchesMap.ts +6 -0
  1001. package/src/qrvey/interfaces/IBModelBranchesMapBranch.ts +5 -0
  1002. package/src/qrvey/interfaces/IBModelData.ts +5 -0
  1003. package/src/qrvey/interfaces/IDataset.ts +1 -1
  1004. package/src/qrvey/interfaces/IFunctionGetDataAnswersByColumn.ts +12 -0
  1005. package/src/qrvey/interfaces/IFunctionGetValueWithSuffixes.ts +12 -0
  1006. package/src/qrvey/interfaces/IModel.ts +11 -0
  1007. package/src/qrvey/interfaces/IModelAnswer.ts +5 -0
  1008. package/src/qrvey/interfaces/IModelBranchesMap.ts +6 -0
  1009. package/src/qrvey/interfaces/IModelBranchesMapBranch.ts +5 -0
  1010. package/src/qrvey/interfaces/IModelColumn.ts +25 -0
  1011. package/src/qrvey/interfaces/IModelDataset.ts +7 -0
  1012. package/src/qrvey/interfaces/ITransformValueSettings.ts +13 -0
  1013. package/src/qrvey/interfaces/index.ts +20 -0
  1014. package/src/services/adapters/BBranchesMapToUIBranchesMap.adapter.ts +20 -0
  1015. package/src/services/adapters/BColumnsToUIColumns.adapter.ts +9 -1
  1016. package/src/services/adapters/BDatasetsToUIDatasets.adapter.ts +4 -4
  1017. package/src/services/adapters/BModelToUIModel.adapter.ts +25 -0
  1018. package/src/services/adapters/index.ts +1 -0
  1019. package/src/services/api/Charts.api.ts +44 -0
  1020. package/src/services/api/getAllDatasets.api.ts +22 -15
  1021. package/src/services/api/getAllQrveys.api.ts +1 -1
  1022. package/src/services/api/getDatasetColumns.api.ts +11 -8
  1023. package/src/services/api/getDatasetsByIds.api.ts +26 -0
  1024. package/src/services/api/getModel.api.ts +10 -0
  1025. package/src/services/api/index.ts +2 -0
  1026. package/src/services/constants/MODEL_ENDPOINT.ts +6 -0
  1027. package/src/services/constants/QUESTION_LIST_BULK_ENDPOINT.ts +6 -0
  1028. package/src/services/constants/UCHART_ENDPOINT.ts +6 -0
  1029. package/src/services/constants/UCHART_PAGINATION_ENDPOINT.ts +6 -0
  1030. package/src/services/constants/index.ts +6 -0
  1031. package/src/services/helpers/getDefaultQuestionListOptionsAttributes.ts +24 -0
  1032. package/src/services/helpers/index.ts +1 -0
  1033. package/test/columns/isNumericalColumn.test.js +154 -0
  1034. package/test/format.test.js +11 -11
  1035. package/dist/cjs/filters/interfaces/builder/IFilterBuilderGeneralConfig.d.ts +0 -11
  1036. package/dist/filters/interfaces/builder/IFilterBuilderGeneralConfig.d.ts +0 -11
  1037. package/src/filters/interfaces/builder/IFilterBuilderGeneralConfig.ts +0 -11
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-7*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.10-0*
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/helpers/getDateByDateFormat.js
83
+ ### dist/dates/adapters/mdyDateToDate.js
84
84
 
85
85
 
86
- #### getDateByDateFormat(date, format, time)
86
+ #### mdyDateToDate(monthYearDate, time)
87
87
 
88
- Gets a Date Object instance by a Date format
88
+ Transforms String Date from a [mm/dd/yyyy] format to Date object.
89
89
 
90
90
 
91
91
 
@@ -94,9 +94,8 @@ Gets a Date Object instance by a Date format
94
94
 
95
95
  | Name | Type | Description | |
96
96
  | ---- | ---- | ----------- | -------- |
97
- | date | | String with a formatted date |   |
98
- | format | | The date format |   |
99
- | time | | flag to convert the formatted date to miliseconds |   |
97
+ | monthYearDate | | String of [mm/dd/yyyy] date |   |
98
+ | time | | Flag to parse the object date to milliseconds. |   |
100
99
 
101
100
 
102
101
 
@@ -104,17 +103,17 @@ Gets a Date Object instance by a Date format
104
103
  ##### Returns
105
104
 
106
105
 
107
- - a Date object, milisecond time or the same value if date format does not match.
106
+ - The date object or the date in milliseconds
108
107
 
109
108
 
110
109
 
111
110
 
112
- ### dist/dates/helpers/getDateFormatByProperty.js
111
+ ### dist/dates/adapters/monthYearToDate.js
113
112
 
114
113
 
115
- #### getDateFormatByProperty(property)
114
+ #### monthYearToDate(monthYearDate, time)
116
115
 
117
- Gets the date format by the given property
116
+ Transforms String Date from a [Month Year] format to Date object.
118
117
 
119
118
 
120
119
 
@@ -123,7 +122,8 @@ Gets the date format by the given property
123
122
 
124
123
  | Name | Type | Description | |
125
124
  | ---- | ---- | ----------- | -------- |
126
- | property | | The Column Property |   |
125
+ | monthYearDate | | String of [Month Year] date |   |
126
+ | time | | Flag to parse the object date to milliseconds. |   |
127
127
 
128
128
 
129
129
 
@@ -131,17 +131,17 @@ Gets the date format by the given property
131
131
  ##### Returns
132
132
 
133
133
 
134
- - The date format
134
+ - The date object or the date in milliseconds
135
135
 
136
136
 
137
137
 
138
138
 
139
- ### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
139
+ ### dist/dates/adapters/quarterYearToDate.js
140
140
 
141
141
 
142
- #### getDateFormatRegularExpressionInArray(dateFormat)
142
+ #### quarterYearToDate(quarterYearDate, time)
143
143
 
144
- Gets an array of regular expressions by the given date format
144
+ Transforms String Date from a [Quarter Year] format to Date object.
145
145
 
146
146
 
147
147
 
@@ -150,7 +150,8 @@ Gets an array of regular expressions by the given date format
150
150
 
151
151
  | Name | Type | Description | |
152
152
  | ---- | ---- | ----------- | -------- |
153
- | dateFormat | | the date format |   |
153
+ | quarterYearDate | | String of [Quarter Year] date |   |
154
+ | time | | Flag to parse the object date to milliseconds. |   |
154
155
 
155
156
 
156
157
 
@@ -158,17 +159,17 @@ Gets an array of regular expressions by the given date format
158
159
  ##### Returns
159
160
 
160
161
 
161
- - an array of regular expressions
162
+ - The date object or the date in milliseconds
162
163
 
163
164
 
164
165
 
165
166
 
166
- ### dist/dates/helpers/getSeparatorByDateFormat.js
167
+ ### dist/dates/adapters/weekYearToDate.js
167
168
 
168
169
 
169
- #### getSeparatorByDateFormat(format)
170
+ #### weekYearToDate(date, time)
170
171
 
171
- Gets the separator of the date format
172
+ Transforms String Date from a [Week Year] format to Date object.
172
173
 
173
174
 
174
175
 
@@ -177,7 +178,8 @@ Gets the separator of the date format
177
178
 
178
179
  | Name | Type | Description | |
179
180
  | ---- | ---- | ----------- | -------- |
180
- | format | | the date format |   |
181
+ | date | | String of [Week Year] date |   |
182
+ | time | | Flag to parse the object date to milliseconds. |   |
181
183
 
182
184
 
183
185
 
@@ -185,18 +187,17 @@ Gets the separator of the date format
185
187
  ##### Returns
186
188
 
187
189
 
188
- - a separator string
190
+ - The date object or the date in milliseconds
189
191
 
190
192
 
191
193
 
192
194
 
193
- ### dist/dates/helpers/getWeek.js
195
+ ### dist/dates/adapters/yearToDate.js
194
196
 
195
197
 
196
- #### getWeek(date)
198
+ #### yearToDate(yearDate, time)
197
199
 
198
- Gets the week number of the year
199
- Additionally, the month and the year
200
+ Transforms String Date from a [Year] format to Date object.
200
201
 
201
202
 
202
203
 
@@ -205,7 +206,8 @@ Additionally, the month and the year
205
206
 
206
207
  | Name | Type | Description | |
207
208
  | ---- | ---- | ----------- | -------- |
208
- | date | | the date object |   |
209
+ | yearDate | | String of [Year] date |   |
210
+ | time | | Flag to parse the object date to milliseconds. |   |
209
211
 
210
212
 
211
213
 
@@ -213,20 +215,17 @@ Additionally, the month and the year
213
215
  ##### Returns
214
216
 
215
217
 
216
- - an object with the week, month and year.
218
+ - The date object or the date in milliseconds
217
219
 
218
220
 
219
221
 
220
222
 
221
- ### dist/dates/helpers/validateDate.js
223
+ ### dist/dates/helpers/getDateByDateFormat.js
222
224
 
223
225
 
224
- #### validateDate(date, format)
226
+ #### getDateByDateFormat(date, format, time)
225
227
 
226
- Validate a string date depending on giving format
227
- - If the string is a token label, the function lets it pass.
228
- - Otherwise depends of the format
229
- - Some escenarios the string is a mix of token labels and dates
228
+ Gets a Date Object instance by a Date format
230
229
 
231
230
 
232
231
 
@@ -235,8 +234,9 @@ Validate a string date depending on giving format
235
234
 
236
235
  | Name | Type | Description | |
237
236
  | ---- | ---- | ----------- | -------- |
238
- | date | | String of date |   |
239
- | format | | String of the format to validate |   |
237
+ | date | | String with a formatted date |   |
238
+ | format | | The date format |   |
239
+ | time | | flag to convert the formatted date to miliseconds |   |
240
240
 
241
241
 
242
242
 
@@ -244,17 +244,17 @@ Validate a string date depending on giving format
244
244
  ##### Returns
245
245
 
246
246
 
247
- - True if it is valid or not. Undefined if date is undefined
247
+ - a Date object, milisecond time or the same value if date format does not match.
248
248
 
249
249
 
250
250
 
251
251
 
252
- ### dist/dates/helpers/validateDateByDateFormat.js
252
+ ### dist/dates/helpers/getDateFormatByProperty.js
253
253
 
254
254
 
255
- #### validateDateByDateFormat(date, dateForma)
255
+ #### getDateFormatByProperty(property)
256
256
 
257
- Validates the given string as Date by its date format.
257
+ Gets the date format by the given property
258
258
 
259
259
 
260
260
 
@@ -263,8 +263,7 @@ Validates the given string as Date by its date format.
263
263
 
264
264
  | Name | Type | Description | |
265
265
  | ---- | ---- | ----------- | -------- |
266
- | date | | a string to validate as date form |   |
267
- | dateForma | | the format of the date to validate the string |   |
266
+ | property | | The Column Property |   |
268
267
 
269
268
 
270
269
 
@@ -272,17 +271,17 @@ Validates the given string as Date by its date format.
272
271
  ##### Returns
273
272
 
274
273
 
275
- - true: the string is a valida date
274
+ - The date format
276
275
 
277
276
 
278
277
 
279
278
 
280
- ### dist/dates/adapters/mdyDateToDate.js
279
+ ### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
281
280
 
282
281
 
283
- #### mdyDateToDate(monthYearDate, time)
282
+ #### getDateFormatRegularExpressionInArray(dateFormat)
284
283
 
285
- Transforms String Date from a [mm/dd/yyyy] format to Date object.
284
+ Gets an array of regular expressions by the given date format
286
285
 
287
286
 
288
287
 
@@ -291,8 +290,7 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
291
290
 
292
291
  | Name | Type | Description | |
293
292
  | ---- | ---- | ----------- | -------- |
294
- | monthYearDate | | String of [mm/dd/yyyy] date |   |
295
- | time | | Flag to parse the object date to milliseconds. |   |
293
+ | dateFormat | | the date format |   |
296
294
 
297
295
 
298
296
 
@@ -300,17 +298,17 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
300
298
  ##### Returns
301
299
 
302
300
 
303
- - The date object or the date in milliseconds
301
+ - an array of regular expressions
304
302
 
305
303
 
306
304
 
307
305
 
308
- ### dist/dates/adapters/monthYearToDate.js
306
+ ### dist/dates/helpers/getSeparatorByDateFormat.js
309
307
 
310
308
 
311
- #### monthYearToDate(monthYearDate, time)
309
+ #### getSeparatorByDateFormat(format)
312
310
 
313
- Transforms String Date from a [Month Year] format to Date object.
311
+ Gets the separator of the date format
314
312
 
315
313
 
316
314
 
@@ -319,8 +317,7 @@ Transforms String Date from a [Month Year] format to Date object.
319
317
 
320
318
  | Name | Type | Description | |
321
319
  | ---- | ---- | ----------- | -------- |
322
- | monthYearDate | | String of [Month Year] date |   |
323
- | time | | Flag to parse the object date to milliseconds. |   |
320
+ | format | | the date format |   |
324
321
 
325
322
 
326
323
 
@@ -328,17 +325,18 @@ Transforms String Date from a [Month Year] format to Date object.
328
325
  ##### Returns
329
326
 
330
327
 
331
- - The date object or the date in milliseconds
328
+ - a separator string
332
329
 
333
330
 
334
331
 
335
332
 
336
- ### dist/dates/adapters/quarterYearToDate.js
333
+ ### dist/dates/helpers/getWeek.js
337
334
 
338
335
 
339
- #### quarterYearToDate(quarterYearDate, time)
336
+ #### getWeek(date)
340
337
 
341
- Transforms String Date from a [Quarter Year] format to Date object.
338
+ Gets the week number of the year
339
+ Additionally, the month and the year
342
340
 
343
341
 
344
342
 
@@ -347,8 +345,7 @@ Transforms String Date from a [Quarter Year] format to Date object.
347
345
 
348
346
  | Name | Type | Description | |
349
347
  | ---- | ---- | ----------- | -------- |
350
- | quarterYearDate | | String of [Quarter Year] date |   |
351
- | time | | Flag to parse the object date to milliseconds. |   |
348
+ | date | | the date object |   |
352
349
 
353
350
 
354
351
 
@@ -356,17 +353,20 @@ Transforms String Date from a [Quarter Year] format to Date object.
356
353
  ##### Returns
357
354
 
358
355
 
359
- - The date object or the date in milliseconds
356
+ - an object with the week, month and year.
360
357
 
361
358
 
362
359
 
363
360
 
364
- ### dist/dates/adapters/weekYearToDate.js
361
+ ### dist/dates/helpers/validateDate.js
365
362
 
366
363
 
367
- #### weekYearToDate(date, time)
364
+ #### validateDate(date, format)
368
365
 
369
- Transforms String Date from a [Week Year] format to Date object.
366
+ Validate a string date depending on giving format
367
+ - If the string is a token label, the function lets it pass.
368
+ - Otherwise depends of the format
369
+ - Some escenarios the string is a mix of token labels and dates
370
370
 
371
371
 
372
372
 
@@ -375,8 +375,8 @@ Transforms String Date from a [Week Year] format to Date object.
375
375
 
376
376
  | Name | Type | Description | |
377
377
  | ---- | ---- | ----------- | -------- |
378
- | date | | String of [Week Year] date |   |
379
- | time | | Flag to parse the object date to milliseconds. |   |
378
+ | date | | String of date |   |
379
+ | format | | String of the format to validate |   |
380
380
 
381
381
 
382
382
 
@@ -384,17 +384,17 @@ Transforms String Date from a [Week Year] format to Date object.
384
384
  ##### Returns
385
385
 
386
386
 
387
- - The date object or the date in milliseconds
387
+ - True if it is valid or not. Undefined if date is undefined
388
388
 
389
389
 
390
390
 
391
391
 
392
- ### dist/dates/adapters/yearToDate.js
392
+ ### dist/dates/helpers/validateDateByDateFormat.js
393
393
 
394
394
 
395
- #### yearToDate(yearDate, time)
395
+ #### validateDateByDateFormat(date, dateForma)
396
396
 
397
- Transforms String Date from a [Year] format to Date object.
397
+ Validates the given string as Date by its date format.
398
398
 
399
399
 
400
400
 
@@ -403,8 +403,8 @@ Transforms String Date from a [Year] format to Date object.
403
403
 
404
404
  | Name | Type | Description | |
405
405
  | ---- | ---- | ----------- | -------- |
406
- | yearDate | | String of [Year] date |   |
407
- | time | | Flag to parse the object date to milliseconds. |   |
406
+ | date | | a string to validate as date form |   |
407
+ | dateForma | | the format of the date to validate the string |   |
408
408
 
409
409
 
410
410
 
@@ -412,7 +412,7 @@ Transforms String Date from a [Year] format to Date object.
412
412
  ##### Returns
413
413
 
414
414
 
415
- - The date object or the date in milliseconds
415
+ - true: the string is a valida date
416
416
 
417
417
 
418
418
 
@@ -688,14 +688,21 @@ Output:
688
688
 
689
689
 
690
690
 
691
- ### dist/filters/classes/FilterInputErrorHandler.js
691
+ ### dist/columns/helpers/getColumnsLabel.js
692
692
 
693
693
 
694
- #### new FilterInputErrorHandler()
694
+ #### getColumnLabels(column)
695
+
696
+ Get an string of the properties of the given column.
697
+
695
698
 
696
699
 
697
700
 
701
+ ##### Parameters
698
702
 
703
+ | Name | Type | Description | |
704
+ | ---- | ---- | ----------- | -------- |
705
+ | column | | The column |   |
699
706
 
700
707
 
701
708
 
@@ -703,17 +710,17 @@ Output:
703
710
  ##### Returns
704
711
 
705
712
 
706
- - `Void`
713
+ - an string with the property, aggregate or calculation label.
707
714
 
708
715
 
709
716
 
710
717
 
711
- ### dist/filters/adapters/FDToLogic.js
718
+ ### dist/columns/helpers/getModelColumn.js
712
719
 
713
720
 
714
- #### FDToLogic(filterData)
721
+ #### getModelColumn(column, model)
715
722
 
716
- Generates a Filter Logic structure from Filter Data structure.
723
+ Get a model question by column id.
717
724
 
718
725
 
719
726
 
@@ -722,7 +729,8 @@ Generates a Filter Logic structure from Filter Data structure.
722
729
 
723
730
  | Name | Type | Description | |
724
731
  | ---- | ---- | ----------- | -------- |
725
- | filterData | | The filter data object. |   |
732
+ | column | | The column with info |   |
733
+ | model | | The model object |   |
726
734
 
727
735
 
728
736
 
@@ -730,13 +738,14 @@ Generates a Filter Logic structure from Filter Data structure.
730
738
  ##### Returns
731
739
 
732
740
 
733
- - a filter logic array
741
+ - the model question
734
742
 
735
743
 
736
744
 
737
- #### getLogicBodyFromFD21(filterData)
745
+ #### getQuestionData(model)
738
746
 
739
- Gets the logic body
747
+ [TODO: Change the question.data access path. IModel structure is different]
748
+ Get the question data array from model object
740
749
 
741
750
 
742
751
 
@@ -745,7 +754,7 @@ Gets the logic body
745
754
 
746
755
  | Name | Type | Description | |
747
756
  | ---- | ---- | ----------- | -------- |
748
- | filterData | | The filter data object |   |
757
+ | model | | The model object |   |
749
758
 
750
759
 
751
760
 
@@ -753,7 +762,7 @@ Gets the logic body
753
762
  ##### Returns
754
763
 
755
764
 
756
- - a filter logic array
765
+ - the question data array from model object
757
766
 
758
767
 
759
768
 
@@ -810,6 +819,56 @@ Generates a Filter Builder Structure from the Filter Data structure v2.1
810
819
 
811
820
 
812
821
 
822
+ ### dist/filters/adapters/FDToLogic.js
823
+
824
+
825
+ #### FDToLogic(filterData)
826
+
827
+ Generates a Filter Logic structure from Filter Data structure.
828
+
829
+
830
+
831
+
832
+ ##### Parameters
833
+
834
+ | Name | Type | Description | |
835
+ | ---- | ---- | ----------- | -------- |
836
+ | filterData | | The filter data object. |   |
837
+
838
+
839
+
840
+
841
+ ##### Returns
842
+
843
+
844
+ - a filter logic array
845
+
846
+
847
+
848
+ #### getLogicBodyFromFD21(filterData)
849
+
850
+ Gets the logic body
851
+
852
+
853
+
854
+
855
+ ##### Parameters
856
+
857
+ | Name | Type | Description | |
858
+ | ---- | ---- | ----------- | -------- |
859
+ | filterData | | The filter data object |   |
860
+
861
+
862
+
863
+
864
+ ##### Returns
865
+
866
+
867
+ - a filter logic array
868
+
869
+
870
+
871
+
813
872
  ### dist/filters/adapters/FDToUI.js
814
873
 
815
874
 
@@ -1479,6 +1538,33 @@ Generates a UI filter structure from the old logic structure (v2.0).
1479
1538
 
1480
1539
 
1481
1540
 
1541
+ ### dist/filters/adapters/modelAnswerToFilterValue.js
1542
+
1543
+
1544
+ #### modelAnswerToFilterValue(answers)
1545
+
1546
+ Adapter for model answer to convert to recognizable values for Filter Builder
1547
+
1548
+
1549
+
1550
+
1551
+ ##### Parameters
1552
+
1553
+ | Name | Type | Description | |
1554
+ | ---- | ---- | ----------- | -------- |
1555
+ | answers | | Array of the qrvey model answers |   |
1556
+
1557
+
1558
+
1559
+
1560
+ ##### Returns
1561
+
1562
+
1563
+ - Array of values
1564
+
1565
+
1566
+
1567
+
1482
1568
  ### dist/filters/adapters/transformFilters.js
1483
1569
 
1484
1570
 
@@ -1558,41 +1644,32 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1558
1644
 
1559
1645
 
1560
1646
 
1561
- ### dist/filters/helpers/applyHierarchyForAggFilters.js
1647
+ ### dist/filters/classes/FilterInputErrorHandler.js
1562
1648
 
1563
1649
 
1564
- #### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
1650
+ #### new FilterInputErrorHandler()
1565
1651
 
1566
- [TODO: Make a proper description for this function]
1567
1652
 
1568
1653
 
1569
1654
 
1570
1655
 
1571
- ##### Parameters
1572
1656
 
1573
- | Name | Type | Description | |
1574
- | ---- | ---- | ----------- | -------- |
1575
- | chartSettings | | Chart Settings for the Filter Builder |   |
1576
- | scopes | | |   |
1577
- | currentScope | | |   |
1578
1657
 
1579
1658
 
1659
+ ##### Returns
1580
1660
 
1581
1661
 
1582
- ##### Returns
1662
+ - `Void`
1583
1663
 
1584
1664
 
1585
- -
1586
1665
 
1587
1666
 
1667
+ ### dist/filters/helpers/OLD_getAggFilters.js
1588
1668
 
1589
1669
 
1590
- ### dist/filters/helpers/getAvailableScopes.js
1670
+ #### getAggFilters(logics, summaries)
1591
1671
 
1592
1672
 
1593
- #### getAvailableScopes(config)
1594
-
1595
- Gets Scopes/Scope IDs by given IDs
1596
1673
 
1597
1674
 
1598
1675
 
@@ -1601,7 +1678,8 @@ Gets Scopes/Scope IDs by given IDs
1601
1678
 
1602
1679
  | Name | Type | Description | |
1603
1680
  | ---- | ---- | ----------- | -------- |
1604
- | config | | given Differnts IDs in order set a available scope |   |
1681
+ | logics | | |   |
1682
+ | summaries | | |   |
1605
1683
 
1606
1684
 
1607
1685
 
@@ -1609,17 +1687,13 @@ Gets Scopes/Scope IDs by given IDs
1609
1687
  ##### Returns
1610
1688
 
1611
1689
 
1612
- - a Scopes/Scope IDs array
1613
-
1614
-
1615
-
1690
+ -
1616
1691
 
1617
- ### dist/filters/helpers/getAvailableScopesIDsByConfig.js
1618
1692
 
1619
1693
 
1620
- #### getAvailableScopesIDsByConfig(config)
1694
+ #### getAggregateFilters(logics, formatToFilters)
1621
1695
 
1622
- Gets the Scopes IDS for the Available Scope function by any config
1696
+ Filters and gets the filters used for aggregate values.
1623
1697
 
1624
1698
 
1625
1699
 
@@ -1628,7 +1702,8 @@ Gets the Scopes IDS for the Available Scope function by any config
1628
1702
 
1629
1703
  | Name | Type | Description | |
1630
1704
  | ---- | ---- | ----------- | -------- |
1631
- | config | | any config |   |
1705
+ | logics | | The filter logic structure |   |
1706
+ | formatToFilters | | Flag to change de way of returning the filter structure. |   |
1632
1707
 
1633
1708
 
1634
1709
 
@@ -1636,17 +1711,17 @@ Gets the Scopes IDS for the Available Scope function by any config
1636
1711
  ##### Returns
1637
1712
 
1638
1713
 
1639
- - a Available Scope IDS config
1714
+ - the aggregate filters in the IFilterFilters way or as logic structure.
1640
1715
 
1641
1716
 
1642
1717
 
1643
1718
 
1644
- ### dist/filters/helpers/getScopesByHierarchy.js
1719
+ ### dist/filters/helpers/applyHierarchyForAggFilters.js
1645
1720
 
1646
1721
 
1647
- #### getScopesByHierarchy(scopes, currentScope)
1722
+ #### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
1648
1723
 
1649
- [TODO: Make a description for this]
1724
+ [TODO: Make a proper description for this function]
1650
1725
 
1651
1726
 
1652
1727
 
@@ -1655,8 +1730,9 @@ Gets the Scopes IDS for the Available Scope function by any config
1655
1730
 
1656
1731
  | Name | Type | Description | |
1657
1732
  | ---- | ---- | ----------- | -------- |
1658
- | scopes | | the collection of Scopes/Scope IDs |   |
1659
- | currentScope | | Current scope type |   |
1733
+ | chartSettings | | Chart Settings for the Filter Builder |   |
1734
+ | scopes | | |   |
1735
+ | currentScope | | |   |
1660
1736
 
1661
1737
 
1662
1738
 
@@ -1664,17 +1740,17 @@ Gets the Scopes IDS for the Available Scope function by any config
1664
1740
  ##### Returns
1665
1741
 
1666
1742
 
1667
- - A new array of Scopes/Scope IDs
1743
+ -
1668
1744
 
1669
1745
 
1670
1746
 
1671
1747
 
1672
- ### dist/general/array/delete.js
1748
+ ### dist/filters/helpers/getAvailableScopes.js
1673
1749
 
1674
1750
 
1675
- #### ArrayDelete(array, index)
1751
+ #### getAvailableScopes(config)
1676
1752
 
1677
- Inmutable Array Item deletion
1753
+ Gets Scopes/Scope IDs by given IDs
1678
1754
 
1679
1755
 
1680
1756
 
@@ -1683,8 +1759,7 @@ Inmutable Array Item deletion
1683
1759
 
1684
1760
  | Name | Type | Description | |
1685
1761
  | ---- | ---- | ----------- | -------- |
1686
- | array | `Array` | a collection of items to delete |   |
1687
- | index | `Number` | the position of the item to delete |   |
1762
+ | config | | given Differnts IDs in order set a available scope |   |
1688
1763
 
1689
1764
 
1690
1765
 
@@ -1692,20 +1767,17 @@ Inmutable Array Item deletion
1692
1767
  ##### Returns
1693
1768
 
1694
1769
 
1695
- - a new Array or the given parameter when is empty or not an array
1770
+ - a Scopes/Scope IDs array
1696
1771
 
1697
1772
 
1698
1773
 
1699
1774
 
1700
- ### dist/general/array/filterNestedTree.js
1775
+ ### dist/filters/helpers/getAvailableScopesIDsByConfig.js
1701
1776
 
1702
1777
 
1703
- #### filterNestedTree(arr, childArrKey, condition)
1778
+ #### getAvailableScopesIDsByConfig(config)
1704
1779
 
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
1780
+ Gets the Scopes IDS for the Available Scope function by any config
1709
1781
 
1710
1782
 
1711
1783
 
@@ -1714,9 +1786,7 @@ Filters a nested tree array by a custom condition on the last child node
1714
1786
 
1715
1787
  | Name | Type | Description | |
1716
1788
  | ---- | ---- | ----------- | -------- |
1717
- | arr | | nested tree array |   |
1718
- | childArrKey | | property representing the children array on the nested tree |   |
1719
- | condition | | function callback that determines if the filter is applied on the last child node of the nested tree |   |
1789
+ | config | | any config |   |
1720
1790
 
1721
1791
 
1722
1792
 
@@ -1724,17 +1794,17 @@ Filters a nested tree array by a custom condition on the last child node
1724
1794
  ##### Returns
1725
1795
 
1726
1796
 
1727
- - array filtered
1797
+ - a Available Scope IDS config
1728
1798
 
1729
1799
 
1730
1800
 
1731
1801
 
1732
- ### dist/general/array/flattenDeep.js
1802
+ ### dist/filters/helpers/getScopesByHierarchy.js
1733
1803
 
1734
1804
 
1735
- #### flattenDeep(arr)
1805
+ #### getScopesByHierarchy(scopes, currentScope)
1736
1806
 
1737
- Flat deeply an array
1807
+ [TODO: Make a description for this]
1738
1808
 
1739
1809
 
1740
1810
 
@@ -1743,7 +1813,8 @@ Flat deeply an array
1743
1813
 
1744
1814
  | Name | Type | Description | |
1745
1815
  | ---- | ---- | ----------- | -------- |
1746
- | arr | | Array to flat deeply |   |
1816
+ | scopes | | the collection of Scopes/Scope IDs |   |
1817
+ | currentScope | | Current scope type |   |
1747
1818
 
1748
1819
 
1749
1820
 
@@ -1751,17 +1822,17 @@ Flat deeply an array
1751
1822
  ##### Returns
1752
1823
 
1753
1824
 
1754
- - flatten array
1825
+ - A new array of Scopes/Scope IDs
1755
1826
 
1756
1827
 
1757
1828
 
1758
1829
 
1759
- ### dist/general/array/getFirstIndexFromArray.js
1830
+ ### dist/filters/services/Filters.api.js
1760
1831
 
1761
1832
 
1762
- #### getFirstIndexFromArray(array, callback)
1833
+ #### getModel(qrveyid)
1763
1834
 
1764
- Gets the first index from the array by a callback condition
1835
+ Get the model by Qrvey ID
1765
1836
 
1766
1837
 
1767
1838
 
@@ -1770,8 +1841,7 @@ Gets the first index from the array by a callback condition
1770
1841
 
1771
1842
  | Name | Type | Description | |
1772
1843
  | ---- | ---- | ----------- | -------- |
1773
- | array | | |   |
1774
- | callback | | function callback |   |
1844
+ | qrveyid | | The Qrvey ID |   |
1775
1845
 
1776
1846
 
1777
1847
 
@@ -1779,17 +1849,13 @@ Gets the first index from the array by a callback condition
1779
1849
  ##### Returns
1780
1850
 
1781
1851
 
1782
- - the first index of the array. -1 when the condition is not satisfied
1783
-
1784
-
1852
+ - a promise with the resulting model
1785
1853
 
1786
1854
 
1787
- ### dist/general/array/getLastIndexFromArray.js
1788
-
1789
1855
 
1790
- #### getLastIndexFromArray(array, callback)
1856
+ #### getDatasets(qrveyids)
1791
1857
 
1792
- Gets the last index from the array by a callback condition
1858
+ Get a dataset list from a collection of Qrvey IDs
1793
1859
 
1794
1860
 
1795
1861
 
@@ -1798,8 +1864,7 @@ Gets the last index from the array by a callback condition
1798
1864
 
1799
1865
  | Name | Type | Description | |
1800
1866
  | ---- | ---- | ----------- | -------- |
1801
- | array | | |   |
1802
- | callback | | function callback |   |
1867
+ | qrveyids | | Collection of Qrvey IDs |   |
1803
1868
 
1804
1869
 
1805
1870
 
@@ -1807,17 +1872,13 @@ Gets the last index from the array by a callback condition
1807
1872
  ##### Returns
1808
1873
 
1809
1874
 
1810
- - the last index of the array. -1 when the condition is not satisfied
1811
-
1812
-
1813
-
1875
+ - a promise
1814
1876
 
1815
- ### dist/general/function/debounce.js
1816
1877
 
1817
1878
 
1818
- #### debounce(fn, time)
1879
+ #### getDataValues(uFilter, filterLogic, chartSettings, resetApi)
1819
1880
 
1820
- Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
1881
+ Get a promise with a preview of resulting data. Depending on the validator, the endpoint will change.
1821
1882
 
1822
1883
 
1823
1884
 
@@ -1826,8 +1887,10 @@ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last
1826
1887
 
1827
1888
  | Name | Type | Description | |
1828
1889
  | ---- | ---- | ----------- | -------- |
1829
- | fn | `Function` | original Function |   |
1830
- | time | `Number` | default 500ms |   |
1890
+ | uFilter | | The Filter Builder Filter |   |
1891
+ | filterLogic | | Additional filter logic to apply in the preview |   |
1892
+ | chartSettings | | |   |
1893
+ | resetApi | | flag to determine when the api should be reseted. |   |
1831
1894
 
1832
1895
 
1833
1896
 
@@ -1835,17 +1898,29 @@ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last
1835
1898
  ##### Returns
1836
1899
 
1837
1900
 
1838
- - `Function` debounced functions
1901
+ - a promise with a preview of resulting data.
1839
1902
 
1840
1903
 
1841
1904
 
1905
+ #### getAvailableScopeIds()
1906
+
1907
+ Gets the available scopes and scope IDs
1908
+
1842
1909
 
1843
- ### dist/general/function/throttled.js
1844
1910
 
1845
1911
 
1846
- #### throttled(fn, time)
1847
1912
 
1848
- Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1913
+
1914
+ ##### Returns
1915
+
1916
+
1917
+ - a collection of the pair Scopes and Scope IDs
1918
+
1919
+
1920
+
1921
+ #### setConfig(config)
1922
+
1923
+ Set the config into the Filter Builder Api class
1849
1924
 
1850
1925
 
1851
1926
 
@@ -1854,8 +1929,7 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1854
1929
 
1855
1930
  | Name | Type | Description | |
1856
1931
  | ---- | ---- | ----------- | -------- |
1857
- | fn | `Function` | original Function |   |
1858
- | time | `Number` | default 500ms |   |
1932
+ | config | | the config. |   |
1859
1933
 
1860
1934
 
1861
1935
 
@@ -1863,17 +1937,17 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
1863
1937
  ##### Returns
1864
1938
 
1865
1939
 
1866
- - `Function` throttled function
1940
+ - `Void`
1867
1941
 
1868
1942
 
1869
1943
 
1870
1944
 
1871
- ### dist/general/mix/getTag.js
1945
+ ### dist/filters/services/UChartApi.js
1872
1946
 
1873
1947
 
1874
- #### getTag(value)
1948
+ #### this.getChartResult(config, uFilter, filterLogic, chartSettings)
1875
1949
 
1876
- Gets the `toStringTag` of `value`.
1950
+ Gets a promise with a resulting data
1877
1951
 
1878
1952
 
1879
1953
 
@@ -1882,7 +1956,10 @@ Gets the `toStringTag` of `value`.
1882
1956
 
1883
1957
  | Name | Type | Description | |
1884
1958
  | ---- | ---- | ----------- | -------- |
1885
- | value | | The value to query. |   |
1959
+ | config | | the config |   |
1960
+ | uFilter | | The filter Builder filter |   |
1961
+ | filterLogic | | Additional filter logic to apply in the preview |   |
1962
+ | chartSettings | | The settings of the chart. For Aggregate Columns. |   |
1886
1963
 
1887
1964
 
1888
1965
 
@@ -1890,17 +1967,13 @@ Gets the `toStringTag` of `value`.
1890
1967
  ##### Returns
1891
1968
 
1892
1969
 
1893
- - `string` Returns the `toStringTag`.
1894
-
1895
-
1896
-
1970
+ - a promise with a resulting data
1897
1971
 
1898
- ### dist/general/mix/importScripts.js
1899
1972
 
1900
1973
 
1901
- #### importScripts(scripts)
1974
+ #### this._getPreviewRequestBody(uFilter, filterLogic, chartSettings)
1902
1975
 
1903
- Import a set of external Scripts given the URL in both serie and cascade way
1976
+ Gets request body structure
1904
1977
 
1905
1978
 
1906
1979
 
@@ -1909,54 +1982,23 @@ Import a set of external Scripts given the URL in both serie and cascade way
1909
1982
 
1910
1983
  | Name | Type | Description | |
1911
1984
  | ---- | ---- | ----------- | -------- |
1912
- | scripts | `Array.<String>` `Array.<Object>` | can be an array of string or an array of object with the follow structure: | &nbsp; |
1913
- | scripts.url | `String` | CDN URL | &nbsp; |
1914
- | scripts.namespace | `String` `Function` | (Optional) if is a String, that name is evaluated on Window[namespace] object otherwise the Function is invoked expecting a Thrutly value | &nbsp; |
1915
- | scripts.type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | &nbsp; |
1916
- | scripts.noModule | `Boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | &nbsp; |
1917
- | scripts.dependencies | `Array.<Object>` | an array with the same structure to load in cascade mode | &nbsp; |
1918
-
1919
-
1920
-
1985
+ | uFilter | | The filter Builder filter | &nbsp; |
1986
+ | filterLogic | | Additional filter logic to apply in the preview | &nbsp; |
1987
+ | chartSettings | | The settings of the chart. For Aggregate Columns. | &nbsp; |
1921
1988
 
1922
- ##### Examples
1923
-
1924
- ```javascript
1925
- // 1) Simple script (paralell loading)
1926
- importScripts(['http://myscript.js', 'http://another.js']);
1927
-
1928
- // 2) Loading `.js` and `.esm.js` script (parallel loading)
1929
- importScripts([
1930
- { url: 'http://myscript.esm.js', type: 'module' },
1931
- { url: 'http://myscript.js', noModule: true }
1932
- ]);
1933
-
1934
- // 3) import dependent scripts (cascade)
1935
- importScripts([
1936
- { url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] }
1937
- ]);
1938
1989
 
1939
- // 4) mix
1940
- importScripts([
1941
- { url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] },
1942
- { url: 'http://another.esm.js', type: 'module' },
1943
- { url: 'http://another.js', noModule: true },
1944
- 'http://simplescript.js'
1945
- ]);
1946
- ```
1947
1990
 
1948
1991
 
1949
1992
  ##### Returns
1950
1993
 
1951
1994
 
1952
- - `Promise` Promise when all script have been loaded
1995
+ - the request body structure
1953
1996
 
1954
1997
 
1955
1998
 
1956
- #### loadScript(url, type, noModule)
1999
+ #### this._getChartBody(uFilter, chartSettings)
1957
2000
 
1958
- Creates the script element and appends to document.head
1959
- return a Promise that is resolved when the script is loaded
2001
+ Gets chart body structure
1960
2002
 
1961
2003
 
1962
2004
 
@@ -1965,9 +2007,8 @@ return a Promise that is resolved when the script is loaded
1965
2007
 
1966
2008
  | Name | Type | Description | |
1967
2009
  | ---- | ---- | ----------- | -------- |
1968
- | url | `String` | Cdn Url | &nbsp; |
1969
- | type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | &nbsp; |
1970
- | noModule | `boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | &nbsp; |
2010
+ | uFilter | | The filter Builder filter | &nbsp; |
2011
+ | chartSettings | | The settings of the chart. For Aggregate Columns. | &nbsp; |
1971
2012
 
1972
2013
 
1973
2014
 
@@ -1975,18 +2016,13 @@ return a Promise that is resolved when the script is loaded
1975
2016
  ##### Returns
1976
2017
 
1977
2018
 
1978
- - `Void`
1979
-
1980
-
2019
+ - the chart body structure
1981
2020
 
1982
2021
 
1983
- ### dist/general/mix/compareDeep.js
1984
-
1985
2022
 
1986
- #### compareDeep(object1, object2)
2023
+ #### this._getDimensionsBody(uFilter, chartSettings)
1987
2024
 
1988
- Compares two objects to know if they are equals. Go across nested objects.
1989
- Includes arrays in the comparison.
2025
+ Gets dimension body structure
1990
2026
 
1991
2027
 
1992
2028
 
@@ -1995,8 +2031,8 @@ Includes arrays in the comparison.
1995
2031
 
1996
2032
  | Name | Type | Description | |
1997
2033
  | ---- | ---- | ----------- | -------- |
1998
- | object1 | | First Object to compare | &nbsp; |
1999
- | object2 | | Second Object to compare | &nbsp; |
2034
+ | uFilter | | The filter Builder filter | &nbsp; |
2035
+ | chartSettings | | The settings of the chart. For Aggregate Columns. | &nbsp; |
2000
2036
 
2001
2037
 
2002
2038
 
@@ -2004,17 +2040,13 @@ Includes arrays in the comparison.
2004
2040
  ##### Returns
2005
2041
 
2006
2042
 
2007
- - True: objects are equal. False: Objects are not equal. Undefined: invalid
2008
-
2009
-
2043
+ - the dimension body structure
2010
2044
 
2011
2045
 
2012
- ### dist/general/mix/isEmpty.js
2013
-
2014
2046
 
2015
- #### isEmpty(variable, includeFalsy)
2047
+ #### this._getMaxDataPoints(column, chartSettings)
2016
2048
 
2017
- Validates if the given argument is empty
2049
+ Gets max data point number
2018
2050
 
2019
2051
 
2020
2052
 
@@ -2023,8 +2055,8 @@ Validates if the given argument is empty
2023
2055
 
2024
2056
  | Name | Type | Description | |
2025
2057
  | ---- | ---- | ----------- | -------- |
2026
- | variable | | the given variable | &nbsp; |
2027
- | includeFalsy | | flag to determine include the falsy variables into the validation | &nbsp; |
2058
+ | column | | The column to filter | &nbsp; |
2059
+ | chartSettings | | The settings of the chart. For Aggregate Columns. | &nbsp; |
2028
2060
 
2029
2061
 
2030
2062
 
@@ -2032,19 +2064,13 @@ Validates if the given argument is empty
2032
2064
  ##### Returns
2033
2065
 
2034
2066
 
2035
- - true: the given argument is empty; false: is not.
2036
-
2037
-
2038
-
2067
+ - max data point number
2039
2068
 
2040
- ### dist/general/mix/isNaNV2.js
2041
2069
 
2042
2070
 
2043
- #### isNaNV2(variable)
2071
+ #### this._getSortOption(column)
2044
2072
 
2045
- Validates if the recieved number is NaN type.
2046
- This function recieves any variable but will return false.
2047
- Validates if variable is null, undefined, or an empty string, also, the function uses isNaN native function.
2073
+ Gets sort option structure
2048
2074
 
2049
2075
 
2050
2076
 
@@ -2053,7 +2079,7 @@ Validates if variable is null, undefined, or an empty string, also, the function
2053
2079
 
2054
2080
  | Name | Type | Description | |
2055
2081
  | ---- | ---- | ----------- | -------- |
2056
- | variable | | the variable to validate | &nbsp; |
2082
+ | column | | The column to filter | &nbsp; |
2057
2083
 
2058
2084
 
2059
2085
 
@@ -2061,18 +2087,13 @@ Validates if variable is null, undefined, or an empty string, also, the function
2061
2087
  ##### Returns
2062
2088
 
2063
2089
 
2064
- - True if variable is a NaN or false otherwise
2065
-
2066
-
2067
-
2090
+ - sort option structure
2068
2091
 
2069
- ### dist/general/mix/isNull.js
2070
2092
 
2071
2093
 
2072
- #### isNull(arg)
2094
+ #### this._getSummariesBody(uFilter)
2073
2095
 
2074
- return if a given variable is either `null` or `undefined`
2075
- useful to avoid falsify validating Number Zero (0)
2096
+ Gets summaries body structure
2076
2097
 
2077
2098
 
2078
2099
 
@@ -2081,7 +2102,7 @@ useful to avoid falsify validating Number Zero (0)
2081
2102
 
2082
2103
  | Name | Type | Description | |
2083
2104
  | ---- | ---- | ----------- | -------- |
2084
- | arg | `any` | | &nbsp; |
2105
+ | uFilter | | The filter Builder filter | &nbsp; |
2085
2106
 
2086
2107
 
2087
2108
 
@@ -2089,19 +2110,13 @@ useful to avoid falsify validating Number Zero (0)
2089
2110
  ##### Returns
2090
2111
 
2091
2112
 
2092
- - `Boolean`
2093
-
2094
-
2113
+ - summaries body structure
2095
2114
 
2096
2115
 
2097
- ### dist/general/mix/randomId.js
2098
-
2099
2116
 
2100
- #### randomId(length, exclude)
2117
+ #### this._refineBodies(bodies, uFilter)
2101
2118
 
2102
- Creates a random string
2103
- - If the first given argument is different than a length number, the variable is replaced by a default number
2104
- - If the optional second given argument is passed the random string is permutated.
2119
+ Refines the body structure
2105
2120
 
2106
2121
 
2107
2122
 
@@ -2110,8 +2125,8 @@ Creates a random string
2110
2125
 
2111
2126
  | Name | Type | Description | |
2112
2127
  | ---- | ---- | ----------- | -------- |
2113
- | length | `Number` | size of the generated string. Default 8 | &nbsp; |
2114
- | exclude | `Array` | collection of strings that is going to be excluded of the random string. | &nbsp; |
2128
+ | bodies | | The body structure | &nbsp; |
2129
+ | uFilter | | The filter Builder filter | &nbsp; |
2115
2130
 
2116
2131
 
2117
2132
 
@@ -2119,19 +2134,13 @@ Creates a random string
2119
2134
  ##### Returns
2120
2135
 
2121
2136
 
2122
- - `String` Random string
2123
-
2124
-
2125
-
2137
+ - the body structure
2126
2138
 
2127
- ### dist/general/mix/size.js
2128
2139
 
2129
2140
 
2130
- #### size(obj)
2141
+ #### this._getValidationType(column, vaildator)
2131
2142
 
2132
- Gets the length of the given array.
2133
- - Useful for Object, Array and string type.
2134
- - For `null` or `undefined` or else argument the returned value will be 0.
2143
+ Gets the validation type for the preview request
2135
2144
 
2136
2145
 
2137
2146
 
@@ -2140,7 +2149,8 @@ Gets the length of the given array.
2140
2149
 
2141
2150
  | Name | Type | Description | |
2142
2151
  | ---- | ---- | ----------- | -------- |
2143
- | obj | `Any` | Any object-type variable | &nbsp; |
2152
+ | column | | The column to filter | &nbsp; |
2153
+ | vaildator | | Validator Type | &nbsp; |
2144
2154
 
2145
2155
 
2146
2156
 
@@ -2148,17 +2158,13 @@ Gets the length of the given array.
2148
2158
  ##### Returns
2149
2159
 
2150
2160
 
2151
- - `Number` the size of the given variable
2152
-
2153
-
2154
-
2161
+ - the validator type for the preview request
2155
2162
 
2156
- ### dist/general/string/capitalize.js
2157
2163
 
2158
2164
 
2159
- #### capitalize(text)
2165
+ #### this._getDataFromResponse(response, uFilter)
2160
2166
 
2161
- Upper case the first letter of a given text
2167
+ Gets the Data from preview Response
2162
2168
 
2163
2169
 
2164
2170
 
@@ -2167,7 +2173,8 @@ Upper case the first letter of a given text
2167
2173
 
2168
2174
  | Name | Type | Description | |
2169
2175
  | ---- | ---- | ----------- | -------- |
2170
- | text | `String` | | &nbsp; |
2176
+ | response | | The preview presponse | &nbsp; |
2177
+ | uFilter | | The filter Builder filter | &nbsp; |
2171
2178
 
2172
2179
 
2173
2180
 
@@ -2175,18 +2182,13 @@ Upper case the first letter of a given text
2175
2182
  ##### Returns
2176
2183
 
2177
2184
 
2178
- - `String` a capitalized text
2179
-
2180
-
2181
-
2185
+ - The resulting data
2182
2186
 
2183
- ### dist/general/object/cloneDeep.js
2184
2187
 
2185
2188
 
2186
- #### cloneDeep(obj)
2189
+ #### this._getResponseSummaries(records, values)
2187
2190
 
2188
- A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
2189
- Not to use this function with inner objects and functions
2191
+ Gets summaries from preview response
2190
2192
 
2191
2193
 
2192
2194
 
@@ -2195,7 +2197,8 @@ Not to use this function with inner objects and functions
2195
2197
 
2196
2198
  | Name | Type | Description | |
2197
2199
  | ---- | ---- | ----------- | -------- |
2198
- | obj | | The object | &nbsp; |
2200
+ | records | | The data from preview response | &nbsp; |
2201
+ | values | | The values from the preview response | &nbsp; |
2199
2202
 
2200
2203
 
2201
2204
 
@@ -2203,43 +2206,1016 @@ Not to use this function with inner objects and functions
2203
2206
  ##### Returns
2204
2207
 
2205
2208
 
2206
- - The new reference object or the given object if the parsing is incorrect or empty
2209
+ - the sumaries
2207
2210
 
2208
2211
 
2209
2212
 
2210
2213
 
2211
- ### dist/general/object/get.js
2214
+ ### dist/filters/services/UChartPaginationApi.js
2212
2215
 
2213
2216
 
2214
- #### _get(baseObject, path, defaultValue)
2217
+ #### this.getAfterKey()
2215
2218
 
2216
- Like lodash _.get.
2217
- Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
2219
+ Gets afterKey object
2218
2220
 
2219
- Empty arrays and empty objects are returned but the defaultValue is not
2220
- Undefined and null values will return the defaultValue.
2221
2221
 
2222
2222
 
2223
2223
 
2224
2224
 
2225
- ##### Parameters
2226
2225
 
2227
- | Name | Type | Description | |
2228
- | ---- | ---- | ----------- | -------- |
2229
- | baseObject | | The object to query | &nbsp; |
2230
- | path | | The string path or collection of string paths of the property to get. | &nbsp; |
2231
- | defaultValue | | The value returned for undefined resolved values. | &nbsp; |
2226
+ ##### Returns
2232
2227
 
2233
2228
 
2229
+ -
2234
2230
 
2235
2231
 
2236
- ##### Examples
2237
2232
 
2238
- ```javascript
2239
- // returns 'Hello'
2240
- _get({ item1: 'Hello', item2: 'World' }, 'item1')
2241
- ```
2242
- ```javascript
2233
+ #### this.getChartResult(config, uFilter, filterLogic, chartSettings)
2234
+
2235
+ Gets a promise with a resulting data
2236
+
2237
+
2238
+
2239
+
2240
+ ##### Parameters
2241
+
2242
+ | Name | Type | Description | |
2243
+ | ---- | ---- | ----------- | -------- |
2244
+ | config | | the config | &nbsp; |
2245
+ | uFilter | | The filter Builder filter | &nbsp; |
2246
+ | filterLogic | | Additional filter logic to apply in the preview | &nbsp; |
2247
+ | chartSettings | | The settings of the chart. For Aggregate Columns. | &nbsp; |
2248
+
2249
+
2250
+
2251
+
2252
+ ##### Returns
2253
+
2254
+
2255
+ - a promise with a resulting data
2256
+
2257
+
2258
+
2259
+ #### this._getPreviewRequestBody(uFilter, filterLogic, chartSettings)
2260
+
2261
+ Gets request body structure
2262
+
2263
+
2264
+
2265
+
2266
+ ##### Parameters
2267
+
2268
+ | Name | Type | Description | |
2269
+ | ---- | ---- | ----------- | -------- |
2270
+ | uFilter | | The filter Builder filter | &nbsp; |
2271
+ | filterLogic | | Additional filter logic to apply in the preview | &nbsp; |
2272
+ | chartSettings | | The settings of the chart. For Aggregate Columns. | &nbsp; |
2273
+
2274
+
2275
+
2276
+
2277
+ ##### Returns
2278
+
2279
+
2280
+ - the request body structure
2281
+
2282
+
2283
+
2284
+ #### this._getDimensionsBody(uFilter)
2285
+
2286
+ Gets dimension body structure
2287
+
2288
+
2289
+
2290
+
2291
+ ##### Parameters
2292
+
2293
+ | Name | Type | Description | |
2294
+ | ---- | ---- | ----------- | -------- |
2295
+ | uFilter | | The filter Builder filter | &nbsp; |
2296
+
2297
+
2298
+
2299
+
2300
+ ##### Returns
2301
+
2302
+
2303
+ - the dimension body structure
2304
+
2305
+
2306
+
2307
+ #### this._getDimensionsBodyAdapter(dimensions)
2308
+
2309
+ Get a dimension body structure foor pagination endpoint
2310
+
2311
+
2312
+
2313
+
2314
+ ##### Parameters
2315
+
2316
+ | Name | Type | Description | |
2317
+ | ---- | ---- | ----------- | -------- |
2318
+ | dimensions | | | &nbsp; |
2319
+
2320
+
2321
+
2322
+
2323
+ ##### Returns
2324
+
2325
+
2326
+ -
2327
+
2328
+
2329
+
2330
+ #### this._getMaxDataPoints(column, chartSettings)
2331
+
2332
+ Gets max data point number
2333
+
2334
+
2335
+
2336
+
2337
+ ##### Parameters
2338
+
2339
+ | Name | Type | Description | |
2340
+ | ---- | ---- | ----------- | -------- |
2341
+ | column | | The column to filter | &nbsp; |
2342
+ | chartSettings | | The settings of the chart. For Aggregate Columns. | &nbsp; |
2343
+
2344
+
2345
+
2346
+
2347
+ ##### Returns
2348
+
2349
+
2350
+ - max data point number
2351
+
2352
+
2353
+
2354
+ #### this._getSortOption(column)
2355
+
2356
+ Gets sort option structure
2357
+
2358
+
2359
+
2360
+
2361
+ ##### Parameters
2362
+
2363
+ | Name | Type | Description | |
2364
+ | ---- | ---- | ----------- | -------- |
2365
+ | column | | The column to filter | &nbsp; |
2366
+
2367
+
2368
+
2369
+
2370
+ ##### Returns
2371
+
2372
+
2373
+ - sort option structure
2374
+
2375
+
2376
+
2377
+ #### this._getSummariesBody(uFilter)
2378
+
2379
+ Gets summaries body structure
2380
+
2381
+
2382
+
2383
+
2384
+ ##### Parameters
2385
+
2386
+ | Name | Type | Description | |
2387
+ | ---- | ---- | ----------- | -------- |
2388
+ | uFilter | | The filter Builder filter | &nbsp; |
2389
+
2390
+
2391
+
2392
+
2393
+ ##### Returns
2394
+
2395
+
2396
+ - summaries body structure
2397
+
2398
+
2399
+
2400
+ #### this._refineBodies(bodies, uFilter)
2401
+
2402
+ Refines the body structure
2403
+
2404
+
2405
+
2406
+
2407
+ ##### Parameters
2408
+
2409
+ | Name | Type | Description | |
2410
+ | ---- | ---- | ----------- | -------- |
2411
+ | bodies | | The body structure | &nbsp; |
2412
+ | uFilter | | The filter Builder filter | &nbsp; |
2413
+
2414
+
2415
+
2416
+
2417
+ ##### Returns
2418
+
2419
+
2420
+ - the body structure
2421
+
2422
+
2423
+
2424
+ #### this._getValidationType(column, vaildator)
2425
+
2426
+ Gets the validation type for the preview request
2427
+
2428
+
2429
+
2430
+
2431
+ ##### Parameters
2432
+
2433
+ | Name | Type | Description | |
2434
+ | ---- | ---- | ----------- | -------- |
2435
+ | column | | The column to filter | &nbsp; |
2436
+ | vaildator | | Validator Type | &nbsp; |
2437
+
2438
+
2439
+
2440
+
2441
+ ##### Returns
2442
+
2443
+
2444
+ - the validator type for the preview request
2445
+
2446
+
2447
+
2448
+ #### this._getDataFromResponse(response, uFilter)
2449
+
2450
+ Gets the Data from preview Response
2451
+
2452
+
2453
+
2454
+
2455
+ ##### Parameters
2456
+
2457
+ | Name | Type | Description | |
2458
+ | ---- | ---- | ----------- | -------- |
2459
+ | response | | The preview presponse | &nbsp; |
2460
+ | uFilter | | The filter Builder filter | &nbsp; |
2461
+
2462
+
2463
+
2464
+
2465
+ ##### Returns
2466
+
2467
+
2468
+ - The resulting data
2469
+
2470
+
2471
+
2472
+ #### this._getResponseSummaries(records, values)
2473
+
2474
+ Gets summaries from preview response
2475
+
2476
+
2477
+
2478
+
2479
+ ##### Parameters
2480
+
2481
+ | Name | Type | Description | |
2482
+ | ---- | ---- | ----------- | -------- |
2483
+ | records | | The data from preview response | &nbsp; |
2484
+ | values | | The values from the preview response | &nbsp; |
2485
+
2486
+
2487
+
2488
+
2489
+ ##### Returns
2490
+
2491
+
2492
+ - the sumaries
2493
+
2494
+
2495
+
2496
+ #### this.refineAfterkey(props)
2497
+
2498
+ Refines the afterKey object
2499
+
2500
+
2501
+
2502
+
2503
+ ##### Parameters
2504
+
2505
+ | Name | Type | Description | |
2506
+ | ---- | ---- | ----------- | -------- |
2507
+ | props | | | &nbsp; |
2508
+
2509
+
2510
+
2511
+
2512
+ ##### Returns
2513
+
2514
+
2515
+ - `Void`
2516
+
2517
+
2518
+
2519
+ #### this.setAfterKey(afterKey)
2520
+
2521
+ Sets the afterKey object
2522
+
2523
+
2524
+
2525
+
2526
+ ##### Parameters
2527
+
2528
+ | Name | Type | Description | |
2529
+ | ---- | ---- | ----------- | -------- |
2530
+ | afterKey | | the afterKey object | &nbsp; |
2531
+
2532
+
2533
+
2534
+
2535
+ ##### Returns
2536
+
2537
+
2538
+ - `Void`
2539
+
2540
+
2541
+
2542
+ #### this.setProps(uFilter)
2543
+
2544
+ Sets the Filter Builder Filter
2545
+
2546
+
2547
+
2548
+
2549
+ ##### Parameters
2550
+
2551
+ | Name | Type | Description | |
2552
+ | ---- | ---- | ----------- | -------- |
2553
+ | uFilter | | | &nbsp; |
2554
+
2555
+
2556
+
2557
+
2558
+ ##### Returns
2559
+
2560
+
2561
+ - `Void`
2562
+
2563
+
2564
+
2565
+ #### this.areColumnsEquals(column1, column2)
2566
+
2567
+ Checks if two filter columns are the same.
2568
+
2569
+
2570
+
2571
+
2572
+ ##### Parameters
2573
+
2574
+ | Name | Type | Description | |
2575
+ | ---- | ---- | ----------- | -------- |
2576
+ | column1 | | | &nbsp; |
2577
+ | column2 | | | &nbsp; |
2578
+
2579
+
2580
+
2581
+
2582
+ ##### Returns
2583
+
2584
+
2585
+ - True: Columns are equal; False: Columns are not equal
2586
+
2587
+
2588
+
2589
+
2590
+ ### dist/general/array/delete.js
2591
+
2592
+
2593
+ #### ArrayDelete(array, index)
2594
+
2595
+ Inmutable Array Item deletion
2596
+
2597
+
2598
+
2599
+
2600
+ ##### Parameters
2601
+
2602
+ | Name | Type | Description | |
2603
+ | ---- | ---- | ----------- | -------- |
2604
+ | array | `Array` | a collection of items to delete | &nbsp; |
2605
+ | index | `Number` | the position of the item to delete | &nbsp; |
2606
+
2607
+
2608
+
2609
+
2610
+ ##### Returns
2611
+
2612
+
2613
+ - a new Array or the given parameter when is empty or not an array
2614
+
2615
+
2616
+
2617
+
2618
+ ### dist/general/array/filterNestedTree.js
2619
+
2620
+
2621
+ #### filterNestedTree(arr, childArrKey, condition)
2622
+
2623
+ Filters a nested tree array by a custom condition on the last child node
2624
+ - If the given arguments are not valid, the function returns the first argument.
2625
+ - If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
2626
+ - If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
2627
+
2628
+
2629
+
2630
+
2631
+ ##### Parameters
2632
+
2633
+ | Name | Type | Description | |
2634
+ | ---- | ---- | ----------- | -------- |
2635
+ | arr | | nested tree array | &nbsp; |
2636
+ | childArrKey | | property representing the children array on the nested tree | &nbsp; |
2637
+ | condition | | function callback that determines if the filter is applied on the last child node of the nested tree | &nbsp; |
2638
+
2639
+
2640
+
2641
+
2642
+ ##### Returns
2643
+
2644
+
2645
+ - array filtered
2646
+
2647
+
2648
+
2649
+
2650
+ ### dist/general/array/flattenDeep.js
2651
+
2652
+
2653
+ #### flattenDeep(arr)
2654
+
2655
+ Flat deeply an array
2656
+
2657
+
2658
+
2659
+
2660
+ ##### Parameters
2661
+
2662
+ | Name | Type | Description | |
2663
+ | ---- | ---- | ----------- | -------- |
2664
+ | arr | | Array to flat deeply | &nbsp; |
2665
+
2666
+
2667
+
2668
+
2669
+ ##### Returns
2670
+
2671
+
2672
+ - flatten array
2673
+
2674
+
2675
+
2676
+
2677
+ ### dist/general/array/getArrayByProperty.js
2678
+
2679
+
2680
+ #### getArrayByProperty(arr, property)
2681
+
2682
+ Gets a collection of object values by the given property
2683
+
2684
+
2685
+
2686
+
2687
+ ##### Parameters
2688
+
2689
+ | Name | Type | Description | |
2690
+ | ---- | ---- | ----------- | -------- |
2691
+ | arr | | An array | &nbsp; |
2692
+ | property | | the property to get the value collection | &nbsp; |
2693
+
2694
+
2695
+
2696
+
2697
+ ##### Returns
2698
+
2699
+
2700
+ - a collection of values by property
2701
+
2702
+
2703
+
2704
+
2705
+ ### dist/general/array/getFirstIndexFromArray.js
2706
+
2707
+
2708
+ #### getFirstIndexFromArray(array, callback)
2709
+
2710
+ Gets the first index from the array by a callback condition
2711
+
2712
+
2713
+
2714
+
2715
+ ##### Parameters
2716
+
2717
+ | Name | Type | Description | |
2718
+ | ---- | ---- | ----------- | -------- |
2719
+ | array | | | &nbsp; |
2720
+ | callback | | function callback | &nbsp; |
2721
+
2722
+
2723
+
2724
+
2725
+ ##### Returns
2726
+
2727
+
2728
+ - the first index of the array. -1 when the condition is not satisfied
2729
+
2730
+
2731
+
2732
+
2733
+ ### dist/general/array/getLastIndexFromArray.js
2734
+
2735
+
2736
+ #### getLastIndexFromArray(array, callback)
2737
+
2738
+ Gets the last index from the array by a callback condition
2739
+
2740
+
2741
+
2742
+
2743
+ ##### Parameters
2744
+
2745
+ | Name | Type | Description | |
2746
+ | ---- | ---- | ----------- | -------- |
2747
+ | array | | | &nbsp; |
2748
+ | callback | | function callback | &nbsp; |
2749
+
2750
+
2751
+
2752
+
2753
+ ##### Returns
2754
+
2755
+
2756
+ - the last index of the array. -1 when the condition is not satisfied
2757
+
2758
+
2759
+
2760
+
2761
+ ### dist/general/array/getUniqueArray.js
2762
+
2763
+
2764
+ #### getUniqueArray(arr, prop)
2765
+
2766
+ Remove duplicated items from a given array by property name
2767
+ // 1. Store the keys of the unique objects
2768
+ // 2. Eliminate the dead keys & store unique objects
2769
+
2770
+
2771
+
2772
+
2773
+ ##### Parameters
2774
+
2775
+ | Name | Type | Description | |
2776
+ | ---- | ---- | ----------- | -------- |
2777
+ | arr | | The array | &nbsp; |
2778
+ | prop | | Property name to search duplicated values | &nbsp; |
2779
+
2780
+
2781
+
2782
+
2783
+ ##### Returns
2784
+
2785
+
2786
+ - Array without duplicated items.
2787
+
2788
+
2789
+
2790
+
2791
+ ### dist/general/function/debounce.js
2792
+
2793
+
2794
+ #### debounce(fn, time)
2795
+
2796
+ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
2797
+
2798
+
2799
+
2800
+
2801
+ ##### Parameters
2802
+
2803
+ | Name | Type | Description | |
2804
+ | ---- | ---- | ----------- | -------- |
2805
+ | fn | `Function` | original Function | &nbsp; |
2806
+ | time | `Number` | default 500ms | &nbsp; |
2807
+
2808
+
2809
+
2810
+
2811
+ ##### Returns
2812
+
2813
+
2814
+ - `Function` debounced functions
2815
+
2816
+
2817
+
2818
+
2819
+ ### dist/general/function/throttled.js
2820
+
2821
+
2822
+ #### throttled(fn, time)
2823
+
2824
+ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
2825
+
2826
+
2827
+
2828
+
2829
+ ##### Parameters
2830
+
2831
+ | Name | Type | Description | |
2832
+ | ---- | ---- | ----------- | -------- |
2833
+ | fn | `Function` | original Function | &nbsp; |
2834
+ | time | `Number` | default 500ms | &nbsp; |
2835
+
2836
+
2837
+
2838
+
2839
+ ##### Returns
2840
+
2841
+
2842
+ - `Function` throttled function
2843
+
2844
+
2845
+
2846
+
2847
+ ### dist/general/mix/compareDeep.js
2848
+
2849
+
2850
+ #### compareDeep(object1, object2)
2851
+
2852
+ Compares two objects to know if they are equals. Go across nested objects.
2853
+ Includes arrays in the comparison.
2854
+
2855
+
2856
+
2857
+
2858
+ ##### Parameters
2859
+
2860
+ | Name | Type | Description | |
2861
+ | ---- | ---- | ----------- | -------- |
2862
+ | object1 | | First Object to compare | &nbsp; |
2863
+ | object2 | | Second Object to compare | &nbsp; |
2864
+
2865
+
2866
+
2867
+
2868
+ ##### Returns
2869
+
2870
+
2871
+ - True: objects are equal. False: Objects are not equal. Undefined: invalid
2872
+
2873
+
2874
+
2875
+
2876
+ ### dist/general/mix/getTag.js
2877
+
2878
+
2879
+ #### getTag(value)
2880
+
2881
+ Gets the `toStringTag` of `value`.
2882
+
2883
+
2884
+
2885
+
2886
+ ##### Parameters
2887
+
2888
+ | Name | Type | Description | |
2889
+ | ---- | ---- | ----------- | -------- |
2890
+ | value | | The value to query. | &nbsp; |
2891
+
2892
+
2893
+
2894
+
2895
+ ##### Returns
2896
+
2897
+
2898
+ - `string` Returns the `toStringTag`.
2899
+
2900
+
2901
+
2902
+
2903
+ ### dist/general/mix/importScripts.js
2904
+
2905
+
2906
+ #### importScripts(scripts)
2907
+
2908
+ Import a set of external Scripts given the URL in both serie and cascade way
2909
+
2910
+
2911
+
2912
+
2913
+ ##### Parameters
2914
+
2915
+ | Name | Type | Description | |
2916
+ | ---- | ---- | ----------- | -------- |
2917
+ | scripts | `Array.<String>` `Array.<Object>` | can be an array of string or an array of object with the follow structure: | &nbsp; |
2918
+ | scripts.url | `String` | CDN URL | &nbsp; |
2919
+ | scripts.namespace | `String` `Function` | (Optional) if is a String, that name is evaluated on Window[namespace] object otherwise the Function is invoked expecting a Thrutly value | &nbsp; |
2920
+ | scripts.type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | &nbsp; |
2921
+ | scripts.noModule | `Boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | &nbsp; |
2922
+ | scripts.dependencies | `Array.<Object>` | an array with the same structure to load in cascade mode | &nbsp; |
2923
+
2924
+
2925
+
2926
+
2927
+ ##### Examples
2928
+
2929
+ ```javascript
2930
+ // 1) Simple script (paralell loading)
2931
+ importScripts(['http://myscript.js', 'http://another.js']);
2932
+
2933
+ // 2) Loading `.js` and `.esm.js` script (parallel loading)
2934
+ importScripts([
2935
+ { url: 'http://myscript.esm.js', type: 'module' },
2936
+ { url: 'http://myscript.js', noModule: true }
2937
+ ]);
2938
+
2939
+ // 3) import dependent scripts (cascade)
2940
+ importScripts([
2941
+ { url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] }
2942
+ ]);
2943
+
2944
+ // 4) mix
2945
+ importScripts([
2946
+ { url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] },
2947
+ { url: 'http://another.esm.js', type: 'module' },
2948
+ { url: 'http://another.js', noModule: true },
2949
+ 'http://simplescript.js'
2950
+ ]);
2951
+ ```
2952
+
2953
+
2954
+ ##### Returns
2955
+
2956
+
2957
+ - `Promise` Promise when all script have been loaded
2958
+
2959
+
2960
+
2961
+ #### loadScript(url, type, noModule)
2962
+
2963
+ Creates the script element and appends to document.head
2964
+ return a Promise that is resolved when the script is loaded
2965
+
2966
+
2967
+
2968
+
2969
+ ##### Parameters
2970
+
2971
+ | Name | Type | Description | |
2972
+ | ---- | ---- | ----------- | -------- |
2973
+ | url | `String` | Cdn Url | &nbsp; |
2974
+ | type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | &nbsp; |
2975
+ | noModule | `boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | &nbsp; |
2976
+
2977
+
2978
+
2979
+
2980
+ ##### Returns
2981
+
2982
+
2983
+ - `Void`
2984
+
2985
+
2986
+
2987
+
2988
+ ### dist/general/mix/isEmpty.js
2989
+
2990
+
2991
+ #### isEmpty(variable, includeFalsy)
2992
+
2993
+ Validates if the given argument is empty
2994
+
2995
+
2996
+
2997
+
2998
+ ##### Parameters
2999
+
3000
+ | Name | Type | Description | |
3001
+ | ---- | ---- | ----------- | -------- |
3002
+ | variable | | the given variable | &nbsp; |
3003
+ | includeFalsy | | flag to determine include the falsy variables into the validation | &nbsp; |
3004
+
3005
+
3006
+
3007
+
3008
+ ##### Returns
3009
+
3010
+
3011
+ - true: the given argument is empty; false: is not.
3012
+
3013
+
3014
+
3015
+
3016
+ ### dist/general/mix/isNaNV2.js
3017
+
3018
+
3019
+ #### isNaNV2(variable)
3020
+
3021
+ Validates if the recieved number is NaN type.
3022
+ This function recieves any variable but will return false.
3023
+ Validates if variable is null, undefined, or an empty string, also, the function uses isNaN native function.
3024
+
3025
+
3026
+
3027
+
3028
+ ##### Parameters
3029
+
3030
+ | Name | Type | Description | |
3031
+ | ---- | ---- | ----------- | -------- |
3032
+ | variable | | the variable to validate | &nbsp; |
3033
+
3034
+
3035
+
3036
+
3037
+ ##### Returns
3038
+
3039
+
3040
+ - True if variable is a NaN or false otherwise
3041
+
3042
+
3043
+
3044
+
3045
+ ### dist/general/mix/isNull.js
3046
+
3047
+
3048
+ #### isNull(arg)
3049
+
3050
+ return if a given variable is either `null` or `undefined`
3051
+ useful to avoid falsify validating Number Zero (0)
3052
+
3053
+
3054
+
3055
+
3056
+ ##### Parameters
3057
+
3058
+ | Name | Type | Description | |
3059
+ | ---- | ---- | ----------- | -------- |
3060
+ | arg | `any` | | &nbsp; |
3061
+
3062
+
3063
+
3064
+
3065
+ ##### Returns
3066
+
3067
+
3068
+ - `Boolean`
3069
+
3070
+
3071
+
3072
+
3073
+ ### dist/general/mix/randomId.js
3074
+
3075
+
3076
+ #### randomId(length, exclude)
3077
+
3078
+ Creates a random string
3079
+ - If the first given argument is different than a length number, the variable is replaced by a default number
3080
+ - If the optional second given argument is passed the random string is permutated.
3081
+
3082
+
3083
+
3084
+
3085
+ ##### Parameters
3086
+
3087
+ | Name | Type | Description | |
3088
+ | ---- | ---- | ----------- | -------- |
3089
+ | length | `Number` | size of the generated string. Default 8 | &nbsp; |
3090
+ | exclude | `Array` | collection of strings that is going to be excluded of the random string. | &nbsp; |
3091
+
3092
+
3093
+
3094
+
3095
+ ##### Returns
3096
+
3097
+
3098
+ - `String` Random string
3099
+
3100
+
3101
+
3102
+
3103
+ ### dist/general/mix/size.js
3104
+
3105
+
3106
+ #### size(obj)
3107
+
3108
+ Gets the length of the given array.
3109
+ - Useful for Object, Array and string type.
3110
+ - For `null` or `undefined` or else argument the returned value will be 0.
3111
+
3112
+
3113
+
3114
+
3115
+ ##### Parameters
3116
+
3117
+ | Name | Type | Description | |
3118
+ | ---- | ---- | ----------- | -------- |
3119
+ | obj | `Any` | Any object-type variable | &nbsp; |
3120
+
3121
+
3122
+
3123
+
3124
+ ##### Returns
3125
+
3126
+
3127
+ - `Number` the size of the given variable
3128
+
3129
+
3130
+
3131
+
3132
+ ### dist/general/string/capitalize.js
3133
+
3134
+
3135
+ #### capitalize(text)
3136
+
3137
+ Upper case the first letter of a given text
3138
+
3139
+
3140
+
3141
+
3142
+ ##### Parameters
3143
+
3144
+ | Name | Type | Description | |
3145
+ | ---- | ---- | ----------- | -------- |
3146
+ | text | `String` | | &nbsp; |
3147
+
3148
+
3149
+
3150
+
3151
+ ##### Returns
3152
+
3153
+
3154
+ - `String` a capitalized text
3155
+
3156
+
3157
+
3158
+
3159
+ ### dist/general/object/cloneDeep.js
3160
+
3161
+
3162
+ #### cloneDeep(obj)
3163
+
3164
+ A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
3165
+ Not to use this function with inner objects and functions
3166
+
3167
+
3168
+
3169
+
3170
+ ##### Parameters
3171
+
3172
+ | Name | Type | Description | |
3173
+ | ---- | ---- | ----------- | -------- |
3174
+ | obj | | The object | &nbsp; |
3175
+
3176
+
3177
+
3178
+
3179
+ ##### Returns
3180
+
3181
+
3182
+ - The new reference object or the given object if the parsing is incorrect or empty
3183
+
3184
+
3185
+
3186
+
3187
+ ### dist/general/object/get.js
3188
+
3189
+
3190
+ #### _get(baseObject, path, defaultValue)
3191
+
3192
+ Like lodash _.get.
3193
+ Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
3194
+
3195
+ Empty arrays and empty objects are returned but the defaultValue is not
3196
+ Undefined and null values will return the defaultValue.
3197
+
3198
+
3199
+
3200
+
3201
+ ##### Parameters
3202
+
3203
+ | Name | Type | Description | |
3204
+ | ---- | ---- | ----------- | -------- |
3205
+ | baseObject | | The object to query | &nbsp; |
3206
+ | path | | The string path or collection of string paths of the property to get. | &nbsp; |
3207
+ | defaultValue | | The value returned for undefined resolved values. | &nbsp; |
3208
+
3209
+
3210
+
3211
+
3212
+ ##### Examples
3213
+
3214
+ ```javascript
3215
+ // returns 'Hello'
3216
+ _get({ item1: 'Hello', item2: 'World' }, 'item1')
3217
+ ```
3218
+ ```javascript
2243
3219
  // returns 'A simple Hello'
2244
3220
  _get({ item1: 'Hello', item2: 'World' }, 'item3', 'A simple Hello')
2245
3221
  ```
@@ -2260,17 +3236,213 @@ _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
2260
3236
  ##### Returns
2261
3237
 
2262
3238
 
2263
- - the resolved value.
3239
+ - the resolved value.
3240
+
3241
+
3242
+
3243
+
3244
+ ### dist/general/object/getAttribute.js
3245
+
3246
+
3247
+ #### getAttribute(obj, key)
3248
+
3249
+ Searchs for properties in different case styles such as: lower, upper, camel and pascal
3250
+ - To optimize the searching, it is required a key in a snake_case style
3251
+ - List of cases that do not match
3252
+ -- From lower to snake case
3253
+ -- From upper to snake case
3254
+ -- From lower to camel case
3255
+ -- From upper to camel case
3256
+ -- From lower to pascal case
3257
+ -- From upper to pascal case
3258
+
3259
+
3260
+
3261
+
3262
+ ##### Parameters
3263
+
3264
+ | Name | Type | Description | |
3265
+ | ---- | ---- | ----------- | -------- |
3266
+ | obj | `object` | object to look for | &nbsp; |
3267
+ | key | `string` | String attribute in snake_case style | &nbsp; |
3268
+
3269
+
3270
+
3271
+
3272
+ ##### Examples
3273
+
3274
+ ```javascript
3275
+ getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
3276
+ ```
3277
+
3278
+
3279
+ ##### Returns
3280
+
3281
+
3282
+ - `Void`
3283
+
3284
+
3285
+
3286
+
3287
+ ### dist/general/object/hasProperty.js
3288
+
3289
+
3290
+ #### _hasProperty(obj, property)
3291
+
3292
+ Use the hasOwnProperty in order to verify if the given property exists in the object.
3293
+
3294
+
3295
+
3296
+
3297
+ ##### Parameters
3298
+
3299
+ | Name | Type | Description | |
3300
+ | ---- | ---- | ----------- | -------- |
3301
+ | obj | `object` | an object | &nbsp; |
3302
+ | property | `string` | String to verify if exists in the object as property | &nbsp; |
3303
+
3304
+
3305
+
3306
+
3307
+ ##### Examples
3308
+
3309
+ ```javascript
3310
+ const prop = 'prop2'
3311
+ const obj1 = { prop1: 'hello', prop2: 'world'}
3312
+ _hasProperty(ob1, prop1) // true
3313
+
3314
+ const obj2 = { prop1: 'hello world' }
3315
+ _hasProperty(ob1, prop2) // false
3316
+ ```
3317
+
3318
+
3319
+ ##### Returns
3320
+
3321
+
3322
+ - True if the object has the given property; otherwise, false.
3323
+
3324
+
3325
+
3326
+
3327
+ ### dist/general/object/isObject.js
3328
+
3329
+
3330
+ #### isObject(obj)
3331
+
3332
+ Checks if the given argument is an object type
3333
+
3334
+
3335
+
3336
+
3337
+ ##### Parameters
3338
+
3339
+ | Name | Type | Description | |
3340
+ | ---- | ---- | ----------- | -------- |
3341
+ | obj | | the variable to check | &nbsp; |
3342
+
3343
+
3344
+
3345
+
3346
+ ##### Returns
3347
+
3348
+
3349
+ - True: It is an object; False: It is not.
3350
+
3351
+
3352
+
3353
+
3354
+ ### dist/general/object/mapValues.js
3355
+
3356
+
3357
+ #### mapValues(baseObject, iteratee)
3358
+
3359
+ Invoke iteratee (function) for each object key-value pair
3360
+ and return a mapped object
3361
+
3362
+
3363
+
3364
+
3365
+ ##### Parameters
3366
+
3367
+ | Name | Type | Description | |
3368
+ | ---- | ---- | ----------- | -------- |
3369
+ | baseObject | `Object` | Base object. | &nbsp; |
3370
+ | iteratee | `Function` | The executed per iteration. | &nbsp; |
3371
+
3372
+
3373
+
3374
+
3375
+ ##### Returns
3376
+
3377
+
3378
+ - `Object` New mapped object.
3379
+
3380
+
3381
+
3382
+
3383
+ ### dist/general/object/objectCopy.js
3384
+
3385
+
3386
+ #### objectCopy(entity, cache)
3387
+
3388
+ Created a new reference of the given argument
3389
+
3390
+
3391
+
3392
+
3393
+ ##### Parameters
3394
+
3395
+ | Name | Type | Description | |
3396
+ | ---- | ---- | ----------- | -------- |
3397
+ | entity | | The variable to be copied | &nbsp; |
3398
+ | cache | | | &nbsp; |
3399
+
3400
+
3401
+
3402
+
3403
+ ##### Returns
3404
+
3405
+
3406
+ - A new reference of the given argument
3407
+
3408
+
3409
+
3410
+
3411
+ ### dist/general/object/omit.js
3412
+
3413
+
3414
+ #### omit(obj, props)
3415
+
3416
+ return a new Object excluding attributes in _props_ list
3417
+
3418
+
3419
+
3420
+
3421
+ ##### Parameters
3422
+
3423
+ | Name | Type | Description | |
3424
+ | ---- | ---- | ----------- | -------- |
3425
+ | obj | `Object` | base object | &nbsp; |
3426
+ | props | `Array.<String>` | list of attribute to exclude | &nbsp; |
3427
+
3428
+
3429
+
3430
+
3431
+ ##### Returns
3432
+
3433
+
3434
+ - `Object` clean object
2264
3435
 
2265
3436
 
2266
3437
 
2267
3438
 
2268
- ### dist/general/object/hasProperty.js
3439
+ ### dist/general/object/mergeDeep.js
2269
3440
 
2270
3441
 
2271
- #### _hasProperty(obj, property)
3442
+ #### mergeDeep(obj1, obj2, settings)
2272
3443
 
2273
- Use the hasOwnProperty in order to verify if the given property exists in the object.
3444
+ Merges two objects into a new one.
3445
+ The second given argument to the first given argument.
2274
3446
 
2275
3447
 
2276
3448
 
@@ -2279,46 +3451,303 @@ Use the hasOwnProperty in order to verify if the given property exists in the ob
2279
3451
 
2280
3452
  | Name | Type | Description | |
2281
3453
  | ---- | ---- | ----------- | -------- |
2282
- | obj | `object` | an object | &nbsp; |
2283
- | property | `string` | String to verify if exists in the object as property | &nbsp; |
3454
+ | obj1 | | The target object | &nbsp; |
3455
+ | obj2 | | The object to be merged | &nbsp; |
3456
+ | settings | | Object settings for this function | &nbsp; |
2284
3457
 
2285
3458
 
2286
3459
 
2287
3460
 
2288
- ##### Examples
3461
+ ##### Returns
3462
+
3463
+
3464
+ - a new merged object
3465
+
3466
+
3467
+
3468
+ #### isValid(obj1, obj2)
3469
+
3470
+ Validates if the two arguments are objects
3471
+
3472
+
3473
+
3474
+
3475
+ ##### Parameters
3476
+
3477
+ | Name | Type | Description | |
3478
+ | ---- | ---- | ----------- | -------- |
3479
+ | obj1 | | The target object | &nbsp; |
3480
+ | obj2 | | The object to be merged | &nbsp; |
3481
+
3482
+
3483
+
3484
+
3485
+ ##### Returns
3486
+
3487
+
3488
+ - true: they are valid; false: they are not
3489
+
3490
+
3491
+
3492
+ #### getParamsToMergeDeep(settings)
3493
+
3494
+ Validates and gets the settings with all set parameters.
3495
+
3496
+
3497
+
3498
+
3499
+ ##### Parameters
3500
+
3501
+ | Name | Type | Description | |
3502
+ | ---- | ---- | ----------- | -------- |
3503
+ | settings | | the settings object | &nbsp; |
3504
+
3505
+
3506
+
3507
+
3508
+ ##### Returns
3509
+
3510
+
3511
+ - a new settings object with all set parameters.
3512
+
3513
+
3514
+
3515
+
3516
+ ### dist/general/object/pick.js
3517
+
3518
+
3519
+ #### pick(baseObject, keys)
3520
+
3521
+ return a new object just with attributes in _keys_ list
3522
+
3523
+
3524
+
3525
+
3526
+ ##### Parameters
3527
+
3528
+ | Name | Type | Description | |
3529
+ | ---- | ---- | ----------- | -------- |
3530
+ | baseObject | `Object` | base object | &nbsp; |
3531
+ | keys | `Array.<String>` | list of attributes to preserve | &nbsp; |
3532
+
3533
+
3534
+
3535
+
3536
+ ##### Returns
3537
+
3538
+
3539
+ - `Object` new object just with desired attributes
3540
+
3541
+
3542
+
3543
+
3544
+ ### dist/general/object/serialize.js
3545
+
3546
+
3547
+ #### serialize(obj)
3548
+
3549
+ serialize object to url param
3550
+
3551
+
3552
+
3553
+
3554
+ ##### Parameters
3555
+
3556
+ | Name | Type | Description | |
3557
+ | ---- | ---- | ----------- | -------- |
3558
+ | obj | | - Object to be serialized | &nbsp; |
3559
+
3560
+
3561
+
3562
+
3563
+ ##### Returns
3564
+
3565
+
3566
+ - `Void`
3567
+
3568
+
3569
+
3570
+
3571
+ ### dist/qrvey/helpers/areStaticColumnValues.js
3572
+
3573
+
3574
+ #### areStaticColumnValues(column)
3575
+
3576
+ Determines if the given column is belonging to static values questions.
3577
+ Static values questions are questions that do not need request an info from backend, instead the info is got from Model, Question/List object.
3578
+
3579
+
3580
+
3581
+
3582
+ ##### Parameters
3583
+
3584
+ | Name | Type | Description | |
3585
+ | ---- | ---- | ----------- | -------- |
3586
+ | column | | The question column | &nbsp; |
3587
+
3588
+
3589
+
3590
+
3591
+ ##### Returns
3592
+
3593
+
3594
+ - true if the column belongs to a static values question; otherwise, false
3595
+
3596
+
3597
+
3598
+
3599
+ ### dist/qrvey/helpers/getCategorizableExpression.js
3600
+
3601
+
3602
+ #### getCategorizableExpression(column, dataset)
3603
+
3604
+ Special function for Expression Columns.
3605
+ This function allows validating if expression columns have active category option.
3606
+ This is esential in order to display the asigned property for expression.
3607
+
3608
+
3609
+
3610
+
3611
+ ##### Parameters
3612
+
3613
+ | Name | Type | Description | |
3614
+ | ---- | ---- | ----------- | -------- |
3615
+ | column | | The column with info | &nbsp; |
3616
+ | dataset | | the dataset object to search the column | &nbsp; |
3617
+
3618
+
3619
+
3620
+
3621
+ ##### Returns
3622
+
3623
+
3624
+ - true if expression column is categorizable; otherwise not. If does not exist, undefined is sent.
3625
+
3626
+
3627
+
3628
+
3629
+ ### dist/qrvey/helpers/getDataAnswersByColumn.js
3630
+
3631
+
3632
+ #### getDataAnswersByColumn(column, model, property)
3633
+
3634
+ Get answers located in model object. If column exists in the model, answers will be gotten depending on column type.
3635
+ For Rating columns, needs a number sequence (From 1 to 5).
3636
+ For Expression columns, needs a property type attribute for categorizable ones; for non-categorizable expressions is not required this attribute.
3637
+ For the others columns, answers is located in the property of the same name.
3638
+
3639
+
3640
+
3641
+
3642
+ ##### Parameters
3643
+
3644
+ | Name | Type | Description | |
3645
+ | ---- | ---- | ----------- | -------- |
3646
+ | column | | Info of the column | &nbsp; |
3647
+ | model | | The model object | &nbsp; |
3648
+ | property | | Optional Attribute, especially for expression columns. | &nbsp; |
3649
+
3650
+
3651
+
3652
+
3653
+ ##### Returns
3654
+
3655
+
3656
+ - Formatted answers inside of answer property.
3657
+
3658
+
3659
+
3660
+
3661
+ ### dist/qrvey/helpers/getExpressionAnswers.js
3662
+
3663
+
3664
+ #### getExpressionAnswers(column, property)
3665
+
3666
+ Get the answers of expression columns. Depends of the property attribute and if the column is categorizable.
3667
+
3668
+
3669
+
3670
+
3671
+ ##### Parameters
3672
+
3673
+ | Name | Type | Description | |
3674
+ | ---- | ---- | ----------- | -------- |
3675
+ | column | | The column located inside the model object. | &nbsp; |
3676
+ | property | | Optional Attribute, especially for expression columns. | &nbsp; |
3677
+
3678
+
3679
+
3680
+
3681
+ ##### Returns
3682
+
3683
+
3684
+ - Formatted answers inside of an answer property.
3685
+
3686
+
3687
+
3688
+
3689
+ ### dist/qrvey/helpers/getDropdownAnswers.js
3690
+
3691
+
3692
+ #### getDropdownAnswers(question)
3693
+
3694
+ Get the answers of dropdown columns.
3695
+ Answers is a direct array of strings so it is necessary to format them.
3696
+
3697
+
3698
+
3699
+
3700
+ ##### Parameters
3701
+
3702
+ | Name | Type | Description | |
3703
+ | ---- | ---- | ----------- | -------- |
3704
+ | question | | The column located inside the model object. | &nbsp; |
3705
+
3706
+
3707
+
3708
+
3709
+ ##### Returns
3710
+
3711
+
3712
+ - Formatted answers inside of an answer property.
3713
+
3714
+
3715
+
3716
+
3717
+ ### dist/qrvey/helpers/getImageAnswers.js
3718
+
3719
+
3720
+ #### getImageAnswers(column)
3721
+
3722
+ Get the answers of image columns.
3723
+
3724
+
3725
+
3726
+
3727
+ ##### Parameters
3728
+
3729
+ | Name | Type | Description | |
3730
+ | ---- | ---- | ----------- | -------- |
3731
+ | column | | The column located inside the model object. | &nbsp; |
2289
3732
 
2290
- ```javascript
2291
- const prop = 'prop2'
2292
- const obj1 = { prop1: 'hello', prop2: 'world'}
2293
- _hasProperty(ob1, prop1) // true
2294
3733
 
2295
- const obj2 = { prop1: 'hello world' }
2296
- _hasProperty(ob1, prop2) // false
2297
- ```
2298
3734
 
2299
3735
 
2300
3736
  ##### Returns
2301
3737
 
2302
3738
 
2303
- - True if the object has the given property; otherwise, false.
3739
+ - Formatted answers inside of an answer property.
2304
3740
 
2305
3741
 
2306
3742
 
2307
3743
 
2308
- ### dist/general/object/getAttribute.js
3744
+ ### dist/qrvey/helpers/getImageUploadHasAnalysis.js
2309
3745
 
2310
3746
 
2311
- #### getAttribute(obj, key)
3747
+ #### getImageUploadHasAnalysis(column, model)
2312
3748
 
2313
- Searchs for properties in different case styles such as: lower, upper, camel and pascal
2314
- - To optimize the searching, it is required a key in a snake_case style
2315
- - List of cases that do not match
2316
- -- From lower to snake case
2317
- -- From upper to snake case
2318
- -- From lower to camel case
2319
- -- From upper to camel case
2320
- -- From lower to pascal case
2321
- -- From upper to pascal case
3749
+ Special function for Image Upload
3750
+ This function returns if the current column has object or text analysis as property.
2322
3751
 
2323
3752
 
2324
3753
 
@@ -2327,33 +3756,26 @@ Searchs for properties in different case styles such as: lower, upper, camel and
2327
3756
 
2328
3757
  | Name | Type | Description | |
2329
3758
  | ---- | ---- | ----------- | -------- |
2330
- | obj | `object` | object to look for | &nbsp; |
2331
- | key | `string` | String attribute in snake_case style | &nbsp; |
3759
+ | column | | The column with info | &nbsp; |
3760
+ | model | | The model object | &nbsp; |
2332
3761
 
2333
3762
 
2334
3763
 
2335
3764
 
2336
- ##### Examples
2337
-
2338
- ```javascript
2339
- getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2340
- ```
2341
-
2342
-
2343
3765
  ##### Returns
2344
3766
 
2345
3767
 
2346
- - `Void`
3768
+ - true if this column has analysis. Otherwise false.
2347
3769
 
2348
3770
 
2349
3771
 
2350
3772
 
2351
- ### dist/general/object/isObject.js
3773
+ ### dist/qrvey/helpers/getRatingAnswers.js
2352
3774
 
2353
3775
 
2354
- #### isObject(obj)
3776
+ #### getRatingAnswers(_question)
2355
3777
 
2356
- Checks if the given argument is an object type
3778
+ Get the answers of rating columns.
2357
3779
 
2358
3780
 
2359
3781
 
@@ -2362,7 +3784,7 @@ Checks if the given argument is an object type
2362
3784
 
2363
3785
  | Name | Type | Description | |
2364
3786
  | ---- | ---- | ----------- | -------- |
2365
- | obj | | the variable to check | &nbsp; |
3787
+ | _question | | The column located inside the model object. | &nbsp; |
2366
3788
 
2367
3789
 
2368
3790
 
@@ -2370,18 +3792,17 @@ Checks if the given argument is an object type
2370
3792
  ##### Returns
2371
3793
 
2372
3794
 
2373
- - True: It is an object; False: It is not.
3795
+ - Formatted answers inside of an answer property
2374
3796
 
2375
3797
 
2376
3798
 
2377
3799
 
2378
- ### dist/general/object/mapValues.js
3800
+ ### dist/qrvey/helpers/getSlidebarAnswers.js
2379
3801
 
2380
3802
 
2381
- #### mapValues(baseObject, iteratee)
3803
+ #### getSlidebarAnswers(_question)
2382
3804
 
2383
- Invoke iteratee (function) for each object key-value pair
2384
- and return a mapped object
3805
+ Get the answers of slidebar columns. The quantity of answers depend on the steps chosen in maker.
2385
3806
 
2386
3807
 
2387
3808
 
@@ -2390,8 +3811,7 @@ and return a mapped object
2390
3811
 
2391
3812
  | Name | Type | Description | |
2392
3813
  | ---- | ---- | ----------- | -------- |
2393
- | baseObject | `Object` | Base object. | &nbsp; |
2394
- | iteratee | `Function` | The executed per iteration. | &nbsp; |
3814
+ | _question | | The column located inside the model object. | &nbsp; |
2395
3815
 
2396
3816
 
2397
3817
 
@@ -2399,18 +3819,17 @@ and return a mapped object
2399
3819
  ##### Returns
2400
3820
 
2401
3821
 
2402
- - `Object` New mapped object.
3822
+ - Formatted answers inside of an answer property
2403
3823
 
2404
3824
 
2405
3825
 
2406
3826
 
2407
- ### dist/general/object/mergeDeep.js
3827
+ ### dist/qrvey/helpers/getSuffixTranslateByColumn.js
2408
3828
 
2409
3829
 
2410
- #### mergeDeep(obj1, obj2, settings)
3830
+ #### getSuffixTranslateByColumn(column)
2411
3831
 
2412
- Merges two objects into a new one.
2413
- The second given argument to the first given argument.
3832
+ Gets a string of the translate structure by the given column
2414
3833
 
2415
3834
 
2416
3835
 
@@ -2419,9 +3838,7 @@ The second given argument to the first given argument.
2419
3838
 
2420
3839
  | Name | Type | Description | |
2421
3840
  | ---- | ---- | ----------- | -------- |
2422
- | obj1 | | The target object | &nbsp; |
2423
- | obj2 | | The object to be merged | &nbsp; |
2424
- | settings | | Object settings for this function | &nbsp; |
3841
+ | column | | the Info of the column | &nbsp; |
2425
3842
 
2426
3843
 
2427
3844
 
@@ -2429,13 +3846,18 @@ The second given argument to the first given argument.
2429
3846
  ##### Returns
2430
3847
 
2431
3848
 
2432
- - a new merged object
3849
+ - a string of the translation structure where the label is located.
2433
3850
 
2434
3851
 
2435
3852
 
2436
- #### isValid(obj1, obj2)
2437
3853
 
2438
- Validates if the two arguments are objects
3854
+ ### dist/qrvey/helpers/getValueWithSuffixes.js
3855
+
3856
+
3857
+ #### getValueWithSuffixes(value, suffixes)
3858
+
3859
+ Get a string value with suffixes if available.
3860
+ Add suffix into the value string. Prioritized for numeric values.
2439
3861
 
2440
3862
 
2441
3863
 
@@ -2444,8 +3866,8 @@ Validates if the two arguments are objects
2444
3866
 
2445
3867
  | Name | Type | Description | |
2446
3868
  | ---- | ---- | ----------- | -------- |
2447
- | obj1 | | The target object | &nbsp; |
2448
- | obj2 | | The object to be merged | &nbsp; |
3869
+ | value | | a number or string | &nbsp; |
3870
+ | suffixes | | An object with singular or plural suffix string. | &nbsp; |
2449
3871
 
2450
3872
 
2451
3873
 
@@ -2453,13 +3875,18 @@ Validates if the two arguments are objects
2453
3875
  ##### Returns
2454
3876
 
2455
3877
 
2456
- - true: they are valid; false: they are not
3878
+ - a string value with suffix
2457
3879
 
2458
3880
 
2459
3881
 
2460
- #### getParamsToMergeDeep(settings)
2461
3882
 
2462
- Validates and gets the settings with all set parameters.
3883
+ ### dist/qrvey/helpers/getYesNoAnswers.js
3884
+
3885
+
3886
+ #### getYesNoAnswers(column)
3887
+
3888
+ Get the answers of Yes/No columns.
3889
+ Yes/No answers from model object are capitalized but the filters need values in lowercase.
2463
3890
 
2464
3891
 
2465
3892
 
@@ -2468,7 +3895,7 @@ Validates and gets the settings with all set parameters.
2468
3895
 
2469
3896
  | Name | Type | Description | |
2470
3897
  | ---- | ---- | ----------- | -------- |
2471
- | settings | | the settings object | &nbsp; |
3898
+ | column | | The column located inside the model object. | &nbsp; |
2472
3899
 
2473
3900
 
2474
3901
 
@@ -2476,17 +3903,17 @@ Validates and gets the settings with all set parameters.
2476
3903
  ##### Returns
2477
3904
 
2478
3905
 
2479
- - a new settings object with all set parameters.
3906
+ - Formatted answers inside of an answer property
2480
3907
 
2481
3908
 
2482
3909
 
2483
3910
 
2484
- ### dist/general/object/objectCopy.js
3911
+ ### dist/qrvey/helpers/transformValue.js
2485
3912
 
2486
3913
 
2487
- #### objectCopy(entity, cache)
3914
+ #### transformValue(value, settings)
2488
3915
 
2489
- Created a new reference of the given argument
3916
+ Transforms a value depending of localization/globalization and extras settings.
2490
3917
 
2491
3918
 
2492
3919
 
@@ -2495,8 +3922,8 @@ Created a new reference of the given argument
2495
3922
 
2496
3923
  | Name | Type | Description | |
2497
3924
  | ---- | ---- | ----------- | -------- |
2498
- | entity | | The variable to be copied | &nbsp; |
2499
- | cache | | | &nbsp; |
3925
+ | value | | A value to transform | &nbsp; |
3926
+ | settings | | The settings of the transformValue function | &nbsp; |
2500
3927
 
2501
3928
 
2502
3929
 
@@ -2504,17 +3931,13 @@ Created a new reference of the given argument
2504
3931
  ##### Returns
2505
3932
 
2506
3933
 
2507
- - A new reference of the given argument
2508
-
2509
-
2510
-
3934
+ - A transformed value
2511
3935
 
2512
- ### dist/general/object/omit.js
2513
3936
 
2514
3937
 
2515
- #### omit(obj, props)
3938
+ #### getOutputFormat(settings)
2516
3939
 
2517
- return a new Object excluding attributes in _props_ list
3940
+ Gets the outputformat settings
2518
3941
 
2519
3942
 
2520
3943
 
@@ -2523,8 +3946,7 @@ return a new Object excluding attributes in _props_ list
2523
3946
 
2524
3947
  | Name | Type | Description | |
2525
3948
  | ---- | ---- | ----------- | -------- |
2526
- | obj | `Object` | base object | &nbsp; |
2527
- | props | `Array.<String>` | list of attribute to exclude | &nbsp; |
3949
+ | settings | | The settings of the transformValue function | &nbsp; |
2528
3950
 
2529
3951
 
2530
3952
 
@@ -2532,17 +3954,13 @@ return a new Object excluding attributes in _props_ list
2532
3954
  ##### Returns
2533
3955
 
2534
3956
 
2535
- - `Object` clean object
2536
-
2537
-
3957
+ - the outputformat settings
2538
3958
 
2539
3959
 
2540
- ### dist/general/object/pick.js
2541
-
2542
3960
 
2543
- #### pick(baseObject, keys)
3961
+ #### getFormatConfig(settings)
2544
3962
 
2545
- return a new object just with attributes in _keys_ list
3963
+ Gets the format config
2546
3964
 
2547
3965
 
2548
3966
 
@@ -2551,8 +3969,7 @@ return a new object just with attributes in _keys_ list
2551
3969
 
2552
3970
  | Name | Type | Description | |
2553
3971
  | ---- | ---- | ----------- | -------- |
2554
- | baseObject | `Object` | base object | &nbsp; |
2555
- | keys | `Array.<String>` | list of attributes to preserve | &nbsp; |
3972
+ | settings | | The settings of the transformValue function | &nbsp; |
2556
3973
 
2557
3974
 
2558
3975
 
@@ -2560,17 +3977,17 @@ return a new object just with attributes in _keys_ list
2560
3977
  ##### Returns
2561
3978
 
2562
3979
 
2563
- - `Object` new object just with desired attributes
3980
+ - the format config
2564
3981
 
2565
3982
 
2566
3983
 
2567
3984
 
2568
- ### dist/general/object/serialize.js
3985
+ ### dist/services/adapters/BBranchesMapToUIBranchesMap.adapter.js
2569
3986
 
2570
3987
 
2571
- #### serialize(obj)
3988
+ #### BBranchesMapToUIBranchesMap(branchesMap)
3989
+
2572
3990
 
2573
- serialize object to url param
2574
3991
 
2575
3992
 
2576
3993
 
@@ -2579,7 +3996,7 @@ serialize object to url param
2579
3996
 
2580
3997
  | Name | Type | Description | |
2581
3998
  | ---- | ---- | ----------- | -------- |
2582
- | obj | | - Object to be serialized | &nbsp; |
3999
+ | branchesMap | | | &nbsp; |
2583
4000
 
2584
4001
 
2585
4002
 
@@ -2587,17 +4004,21 @@ serialize object to url param
2587
4004
  ##### Returns
2588
4005
 
2589
4006
 
2590
- - `Void`
4007
+ -
2591
4008
 
2592
4009
 
2593
4010
 
2594
4011
 
2595
- ### dist/qrvey/helpers/getColumnsLabel.js
4012
+ ### dist/services/api/getAllDatasets.api.js
2596
4013
 
2597
4014
 
2598
- #### getColumnLabels(column)
4015
+ #### getAllDatasets(config, qrveyids)
2599
4016
 
2600
- Get an string of the properties of the given column.
4017
+ Get a dataset list from a collection of Qrvey IDs
4018
+ Considerations for qrveyids second argument:
4019
+ - If it is a undefined argument, the function will return all available datasets of the app
4020
+ - If it is a empty array argument, the function will return an empty dataset list. (A request will not be executed)
4021
+ - If it is a non-empty array argument, the function will return a set of available datasets
2601
4022
 
2602
4023
 
2603
4024
 
@@ -2606,7 +4027,8 @@ Get an string of the properties of the given column.
2606
4027
 
2607
4028
  | Name | Type | Description | |
2608
4029
  | ---- | ---- | ----------- | -------- |
2609
- | column | | The column | &nbsp; |
4030
+ | config | | the widget config. Includes general configuration properties | &nbsp; |
4031
+ | qrveyids | | Collection of Qrvey IDs for returning a set of available datasets | &nbsp; |
2610
4032
 
2611
4033
 
2612
4034
 
@@ -2614,7 +4036,7 @@ Get an string of the properties of the given column.
2614
4036
  ##### Returns
2615
4037
 
2616
4038
 
2617
- - an string with the property, aggregate or calculation label.
4039
+ - a promise that if it is resolved displays a collection of dataset info.
2618
4040
 
2619
4041
 
2620
4042
 
@@ -2624,7 +4046,7 @@ Get an string of the properties of the given column.
2624
4046
 
2625
4047
  #### getAllQrveys(config, params)
2626
4048
 
2627
- POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
4049
+ Request function for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2628
4050
 
2629
4051
 
2630
4052
 
@@ -2674,12 +4096,12 @@ Get a dataset by Qrvey ID
2674
4096
 
2675
4097
 
2676
4098
 
2677
- ### dist/services/api/getAllDatasets.api.js
4099
+ ### dist/services/api/getDatasetsByIds.api.js
2678
4100
 
2679
4101
 
2680
- #### getAllDatasets(qrveyids)
4102
+ #### getDatasetsByIds(qrveyid)
2681
4103
 
2682
- Get a dataset list from a collection of Qrvey IDs
4104
+ Get a dataset by Qrvey ID
2683
4105
 
2684
4106
 
2685
4107
 
@@ -2688,7 +4110,7 @@ Get a dataset list from a collection of Qrvey IDs
2688
4110
 
2689
4111
  | Name | Type | Description | |
2690
4112
  | ---- | ---- | ----------- | -------- |
2691
- | qrveyids | | Collection of Qrvey IDs | &nbsp; |
4113
+ | qrveyid | | The Qrvey ID | &nbsp; |
2692
4114
 
2693
4115
 
2694
4116
 
@@ -2785,12 +4207,12 @@ try to find this string as a variable on Windows object
2785
4207
 
2786
4208
 
2787
4209
 
2788
- ### dist/typescript/decorators/Debounce.js
4210
+ ### dist/typescript/decorators/Throttled.js
2789
4211
 
2790
4212
 
2791
- #### Debounce(time)
4213
+ #### Throttled(time)
2792
4214
 
2793
- (Method Decorator) Debounce Class Method
4215
+ (Method Decorator) Throttled Class Method
2794
4216
 
2795
4217
 
2796
4218
 
@@ -2812,12 +4234,12 @@ try to find this string as a variable on Windows object
2812
4234
 
2813
4235
 
2814
4236
 
2815
- ### dist/typescript/decorators/Throttled.js
4237
+ ### dist/typescript/decorators/Debounce.js
2816
4238
 
2817
4239
 
2818
- #### Throttled(time)
4240
+ #### Debounce(time)
2819
4241
 
2820
- (Method Decorator) Throttled Class Method
4242
+ (Method Decorator) Debounce Class Method
2821
4243
 
2822
4244
 
2823
4245
 
@@ -3217,6 +4639,33 @@ Gets filters from the logic by the scopes hierarchy.
3217
4639
 
3218
4640
 
3219
4641
 
4642
+ ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
4643
+
4644
+
4645
+ #### getFilterBuilderGeneralConfig(config)
4646
+
4647
+ Returns a filter builder config object by a any given config
4648
+
4649
+
4650
+
4651
+
4652
+ ##### Parameters
4653
+
4654
+ | Name | Type | Description | |
4655
+ | ---- | ---- | ----------- | -------- |
4656
+ | config | | any config object | &nbsp; |
4657
+
4658
+
4659
+
4660
+
4661
+ ##### Returns
4662
+
4663
+
4664
+ - The filter builder config object
4665
+
4666
+
4667
+
4668
+
3220
4669
  ### dist/filters/helpers/common/areFiltersEquals.js
3221
4670
 
3222
4671
 
@@ -3631,6 +5080,60 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
3631
5080
 
3632
5081
 
3633
5082
 
5083
+ ### dist/filters/helpers/common/getValuesFromDataset.js
5084
+
5085
+
5086
+ #### getValuesFromDataset(props)
5087
+
5088
+ Gets the values from the model object that will be used to filter. Static values are values to belong from static values questions. Static values questions are questions that do not need request an info from backend, instead the info is got from Model object.
5089
+
5090
+
5091
+
5092
+
5093
+ ##### Parameters
5094
+
5095
+ | Name | Type | Description | |
5096
+ | ---- | ---- | ----------- | -------- |
5097
+ | props | | Configuration to get static values from the given dataset. | &nbsp; |
5098
+
5099
+
5100
+
5101
+
5102
+ ##### Returns
5103
+
5104
+
5105
+ - The values.
5106
+
5107
+
5108
+
5109
+
5110
+ ### dist/filters/helpers/common/getValuesFromModel.js
5111
+
5112
+
5113
+ #### getValuesFromModel(props)
5114
+
5115
+ Gets the values from the model object that will be used to filter. Static values are values to belong from static values questions. Static values questions are questions that do not need request an info from backend, instead the info is got from Model object.
5116
+
5117
+
5118
+
5119
+
5120
+ ##### Parameters
5121
+
5122
+ | Name | Type | Description | |
5123
+ | ---- | ---- | ----------- | -------- |
5124
+ | props | | Configuration to get static values from the given model. | &nbsp; |
5125
+
5126
+
5127
+
5128
+
5129
+ ##### Returns
5130
+
5131
+
5132
+ - The values.
5133
+
5134
+
5135
+
5136
+
3634
5137
  ### dist/filters/helpers/common/haveFiltersByDataset.js
3635
5138
 
3636
5139
 
@@ -4041,33 +5544,6 @@ Resolves the conditions by given params
4041
5544
 
4042
5545
 
4043
5546
 
4044
- ### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
4045
-
4046
-
4047
- #### getFilterBuilderGeneralConfig(config)
4048
-
4049
- Returns a filter builder config object by a any given config
4050
-
4051
-
4052
-
4053
-
4054
- ##### Parameters
4055
-
4056
- | Name | Type | Description | |
4057
- | ---- | ---- | ----------- | -------- |
4058
- | config | | any config object | &nbsp; |
4059
-
4060
-
4061
-
4062
-
4063
- ##### Returns
4064
-
4065
-
4066
- - The filter builder config object
4067
-
4068
-
4069
-
4070
-
4071
5547
  ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
4072
5548
 
4073
5549
 
@@ -4178,6 +5654,34 @@ Gets output format object from Datasets by the given column. Item of the dataset
4178
5654
 
4179
5655
 
4180
5656
 
5657
+ ### dist/filters/helpers/ui/getQrveyIdsByUIFilters.js
5658
+
5659
+
5660
+ #### getQrveyIdsByUIFilters(uiFilter)
5661
+
5662
+ Gets a collection of Qrvey IDs in the UI Filter structure.
5663
+ Looks around all filter structure finding the qrveyid propertty in each dataset
5664
+
5665
+
5666
+
5667
+
5668
+ ##### Parameters
5669
+
5670
+ | Name | Type | Description | |
5671
+ | ---- | ---- | ----------- | -------- |
5672
+ | uiFilter | | | &nbsp; |
5673
+
5674
+
5675
+
5676
+
5677
+ ##### Returns
5678
+
5679
+
5680
+ - `Void`
5681
+
5682
+
5683
+
5684
+
4181
5685
  ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
4182
5686
 
4183
5687
 
@@ -4292,7 +5796,35 @@ Filters and gets a UI Flatten Filters by the given scopes
4292
5796
 
4293
5797
 
4294
5798
 
4295
- ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
5799
+ ### dist/filters/helpers/ui/getUpdatedUIFilters.js
5800
+
5801
+
5802
+ #### getUpdatedUIFilters(data, datasets)
5803
+
5804
+ Gets a new UI Filter structure with a datasets/columns info updates
5805
+
5806
+
5807
+
5808
+
5809
+ ##### Parameters
5810
+
5811
+ | Name | Type | Description | |
5812
+ | ---- | ---- | ----------- | -------- |
5813
+ | data | | The UI Filter structure | &nbsp; |
5814
+ | datasets | | An array of datasets/column info used for updating the data | &nbsp; |
5815
+
5816
+
5817
+
5818
+
5819
+ ##### Returns
5820
+
5821
+
5822
+ - A new UI FIlter structure
5823
+
5824
+
5825
+
5826
+
5827
+ ### dist/filters/helpers/ui/resolveUIFlatFilterByParams.js
4296
5828
 
4297
5829
 
4298
5830
  #### resolveUIFlatFilterByParams(filter, params)