@qrvey/utils 1.2.4-8 → 1.2.7

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 (509) hide show
  1. package/README.md +338 -338
  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/adapters/UIToOldLogic.js +1 -0
  29. package/dist/cjs/filters/adapters/flatUIToOldLogic.js +3 -2
  30. package/dist/cjs/filters/adapters/logicToFlatUI.js +1 -1
  31. package/dist/cjs/filters/helpers/common/getFilterColumnLabel.js +1 -1
  32. package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
  33. package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
  34. package/dist/cjs/general/object/mergeDeep.js +7 -6
  35. package/dist/cjs/globalization/filters/FILTER_BUILDER.d.ts +129 -0
  36. package/dist/cjs/globalization/filters/FILTER_BUILDER.js +37 -0
  37. package/dist/cjs/globalization/filters/SLIDEBAR.d.ts +8 -0
  38. package/dist/cjs/globalization/{labels/filters/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +3 -3
  39. package/dist/cjs/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
  40. package/dist/cjs/globalization/{labels/filters/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +3 -2
  41. package/dist/cjs/globalization/filters/index.d.ts +3 -0
  42. package/dist/cjs/{charts → globalization/filters}/index.js +3 -2
  43. package/dist/cjs/globalization/index.d.ts +1 -3
  44. package/dist/cjs/globalization/index.js +1 -3
  45. package/dist/cjs/index.d.ts +0 -1
  46. package/dist/cjs/index.js +0 -1
  47. package/dist/cjs/interfaces/Qrvey.Interface.d.ts +10 -0
  48. package/dist/cjs/interfaces/index.d.ts +1 -1
  49. package/dist/cjs/interfaces/index.js +1 -1
  50. package/dist/{charts → cjs/qrvey}/constants/AGGREGATE.d.ts +0 -0
  51. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE.js +0 -0
  52. package/dist/{charts → cjs/qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
  53. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
  54. package/dist/cjs/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
  55. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
  56. package/dist/cjs/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
  57. package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
  58. package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
  59. package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.js +15 -0
  60. package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
  61. package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.js +2 -2
  62. package/dist/cjs/qrvey/constants/index.d.ts +4 -1
  63. package/dist/cjs/qrvey/constants/index.js +4 -1
  64. package/dist/{charts/interfaces/IAggregateType.d.ts → cjs/qrvey/interfaces/IAggregate.d.ts} +1 -1
  65. package/dist/cjs/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
  66. package/dist/cjs/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
  67. package/dist/cjs/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
  68. package/dist/cjs/qrvey/interfaces/index.d.ts +0 -4
  69. package/dist/cjs/qrvey/interfaces/index.js +0 -4
  70. package/dist/cjs/services/helpers/Request.js +1 -1
  71. package/dist/columns/constants/COLUMN_INFO.js +1 -2
  72. package/dist/columns/interfaces/IColumn.d.ts +3 -3
  73. package/dist/columns/interfaces/IColumnAggregateType.d.ts +2 -0
  74. package/dist/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
  75. package/dist/{qrvey/interfaces/ICalculationType.d.ts → columns/interfaces/IColumnCalculationType.d.ts} +1 -1
  76. package/dist/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
  77. package/dist/columns/interfaces/index.d.ts +2 -0
  78. package/dist/columns/interfaces/index.js +2 -0
  79. package/dist/constants/Charts.Const.d.ts +1 -0
  80. package/dist/constants/Charts.Const.js +1 -0
  81. package/dist/filters/adapters/UIToOldLogic.js +1 -0
  82. package/dist/filters/adapters/flatUIToOldLogic.js +3 -2
  83. package/dist/filters/adapters/logicToFlatUI.js +1 -1
  84. package/dist/filters/helpers/common/getFilterColumnLabel.js +1 -1
  85. package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
  86. package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
  87. package/dist/general/object/mergeDeep.js +7 -6
  88. package/dist/globalization/filters/FILTER_BUILDER.d.ts +129 -0
  89. package/dist/globalization/filters/FILTER_BUILDER.js +34 -0
  90. package/dist/globalization/filters/SLIDEBAR.d.ts +8 -0
  91. package/dist/globalization/{labels/filters/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +2 -2
  92. package/dist/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
  93. package/dist/globalization/{labels/filters/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +2 -1
  94. package/dist/globalization/filters/index.d.ts +3 -0
  95. package/dist/globalization/filters/index.js +3 -0
  96. package/dist/globalization/index.d.ts +1 -3
  97. package/dist/globalization/index.js +1 -3
  98. package/dist/index.d.ts +0 -1
  99. package/dist/index.js +0 -1
  100. package/dist/interfaces/Qrvey.Interface.d.ts +10 -0
  101. package/dist/interfaces/index.d.ts +1 -1
  102. package/dist/interfaces/index.js +1 -1
  103. package/dist/{cjs/charts → qrvey}/constants/AGGREGATE.d.ts +0 -0
  104. package/dist/{charts → qrvey}/constants/AGGREGATE.js +0 -0
  105. package/dist/{cjs/charts → qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
  106. package/dist/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
  107. package/dist/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
  108. package/dist/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
  109. package/dist/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
  110. package/dist/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
  111. package/dist/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
  112. package/dist/qrvey/constants/AGGREGATE_LABEL.js +12 -0
  113. package/dist/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
  114. package/dist/qrvey/constants/CALCULATION_INFO_LIST.js +1 -1
  115. package/dist/qrvey/constants/index.d.ts +4 -1
  116. package/dist/qrvey/constants/index.js +4 -1
  117. package/dist/{cjs/charts/interfaces/IAggregateType.d.ts → qrvey/interfaces/IAggregate.d.ts} +1 -1
  118. package/dist/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
  119. package/dist/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
  120. package/dist/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
  121. package/dist/qrvey/interfaces/index.d.ts +0 -4
  122. package/dist/qrvey/interfaces/index.js +0 -4
  123. package/dist/services/helpers/Request.js +1 -1
  124. package/package.json +5 -7
  125. package/src/charts/helpers/index.ts +3 -0
  126. package/src/charts/helpers/isExpandableTableChart.ts +5 -0
  127. package/src/charts/helpers/isSimpleTableChart.ts +5 -0
  128. package/src/charts/helpers/isTableChart.ts +5 -0
  129. package/src/columns/constants/COLUMN_INFO.ts +28 -29
  130. package/src/columns/interfaces/IColumn.ts +3 -3
  131. package/src/columns/interfaces/IColumnAggregateType.ts +3 -0
  132. package/src/{qrvey/interfaces/ICalculationType.ts → columns/interfaces/IColumnCalculationType.ts} +1 -1
  133. package/src/columns/interfaces/index.ts +2 -0
  134. package/src/constants/Charts.Const.ts +1 -0
  135. package/src/filters/adapters/UIToOldLogic.ts +2 -0
  136. package/src/filters/adapters/flatUIToOldLogic.ts +4 -2
  137. package/src/filters/adapters/logicToFlatUI.ts +1 -1
  138. package/src/filters/helpers/common/getFilterColumnLabel.ts +1 -1
  139. package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +0 -2
  140. package/src/filters/interfaces/panel/IFilterPanelConfig.ts +0 -2
  141. package/src/general/object/mergeDeep.ts +8 -7
  142. package/src/globalization/filters/FILTER_BUILDER.ts +35 -0
  143. package/src/globalization/filters/SLIDEBAR.ts +8 -0
  144. package/src/globalization/{labels/filters/I18N_VALUE_CONTAINER.ts → filters/VALUES_CONTAINER.ts} +2 -3
  145. package/src/globalization/filters/index.ts +3 -0
  146. package/src/globalization/index.ts +1 -3
  147. package/src/index.ts +0 -1
  148. package/src/interfaces/Qrvey.Interface.ts +11 -0
  149. package/src/interfaces/index.ts +1 -1
  150. package/src/{charts → qrvey}/constants/AGGREGATE.ts +0 -0
  151. package/src/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.ts +0 -0
  152. package/src/{charts → qrvey}/constants/AGGREGATE_INFO.ts +2 -2
  153. package/src/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.ts +0 -0
  154. package/src/qrvey/constants/AGGREGATE_LABEL.ts +11 -0
  155. package/src/qrvey/constants/CALCULATION_INFO_LIST.ts +1 -1
  156. package/src/qrvey/constants/index.ts +4 -1
  157. package/src/{charts/interfaces/IAggregateType.ts → qrvey/interfaces/IAggregate.ts} +1 -1
  158. package/src/qrvey/interfaces/IAggregateInfo.ts +7 -0
  159. package/src/qrvey/interfaces/index.ts +1 -5
  160. package/src/services/helpers/Request.ts +1 -1
  161. package/src/stencil/util/index.ts +1 -1
  162. package/dist/charts/constants/AGGREGATE_INFO.d.ts +0 -5
  163. package/dist/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
  164. package/dist/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
  165. package/dist/charts/constants/AGGREGATE_LABEL.js +0 -12
  166. package/dist/charts/constants/index.d.ts +0 -5
  167. package/dist/charts/constants/index.js +0 -5
  168. package/dist/charts/index.d.ts +0 -2
  169. package/dist/charts/index.js +0 -2
  170. package/dist/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
  171. package/dist/charts/interfaces/IAggregateInfo.d.ts +0 -9
  172. package/dist/charts/interfaces/IAggregateLabel.d.ts +0 -2
  173. package/dist/charts/interfaces/index.d.ts +0 -4
  174. package/dist/charts/interfaces/index.js +0 -4
  175. package/dist/cjs/charts/constants/AGGREGATE_INFO.d.ts +0 -5
  176. package/dist/cjs/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
  177. package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
  178. package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +0 -15
  179. package/dist/cjs/charts/constants/index.d.ts +0 -5
  180. package/dist/cjs/charts/constants/index.js +0 -17
  181. package/dist/cjs/charts/index.d.ts +0 -2
  182. package/dist/cjs/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
  183. package/dist/cjs/charts/interfaces/IAggregateInfo.d.ts +0 -9
  184. package/dist/cjs/charts/interfaces/IAggregateLabel.d.ts +0 -2
  185. package/dist/cjs/charts/interfaces/index.d.ts +0 -4
  186. package/dist/cjs/charts/interfaces/index.js +0 -16
  187. package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +0 -14
  188. package/dist/cjs/globalization/interfaces/IResourceI18n.js +0 -2
  189. package/dist/cjs/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
  190. package/dist/cjs/globalization/interfaces/columns/II18nColumn.js +0 -2
  191. package/dist/cjs/globalization/interfaces/columns/index.d.ts +0 -1
  192. package/dist/cjs/globalization/interfaces/columns/index.js +0 -13
  193. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
  194. package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.js +0 -2
  195. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
  196. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -2
  197. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
  198. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -2
  199. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
  200. package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -2
  201. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
  202. package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.js +0 -2
  203. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +0 -13
  204. package/dist/cjs/globalization/interfaces/common/II18nCommon.js +0 -2
  205. package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -6
  206. package/dist/cjs/globalization/interfaces/common/index.js +0 -18
  207. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
  208. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.js +0 -2
  209. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
  210. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -2
  211. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
  212. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -2
  213. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
  214. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -2
  215. package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +0 -4
  216. package/dist/cjs/globalization/interfaces/dashboard/index.js +0 -16
  217. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
  218. package/dist/cjs/globalization/interfaces/filters/II18nFilter.js +0 -2
  219. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
  220. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.js +0 -2
  221. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
  222. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -2
  223. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
  224. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -2
  225. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
  226. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -2
  227. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
  228. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -2
  229. package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
  230. package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.js +0 -2
  231. package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.d.ts +0 -7
  232. package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.js +0 -2
  233. package/dist/cjs/globalization/interfaces/filters/II18nSlidebarValueContainer.d.ts +0 -3
  234. package/dist/cjs/globalization/interfaces/filters/II18nSlidebarValueContainer.js +0 -2
  235. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +0 -4
  236. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.js +0 -2
  237. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +0 -5
  238. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.js +0 -2
  239. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
  240. package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +0 -2
  241. package/dist/cjs/globalization/interfaces/filters/index.d.ts +0 -7
  242. package/dist/cjs/globalization/interfaces/filters/index.js +0 -19
  243. package/dist/cjs/globalization/interfaces/index.d.ts +0 -3
  244. package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
  245. package/dist/cjs/globalization/interfaces/panel/II18nPanel.js +0 -2
  246. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
  247. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.js +0 -2
  248. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
  249. package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.js +0 -2
  250. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
  251. package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.js +0 -2
  252. package/dist/cjs/globalization/interfaces/panel/index.d.ts +0 -4
  253. package/dist/cjs/globalization/interfaces/panel/index.js +0 -16
  254. package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
  255. package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.js +0 -2
  256. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
  257. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -2
  258. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
  259. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -2
  260. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
  261. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -2
  262. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
  263. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -2
  264. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
  265. package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -2
  266. package/dist/cjs/globalization/interfaces/table_charts/index.d.ts +0 -6
  267. package/dist/cjs/globalization/interfaces/table_charts/index.js +0 -18
  268. package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +0 -2
  269. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +0 -17
  270. package/dist/cjs/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
  271. package/dist/cjs/globalization/labels/columns/I18N_COLUMN.js +0 -8
  272. package/dist/cjs/globalization/labels/columns/index.d.ts +0 -1
  273. package/dist/cjs/globalization/labels/columns/index.js +0 -13
  274. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
  275. package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -15
  276. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
  277. package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -42
  278. package/dist/cjs/globalization/labels/common/I18N_COMMON.d.ts +0 -2
  279. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +0 -31
  280. package/dist/cjs/globalization/labels/common/index.d.ts +0 -3
  281. package/dist/cjs/globalization/labels/common/index.js +0 -15
  282. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
  283. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -24
  284. package/dist/cjs/globalization/labels/dashboard/index.d.ts +0 -1
  285. package/dist/cjs/globalization/labels/dashboard/index.js +0 -13
  286. package/dist/cjs/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
  287. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +0 -11
  288. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
  289. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -27
  290. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
  291. package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -27
  292. package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +0 -2
  293. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +0 -2
  294. package/dist/cjs/globalization/labels/filters/index.d.ts +0 -5
  295. package/dist/cjs/globalization/labels/filters/index.js +0 -17
  296. package/dist/cjs/globalization/labels/index.d.ts +0 -7
  297. package/dist/cjs/globalization/labels/index.js +0 -19
  298. package/dist/cjs/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
  299. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +0 -34
  300. package/dist/cjs/globalization/labels/panel/index.d.ts +0 -1
  301. package/dist/cjs/globalization/labels/panel/index.js +0 -13
  302. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
  303. package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -36
  304. package/dist/cjs/globalization/labels/table_charts/index.d.ts +0 -1
  305. package/dist/cjs/globalization/labels/table_charts/index.js +0 -13
  306. package/dist/cjs/globalization/service/i18nextBuilder.d.ts +0 -9
  307. package/dist/cjs/globalization/service/i18nextBuilder.js +0 -61
  308. package/dist/cjs/globalization/service/index.d.ts +0 -2
  309. package/dist/cjs/globalization/service/index.js +0 -14
  310. package/dist/cjs/globalization/service/initI18n.d.ts +0 -3
  311. package/dist/cjs/globalization/service/initI18n.js +0 -19
  312. package/dist/cjs/qrvey/interfaces/ICalculationType.js +0 -2
  313. package/dist/globalization/interfaces/IResourceI18n.d.ts +0 -14
  314. package/dist/globalization/interfaces/IResourceI18n.js +0 -1
  315. package/dist/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
  316. package/dist/globalization/interfaces/columns/II18nColumn.js +0 -1
  317. package/dist/globalization/interfaces/columns/index.d.ts +0 -1
  318. package/dist/globalization/interfaces/columns/index.js +0 -1
  319. package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
  320. package/dist/globalization/interfaces/common/II18nAgreggateLabels.js +0 -1
  321. package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
  322. package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -1
  323. package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
  324. package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -1
  325. package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
  326. package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -1
  327. package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
  328. package/dist/globalization/interfaces/common/II18nColumnTypes.js +0 -1
  329. package/dist/globalization/interfaces/common/II18nCommon.d.ts +0 -13
  330. package/dist/globalization/interfaces/common/II18nCommon.js +0 -1
  331. package/dist/globalization/interfaces/common/index.d.ts +0 -6
  332. package/dist/globalization/interfaces/common/index.js +0 -6
  333. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
  334. package/dist/globalization/interfaces/dashboard/II18nDashboard.js +0 -1
  335. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
  336. package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -1
  337. package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
  338. package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -1
  339. package/dist/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
  340. package/dist/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -1
  341. package/dist/globalization/interfaces/dashboard/index.d.ts +0 -4
  342. package/dist/globalization/interfaces/dashboard/index.js +0 -4
  343. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
  344. package/dist/globalization/interfaces/filters/II18nFilter.js +0 -1
  345. package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
  346. package/dist/globalization/interfaces/filters/II18nFilterBuilder.js +0 -1
  347. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
  348. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -1
  349. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
  350. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -1
  351. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
  352. package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -1
  353. package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
  354. package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -1
  355. package/dist/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
  356. package/dist/globalization/interfaces/filters/II18nFilterValidator.js +0 -1
  357. package/dist/globalization/interfaces/filters/II18nSlidebar.d.ts +0 -7
  358. package/dist/globalization/interfaces/filters/II18nSlidebar.js +0 -1
  359. package/dist/globalization/interfaces/filters/II18nSlidebarValueContainer.d.ts +0 -3
  360. package/dist/globalization/interfaces/filters/II18nSlidebarValueContainer.js +0 -1
  361. package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +0 -4
  362. package/dist/globalization/interfaces/filters/II18nValueContainer.js +0 -1
  363. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +0 -5
  364. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.js +0 -1
  365. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
  366. package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +0 -1
  367. package/dist/globalization/interfaces/filters/index.d.ts +0 -7
  368. package/dist/globalization/interfaces/filters/index.js +0 -7
  369. package/dist/globalization/interfaces/index.d.ts +0 -3
  370. package/dist/globalization/interfaces/index.js +0 -3
  371. package/dist/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
  372. package/dist/globalization/interfaces/panel/II18nPanel.js +0 -1
  373. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
  374. package/dist/globalization/interfaces/panel/II18nPanelErrors.js +0 -1
  375. package/dist/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
  376. package/dist/globalization/interfaces/panel/II18nPanelMenu.js +0 -1
  377. package/dist/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
  378. package/dist/globalization/interfaces/panel/II18nPanelTooltips.js +0 -1
  379. package/dist/globalization/interfaces/panel/index.d.ts +0 -4
  380. package/dist/globalization/interfaces/panel/index.js +0 -4
  381. package/dist/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
  382. package/dist/globalization/interfaces/table_charts/II18nTableCharts.js +0 -1
  383. package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
  384. package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -1
  385. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
  386. package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -1
  387. package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
  388. package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -1
  389. package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
  390. package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -1
  391. package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
  392. package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -1
  393. package/dist/globalization/interfaces/table_charts/index.d.ts +0 -6
  394. package/dist/globalization/interfaces/table_charts/index.js +0 -6
  395. package/dist/globalization/labels/I18N_DEFAULT.d.ts +0 -2
  396. package/dist/globalization/labels/I18N_DEFAULT.js +0 -14
  397. package/dist/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
  398. package/dist/globalization/labels/columns/I18N_COLUMN.js +0 -5
  399. package/dist/globalization/labels/columns/index.d.ts +0 -1
  400. package/dist/globalization/labels/columns/index.js +0 -1
  401. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
  402. package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -12
  403. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
  404. package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -39
  405. package/dist/globalization/labels/common/I18N_COMMON.d.ts +0 -2
  406. package/dist/globalization/labels/common/I18N_COMMON.js +0 -28
  407. package/dist/globalization/labels/common/index.d.ts +0 -3
  408. package/dist/globalization/labels/common/index.js +0 -3
  409. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
  410. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -21
  411. package/dist/globalization/labels/dashboard/index.d.ts +0 -1
  412. package/dist/globalization/labels/dashboard/index.js +0 -1
  413. package/dist/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
  414. package/dist/globalization/labels/filters/I18N_FILTER.js +0 -8
  415. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
  416. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -24
  417. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
  418. package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -24
  419. package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +0 -2
  420. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +0 -2
  421. package/dist/globalization/labels/filters/index.d.ts +0 -5
  422. package/dist/globalization/labels/filters/index.js +0 -5
  423. package/dist/globalization/labels/index.d.ts +0 -7
  424. package/dist/globalization/labels/index.js +0 -7
  425. package/dist/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
  426. package/dist/globalization/labels/panel/I18N_PANEL.js +0 -31
  427. package/dist/globalization/labels/panel/index.d.ts +0 -1
  428. package/dist/globalization/labels/panel/index.js +0 -1
  429. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
  430. package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -33
  431. package/dist/globalization/labels/table_charts/index.d.ts +0 -1
  432. package/dist/globalization/labels/table_charts/index.js +0 -1
  433. package/dist/globalization/service/i18nextBuilder.d.ts +0 -9
  434. package/dist/globalization/service/i18nextBuilder.js +0 -53
  435. package/dist/globalization/service/index.d.ts +0 -2
  436. package/dist/globalization/service/index.js +0 -2
  437. package/dist/globalization/service/initI18n.d.ts +0 -3
  438. package/dist/globalization/service/initI18n.js +0 -15
  439. package/dist/qrvey/interfaces/ICalculationType.js +0 -1
  440. package/src/charts/constants/AGGREGATE_LABEL.ts +0 -11
  441. package/src/charts/constants/index.ts +0 -5
  442. package/src/charts/index.ts +0 -2
  443. package/src/charts/interfaces/IAggregateAbbreviation.ts +0 -3
  444. package/src/charts/interfaces/IAggregateInfo.ts +0 -11
  445. package/src/charts/interfaces/IAggregateLabel.ts +0 -3
  446. package/src/charts/interfaces/index.ts +0 -4
  447. package/src/globalization/interfaces/IResourceI18n.ts +0 -16
  448. package/src/globalization/interfaces/columns/II18nColumn.ts +0 -7
  449. package/src/globalization/interfaces/columns/index.ts +0 -1
  450. package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +0 -11
  451. package/src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts +0 -5
  452. package/src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts +0 -8
  453. package/src/globalization/interfaces/common/II18nChartInfoMessagesTableChart.ts +0 -8
  454. package/src/globalization/interfaces/common/II18nColumnTypes.ts +0 -42
  455. package/src/globalization/interfaces/common/II18nCommon.ts +0 -14
  456. package/src/globalization/interfaces/common/index.ts +0 -8
  457. package/src/globalization/interfaces/dashboard/II18nDashboard.ts +0 -10
  458. package/src/globalization/interfaces/dashboard/II18nDashboardAddChart.ts +0 -5
  459. package/src/globalization/interfaces/dashboard/II18nDashboardTooltips.ts +0 -7
  460. package/src/globalization/interfaces/dashboard/II18nDashboardViews.ts +0 -6
  461. package/src/globalization/interfaces/dashboard/index.ts +0 -4
  462. package/src/globalization/interfaces/filters/II18nFilter.ts +0 -9
  463. package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +0 -17
  464. package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +0 -4
  465. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +0 -6
  466. package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +0 -4
  467. package/src/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.ts +0 -3
  468. package/src/globalization/interfaces/filters/II18nFilterValidator.ts +0 -23
  469. package/src/globalization/interfaces/filters/II18nSlidebar.ts +0 -8
  470. package/src/globalization/interfaces/filters/II18nSlidebarValueContainer.ts +0 -3
  471. package/src/globalization/interfaces/filters/II18nValueContainer.ts +0 -5
  472. package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +0 -6
  473. package/src/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.ts +0 -5
  474. package/src/globalization/interfaces/filters/index.ts +0 -7
  475. package/src/globalization/interfaces/index.ts +0 -3
  476. package/src/globalization/interfaces/panel/II18nPanel.ts +0 -10
  477. package/src/globalization/interfaces/panel/II18nPanelErrors.ts +0 -9
  478. package/src/globalization/interfaces/panel/II18nPanelMenu.ts +0 -15
  479. package/src/globalization/interfaces/panel/II18nPanelTooltips.ts +0 -4
  480. package/src/globalization/interfaces/panel/index.ts +0 -4
  481. package/src/globalization/interfaces/table_charts/II18nTableCharts.ts +0 -16
  482. package/src/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.ts +0 -8
  483. package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +0 -4
  484. package/src/globalization/interfaces/table_charts/II18nTableChartsSort.ts +0 -10
  485. package/src/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.ts +0 -3
  486. package/src/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.ts +0 -5
  487. package/src/globalization/interfaces/table_charts/index.ts +0 -6
  488. package/src/globalization/labels/I18N_DEFAULT.ts +0 -16
  489. package/src/globalization/labels/columns/I18N_COLUMN.ts +0 -9
  490. package/src/globalization/labels/columns/index.ts +0 -1
  491. package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +0 -14
  492. package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +0 -43
  493. package/src/globalization/labels/common/I18N_COMMON.ts +0 -30
  494. package/src/globalization/labels/common/index.ts +0 -5
  495. package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +0 -23
  496. package/src/globalization/labels/dashboard/index.ts +0 -1
  497. package/src/globalization/labels/filters/I18N_FILTER.ts +0 -10
  498. package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +0 -26
  499. package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +0 -27
  500. package/src/globalization/labels/filters/I18N_SLIDEBAR.ts +0 -10
  501. package/src/globalization/labels/filters/index.ts +0 -7
  502. package/src/globalization/labels/index.ts +0 -8
  503. package/src/globalization/labels/panel/I18N_PANEL.ts +0 -33
  504. package/src/globalization/labels/panel/index.ts +0 -1
  505. package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +0 -35
  506. package/src/globalization/labels/table_charts/index.ts +0 -1
  507. package/src/globalization/service/i18nextBuilder.ts +0 -51
  508. package/src/globalization/service/index.ts +0 -2
  509. package/src/globalization/service/initI18n.ts +0 -6
@@ -0,0 +1,5 @@
1
+ import { IAggregate } from "../interfaces/IAggregate";
2
+ import { IAggregateInfo } from "../interfaces/IAggregateInfo";
3
+ export declare const AGGREGATE_INFO: {
4
+ [key in IAggregate]: IAggregateInfo;
5
+ };
@@ -0,0 +1 @@
1
+ export declare const AGGREGATE_INFO_LIST: import("../interfaces/IAggregateInfo").IAggregateInfo[];
@@ -0,0 +1,11 @@
1
+ export declare 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
+ }
@@ -0,0 +1,12 @@
1
+ export var AGGREGATE_LABEL;
2
+ (function (AGGREGATE_LABEL) {
3
+ AGGREGATE_LABEL["NONE"] = "NONE";
4
+ AGGREGATE_LABEL["AVG"] = "AVG";
5
+ AGGREGATE_LABEL["MEDIAN"] = "MEDIAN";
6
+ AGGREGATE_LABEL["MIN"] = "MIN";
7
+ AGGREGATE_LABEL["MAX"] = "MAX";
8
+ AGGREGATE_LABEL["SUM"] = "SUM";
9
+ AGGREGATE_LABEL["STDEV"] = "STDEV";
10
+ AGGREGATE_LABEL["COUNT"] = "COUNT";
11
+ AGGREGATE_LABEL["DISTINCTCOUNT"] = "DISTINCTCOUNT";
12
+ })(AGGREGATE_LABEL || (AGGREGATE_LABEL = {}));
@@ -1 +1 @@
1
- export declare const CALCULATION_INFO_LIST: import("..").ICalculationInfo[];
1
+ export declare const AGGREGATE_INFO_LIST: import("../interfaces/ICalculationInfo").ICalculationInfo[];
@@ -1,6 +1,6 @@
1
1
  import { CALCULATION } from "./CALCULATION";
2
2
  import { CALCULATION_INFO } from "./CALCULATION_INFO";
3
- export const CALCULATION_INFO_LIST = [
3
+ export const AGGREGATE_INFO_LIST = [
4
4
  CALCULATION_INFO[CALCULATION.AVG],
5
5
  CALCULATION_INFO[CALCULATION.SUM],
6
6
  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,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-8",
3
+ "version": "1.2.7",
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',
@@ -93,6 +93,8 @@ function buildExpressions(filterSection: IFUFilter[], scope: IFUScope, dataset:
93
93
  value: getBackendValues(filter),
94
94
  uiExtras: getFilterDetail(filter, scope, dataset),
95
95
  };
96
+ expression['enabled'] = expression.value.length > 0 ? filter.enabled : false;
97
+
96
98
  expressions.push(expression);
97
99
  return expressions;
98
100
  }, [] as OLD_IFilterExpression[]);
@@ -181,8 +181,7 @@ function getRankingExpressions(props: OLD_IFilterDetail): OLD_IFilterExpression[
181
181
 
182
182
  function getRegularExpression(props: OLD_IFilterDetail): OLD_IFilterExpression {
183
183
  const uiValue = getUIValuess(props);
184
- return {
185
- enabled: props.enabled,
184
+ const expression = {
186
185
  groupValue: getBackendGroupValue(props as any),
187
186
  linkid: props.column.linkid,
188
187
  property: getBackendProperty(props as any),
@@ -197,6 +196,9 @@ function getRegularExpression(props: OLD_IFilterDetail): OLD_IFilterExpression {
197
196
  uiValue
198
197
  }
199
198
  };
199
+ expression['enabled'] = expression.value.length > 0 ? props.enabled : false;
200
+
201
+ return expression;
200
202
  }
201
203
 
202
204
  // function getGroupValue(props: OLD_IFilterDetail): IFProperty {
@@ -83,7 +83,7 @@ function getFilterByExpression(expression: OLD_IFilterExpression, scopeItem: OLD
83
83
  },
84
84
  dateSection: uiExtras.dateSection,
85
85
  displayed: true,
86
- enabled: expression.enabled,
86
+ enabled: uiExtras.enabled,
87
87
  extras: {
88
88
  ...uiExtras.extras,
89
89
  panelid: uiExtras.panelid,
@@ -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';