@qrvey/utils 1.2.4-9 → 1.2.5

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 (496) hide show
  1. package/README.md +373 -373
  2. package/dist/charts/helpers/index.d.ts +3 -0
  3. package/dist/charts/helpers/index.js +3 -0
  4. package/dist/charts/helpers/isExpandableTableChart.d.ts +1 -0
  5. package/dist/charts/helpers/isExpandableTableChart.js +4 -0
  6. package/dist/charts/helpers/isSimpleTableChart.d.ts +1 -0
  7. package/dist/charts/helpers/isSimpleTableChart.js +5 -0
  8. package/dist/charts/helpers/isTableChart.d.ts +1 -0
  9. package/dist/charts/helpers/isTableChart.js +4 -0
  10. package/dist/cjs/charts/helpers/index.d.ts +3 -0
  11. package/dist/cjs/{globalization/interfaces → charts/helpers}/index.js +3 -3
  12. package/dist/cjs/charts/helpers/isExpandableTableChart.d.ts +1 -0
  13. package/dist/cjs/charts/helpers/isExpandableTableChart.js +8 -0
  14. package/dist/cjs/charts/helpers/isSimpleTableChart.d.ts +1 -0
  15. package/dist/cjs/charts/helpers/isSimpleTableChart.js +9 -0
  16. package/dist/cjs/charts/helpers/isTableChart.d.ts +1 -0
  17. package/dist/cjs/charts/helpers/isTableChart.js +8 -0
  18. package/dist/cjs/columns/constants/COLUMN_INFO.js +1 -2
  19. package/dist/cjs/columns/interfaces/IColumn.d.ts +3 -3
  20. package/dist/cjs/columns/interfaces/IColumnAggregateType.d.ts +2 -0
  21. package/dist/cjs/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
  22. package/dist/cjs/{qrvey/interfaces/ICalculationType.d.ts → columns/interfaces/IColumnCalculationType.d.ts} +1 -1
  23. package/dist/cjs/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
  24. package/dist/cjs/columns/interfaces/index.d.ts +2 -0
  25. package/dist/cjs/columns/interfaces/index.js +2 -0
  26. package/dist/cjs/constants/Charts.Const.d.ts +1 -0
  27. package/dist/cjs/constants/Charts.Const.js +1 -0
  28. package/dist/cjs/filters/helpers/common/getFilterColumnLabel.js +1 -1
  29. package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
  30. package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
  31. package/dist/cjs/general/object/mergeDeep.js +7 -6
  32. package/dist/cjs/globalization/filters/FILTER_BUILDER.d.ts +129 -0
  33. package/dist/cjs/globalization/filters/FILTER_BUILDER.js +37 -0
  34. package/dist/cjs/globalization/filters/SLIDEBAR.d.ts +8 -0
  35. package/dist/cjs/globalization/{labels/filters/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +5 -3
  36. package/dist/cjs/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
  37. package/dist/cjs/globalization/{labels/filters/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +3 -2
  38. package/dist/cjs/globalization/filters/index.d.ts +3 -0
  39. package/dist/cjs/{charts → globalization/filters}/index.js +3 -2
  40. package/dist/cjs/globalization/index.d.ts +1 -3
  41. package/dist/cjs/globalization/index.js +1 -3
  42. package/dist/cjs/index.d.ts +0 -1
  43. package/dist/cjs/index.js +0 -1
  44. package/dist/cjs/interfaces/Qrvey.Interface.d.ts +10 -0
  45. package/dist/cjs/interfaces/index.d.ts +1 -1
  46. package/dist/cjs/interfaces/index.js +1 -1
  47. package/dist/{charts → cjs/qrvey}/constants/AGGREGATE.d.ts +0 -0
  48. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE.js +0 -0
  49. package/dist/{charts → cjs/qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
  50. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
  51. package/dist/cjs/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
  52. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
  53. package/dist/cjs/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
  54. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
  55. package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
  56. package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.js +15 -0
  57. package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
  58. package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.js +2 -2
  59. package/dist/cjs/qrvey/constants/index.d.ts +4 -1
  60. package/dist/cjs/qrvey/constants/index.js +4 -1
  61. package/dist/{charts/interfaces/IAggregateType.d.ts → cjs/qrvey/interfaces/IAggregate.d.ts} +1 -1
  62. package/dist/cjs/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
  63. package/dist/cjs/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
  64. package/dist/cjs/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
  65. package/dist/cjs/qrvey/interfaces/index.d.ts +0 -4
  66. package/dist/cjs/qrvey/interfaces/index.js +0 -4
  67. package/dist/cjs/services/helpers/Request.js +1 -1
  68. package/dist/columns/constants/COLUMN_INFO.js +1 -2
  69. package/dist/columns/interfaces/IColumn.d.ts +3 -3
  70. package/dist/columns/interfaces/IColumnAggregateType.d.ts +2 -0
  71. package/dist/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
  72. package/dist/{qrvey/interfaces/ICalculationType.d.ts → columns/interfaces/IColumnCalculationType.d.ts} +1 -1
  73. package/dist/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
  74. package/dist/columns/interfaces/index.d.ts +2 -0
  75. package/dist/columns/interfaces/index.js +2 -0
  76. package/dist/constants/Charts.Const.d.ts +1 -0
  77. package/dist/constants/Charts.Const.js +1 -0
  78. package/dist/filters/helpers/common/getFilterColumnLabel.js +1 -1
  79. package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
  80. package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
  81. package/dist/general/object/mergeDeep.js +7 -6
  82. package/dist/globalization/filters/FILTER_BUILDER.d.ts +129 -0
  83. package/dist/globalization/filters/FILTER_BUILDER.js +34 -0
  84. package/dist/globalization/filters/SLIDEBAR.d.ts +8 -0
  85. package/dist/globalization/filters/SLIDEBAR.js +8 -0
  86. package/dist/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
  87. package/dist/globalization/{labels/filters/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +2 -1
  88. package/dist/globalization/filters/index.d.ts +3 -0
  89. package/dist/globalization/filters/index.js +3 -0
  90. package/dist/globalization/index.d.ts +1 -3
  91. package/dist/globalization/index.js +1 -3
  92. package/dist/index.d.ts +0 -1
  93. package/dist/index.js +0 -1
  94. package/dist/interfaces/Qrvey.Interface.d.ts +10 -0
  95. package/dist/interfaces/index.d.ts +1 -1
  96. package/dist/interfaces/index.js +1 -1
  97. package/dist/{cjs/charts → qrvey}/constants/AGGREGATE.d.ts +0 -0
  98. package/dist/{charts → qrvey}/constants/AGGREGATE.js +0 -0
  99. package/dist/{cjs/charts → qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
  100. package/dist/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
  101. package/dist/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
  102. package/dist/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
  103. package/dist/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
  104. package/dist/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
  105. package/dist/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
  106. package/dist/qrvey/constants/AGGREGATE_LABEL.js +12 -0
  107. package/dist/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
  108. package/dist/qrvey/constants/CALCULATION_INFO_LIST.js +1 -1
  109. package/dist/qrvey/constants/index.d.ts +4 -1
  110. package/dist/qrvey/constants/index.js +4 -1
  111. package/dist/{cjs/charts/interfaces/IAggregateType.d.ts → qrvey/interfaces/IAggregate.d.ts} +1 -1
  112. package/dist/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
  113. package/dist/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
  114. package/dist/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
  115. package/dist/qrvey/interfaces/index.d.ts +0 -4
  116. package/dist/qrvey/interfaces/index.js +0 -4
  117. package/dist/services/helpers/Request.js +1 -1
  118. package/package.json +5 -7
  119. package/src/charts/helpers/index.ts +3 -0
  120. package/src/charts/helpers/isExpandableTableChart.ts +5 -0
  121. package/src/charts/helpers/isSimpleTableChart.ts +5 -0
  122. package/src/charts/helpers/isTableChart.ts +5 -0
  123. package/src/columns/constants/COLUMN_INFO.ts +28 -29
  124. package/src/columns/interfaces/IColumn.ts +3 -3
  125. package/src/columns/interfaces/IColumnAggregateType.ts +3 -0
  126. package/src/{qrvey/interfaces/ICalculationType.ts → columns/interfaces/IColumnCalculationType.ts} +1 -1
  127. package/src/columns/interfaces/index.ts +2 -0
  128. package/src/constants/Charts.Const.ts +1 -0
  129. package/src/filters/helpers/common/getFilterColumnLabel.ts +1 -1
  130. package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +0 -2
  131. package/src/filters/interfaces/panel/IFilterPanelConfig.ts +0 -2
  132. package/src/general/object/mergeDeep.ts +8 -7
  133. package/src/globalization/filters/FILTER_BUILDER.ts +35 -0
  134. package/src/globalization/filters/SLIDEBAR.ts +8 -0
  135. package/src/globalization/{labels/filters/I18N_VALUE_CONTAINER.ts → filters/VALUES_CONTAINER.ts} +2 -3
  136. package/src/globalization/filters/index.ts +3 -0
  137. package/src/globalization/index.ts +1 -3
  138. package/src/index.ts +0 -1
  139. package/src/interfaces/Qrvey.Interface.ts +11 -0
  140. package/src/interfaces/index.ts +1 -1
  141. package/src/{charts → qrvey}/constants/AGGREGATE.ts +0 -0
  142. package/src/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.ts +0 -0
  143. package/src/{charts → qrvey}/constants/AGGREGATE_INFO.ts +2 -2
  144. package/src/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.ts +0 -0
  145. package/src/qrvey/constants/AGGREGATE_LABEL.ts +11 -0
  146. package/src/qrvey/constants/CALCULATION_INFO_LIST.ts +1 -1
  147. package/src/qrvey/constants/index.ts +4 -1
  148. package/src/{charts/interfaces/IAggregateType.ts → qrvey/interfaces/IAggregate.ts} +1 -1
  149. package/src/qrvey/interfaces/IAggregateInfo.ts +7 -0
  150. package/src/qrvey/interfaces/index.ts +1 -5
  151. package/src/services/helpers/Request.ts +1 -1
  152. package/src/stencil/util/index.ts +1 -1
  153. package/dist/charts/constants/AGGREGATE_INFO.d.ts +0 -5
  154. package/dist/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
  155. package/dist/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
  156. package/dist/charts/constants/AGGREGATE_LABEL.js +0 -12
  157. package/dist/charts/constants/index.d.ts +0 -5
  158. package/dist/charts/constants/index.js +0 -5
  159. package/dist/charts/index.d.ts +0 -2
  160. package/dist/charts/index.js +0 -2
  161. package/dist/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
  162. package/dist/charts/interfaces/IAggregateInfo.d.ts +0 -9
  163. package/dist/charts/interfaces/IAggregateLabel.d.ts +0 -2
  164. package/dist/charts/interfaces/index.d.ts +0 -4
  165. package/dist/charts/interfaces/index.js +0 -4
  166. package/dist/cjs/charts/constants/AGGREGATE_INFO.d.ts +0 -5
  167. package/dist/cjs/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
  168. package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
  169. package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +0 -15
  170. package/dist/cjs/charts/constants/index.d.ts +0 -5
  171. package/dist/cjs/charts/constants/index.js +0 -17
  172. package/dist/cjs/charts/index.d.ts +0 -2
  173. package/dist/cjs/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
  174. package/dist/cjs/charts/interfaces/IAggregateInfo.d.ts +0 -9
  175. package/dist/cjs/charts/interfaces/IAggregateLabel.d.ts +0 -2
  176. package/dist/cjs/charts/interfaces/index.d.ts +0 -4
  177. package/dist/cjs/charts/interfaces/index.js +0 -16
  178. package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +0 -14
  179. package/dist/cjs/globalization/interfaces/IResourceI18n.js +0 -2
  180. package/dist/cjs/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
  181. package/dist/cjs/globalization/interfaces/columns/II18nColumn.js +0 -2
  182. package/dist/cjs/globalization/interfaces/columns/index.d.ts +0 -1
  183. package/dist/cjs/globalization/interfaces/columns/index.js +0 -13
  184. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
  185. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.js +0 -2
  186. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
  187. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -2
  188. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
  189. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -2
  190. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
  191. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -2
  192. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
  193. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.js +0 -2
  194. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +0 -13
  195. package/dist/cjs/globalization/interfaces/common/II18nCommon.js +0 -2
  196. package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -6
  197. package/dist/cjs/globalization/interfaces/common/index.js +0 -18
  198. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
  199. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.js +0 -2
  200. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
  201. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -2
  202. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
  203. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -2
  204. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
  205. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -2
  206. package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +0 -4
  207. package/dist/cjs/globalization/interfaces/dashboard/index.js +0 -16
  208. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
  209. package/dist/cjs/globalization/interfaces/filters/II18nFilter.js +0 -2
  210. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
  211. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.js +0 -2
  212. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
  213. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -2
  214. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
  215. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -2
  216. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
  217. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -2
  218. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
  219. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -2
  220. package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
  221. package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.js +0 -2
  222. package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.d.ts +0 -6
  223. package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.js +0 -2
  224. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +0 -4
  225. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.js +0 -2
  226. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +0 -5
  227. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.js +0 -2
  228. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
  229. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +0 -2
  230. package/dist/cjs/globalization/interfaces/filters/index.d.ts +0 -11
  231. package/dist/cjs/globalization/interfaces/filters/index.js +0 -23
  232. package/dist/cjs/globalization/interfaces/index.d.ts +0 -3
  233. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
  234. package/dist/cjs/globalization/interfaces/panel/II18nPanel.js +0 -2
  235. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
  236. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.js +0 -2
  237. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
  238. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.js +0 -2
  239. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
  240. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.js +0 -2
  241. package/dist/cjs/globalization/interfaces/panel/index.d.ts +0 -4
  242. package/dist/cjs/globalization/interfaces/panel/index.js +0 -16
  243. package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
  244. package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.js +0 -2
  245. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
  246. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -2
  247. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
  248. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -2
  249. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
  250. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -2
  251. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
  252. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -2
  253. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
  254. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -2
  255. package/dist/cjs/globalization/interfaces/table_charts/index.d.ts +0 -6
  256. package/dist/cjs/globalization/interfaces/table_charts/index.js +0 -18
  257. package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +0 -2
  258. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +0 -17
  259. package/dist/cjs/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
  260. package/dist/cjs/globalization/labels/columns/I18N_COLUMN.js +0 -8
  261. package/dist/cjs/globalization/labels/columns/index.d.ts +0 -1
  262. package/dist/cjs/globalization/labels/columns/index.js +0 -13
  263. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
  264. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -15
  265. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
  266. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -42
  267. package/dist/cjs/globalization/labels/common/I18N_COMMON.d.ts +0 -2
  268. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +0 -31
  269. package/dist/cjs/globalization/labels/common/index.d.ts +0 -3
  270. package/dist/cjs/globalization/labels/common/index.js +0 -15
  271. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
  272. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -24
  273. package/dist/cjs/globalization/labels/dashboard/index.d.ts +0 -1
  274. package/dist/cjs/globalization/labels/dashboard/index.js +0 -13
  275. package/dist/cjs/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
  276. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +0 -11
  277. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
  278. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -27
  279. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
  280. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -27
  281. package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +0 -2
  282. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +0 -2
  283. package/dist/cjs/globalization/labels/filters/index.d.ts +0 -5
  284. package/dist/cjs/globalization/labels/filters/index.js +0 -17
  285. package/dist/cjs/globalization/labels/index.d.ts +0 -7
  286. package/dist/cjs/globalization/labels/index.js +0 -19
  287. package/dist/cjs/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
  288. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +0 -34
  289. package/dist/cjs/globalization/labels/panel/index.d.ts +0 -1
  290. package/dist/cjs/globalization/labels/panel/index.js +0 -13
  291. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
  292. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -36
  293. package/dist/cjs/globalization/labels/table_charts/index.d.ts +0 -1
  294. package/dist/cjs/globalization/labels/table_charts/index.js +0 -13
  295. package/dist/cjs/globalization/service/i18nextBuilder.d.ts +0 -9
  296. package/dist/cjs/globalization/service/i18nextBuilder.js +0 -61
  297. package/dist/cjs/globalization/service/index.d.ts +0 -2
  298. package/dist/cjs/globalization/service/index.js +0 -14
  299. package/dist/cjs/globalization/service/initI18n.d.ts +0 -3
  300. package/dist/cjs/globalization/service/initI18n.js +0 -19
  301. package/dist/cjs/qrvey/interfaces/ICalculationType.js +0 -2
  302. package/dist/globalization/interfaces/IResourceI18n.d.ts +0 -14
  303. package/dist/globalization/interfaces/IResourceI18n.js +0 -1
  304. package/dist/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
  305. package/dist/globalization/interfaces/columns/II18nColumn.js +0 -1
  306. package/dist/globalization/interfaces/columns/index.d.ts +0 -1
  307. package/dist/globalization/interfaces/columns/index.js +0 -1
  308. package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
  309. package/dist/globalization/interfaces/common/II18nAgreggateLabels.js +0 -1
  310. package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
  311. package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -1
  312. package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
  313. package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -1
  314. package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
  315. package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -1
  316. package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
  317. package/dist/globalization/interfaces/common/II18nColumnTypes.js +0 -1
  318. package/dist/globalization/interfaces/common/II18nCommon.d.ts +0 -13
  319. package/dist/globalization/interfaces/common/II18nCommon.js +0 -1
  320. package/dist/globalization/interfaces/common/index.d.ts +0 -6
  321. package/dist/globalization/interfaces/common/index.js +0 -6
  322. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
  323. package/dist/globalization/interfaces/dashboard/II18nDashboard.js +0 -1
  324. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
  325. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -1
  326. package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
  327. package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -1
  328. package/dist/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
  329. package/dist/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -1
  330. package/dist/globalization/interfaces/dashboard/index.d.ts +0 -4
  331. package/dist/globalization/interfaces/dashboard/index.js +0 -4
  332. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
  333. package/dist/globalization/interfaces/filters/II18nFilter.js +0 -1
  334. package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
  335. package/dist/globalization/interfaces/filters/II18nFilterBuilder.js +0 -1
  336. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
  337. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -1
  338. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
  339. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -1
  340. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
  341. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -1
  342. package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
  343. package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -1
  344. package/dist/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
  345. package/dist/globalization/interfaces/filters/II18nFilterValidator.js +0 -1
  346. package/dist/globalization/interfaces/filters/II18nSlidebar.d.ts +0 -6
  347. package/dist/globalization/interfaces/filters/II18nSlidebar.js +0 -1
  348. package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +0 -4
  349. package/dist/globalization/interfaces/filters/II18nValueContainer.js +0 -1
  350. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +0 -5
  351. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.js +0 -1
  352. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
  353. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +0 -1
  354. package/dist/globalization/interfaces/filters/index.d.ts +0 -11
  355. package/dist/globalization/interfaces/filters/index.js +0 -11
  356. package/dist/globalization/interfaces/index.d.ts +0 -3
  357. package/dist/globalization/interfaces/index.js +0 -3
  358. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
  359. package/dist/globalization/interfaces/panel/II18nPanel.js +0 -1
  360. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
  361. package/dist/globalization/interfaces/panel/II18nPanelErrors.js +0 -1
  362. package/dist/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
  363. package/dist/globalization/interfaces/panel/II18nPanelMenu.js +0 -1
  364. package/dist/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
  365. package/dist/globalization/interfaces/panel/II18nPanelTooltips.js +0 -1
  366. package/dist/globalization/interfaces/panel/index.d.ts +0 -4
  367. package/dist/globalization/interfaces/panel/index.js +0 -4
  368. package/dist/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
  369. package/dist/globalization/interfaces/table_charts/II18nTableCharts.js +0 -1
  370. package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
  371. package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -1
  372. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
  373. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -1
  374. package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
  375. package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -1
  376. package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
  377. package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -1
  378. package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
  379. package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -1
  380. package/dist/globalization/interfaces/table_charts/index.d.ts +0 -6
  381. package/dist/globalization/interfaces/table_charts/index.js +0 -6
  382. package/dist/globalization/labels/I18N_DEFAULT.d.ts +0 -2
  383. package/dist/globalization/labels/I18N_DEFAULT.js +0 -14
  384. package/dist/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
  385. package/dist/globalization/labels/columns/I18N_COLUMN.js +0 -5
  386. package/dist/globalization/labels/columns/index.d.ts +0 -1
  387. package/dist/globalization/labels/columns/index.js +0 -1
  388. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
  389. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -12
  390. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
  391. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -39
  392. package/dist/globalization/labels/common/I18N_COMMON.d.ts +0 -2
  393. package/dist/globalization/labels/common/I18N_COMMON.js +0 -28
  394. package/dist/globalization/labels/common/index.d.ts +0 -3
  395. package/dist/globalization/labels/common/index.js +0 -3
  396. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
  397. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -21
  398. package/dist/globalization/labels/dashboard/index.d.ts +0 -1
  399. package/dist/globalization/labels/dashboard/index.js +0 -1
  400. package/dist/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
  401. package/dist/globalization/labels/filters/I18N_FILTER.js +0 -8
  402. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
  403. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -24
  404. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
  405. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -24
  406. package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +0 -2
  407. package/dist/globalization/labels/filters/I18N_SLIDEBAR.js +0 -6
  408. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +0 -2
  409. package/dist/globalization/labels/filters/index.d.ts +0 -5
  410. package/dist/globalization/labels/filters/index.js +0 -5
  411. package/dist/globalization/labels/index.d.ts +0 -7
  412. package/dist/globalization/labels/index.js +0 -7
  413. package/dist/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
  414. package/dist/globalization/labels/panel/I18N_PANEL.js +0 -31
  415. package/dist/globalization/labels/panel/index.d.ts +0 -1
  416. package/dist/globalization/labels/panel/index.js +0 -1
  417. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
  418. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -33
  419. package/dist/globalization/labels/table_charts/index.d.ts +0 -1
  420. package/dist/globalization/labels/table_charts/index.js +0 -1
  421. package/dist/globalization/service/i18nextBuilder.d.ts +0 -9
  422. package/dist/globalization/service/i18nextBuilder.js +0 -53
  423. package/dist/globalization/service/index.d.ts +0 -2
  424. package/dist/globalization/service/index.js +0 -2
  425. package/dist/globalization/service/initI18n.d.ts +0 -3
  426. package/dist/globalization/service/initI18n.js +0 -15
  427. package/dist/qrvey/interfaces/ICalculationType.js +0 -1
  428. package/src/charts/constants/AGGREGATE_LABEL.ts +0 -11
  429. package/src/charts/constants/index.ts +0 -5
  430. package/src/charts/index.ts +0 -2
  431. package/src/charts/interfaces/IAggregateAbbreviation.ts +0 -3
  432. package/src/charts/interfaces/IAggregateInfo.ts +0 -11
  433. package/src/charts/interfaces/IAggregateLabel.ts +0 -3
  434. package/src/charts/interfaces/index.ts +0 -4
  435. package/src/globalization/interfaces/IResourceI18n.ts +0 -16
  436. package/src/globalization/interfaces/columns/II18nColumn.ts +0 -7
  437. package/src/globalization/interfaces/columns/index.ts +0 -1
  438. package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +0 -11
  439. package/src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts +0 -5
  440. package/src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts +0 -8
  441. package/src/globalization/interfaces/common/II18nChartInfoMessagesTableChart.ts +0 -8
  442. package/src/globalization/interfaces/common/II18nColumnTypes.ts +0 -42
  443. package/src/globalization/interfaces/common/II18nCommon.ts +0 -14
  444. package/src/globalization/interfaces/common/index.ts +0 -8
  445. package/src/globalization/interfaces/dashboard/II18nDashboard.ts +0 -10
  446. package/src/globalization/interfaces/dashboard/II18nDashboardAddChart.ts +0 -5
  447. package/src/globalization/interfaces/dashboard/II18nDashboardTooltips.ts +0 -7
  448. package/src/globalization/interfaces/dashboard/II18nDashboardViews.ts +0 -6
  449. package/src/globalization/interfaces/dashboard/index.ts +0 -4
  450. package/src/globalization/interfaces/filters/II18nFilter.ts +0 -9
  451. package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +0 -17
  452. package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +0 -4
  453. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +0 -6
  454. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +0 -4
  455. package/src/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.ts +0 -3
  456. package/src/globalization/interfaces/filters/II18nFilterValidator.ts +0 -23
  457. package/src/globalization/interfaces/filters/II18nSlidebar.ts +0 -6
  458. package/src/globalization/interfaces/filters/II18nValueContainer.ts +0 -5
  459. package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +0 -6
  460. package/src/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.ts +0 -5
  461. package/src/globalization/interfaces/filters/index.ts +0 -12
  462. package/src/globalization/interfaces/index.ts +0 -3
  463. package/src/globalization/interfaces/panel/II18nPanel.ts +0 -10
  464. package/src/globalization/interfaces/panel/II18nPanelErrors.ts +0 -9
  465. package/src/globalization/interfaces/panel/II18nPanelMenu.ts +0 -15
  466. package/src/globalization/interfaces/panel/II18nPanelTooltips.ts +0 -4
  467. package/src/globalization/interfaces/panel/index.ts +0 -4
  468. package/src/globalization/interfaces/table_charts/II18nTableCharts.ts +0 -16
  469. package/src/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.ts +0 -8
  470. package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +0 -4
  471. package/src/globalization/interfaces/table_charts/II18nTableChartsSort.ts +0 -10
  472. package/src/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.ts +0 -3
  473. package/src/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.ts +0 -5
  474. package/src/globalization/interfaces/table_charts/index.ts +0 -6
  475. package/src/globalization/labels/I18N_DEFAULT.ts +0 -16
  476. package/src/globalization/labels/columns/I18N_COLUMN.ts +0 -9
  477. package/src/globalization/labels/columns/index.ts +0 -1
  478. package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +0 -14
  479. package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +0 -43
  480. package/src/globalization/labels/common/I18N_COMMON.ts +0 -30
  481. package/src/globalization/labels/common/index.ts +0 -5
  482. package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +0 -23
  483. package/src/globalization/labels/dashboard/index.ts +0 -1
  484. package/src/globalization/labels/filters/I18N_FILTER.ts +0 -10
  485. package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +0 -26
  486. package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +0 -27
  487. package/src/globalization/labels/filters/I18N_SLIDEBAR.ts +0 -8
  488. package/src/globalization/labels/filters/index.ts +0 -7
  489. package/src/globalization/labels/index.ts +0 -8
  490. package/src/globalization/labels/panel/I18N_PANEL.ts +0 -33
  491. package/src/globalization/labels/panel/index.ts +0 -1
  492. package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +0 -35
  493. package/src/globalization/labels/table_charts/index.ts +0 -1
  494. package/src/globalization/service/i18nextBuilder.ts +0 -51
  495. package/src/globalization/service/index.ts +0 -2
  496. package/src/globalization/service/initI18n.ts +0 -6
@@ -1,4 +1,7 @@
1
+ export * from './AGGREGATE_ABBREVIATION';
2
+ export * from './AGGREGATE_INFO';
3
+ export * from './AGGREGATE_LABEL';
4
+ export * from './AGGREGATE';
1
5
  export * from './CALCULATION_ABBREVIATION';
2
- export * from './CALCULATION_INFO_LIST';
3
6
  export * from './CALCULATION_LABEL';
4
7
  export * from './CALCULATION';
@@ -1,2 +1,2 @@
1
1
  import { AGGREGATE } from "../constants/AGGREGATE";
2
- export declare type IAggregateType = AGGREGATE;
2
+ export declare type IAggregate = AGGREGATE;
@@ -0,0 +1,5 @@
1
+ import { IGeneralInfo } from "../../interfaces/general/IGeneralInfo";
2
+ import { IAggregate } from "./IAggregate";
3
+ export interface IAggregateInfo extends IGeneralInfo {
4
+ value: IAggregate;
5
+ }
@@ -1,5 +1 @@
1
- export * from './IBDataset';
2
- export * from './ICalculation';
3
- export * from './ICalculationInfo';
4
- export * from './ICalculationType';
5
1
  export * from './IDataset';
@@ -1,5 +1 @@
1
- export * from './IBDataset';
2
- export * from './ICalculation';
3
- export * from './ICalculationInfo';
4
- export * from './ICalculationType';
5
1
  export * from './IDataset';
@@ -65,7 +65,7 @@ export default class Request {
65
65
  }
66
66
  const timezoneControl = this.getTimezoneControl(reqData.config);
67
67
  if (timezoneControl) {
68
- cfg.headers['q-timezone-control'] = `offset=${timezoneControl};use-client-offset-only`;
68
+ cfg.headers['q-timezone-control'] = `offset=<${timezoneControl}>;use-client-offset-only`;
69
69
  }
70
70
  // AbortSignal (https://developers.google.com/web/updates/2017/09/abortable-fetch)
71
71
  if (reqData.config && reqData.config.signal) {
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.2.4-9",
3
+ "version": "1.2.5",
4
4
  "description": "Helper, Utils for all Qrvey Projects",
5
5
  "homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
8
8
  "build": "tsc && tsc -m commonjs --outDir dist/cjs",
9
9
  "publish": "node prepareToPublish.js && npm login && np",
10
- "publish-prerelease": "node prepareToPublish.js && npm login && np --any-branch",
11
10
  "test": "jest test",
12
11
  "test:watch": "jest --watch test",
13
12
  "lint": "eslint src --quiet --exit-on-fatal-error --ext .ts,.js",
@@ -23,16 +22,15 @@
23
22
  "ts-jest": "27.0.5",
24
23
  "typedoc": "0.22.5",
25
24
  "typescript": "4.4.4",
26
- "@typescript-eslint/eslint-plugin": "5.3.0",
27
- "@typescript-eslint/parser": "5.3.0",
28
- "eslint": "8.1.0"
25
+ "@typescript-eslint/eslint-plugin": "5.0.0",
26
+ "@typescript-eslint/parser": "5.0.0",
27
+ "eslint": "8.0.0"
29
28
  },
30
29
  "peerDependencies": {
31
30
  "np": "^6.2.3"
32
31
  },
33
32
  "dependencies": {
34
33
  "d3": "6.3.1",
35
- "dayjs": "1.10.7",
36
- "i18next": "21.4.0"
34
+ "dayjs": "1.10.7"
37
35
  }
38
36
  }
@@ -0,0 +1,3 @@
1
+ export * from './isExpandableTableChart';
2
+ export * from './isSimpleTableChart';
3
+ export * from './isTableChart';
@@ -0,0 +1,5 @@
1
+ import { CHART_TYPE } from "../../constants/Charts.Const";
2
+
3
+ export function isExpandableTableChart(model: any = {}): boolean {
4
+ return model.type === CHART_TYPE.EXPANDABLE_TABLE_CHART;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { isTableChart } from "./isTableChart";
2
+
3
+ export function isSimpleTableChart(model: any = {}): boolean {
4
+ return isTableChart(model.type) && !(model.chart?.fields?.groupsList || []).length;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { CHART_TYPE } from "../../constants/Charts.Const";
2
+
3
+ export function isTableChart(model: any = {}): boolean {
4
+ return model.type === CHART_TYPE.TABLE_CHART;
5
+ }
@@ -3,40 +3,39 @@ import { COLUMN } from "./COLUMN";
3
3
  import { IColumnType } from "../interfaces/IColumnType";
4
4
  import { IColumnInfo } from "../interfaces/IColumnInfo";
5
5
  import { COMPLEX_COLUMN_INFO } from "./COMPLEX_COLUMN_INFO";
6
- import { COLUMN_LABEL } from "./COLUMN_LABEL";
7
6
 
8
7
  /**
9
8
  * @description Key/array of column property info
10
9
  */
11
10
  export const COLUMN_INFO: { [key in IColumnType]: IColumnInfo } = {
12
- [COLUMN.SINGLE_CHOICE]: { label: COLUMN_LABEL.SINGLE_CHOICE, shortLabel: 'Single Choice', abbrLabel: 'SC', value: COLUMN.SINGLE_CHOICE, displayed: true },
13
- [COLUMN.MULTIPLE_CHOICE]: { label: COLUMN_LABEL.MULTIPLE_CHOICE, shortLabel: 'Multiple Choice', abbrLabel: 'MC', value: COLUMN.MULTIPLE_CHOICE, displayed: true },
14
- [COLUMN.RATING]: { label: COLUMN_LABEL.RATING, shortLabel: 'Rating', abbrLabel: 'RA', value: COLUMN.RATING, displayed: true },
15
- [COLUMN.YES_NO]: { label: COLUMN_LABEL.YES_NO, shortLabel: 'Yes No', abbrLabel: 'YS', value: COLUMN.YES_NO, displayed: true },
16
- [COLUMN.RANKING]: { label: COLUMN_LABEL.RANKING, shortLabel: 'Ranking', abbrLabel: 'RAN', value: COLUMN.RANKING, displayed: true },
17
- [COLUMN.DATE]: { label: COLUMN_LABEL.DATE, shortLabel: 'Date', abbrLabel: 'DA', value: COLUMN.DATE, displayed: true },
18
- [COLUMN.SLIDEBAR]: { label: COLUMN_LABEL.SLIDEBAR, shortLabel: 'Slidebar', abbrLabel: 'SB', value: COLUMN.SLIDEBAR, displayed: true },
19
- [COLUMN.SIGNATURE]: { label: COLUMN_LABEL.SIGNATURE, shortLabel: 'Signature', abbrLabel: 'SIGN', value: COLUMN.SIGNATURE, displayed: true },
20
- [COLUMN.DROPDOWN]: { label: COLUMN_LABEL.DROPDOWN, shortLabel: 'Dropdown', abbrLabel: 'DD', value: COLUMN.DROPDOWN, displayed: true },
21
- [COLUMN.NUMERIC]: { label: COLUMN_LABEL.NUMERIC, shortLabel: 'Numeric', abbrLabel: 'NUM', value: COLUMN.NUMERIC, displayed: true },
22
- [COLUMN.NUMERICC]: { label: COLUMN_LABEL.NUMERICC, shortLabel: 'Numeric-C', abbrLabel: 'NUMC', value: COLUMN.NUMERICC, displayed: false },
23
- [COLUMN.NUMERICP]: { label: COLUMN_LABEL.NUMERICP, shortLabel: 'Numeric-P', abbrLabel: 'NUMP', value: COLUMN.NUMERICP, displayed: false },
24
- [COLUMN.NUMERICG]: { label: COLUMN_LABEL.NUMERICG, shortLabel: 'Numeric-G', abbrLabel: 'NUMG', value: COLUMN.NUMERICG, displayed: false },
25
- [COLUMN.IMAGE]: { label: COLUMN_LABEL.IMAGE, shortLabel: 'Image', abbrLabel: 'IMG', value: COLUMN.IMAGE, displayed: true },
26
- [COLUMN.EMAIL_FORM]: { label: COLUMN_LABEL.EMAIL_FORM, shortLabel: 'Email', abbrLabel: 'EML', value: COLUMN.EMAIL_FORM, displayed: true },
27
- [COLUMN.PHONE]: { label: COLUMN_LABEL.PHONE, shortLabel: 'Phone', abbrLabel: 'PHN', value: COLUMN.PHONE, displayed: true },
28
- [COLUMN.PASSWORD]: { label: COLUMN_LABEL.PASSWORD, shortLabel: 'Password', abbrLabel: 'PWD', value: COLUMN.PASSWORD, displayed: true },
29
- [COLUMN.CHECKLIST]: { label: COLUMN_LABEL.CHECKLIST, shortLabel: 'Check List', abbrLabel: 'CL', value: COLUMN.CHECKLIST, displayed: false },
30
- [COLUMN.NPS_SCORE]: { label: COLUMN_LABEL.NPS_SCORE, shortLabel: 'NPS Score', abbrLabel: 'NPMS', value: COLUMN.NPS_SCORE, displayed: false },
31
- [COLUMN.NPS_FEEDBACK]: { label: COLUMN_LABEL.NPS_FEEDBACK, shortLabel: 'NPS Feedback', abbrLabel: 'NPSFB', value: COLUMN.NPS_FEEDBACK, displayed: false },
32
- [COLUMN.TEXT_LABEL]: { label: COLUMN_LABEL.TEXT_LABEL, shortLabel: 'Text Label', abbrLabel: 'TL', value: COLUMN.TEXT_LABEL, displayed: true },
33
- [COLUMN.TEXT_CATEGORY]: { label: COLUMN_LABEL.TEXT_CATEGORY, shortLabel: 'Text Category', abbrLabel: 'TC', value: COLUMN.TEXT_CATEGORY, displayed: true },
34
- [COLUMN.LOOKUP]: { label: COLUMN_LABEL.LOOKUP, shortLabel: 'Lookup', abbrLabel: 'LUP', value: COLUMN.LOOKUP, displayed: true },
35
- [COLUMN.HEADLINE]: { label: COLUMN_LABEL.HEADLINE, shortLabel: 'Headline', abbrLabel: 'HL', value: COLUMN.HEADLINE, displayed: false },
36
- [COLUMN.SECTION]: { label: COLUMN_LABEL.SECTION, shortLabel: 'Section', abbrLabel: 'SCN', value: COLUMN.SECTION, displayed: false },
37
- [COLUMN.FORMULA]: { label: COLUMN_LABEL.FORMULA, shortLabel: 'Formula', abbrLabel: 'FML', value: COLUMN.FORMULA, displayed: true },
38
- [COLUMN.AGGREGATED_FORMULA]: { label: COLUMN_LABEL.AGGREGATED_FORMULA, shortLabel: 'Agg Formula', abbrLabel: 'AF', value: COLUMN.AGGREGATED_FORMULA, displayed: true },
39
- [COLUMN.BUCKET]: { label: COLUMN_LABEL.BUCKET, shortLabel: 'Bucket', abbrLabel: 'BCT', value: COLUMN.BUCKET, displayed: true },
11
+ [COLUMN.SINGLE_CHOICE]: { label: 'Single Choice', shortLabel: 'Single Choice', abbrLabel: 'SC', value: COLUMN.SINGLE_CHOICE, displayed: true },
12
+ [COLUMN.MULTIPLE_CHOICE]: { label: 'Multiple Choice', shortLabel: 'Multiple Choice', abbrLabel: 'MC', value: COLUMN.MULTIPLE_CHOICE, displayed: true },
13
+ [COLUMN.RATING]: { label: 'Rating', shortLabel: 'Rating', abbrLabel: 'RA', value: COLUMN.RATING, displayed: true },
14
+ [COLUMN.YES_NO]: { label: 'Yes No', shortLabel: 'Yes No', abbrLabel: 'YS', value: COLUMN.YES_NO, displayed: true },
15
+ [COLUMN.RANKING]: { label: 'Ranking', shortLabel: 'Ranking', abbrLabel: 'RAN', value: COLUMN.RANKING, displayed: true },
16
+ [COLUMN.DATE]: { label: 'Date', shortLabel: 'Date', abbrLabel: 'DA', value: COLUMN.DATE, displayed: true },
17
+ [COLUMN.SLIDEBAR]: { label: 'Slidebar', shortLabel: 'Slidebar', abbrLabel: 'SB', value: COLUMN.SLIDEBAR, displayed: true },
18
+ [COLUMN.SIGNATURE]: { label: 'Signature', shortLabel: 'Signature', abbrLabel: 'SIGN', value: COLUMN.SIGNATURE, displayed: true },
19
+ [COLUMN.DROPDOWN]: { label: 'Dropdown', shortLabel: 'Dropdown', abbrLabel: 'DD', value: COLUMN.DROPDOWN, displayed: true },
20
+ [COLUMN.NUMERIC]: { label: 'Numeric', shortLabel: 'Numeric', abbrLabel: 'NUM', value: COLUMN.NUMERIC, displayed: true },
21
+ [COLUMN.NUMERICC]: { label: 'Numeric-C', shortLabel: 'Numeric-C', abbrLabel: 'NUMC', value: COLUMN.NUMERICC, displayed: false },
22
+ [COLUMN.NUMERICP]: { label: 'Numeric-P', shortLabel: 'Numeric-P', abbrLabel: 'NUMP', value: COLUMN.NUMERICP, displayed: false },
23
+ [COLUMN.NUMERICG]: { label: 'NUMERIC-G', shortLabel: 'Numeric-G', abbrLabel: 'NUMG', value: COLUMN.NUMERICG, displayed: false },
24
+ [COLUMN.IMAGE]: { label: 'Image', shortLabel: 'Image', abbrLabel: 'IMG', value: COLUMN.IMAGE, displayed: true },
25
+ [COLUMN.EMAIL_FORM]: { label: 'Email Form', shortLabel: 'Email', abbrLabel: 'EML', value: COLUMN.EMAIL_FORM, displayed: true },
26
+ [COLUMN.PHONE]: { label: 'Phone', shortLabel: 'Phone', abbrLabel: 'PHN', value: COLUMN.PHONE, displayed: true },
27
+ [COLUMN.PASSWORD]: { label: 'Password', shortLabel: 'Password', abbrLabel: 'PWD', value: COLUMN.PASSWORD, displayed: true },
28
+ [COLUMN.CHECKLIST]: { label: 'Check List', shortLabel: 'Check List', abbrLabel: 'CL', value: COLUMN.CHECKLIST, displayed: false },
29
+ [COLUMN.NPS_SCORE]: { label: 'NPS Score', shortLabel: 'NPS Score', abbrLabel: 'NPMS', value: COLUMN.NPS_SCORE, displayed: false },
30
+ [COLUMN.NPS_FEEDBACK]: { label: 'NPS Feedback', shortLabel: 'NPS Feedback', abbrLabel: 'NPSFB', value: COLUMN.NPS_FEEDBACK, displayed: false },
31
+ [COLUMN.TEXT_LABEL]: { label: 'Text Label', shortLabel: 'Text Label', abbrLabel: 'TL', value: COLUMN.TEXT_LABEL, displayed: true },
32
+ [COLUMN.TEXT_CATEGORY]: { label: 'Text Category', shortLabel: 'Text Category', abbrLabel: 'TC', value: COLUMN.TEXT_CATEGORY, displayed: true },
33
+ [COLUMN.LOOKUP]: { label: 'Lookup', shortLabel: 'Lookup', abbrLabel: 'LUP', value: COLUMN.LOOKUP, displayed: true },
34
+ [COLUMN.HEADLINE]: { label: 'Headline', shortLabel: 'Headline', abbrLabel: 'HL', value: COLUMN.HEADLINE, displayed: false },
35
+ [COLUMN.SECTION]: { label: 'Section', shortLabel: 'Section', abbrLabel: 'SCN', value: COLUMN.SECTION, displayed: false },
36
+ [COLUMN.FORMULA]: { label: 'Formula', shortLabel: 'Formula', abbrLabel: 'FML', value: COLUMN.FORMULA, displayed: true },
37
+ [COLUMN.AGGREGATED_FORMULA]: { label: 'Aggregated Formula', shortLabel: 'Agg Formula', abbrLabel: 'AF', value: COLUMN.AGGREGATED_FORMULA, displayed: true },
38
+ [COLUMN.BUCKET]: { label: 'Bucket', shortLabel: 'Bucket', abbrLabel: 'BCT', value: COLUMN.BUCKET, displayed: true },
40
39
 
41
40
  ...COMPOUND_COLUMN_INFO,
42
41
  ...COMPLEX_COLUMN_INFO,
@@ -1,16 +1,16 @@
1
- import { IColumnCalculationType } from "../../qrvey/interfaces/ICalculationType";
1
+ import { IColumnCalculationType } from "./IColumnCalculationType";
2
+ import { IColumnAggregateType } from "./IColumnAggregateType";
2
3
  import { IDataset } from "../../qrvey/interfaces/IDataset";
3
4
  import { IColumnPropertyType } from "./IColumnPropertyType";
4
5
  import { IColumnSortingSettings } from "./IColumnSortingSettings";
5
6
  import { IBColumn } from "./IBColumn";
6
- import { IAggregateType } from "../../charts/interfaces/IAggregateType";
7
7
 
8
8
  /**
9
9
  * Structure for columns used in the App frontend side
10
10
  */
11
11
  export interface IColumn extends Omit<IBColumn, "text" | "bucketId" | "formulaId"> {
12
12
  bucketid?: string;
13
- aggregate?: IAggregateType;
13
+ aggregate?: IColumnAggregateType;
14
14
  calculation?: IColumnCalculationType;
15
15
  dataset?: IDataset;
16
16
  formulaid?: string;
@@ -0,0 +1,3 @@
1
+ import { AGGREGATE } from "../../qrvey/constants/AGGREGATE";
2
+
3
+ export type IColumnAggregateType = AGGREGATE;
@@ -1,3 +1,3 @@
1
- import { CALCULATION } from "../constants/CALCULATION";
1
+ import { CALCULATION } from "../../qrvey/constants/CALCULATION";
2
2
 
3
3
  export type IColumnCalculationType = typeof CALCULATION[keyof typeof CALCULATION];
@@ -1,5 +1,7 @@
1
1
  export * from './IColumn';
2
2
 
3
+ export * from './IColumnAggregateType';
4
+ export * from './IColumnCalculationType';
3
5
  export * from './IColumnInfo';
4
6
  export * from './IColumnOutputFormatSettings';
5
7
 
@@ -1,6 +1,7 @@
1
1
  export enum CHART_TYPE {
2
2
  BAR_CHART = 'BAR_CHART',
3
3
  BAR_CHART_MS = 'BAR_CHART_MS',
4
+ EXPANDABLE_TABLE_CHART = 'EXPANDABLE_TABLE_CHART',
4
5
  SYMBOL_CHART = 'SYMBOL_CHART',
5
6
  SYMBOL_CHART_MS = 'SYMBOL_CHART_MS',
6
7
  LINE_CHART = 'LINE_CHART',
@@ -1,6 +1,6 @@
1
- import { AGGREGATE_ABBREVIATION } from "../../../charts/constants/AGGREGATE_ABBREVIATION";
2
1
  import { COMPLEX_COLUMN_PROPERTIES } from "../../../columns/constants/COMPLEX_COLUMN_PROPERTIES";
3
2
  import { isComplexColumn } from "../../../columns/helpers/isComplexColumn";
3
+ import { AGGREGATE_ABBREVIATION } from "../../../qrvey/constants/AGGREGATE_ABBREVIATION";
4
4
  import { IFUColumn } from "../../interfaces/ui/IFUColumn";
5
5
 
6
6
  /**
@@ -1,4 +1,3 @@
1
- import { IResourceI18n } from "../../../globalization/interfaces/IResourceI18n";
2
1
  import { IFBLogic } from "../backend/IFBLogic";
3
2
  import { IFBUserFilters } from "../backend/IFBUserFilters";
4
3
  import { IFSColumn } from "../common/IFSColumn";
@@ -16,7 +15,6 @@ import { IFilterBuilderSettings } from "./IFilterBuilderSettings";
16
15
  * Structure for the configuration of the Filter Builder
17
16
  */
18
17
  export interface IFilterBuilderConfig {
19
- i18n?: IResourceI18n; // Globalization object
20
18
  datasets?: string[]; // Qrvey IDs for displaying their columns in the colum selector. No qrveyids, the column list is not render
21
19
  filterData?: IFSData; // The Filter Data structure
22
20
  filterLabel?: string; // A label for the filter. If filterLabel is provided the old filterLabel is replaced by the new one
@@ -1,4 +1,3 @@
1
- import { IResourceI18n } from "../../../globalization";
2
1
  import { IFilterBuilderConfig } from "../builder/IFilterBuilderConfig";
3
2
  import { IFUDataStore } from "../ui/IFUDataStore";
4
3
 
@@ -7,5 +6,4 @@ import { IFUDataStore } from "../ui/IFUDataStore";
7
6
  */
8
7
  export interface IFilterPanelConfig extends IFUDataStore {
9
8
  filterBuilderConfig?: IFilterBuilderConfig; // Filter Builder config object
10
- i18n?: IResourceI18n;
11
9
  }
@@ -17,21 +17,22 @@ interface IMergeDeepSettings {
17
17
  * @param settings Object settings for this function
18
18
  * @returns a new merged object
19
19
  */
20
- export function mergeDeep(obj1: any, obj2: any, settings?: IMergeDeepSettings) {
20
+ export function mergeDeep(obj1: any, obj2: any, settings?: IMergeDeepSettings) { // Our merge function
21
21
  settings = getParamsToMergeDeep(settings);
22
22
 
23
23
  if (!isValid(obj1, obj2)) return objectCopy(obj1);
24
24
 
25
- const result = {};
26
- for(const i in obj1){
25
+ const result = {}; // return result
26
+ for(const i in obj1){ // for every property in obj1
27
27
  if (i != null && i in obj2 && isObject(obj1[i])){
28
- result[i] = mergeDeep(obj1[i], obj2[i], settings);
28
+ result[i] = mergeDeep(obj1[i], obj2[i], settings); // if it's an object, merge
29
29
  } else {
30
- result[i] = obj1[i];
30
+ result[i] = obj1[i]; // add it to result
31
31
  }
32
32
  }
33
- for(const i in obj2) {
34
- if (i != null && ((!isObject(obj2[i]) && i in result && settings.mergeExistingValues) || (!(i in result) && settings.mergeMissingProperties))) {
33
+ for(const i in obj2) { // add the remaining properties from object 2
34
+ if (i != null && !isObject(obj2[i]) && (i in result && settings.mergeExistingValues
35
+ || !(i in result) && settings.mergeMissingProperties)) { //conflict
35
36
  result[i] = obj2[i];
36
37
  }
37
38
  }
@@ -0,0 +1,35 @@
1
+ import { COLUMN_LABEL } from "../../columns/constants/COLUMN_LABEL";
2
+ import { COLUMN_PROPERTY_LABEL } from "../../columns/constants/COLUMN_PROPERTY_LABEL";
3
+ import { FILTER_DATE_SECTION_LABEL } from "../../filters/constants/common/FILTER_DATE_SECTION_LABEL";
4
+ import { FILTER_VALIDATOR_LABEL } from "../../filters/constants/common/FILTER_VALIDATOR_LABEL";
5
+ import { SLIDEBAR } from "./SLIDEBAR";
6
+ import { VALUES_CONTAINER } from "./VALUES_CONTAINER";
7
+
8
+ export const FILTER_BUILDER = {
9
+ title: 'Filter',
10
+ apply_button: 'Apply',
11
+ cancel_button: 'Cancel',
12
+ column_selector: {
13
+ title: 'Column',
14
+ columnTypes: COLUMN_LABEL,
15
+ },
16
+ date_sections: FILTER_DATE_SECTION_LABEL,
17
+ divider_label: 'Is',
18
+ validator_selector: FILTER_VALIDATOR_LABEL,
19
+ property_selector: COLUMN_PROPERTY_LABEL,
20
+ value_container: VALUES_CONTAINER,
21
+ slidebar: SLIDEBAR,
22
+ selected_values_container: {
23
+ empty_message: 'No values added'
24
+ },
25
+ info_container: {
26
+ info: {
27
+ first: 'OR',
28
+ second: 'logic is used for multiple values.'
29
+ },
30
+ selection: {
31
+ selected: 'selected of',
32
+ loaded: 'loaded',
33
+ },
34
+ }
35
+ };
@@ -0,0 +1,8 @@
1
+ export const SLIDEBAR = {
2
+ min: 'Data Min',
3
+ max: 'Data Max',
4
+ and: 'And',
5
+ values_container: {
6
+ tooltip: 'Add new value',
7
+ },
8
+ };
@@ -1,6 +1,4 @@
1
- import { II18nValueContainer } from "../../interfaces/filters/II18nValueContainer";
2
-
3
- export const I18N_VALUE_CONTAINER: II18nValueContainer = {
1
+ export const VALUES_CONTAINER = {
4
2
  search_input: {
5
3
  placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
6
4
  enter_value: {
@@ -9,4 +7,5 @@ export const I18N_VALUE_CONTAINER: II18nValueContainer = {
9
7
  third: "to Insert",
10
8
  },
11
9
  },
10
+ select_all: 'Select All',
12
11
  };
@@ -0,0 +1,3 @@
1
+ export * from './FILTER_BUILDER';
2
+ export * from './SLIDEBAR';
3
+ export * from './VALUES_CONTAINER';
@@ -1,3 +1 @@
1
- export * from './interfaces/index';
2
- export * from './labels/index';
3
- export * from './service/index';
1
+ export * from './filters/index';
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- export * from './charts/index';
2
1
  export * from './constants/index';
3
2
  export * from './columns/index';
4
3
  export * from './dates/index';
@@ -1,3 +1,5 @@
1
+ import { AGGREGATE_ABBREVIATION } from "../qrvey/constants/AGGREGATE_ABBREVIATION";
2
+ import { AGGREGATE_LABEL } from "../qrvey/constants/AGGREGATE_LABEL";
1
3
  import { CALCULATION_ABBREVIATION } from "../qrvey/constants/CALCULATION_ABBREVIATION";
2
4
  import { CALCULATION_LABEL } from "../qrvey/constants/CALCULATION_LABEL";
3
5
 
@@ -26,6 +28,13 @@ import { CALCULATION_LABEL } from "../qrvey/constants/CALCULATION_LABEL";
26
28
 
27
29
  // options?: any[];
28
30
  // }
31
+
32
+ export interface IColumnAggregate {
33
+ abbreviation: IColumnAggregateAbbreviation;
34
+ id: string;
35
+ label: IColumnAggregateLabel;
36
+ text: string;
37
+ }
29
38
 
30
39
  export interface IColumnCalculation {
31
40
  abbreviation: IColumnCalculationAbbreviation;
@@ -41,5 +50,7 @@ export interface IColumnCalculation {
41
50
  // showIndicator?: boolean;
42
51
  // }
43
52
 
53
+ export type IColumnAggregateAbbreviation = AGGREGATE_ABBREVIATION;
54
+ export type IColumnAggregateLabel = AGGREGATE_LABEL;
44
55
  export type IColumnCalculationLabel = CALCULATION_LABEL;
45
56
  export type IColumnCalculationAbbreviation = CALCULATION_ABBREVIATION;
@@ -1,4 +1,4 @@
1
1
  export * from './Chart.Interface';
2
2
  export * from './IChartBuilder.Interface';
3
- export * from './general';
3
+ export * from './general/index';
4
4
  export * from './Qrvey.Interface';
File without changes
@@ -1,10 +1,10 @@
1
+ import { IAggregate } from "../interfaces/IAggregate";
1
2
  import { IAggregateInfo } from "../interfaces/IAggregateInfo";
2
- import { IAggregateType } from "../interfaces/IAggregateType";
3
3
  import { AGGREGATE } from "./AGGREGATE";
4
4
  import { AGGREGATE_ABBREVIATION } from "./AGGREGATE_ABBREVIATION";
5
5
  import { AGGREGATE_LABEL } from "./AGGREGATE_LABEL";
6
6
 
7
- export const AGGREGATE_INFO: { [key in IAggregateType]: IAggregateInfo } = {
7
+ export const AGGREGATE_INFO: { [key in IAggregate]: IAggregateInfo } = {
8
8
  [AGGREGATE.NONE]: { value: AGGREGATE.NONE, displayed: true, label: AGGREGATE_LABEL.NONE, shortLabel: AGGREGATE_LABEL.NONE, abbrLabel: AGGREGATE_ABBREVIATION.NONE },
9
9
  [AGGREGATE.AVG]: { value: AGGREGATE.AVG, displayed: true, label: AGGREGATE_LABEL.AVG, shortLabel: AGGREGATE_LABEL.AVG, abbrLabel: AGGREGATE_ABBREVIATION.AVG },
10
10
  [AGGREGATE.MEDIAN]: { value: AGGREGATE.MEDIAN, displayed: true, label: AGGREGATE_LABEL.MEDIAN, shortLabel: AGGREGATE_LABEL.MEDIAN, abbrLabel: AGGREGATE_ABBREVIATION.MEDIAN },
@@ -0,0 +1,11 @@
1
+ export enum AGGREGATE_LABEL {
2
+ NONE = 'NONE',
3
+ AVG = 'AVG',
4
+ MEDIAN = 'MEDIAN',
5
+ MIN = 'MIN',
6
+ MAX = 'MAX',
7
+ SUM = 'SUM',
8
+ STDEV = 'STDEV',
9
+ COUNT = 'COUNT',
10
+ DISTINCTCOUNT = 'DISTINCTCOUNT',
11
+ }
@@ -1,7 +1,7 @@
1
1
  import { CALCULATION } from "./CALCULATION";
2
2
  import { CALCULATION_INFO } from "./CALCULATION_INFO";
3
3
 
4
- export const CALCULATION_INFO_LIST = [
4
+ export const AGGREGATE_INFO_LIST = [
5
5
  CALCULATION_INFO[CALCULATION.AVG],
6
6
  CALCULATION_INFO[CALCULATION.SUM],
7
7
  CALCULATION_INFO[CALCULATION.MIN],
@@ -1,4 +1,7 @@
1
+ export * from './AGGREGATE_ABBREVIATION';
2
+ export * from './AGGREGATE_INFO';
3
+ export * from './AGGREGATE_LABEL';
4
+ export * from './AGGREGATE';
1
5
  export * from './CALCULATION_ABBREVIATION';
2
- export * from './CALCULATION_INFO_LIST';
3
6
  export * from './CALCULATION_LABEL';
4
7
  export * from './CALCULATION';
@@ -1,3 +1,3 @@
1
1
  import { AGGREGATE } from "../constants/AGGREGATE";
2
2
 
3
- export type IAggregateType = AGGREGATE;
3
+ export type IAggregate = AGGREGATE;
@@ -0,0 +1,7 @@
1
+
2
+ import { IGeneralInfo } from "../../interfaces/general/IGeneralInfo";
3
+ import { IAggregate } from "./IAggregate";
4
+
5
+ export interface IAggregateInfo extends IGeneralInfo {
6
+ value: IAggregate;
7
+ }
@@ -1,5 +1 @@
1
- export * from './IBDataset';
2
- export * from './ICalculation';
3
- export * from './ICalculationInfo';
4
- export * from './ICalculationType';
5
- export * from './IDataset';
1
+ export * from './IDataset';
@@ -67,7 +67,7 @@ export default class Request {
67
67
 
68
68
  const timezoneControl = this.getTimezoneControl(reqData.config);
69
69
  if (timezoneControl) {
70
- cfg.headers['q-timezone-control'] = `offset=${timezoneControl};use-client-offset-only`;
70
+ cfg.headers['q-timezone-control'] = `offset=<${timezoneControl}>;use-client-offset-only`;
71
71
  }
72
72
 
73
73
  // AbortSignal (https://developers.google.com/web/updates/2017/09/abortable-fetch)
@@ -1,2 +1,2 @@
1
1
  export * from './getConfig';
2
- export * from './createRef';
2
+ export * from './createRef';
@@ -1,5 +0,0 @@
1
- import { IAggregateInfo } from "../interfaces/IAggregateInfo";
2
- import { IAggregateType } from "../interfaces/IAggregateType";
3
- export declare const AGGREGATE_INFO: {
4
- [key in IAggregateType]: IAggregateInfo;
5
- };
@@ -1 +0,0 @@
1
- export declare const AGGREGATE_INFO_LIST: import("..").IAggregateInfo[];
@@ -1,11 +0,0 @@
1
- export declare enum AGGREGATE_LABEL {
2
- NONE = "None",
3
- AVG = "Average",
4
- MEDIAN = "Median",
5
- MIN = "Minimum",
6
- MAX = "Maximum",
7
- SUM = "Sum",
8
- STDEV = "Standard deviation",
9
- COUNT = "Count",
10
- DISTINCTCOUNT = "Distinct Count"
11
- }
@@ -1,12 +0,0 @@
1
- export var AGGREGATE_LABEL;
2
- (function (AGGREGATE_LABEL) {
3
- AGGREGATE_LABEL["NONE"] = "None";
4
- AGGREGATE_LABEL["AVG"] = "Average";
5
- AGGREGATE_LABEL["MEDIAN"] = "Median";
6
- AGGREGATE_LABEL["MIN"] = "Minimum";
7
- AGGREGATE_LABEL["MAX"] = "Maximum";
8
- AGGREGATE_LABEL["SUM"] = "Sum";
9
- AGGREGATE_LABEL["STDEV"] = "Standard deviation";
10
- AGGREGATE_LABEL["COUNT"] = "Count";
11
- AGGREGATE_LABEL["DISTINCTCOUNT"] = "Distinct Count";
12
- })(AGGREGATE_LABEL || (AGGREGATE_LABEL = {}));
@@ -1,5 +0,0 @@
1
- export * from './AGGREGATE_ABBREVIATION';
2
- export * from './AGGREGATE_INFO_LIST';
3
- export * from './AGGREGATE_INFO';
4
- export * from './AGGREGATE_LABEL';
5
- export * from './AGGREGATE';
@@ -1,5 +0,0 @@
1
- export * from './AGGREGATE_ABBREVIATION';
2
- export * from './AGGREGATE_INFO_LIST';
3
- export * from './AGGREGATE_INFO';
4
- export * from './AGGREGATE_LABEL';
5
- export * from './AGGREGATE';
@@ -1,2 +0,0 @@
1
- export * from './constants/index';
2
- export * from './interfaces/index';
@@ -1,2 +0,0 @@
1
- export * from './constants/index';
2
- export * from './interfaces/index';
@@ -1,2 +0,0 @@
1
- import { AGGREGATE_ABBREVIATION } from "../constants/AGGREGATE_ABBREVIATION";
2
- export declare type IAggregateAbbreviation = AGGREGATE_ABBREVIATION;
@@ -1,9 +0,0 @@
1
- import { IGeneralInfo } from "../../interfaces/general/IGeneralInfo";
2
- import { IAggregateAbbreviation } from "./IAggregateAbbreviation";
3
- import { IAggregateLabel } from "./IAggregateLabel";
4
- import { IAggregateType } from "./IAggregateType";
5
- export interface IAggregateInfo extends IGeneralInfo {
6
- abbrLabel: IAggregateAbbreviation;
7
- label: IAggregateLabel;
8
- value: IAggregateType;
9
- }
@@ -1,2 +0,0 @@
1
- import { AGGREGATE_LABEL } from "../constants/AGGREGATE_LABEL";
2
- export declare type IAggregateLabel = AGGREGATE_LABEL;
@@ -1,4 +0,0 @@
1
- export * from './IAggregateAbbreviation';
2
- export * from './IAggregateInfo';
3
- export * from './IAggregateLabel';
4
- export * from './IAggregateType';
@@ -1,4 +0,0 @@
1
- export * from './IAggregateAbbreviation';
2
- export * from './IAggregateInfo';
3
- export * from './IAggregateLabel';
4
- export * from './IAggregateType';
@@ -1,5 +0,0 @@
1
- import { IAggregateInfo } from "../interfaces/IAggregateInfo";
2
- import { IAggregateType } from "../interfaces/IAggregateType";
3
- export declare const AGGREGATE_INFO: {
4
- [key in IAggregateType]: IAggregateInfo;
5
- };
@@ -1 +0,0 @@
1
- export declare const AGGREGATE_INFO_LIST: import("..").IAggregateInfo[];