@qrvey/filters 0.0.45 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/README.md +63 -1
  2. package/dist/cjs/classes/FilterAdapter.js +1 -80
  3. package/dist/cjs/classes/FilterBuilder.js +32 -251
  4. package/dist/cjs/classes/FilterManager.js +7 -64
  5. package/dist/cjs/classes/FilterResources.js +3 -116
  6. package/dist/cjs/classes/FilterSearcher.js +0 -77
  7. package/dist/cjs/classes/FilterValidation.js +0 -93
  8. package/dist/cjs/classes/FilterValues.js +0 -24
  9. package/dist/cjs/classes/index.js +8 -21
  10. package/dist/cjs/helpers/filter-adapt.helpers.js +3 -46
  11. package/dist/cjs/helpers/filter-adapt.legacy.helpers.js +6 -53
  12. package/dist/cjs/helpers/filter-adapt.logic.helpers.js +7 -128
  13. package/dist/cjs/helpers/filter-builder.helpers.js +1 -8
  14. package/dist/cjs/helpers/filter-settings.helpers.js +6 -41
  15. package/dist/cjs/helpers/filter-validators.helpers.js +15 -9
  16. package/dist/cjs/helpers/filter-verbose.helpers.js +211 -0
  17. package/dist/cjs/helpers/getAggregateFilters.js +11 -0
  18. package/dist/cjs/helpers/getFilterId.js +1 -17
  19. package/dist/cjs/helpers/getFilterType.js +1 -8
  20. package/dist/cjs/helpers/index.js +12 -20
  21. package/dist/cjs/helpers/isDateDistinctGrouping.js +15 -0
  22. package/dist/cjs/helpers/isRankingFilter.js +10 -0
  23. package/dist/cjs/helpers/resolveFilterConditions.js +2 -10
  24. package/dist/cjs/helpers/utils.helpers.js +2 -19
  25. package/dist/cjs/index.js +5 -18
  26. package/dist/cjs/models/index.js +4 -17
  27. package/dist/cjs/resources/filter-grouping.resources.js +0 -18
  28. package/dist/cjs/resources/filter-logic.resources.js +0 -3
  29. package/dist/cjs/resources/filter-scopes.resources.js +10 -27
  30. package/dist/cjs/resources/filter-validators.resources.js +0 -3
  31. package/dist/cjs/resources/filter-verbose.resources.js +13 -0
  32. package/dist/cjs/resources/filters.resources.js +0 -12
  33. package/dist/cjs/resources/index.js +12 -24
  34. package/dist/classes/FilterAdapter.d.ts +0 -80
  35. package/dist/classes/FilterAdapter.js +1 -80
  36. package/dist/classes/FilterBuilder.d.ts +2 -177
  37. package/dist/classes/FilterBuilder.js +32 -251
  38. package/dist/classes/FilterManager.d.ts +7 -62
  39. package/dist/classes/FilterManager.js +7 -64
  40. package/dist/classes/FilterResources.d.ts +1 -115
  41. package/dist/classes/FilterResources.js +3 -116
  42. package/dist/classes/FilterSearcher.d.ts +2 -77
  43. package/dist/classes/FilterSearcher.js +0 -77
  44. package/dist/classes/FilterValidation.d.ts +1 -47
  45. package/dist/classes/FilterValidation.js +0 -93
  46. package/dist/classes/FilterValues.d.ts +0 -25
  47. package/dist/classes/FilterValues.js +0 -24
  48. package/dist/classes/index.d.ts +0 -1
  49. package/dist/helpers/filter-adapt.helpers.d.ts +0 -15
  50. package/dist/helpers/filter-adapt.helpers.js +1 -43
  51. package/dist/helpers/filter-adapt.legacy.helpers.d.ts +0 -20
  52. package/dist/helpers/filter-adapt.legacy.helpers.js +3 -49
  53. package/dist/helpers/filter-adapt.logic.helpers.d.ts +0 -22
  54. package/dist/helpers/filter-adapt.logic.helpers.js +3 -123
  55. package/dist/helpers/filter-builder.helpers.d.ts +0 -7
  56. package/dist/helpers/filter-builder.helpers.js +0 -6
  57. package/dist/helpers/filter-settings.helpers.d.ts +0 -35
  58. package/dist/helpers/filter-settings.helpers.js +0 -34
  59. package/dist/helpers/filter-validators.helpers.d.ts +3 -6
  60. package/dist/helpers/filter-validators.helpers.js +11 -7
  61. package/dist/helpers/filter-verbose.helpers.d.ts +6 -0
  62. package/dist/helpers/filter-verbose.helpers.js +206 -0
  63. package/dist/helpers/getAggregateFilters.d.ts +3 -0
  64. package/dist/helpers/getAggregateFilters.js +7 -0
  65. package/dist/helpers/getFilterId.d.ts +0 -16
  66. package/dist/helpers/getFilterId.js +0 -15
  67. package/dist/helpers/getFilterType.d.ts +0 -7
  68. package/dist/helpers/getFilterType.js +0 -6
  69. package/dist/helpers/index.d.ts +5 -1
  70. package/dist/helpers/index.js +5 -0
  71. package/dist/helpers/isDateDistinctGrouping.d.ts +2 -0
  72. package/dist/helpers/isDateDistinctGrouping.js +12 -0
  73. package/dist/helpers/isRankingFilter.d.ts +2 -0
  74. package/dist/helpers/isRankingFilter.js +7 -0
  75. package/dist/helpers/resolveFilterConditions.d.ts +0 -8
  76. package/dist/helpers/resolveFilterConditions.js +1 -8
  77. package/dist/helpers/utils.helpers.d.ts +0 -17
  78. package/dist/helpers/utils.helpers.js +0 -16
  79. package/dist/index.d.ts +0 -1
  80. package/dist/models/filter-builder.models.d.ts +0 -156
  81. package/dist/models/filter-resources.models.d.ts +0 -53
  82. package/dist/models/filter-searcher.models.d.ts +5 -34
  83. package/dist/models/filter-validation.models.d.ts +0 -40
  84. package/dist/models/index.d.ts +0 -1
  85. package/dist/resources/filter-functions.resources.d.ts +0 -49
  86. package/dist/resources/filter-grouping.resources.d.ts +0 -7
  87. package/dist/resources/filter-grouping.resources.js +0 -18
  88. package/dist/resources/filter-logic.resources.d.ts +0 -79
  89. package/dist/resources/filter-logic.resources.js +0 -3
  90. package/dist/resources/filter-operators.resources.d.ts +0 -1
  91. package/dist/resources/filter-panel.interfaces.d.ts +0 -49
  92. package/dist/resources/filter-scopes.resources.d.ts +2 -25
  93. package/dist/resources/filter-scopes.resources.js +10 -27
  94. package/dist/resources/filter-validation.resources.d.ts +0 -1
  95. package/dist/resources/filter-validators.resources.d.ts +0 -1
  96. package/dist/resources/filter-validators.resources.js +0 -3
  97. package/dist/resources/filter-values.resources.d.ts +0 -13
  98. package/dist/resources/filter-verbose.resources.d.ts +23 -0
  99. package/dist/resources/filter-verbose.resources.js +10 -0
  100. package/dist/resources/filter-visual.resources.d.ts +0 -50
  101. package/dist/resources/filters.resources.d.ts +1 -102
  102. package/dist/resources/filters.resources.js +0 -12
  103. package/dist/resources/index.d.ts +1 -1
  104. package/dist/resources/index.js +1 -0
  105. package/package.json +59 -44
  106. package/.eslintignore +0 -6
  107. package/.eslintrc.json +0 -122
  108. package/.husky/pre-commit +0 -4
  109. package/.lintstagedrc +0 -7
  110. package/.prettierignore +0 -6
  111. package/.prettierrc.json +0 -1
  112. package/CHANGELOG.md +0 -274
  113. package/CODE_OF_CONDUCT.md +0 -132
  114. package/bitbucket-pipelines.yml +0 -92
  115. package/dist/cjs/classes/FilterAdapter.d.ts +0 -107
  116. package/dist/cjs/classes/FilterAdapter.d.ts.map +0 -1
  117. package/dist/cjs/classes/FilterBuilder.d.ts +0 -206
  118. package/dist/cjs/classes/FilterBuilder.d.ts.map +0 -1
  119. package/dist/cjs/classes/FilterManager.d.ts +0 -84
  120. package/dist/cjs/classes/FilterManager.d.ts.map +0 -1
  121. package/dist/cjs/classes/FilterResources.d.ts +0 -139
  122. package/dist/cjs/classes/FilterResources.d.ts.map +0 -1
  123. package/dist/cjs/classes/FilterSearcher.d.ts +0 -90
  124. package/dist/cjs/classes/FilterSearcher.d.ts.map +0 -1
  125. package/dist/cjs/classes/FilterValidation.d.ts +0 -58
  126. package/dist/cjs/classes/FilterValidation.d.ts.map +0 -1
  127. package/dist/cjs/classes/FilterValues.d.ts +0 -33
  128. package/dist/cjs/classes/FilterValues.d.ts.map +0 -1
  129. package/dist/cjs/classes/index.d.ts +0 -8
  130. package/dist/cjs/classes/index.d.ts.map +0 -1
  131. package/dist/cjs/helpers/filter-adapt.helpers.d.ts +0 -21
  132. package/dist/cjs/helpers/filter-adapt.helpers.d.ts.map +0 -1
  133. package/dist/cjs/helpers/filter-adapt.legacy.helpers.d.ts +0 -26
  134. package/dist/cjs/helpers/filter-adapt.legacy.helpers.d.ts.map +0 -1
  135. package/dist/cjs/helpers/filter-adapt.logic.helpers.d.ts +0 -29
  136. package/dist/cjs/helpers/filter-adapt.logic.helpers.d.ts.map +0 -1
  137. package/dist/cjs/helpers/filter-builder.helpers.d.ts +0 -11
  138. package/dist/cjs/helpers/filter-builder.helpers.d.ts.map +0 -1
  139. package/dist/cjs/helpers/filter-settings.helpers.d.ts +0 -42
  140. package/dist/cjs/helpers/filter-settings.helpers.d.ts.map +0 -1
  141. package/dist/cjs/helpers/filter-validators.helpers.d.ts +0 -8
  142. package/dist/cjs/helpers/filter-validators.helpers.d.ts.map +0 -1
  143. package/dist/cjs/helpers/getFilterId.d.ts +0 -18
  144. package/dist/cjs/helpers/getFilterId.d.ts.map +0 -1
  145. package/dist/cjs/helpers/getFilterType.d.ts +0 -11
  146. package/dist/cjs/helpers/getFilterType.d.ts.map +0 -1
  147. package/dist/cjs/helpers/index.d.ts +0 -7
  148. package/dist/cjs/helpers/index.d.ts.map +0 -1
  149. package/dist/cjs/helpers/resolveFilterConditions.d.ts +0 -11
  150. package/dist/cjs/helpers/resolveFilterConditions.d.ts.map +0 -1
  151. package/dist/cjs/helpers/utils.helpers.d.ts +0 -26
  152. package/dist/cjs/helpers/utils.helpers.d.ts.map +0 -1
  153. package/dist/cjs/index.d.ts +0 -5
  154. package/dist/cjs/index.d.ts.map +0 -1
  155. package/dist/cjs/models/filter-builder.models.d.ts +0 -203
  156. package/dist/cjs/models/filter-builder.models.d.ts.map +0 -1
  157. package/dist/cjs/models/filter-resources.models.d.ts +0 -71
  158. package/dist/cjs/models/filter-resources.models.d.ts.map +0 -1
  159. package/dist/cjs/models/filter-searcher.models.d.ts +0 -42
  160. package/dist/cjs/models/filter-searcher.models.d.ts.map +0 -1
  161. package/dist/cjs/models/filter-validation.models.d.ts +0 -59
  162. package/dist/cjs/models/filter-validation.models.d.ts.map +0 -1
  163. package/dist/cjs/models/index.d.ts +0 -4
  164. package/dist/cjs/models/index.d.ts.map +0 -1
  165. package/dist/cjs/resources/filter-functions.resources.d.ts +0 -94
  166. package/dist/cjs/resources/filter-functions.resources.d.ts.map +0 -1
  167. package/dist/cjs/resources/filter-grouping.resources.d.ts +0 -103
  168. package/dist/cjs/resources/filter-grouping.resources.d.ts.map +0 -1
  169. package/dist/cjs/resources/filter-logic.resources.d.ts +0 -135
  170. package/dist/cjs/resources/filter-logic.resources.d.ts.map +0 -1
  171. package/dist/cjs/resources/filter-operators.resources.d.ts +0 -16
  172. package/dist/cjs/resources/filter-operators.resources.d.ts.map +0 -1
  173. package/dist/cjs/resources/filter-panel.interfaces.d.ts +0 -80
  174. package/dist/cjs/resources/filter-panel.interfaces.d.ts.map +0 -1
  175. package/dist/cjs/resources/filter-scopes.resources.d.ts +0 -62
  176. package/dist/cjs/resources/filter-scopes.resources.d.ts.map +0 -1
  177. package/dist/cjs/resources/filter-validation.resources.d.ts +0 -20
  178. package/dist/cjs/resources/filter-validation.resources.d.ts.map +0 -1
  179. package/dist/cjs/resources/filter-validators.resources.d.ts +0 -80
  180. package/dist/cjs/resources/filter-validators.resources.d.ts.map +0 -1
  181. package/dist/cjs/resources/filter-values.resources.d.ts +0 -40
  182. package/dist/cjs/resources/filter-values.resources.d.ts.map +0 -1
  183. package/dist/cjs/resources/filter-visual.resources.d.ts +0 -77
  184. package/dist/cjs/resources/filter-visual.resources.d.ts.map +0 -1
  185. package/dist/cjs/resources/filters.resources.d.ts +0 -168
  186. package/dist/cjs/resources/filters.resources.d.ts.map +0 -1
  187. package/dist/cjs/resources/index.d.ts +0 -11
  188. package/dist/cjs/resources/index.d.ts.map +0 -1
  189. package/dist/classes/FilterAdapter.d.ts.map +0 -1
  190. package/dist/classes/FilterBuilder.d.ts.map +0 -1
  191. package/dist/classes/FilterManager.d.ts.map +0 -1
  192. package/dist/classes/FilterResources.d.ts.map +0 -1
  193. package/dist/classes/FilterSearcher.d.ts.map +0 -1
  194. package/dist/classes/FilterValidation.d.ts.map +0 -1
  195. package/dist/classes/FilterValues.d.ts.map +0 -1
  196. package/dist/classes/index.d.ts.map +0 -1
  197. package/dist/helpers/filter-adapt.helpers.d.ts.map +0 -1
  198. package/dist/helpers/filter-adapt.legacy.helpers.d.ts.map +0 -1
  199. package/dist/helpers/filter-adapt.logic.helpers.d.ts.map +0 -1
  200. package/dist/helpers/filter-builder.helpers.d.ts.map +0 -1
  201. package/dist/helpers/filter-settings.helpers.d.ts.map +0 -1
  202. package/dist/helpers/filter-validators.helpers.d.ts.map +0 -1
  203. package/dist/helpers/getFilterId.d.ts.map +0 -1
  204. package/dist/helpers/getFilterType.d.ts.map +0 -1
  205. package/dist/helpers/index.d.ts.map +0 -1
  206. package/dist/helpers/resolveFilterConditions.d.ts.map +0 -1
  207. package/dist/helpers/utils.helpers.d.ts.map +0 -1
  208. package/dist/index.d.ts.map +0 -1
  209. package/dist/models/filter-builder.models.d.ts.map +0 -1
  210. package/dist/models/filter-resources.models.d.ts.map +0 -1
  211. package/dist/models/filter-searcher.models.d.ts.map +0 -1
  212. package/dist/models/filter-validation.models.d.ts.map +0 -1
  213. package/dist/models/index.d.ts.map +0 -1
  214. package/dist/resources/filter-functions.resources.d.ts.map +0 -1
  215. package/dist/resources/filter-grouping.resources.d.ts.map +0 -1
  216. package/dist/resources/filter-logic.resources.d.ts.map +0 -1
  217. package/dist/resources/filter-operators.resources.d.ts.map +0 -1
  218. package/dist/resources/filter-panel.interfaces.d.ts.map +0 -1
  219. package/dist/resources/filter-scopes.resources.d.ts.map +0 -1
  220. package/dist/resources/filter-validation.resources.d.ts.map +0 -1
  221. package/dist/resources/filter-validators.resources.d.ts.map +0 -1
  222. package/dist/resources/filter-values.resources.d.ts.map +0 -1
  223. package/dist/resources/filter-visual.resources.d.ts.map +0 -1
  224. package/dist/resources/filters.resources.d.ts.map +0 -1
  225. package/dist/resources/index.d.ts.map +0 -1
  226. package/jest.config.js +0 -10
  227. package/jsdoc.config.json +0 -14
  228. package/scripts/clean-build/index.js +0 -62
  229. package/sonar-project.properties +0 -2
  230. package/src/classes/FilterAdapter.ts +0 -208
  231. package/src/classes/FilterBuilder.ts +0 -822
  232. package/src/classes/FilterManager.ts +0 -126
  233. package/src/classes/FilterResources.ts +0 -411
  234. package/src/classes/FilterSearcher.ts +0 -243
  235. package/src/classes/FilterValidation.ts +0 -221
  236. package/src/classes/FilterValues.ts +0 -89
  237. package/src/classes/index.ts +0 -7
  238. package/src/helpers/filter-adapt.helpers.ts +0 -204
  239. package/src/helpers/filter-adapt.legacy.helpers.ts +0 -298
  240. package/src/helpers/filter-adapt.logic.helpers.ts +0 -631
  241. package/src/helpers/filter-builder.helpers.ts +0 -28
  242. package/src/helpers/filter-settings.helpers.ts +0 -133
  243. package/src/helpers/filter-validators.helpers.ts +0 -15
  244. package/src/helpers/getFilterId.ts +0 -35
  245. package/src/helpers/getFilterType.ts +0 -23
  246. package/src/helpers/index.ts +0 -6
  247. package/src/helpers/resolveFilterConditions.ts +0 -29
  248. package/src/helpers/utils.helpers.ts +0 -37
  249. package/src/index.ts +0 -4
  250. package/src/models/filter-builder.models.ts +0 -256
  251. package/src/models/filter-resources.models.ts +0 -89
  252. package/src/models/filter-searcher.models.ts +0 -61
  253. package/src/models/filter-validation.models.ts +0 -71
  254. package/src/models/index.ts +0 -3
  255. package/src/resources/filter-functions.resources.ts +0 -132
  256. package/src/resources/filter-grouping.resources.ts +0 -531
  257. package/src/resources/filter-logic.resources.ts +0 -148
  258. package/src/resources/filter-operators.resources.ts +0 -40
  259. package/src/resources/filter-panel.interfaces.ts +0 -86
  260. package/src/resources/filter-scopes.resources.ts +0 -152
  261. package/src/resources/filter-validation.resources.ts +0 -90
  262. package/src/resources/filter-validators.resources.ts +0 -411
  263. package/src/resources/filter-values.resources.ts +0 -57
  264. package/src/resources/filter-visual.resources.ts +0 -86
  265. package/src/resources/filters.resources.ts +0 -232
  266. package/src/resources/index.ts +0 -10
  267. package/tests/classes/FilterAdapter.test.ts +0 -124
  268. package/tests/classes/FilterBuilder.test.ts +0 -903
  269. package/tests/classes/FilterResources.test.ts +0 -267
  270. package/tests/classes/FilterSearcher.test.ts +0 -188
  271. package/tests/classes/FilterValidation.test.ts +0 -54
  272. package/tests/helpers/getFilterId.test.ts +0 -121
  273. package/tests/mock/datasets.mock.ts +0 -61
  274. package/tests/mock/filters-adapter.mock.ts +0 -646
  275. package/tests/mock/filters-interactive-table.mock.ts +0 -59
  276. package/tests/mock/filters.mock.ts +0 -277
  277. package/tsconfig.doc.json +0 -4
  278. package/tsconfig.eslint.json +0 -4
  279. package/tsconfig.json +0 -113
package/CHANGELOG.md DELETED
@@ -1,274 +0,0 @@
1
- ### Changelog
2
-
3
- All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4
-
5
- Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
-
7
- #### [v0.0.45](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.45..v0.0.44)
8
-
9
- - fix(filters): add formulaType to filter initialization (RB-8306) [`#14`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/14)
10
-
11
- #### [v0.0.44](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.44..v0.0.43)
12
-
13
- > 23 February 2026
14
-
15
- - fix: :bug: disabled temporarly the strictValidation on filter creations [`#13`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/13)
16
-
17
- #### [v0.0.43](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.43..v0.0.42)
18
-
19
- > 20 February 2026
20
-
21
- #### [v0.0.42](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.42..v0.0.41)
22
-
23
- > 19 February 2026
24
-
25
- - fix: added settings for creation functions [`#12`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/12)
26
-
27
- #### [v0.0.41](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.41..v0.0.40)
28
-
29
- > 9 February 2026
30
-
31
- - chore: upgraded qrvey utils to latest version [`934de77`](https://bitbucket.org/qrvey/qrvey_filters/commits/934de779137b294d8406ab2b20c08400152058b4)
32
-
33
- #### [v0.0.40](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.40..v0.0.39)
34
-
35
- > 9 February 2026
36
-
37
- - chore: upgraded qrvey utils to latest version [`1247f58`](https://bitbucket.org/qrvey/qrvey_filters/commits/1247f580fe52e31ec4ea1b92442581fd2a63b1d1)
38
-
39
- #### [v0.0.39](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.39..v0.0.38)
40
-
41
- > 29 January 2026
42
-
43
- - fix: added the missing formulaType on legacy filter builder [`6edd6ac`](https://bitbucket.org/qrvey/qrvey_filters/commits/6edd6ac09389262e76354dc9d6ee4b249ad3f8d2)
44
-
45
- #### [v0.0.38](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.38..v0.0.37)
46
-
47
- > 4 November 2025
48
-
49
- - fix: validated the grouping property on allowed columns and validators [`#11`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/11)
50
- - chore: upgraded qrvey utils to latest version [`b29b079`](https://bitbucket.org/qrvey/qrvey_filters/commits/b29b0797e056325605befbcad2443bc768e8b023)
51
-
52
- #### [v0.0.37](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.37..v0.0.36)
53
-
54
- > 8 August 2025
55
-
56
- - chore: upgraded qrvey utils to latest version [`d1847ab`](https://bitbucket.org/qrvey/qrvey_filters/commits/d1847ab6df242c4d60b4cd56286e4858f92f6018)
57
-
58
- #### [v0.0.36](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.36..v0.0.35)
59
-
60
- > 5 August 2025
61
-
62
- - feat: added the new scope (container) [`1f7133f`](https://bitbucket.org/qrvey/qrvey_filters/commits/1f7133f5666dae1b10b59e02f7384bd51a38131f)
63
- - chore: upgraded qrvey utils to latest version (1.16.0.19) [`d6c97f6`](https://bitbucket.org/qrvey/qrvey_filters/commits/d6c97f62455c091b7c102d665220b3ecfae18a9d)
64
-
65
- #### [v0.0.35](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.35..v0.0.34)
66
-
67
- > 17 June 2025
68
-
69
- - chore: update Qrvey Utils to latest version (1.16.0-10) [`1b30e18`](https://bitbucket.org/qrvey/qrvey_filters/commits/1b30e185efe4708c5508305f735e9d037ce589b5)
70
-
71
- #### [v0.0.34](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.34..v0.0.33)
72
-
73
- > 30 May 2025
74
-
75
- - fix: :bug: fixed the syncing of the filters between filter classes [`#10`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/10)
76
- - test: resolved some bad unit test from FilterBuilder [`cd0f380`](https://bitbucket.org/qrvey/qrvey_filters/commits/cd0f380065612945dfb4b45324d8366e7a4717f1)
77
-
78
- #### [v0.0.33](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.33..v0.0.32)
79
-
80
- > 26 May 2025
81
-
82
- - fix: removing the useless formulaType property on filter object [`66f0779`](https://bitbucket.org/qrvey/qrvey_filters/commits/66f0779b0ae1b96c5708e3158967d708a78c0551)
83
- - test: fixed some unit tests [`fc4c55c`](https://bitbucket.org/qrvey/qrvey_filters/commits/fc4c55c0b61cae94988a15edf45e69764a7f935f)
84
- - chore: updgrade qrvey utils to the latest version [`1b70a11`](https://bitbucket.org/qrvey/qrvey_filters/commits/1b70a11ddeadc7453adca510acc8f49055c4b207)
85
-
86
- #### [v0.0.32](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.32..v0.0.31)
87
-
88
- > 14 April 2025
89
-
90
- - feat: :Zap: added the formulaType into the filter object [`#9`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/9)
91
-
92
- #### [v0.0.31](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.31..v0.0.30)
93
-
94
- > 26 February 2025
95
-
96
- - fix: :bug: fixed the ordering filters by scope, datasets and columns [`#8`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/8)
97
-
98
- #### [v0.0.30](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.30..v0.0.29)
99
-
100
- > 19 February 2025
101
-
102
- - fix: added new config to order the given filters manually [`#7`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/7)
103
-
104
- #### [v0.0.29](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.29..v0.0.28)
105
-
106
- > 7 February 2025
107
-
108
- - fix: adjusted addFilter module to change the operator based on the new criteria [`#6`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/6)
109
- - chore :upgraded Qrvey Utils to latest version [`87be141`](https://bitbucket.org/qrvey/qrvey_filters/commits/87be141d628b77607b0daa50e5e5d371a0892650)
110
-
111
- #### [v0.0.28](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.28..v0.0.27)
112
-
113
- > 10 January 2025
114
-
115
- - chore: update qrvey utils to latest version [`#5`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/5)
116
-
117
- #### [v0.0.27](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.27..v0.0.23)
118
-
119
- > 17 December 2024
120
-
121
- - [Feature] Timezone Resources for Filters [`#4`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/4)
122
- - feat: added a new resource to transform filters into a new timezone [`f8572f2`](https://bitbucket.org/qrvey/qrvey_filters/commits/f8572f248612365921ef90f3588500438b46129a)
123
- - fix: adjusted some processes when the ID is not set [`79083ff`](https://bitbucket.org/qrvey/qrvey_filters/commits/79083ff839660abff9f13e1608bd53e998615d52)
124
- - chore: update np package to the latest version [`97f83ea`](https://bitbucket.org/qrvey/qrvey_filters/commits/97f83ea0dc326788b7864171ab0dfaaf6d5f46a8)
125
-
126
- #### [v0.0.23](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.23..v0.0.22)
127
-
128
- > 27 November 2024
129
-
130
- - update: removed useless property in the filter structure [`#3`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/3)
131
- - test: adjusted some test for the removed filter property [`2ccf9c5`](https://bitbucket.org/qrvey/qrvey_filters/commits/2ccf9c5160c70630b831f803f9b1f518f6129e3b)
132
-
133
- #### [v0.0.22](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.22..v0.0.21)
134
-
135
- > 27 November 2024
136
-
137
- - fix: :bug: added more validation to return the correct collpasing value [`#2`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/2)
138
-
139
- #### [v0.0.21](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.21..v0.0.20)
140
-
141
- > 25 September 2024
142
-
143
- - chore: upgraded Qrvey Utils to latest version [`dd506e0`](https://bitbucket.org/qrvey/qrvey_filters/commits/dd506e0f1afd03404dd9e7afcc82c65277b0435e)
144
-
145
- #### [v0.0.20](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.20..v0.0.19)
146
-
147
- > 3 September 2024
148
-
149
- - build: upgraded Qrvey Utils to the next version [`9ad6664`](https://bitbucket.org/qrvey/qrvey_filters/commits/9ad6664a88b3556ef5fc8df077410d911df28cb5)
150
-
151
- #### [v0.0.19](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.19..v0.0.18)
152
-
153
- > 28 August 2024
154
-
155
- - feat: :zap: added the filters merging process [`69dad4b`](https://bitbucket.org/qrvey/qrvey_filters/commits/69dad4bb26883e4a8baa5e63cfbbba085914a206)
156
-
157
- #### [v0.0.18](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.18..v0.0.17)
158
-
159
- > 20 June 2024
160
-
161
- - fix: :bug: added formulaType to get the right validators and groupings [`05dc5f3`](https://bitbucket.org/qrvey/qrvey_filters/commits/05dc5f37cc701db3d54f616867c895461a60903c)
162
- - build: upgraded Qrvey Utils to 1.14.0-7 [`c0a7433`](https://bitbucket.org/qrvey/qrvey_filters/commits/c0a7433e72bbda091ff78a5938d404df0c79b871)
163
-
164
- #### [v0.0.17](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.17..v0.0.16)
165
-
166
- > 18 June 2024
167
-
168
- - test: fixed the mutable filters from implementation [`375c558`](https://bitbucket.org/qrvey/qrvey_filters/commits/375c55896fec2db1ce9f791f320d9abc23d56e7c)
169
- - fix: :bug: fixed the bad synchronization of filters in builder manager [`0cdee20`](https://bitbucket.org/qrvey/qrvey_filters/commits/0cdee20a8134b0f561f8156cc7fa5dcce8126de8)
170
-
171
- #### [v0.0.16](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.16..v0.0.15)
172
-
173
- > 12 June 2024
174
-
175
- - Other/packagejson update [`#1`](https://bitbucket.org/qrvey/qrvey_filters/pull-requests/1)
176
- - chore: added the export configuration for module/commonjs [`54b075c`](https://bitbucket.org/qrvey/qrvey_filters/commits/54b075c6d750d5ce91ab9081974d8e2babbafaa6)
177
- - build: upgraded qrvey utils to 1.14.0-6 [`16fddfc`](https://bitbucket.org/qrvey/qrvey_filters/commits/16fddfc66173016eb0ed58311bf34111d9441521)
178
-
179
- #### [v0.0.15](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.15..v0.0.14)
180
-
181
- > 4 June 2024
182
-
183
- - fix: :bug: adjusted the adapter of interactive table to avoid pushing the old info [`f940b45`](https://bitbucket.org/qrvey/qrvey_filters/commits/f940b456cd6db9e3994e03b1a577ad42e570263c)
184
-
185
- #### [v0.0.14](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.14..v0.0.13)
186
-
187
- > 27 May 2024
188
-
189
- - feat: :zap: added the filter interactive table into the adapters [`f47df0c`](https://bitbucket.org/qrvey/qrvey_filters/commits/f47df0cd50adc02a56363b30c424507c9900bdff)
190
-
191
- #### [v0.0.13](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.13..v0.0.12)
192
-
193
- > 21 May 2024
194
-
195
- - fix: :bug: removed sync function due to double invocation [`e534032`](https://bitbucket.org/qrvey/qrvey_filters/commits/e53403207c1d10a8806e2950c27880fb68bacadf)
196
-
197
- #### [v0.0.12](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.12..v0.0.11)
198
-
199
- > 8 May 2024
200
-
201
- - feat: :zap: added the logic adapter [`bab11c7`](https://bitbucket.org/qrvey/qrvey_filters/commits/bab11c7b765a6e78527e62a94a660379236cbf35)
202
- - feat: added validations for duplicated filters [`42cbe58`](https://bitbucket.org/qrvey/qrvey_filters/commits/42cbe58d89910b27e9b4583efd1291185a75cd1c)
203
- - build: upgraded Qrvey Utilts to 1.14.0-3 [`3b90291`](https://bitbucket.org/qrvey/qrvey_filters/commits/3b902914e8cd7431210a77c414e8ee390cd52da4)
204
-
205
- #### [v0.0.11](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.11..v0.0.10)
206
-
207
- > 29 April 2024
208
-
209
- - build: upgraded Qrvey Utils to 1.14.0-2 [`6d66f7c`](https://bitbucket.org/qrvey/qrvey_filters/commits/6d66f7cdf530ea89e8bad01ca105ac1a17eb0cd7)
210
-
211
- #### [v0.0.10](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.10..v0.0.9)
212
-
213
- > 28 April 2024
214
-
215
- - test: added new tests for the filter classes [`2b62c22`](https://bitbucket.org/qrvey/qrvey_filters/commits/2b62c2232f4990405935d402ebded7ce78791b60)
216
- - feat: :zap: added the new classes to validate inputs and filter objects [`026aef7`](https://bitbucket.org/qrvey/qrvey_filters/commits/026aef7c9ab0303700ad898a71e885e421eb4d21)
217
-
218
- #### [v0.0.9](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.9..v0.0.8)
219
-
220
- > 26 April 2024
221
-
222
- - test: added test for FilterBuilder and adjusted code to fulfill expected results [`58490ed`](https://bitbucket.org/qrvey/qrvey_filters/commits/58490edf77af562ad3e74afa55a41beceaed6cf4)
223
- - refactor: changed some names for the UI_3 version filter structure [`e09a7d8`](https://bitbucket.org/qrvey/qrvey_filters/commits/e09a7d8e4fe0218a9853d758f4ca85ab95504b8a)
224
- - test: added more test to cover 100 lines on filter resources [`530b1b3`](https://bitbucket.org/qrvey/qrvey_filters/commits/530b1b3e462e5dd19a3e140d5667559d62ebe787)
225
-
226
- #### [v0.0.8](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.8..v0.0.7)
227
-
228
- > 25 April 2024
229
-
230
- - test: created some unit tests for the Filter Builder [`aca85d3`](https://bitbucket.org/qrvey/qrvey_filters/commits/aca85d3e3e7f5aafd10be40937323d2474351dfd)
231
- - test: added unit tests for Filter Resources [`fcf91fc`](https://bitbucket.org/qrvey/qrvey_filters/commits/fcf91fc9f755bdc6f7a624a870de93ec4b971b47)
232
- - test: added unit tests for Filter Searcher [`d24ba73`](https://bitbucket.org/qrvey/qrvey_filters/commits/d24ba73aed877070c38d069a120d4c4efeecdef1)
233
-
234
- #### [v0.0.7](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.7..v0.0.6)
235
-
236
- > 23 April 2024
237
-
238
- - build: upgraded some dependencies to the latest versions [`66a34a8`](https://bitbucket.org/qrvey/qrvey_filters/commits/66a34a888d846ba6506bbb00ab0c04442ee953e8)
239
- - refactor: fixed the ESLint suggestion on getFilterId test [`3733ed2`](https://bitbucket.org/qrvey/qrvey_filters/commits/3733ed288cc48b5a6a2d2376211dfbeef6d28d83)
240
- - build: upgraded Qrvey Utils to the next version [`67db4e3`](https://bitbucket.org/qrvey/qrvey_filters/commits/67db4e3b2f630a04d374e4f4e6a85144681a0e75)
241
-
242
- #### [v0.0.6](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.6..v0.0.5)
243
-
244
- > 19 April 2024
245
-
246
- - bug: :bug: adjusted validations to adapt the legacy filters to filters [`f9d2dec`](https://bitbucket.org/qrvey/qrvey_filters/commits/f9d2deca17ddfd9831822dabaff146063355d445)
247
-
248
- #### [v0.0.5](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.5..v0.0.4)
249
-
250
- > 19 April 2024
251
-
252
- - feat: added adapter for converting legacy to filters [`b2d49ff`](https://bitbucket.org/qrvey/qrvey_filters/commits/b2d49ff538333fae25fda595342f359186648096)
253
- - ci: upgraded Qrvey Utils and set to build commonjs [`23af6af`](https://bitbucket.org/qrvey/qrvey_filters/commits/23af6af7166111bdcc71beaf7d17d4206c1d00d6)
254
-
255
- #### [v0.0.4](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.4..v0.0.3)
256
-
257
- > 18 April 2024
258
-
259
- - chore: added missing exports files [`d86773e`](https://bitbucket.org/qrvey/qrvey_filters/commits/d86773e719e5cfc25cc25481e9fc3f398c9b41af)
260
-
261
- #### [v0.0.3](https://bitbucket.org/qrvey/qrvey_filters/compare/v0.0.3..v0.0.2)
262
-
263
- > 18 April 2024
264
-
265
- - feat: :zap: added filter value inputs model [`4c5d5e7`](https://bitbucket.org/qrvey/qrvey_filters/commits/4c5d5e7280ffe7d7083ab83e25a843fa2a9b82a0)
266
- - feat: :zap: added a new filter property to set custom label [`ea8a8c6`](https://bitbucket.org/qrvey/qrvey_filters/commits/ea8a8c6832bc6aac84dfd072435106e88a03bdd8)
267
-
268
- #### v0.0.2
269
-
270
- > 15 April 2024
271
-
272
- - feat: :star: Starting the Filter Manager bundle [`545923a`](https://bitbucket.org/qrvey/qrvey_filters/commits/545923a96a626ef26656baf30000bd5c38002792)
273
- - feat: :zap: added filter adapts in the manager [`5541f1b`](https://bitbucket.org/qrvey/qrvey_filters/commits/5541f1bbdb4d4249bff15de4e1b212a6fa7159f2)
274
- - build: Initial project configuration [`bceeb5c`](https://bitbucket.org/qrvey/qrvey_filters/commits/bceeb5cf5ff682c39c7cd4f06c4c862e09694ec3)
@@ -1,132 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our
6
- community a harassment-free experience for everyone, regardless of age, body
7
- size, visible or invisible disability, ethnicity, sex characteristics, gender
8
- identity and expression, level of experience, education, socio-economic status,
9
- nationality, personal appearance, race, caste, color, religion, or sexual
10
- identity and orientation.
11
-
12
- We pledge to act and interact in ways that contribute to an open, welcoming,
13
- diverse, inclusive, and healthy community.
14
-
15
- ## Our Standards
16
-
17
- Examples of behavior that contributes to a positive environment for our
18
- community include:
19
-
20
- - Demonstrating empathy and kindness toward other people
21
- - Being respectful of differing opinions, viewpoints, and experiences
22
- - Giving and gracefully accepting constructive feedback
23
- - Accepting responsibility and apologizing to those affected by our mistakes,
24
- and learning from the experience
25
- - Focusing on what is best not just for us as individuals, but for the overall
26
- community
27
-
28
- Examples of unacceptable behavior include:
29
-
30
- - The use of sexualized language or imagery, and sexual attention or advances of
31
- any kind
32
- - Trolling, insulting or derogatory comments, and personal or political attacks
33
- - Public or private harassment
34
- - Publishing others' private information, such as a physical or email address,
35
- without their explicit permission
36
- - Other conduct which could reasonably be considered inappropriate in a
37
- professional setting
38
-
39
- ## Enforcement Responsibilities
40
-
41
- Community leaders are responsible for clarifying and enforcing our standards of
42
- acceptable behavior and will take appropriate and fair corrective action in
43
- response to any behavior that they deem inappropriate, threatening, offensive,
44
- or harmful.
45
-
46
- Community leaders have the right and responsibility to remove, edit, or reject
47
- comments, commits, code, wiki edits, issues, and other contributions that are
48
- not aligned to this Code of Conduct, and will communicate reasons for moderation
49
- decisions when appropriate.
50
-
51
- ## Scope
52
-
53
- This Code of Conduct applies within all community spaces, and also applies when
54
- an individual is officially representing the community in public spaces.
55
- Examples of representing our community include using an official email address,
56
- posting via an official social media account, or acting as an appointed
57
- representative at an online or offline event.
58
-
59
- ## Enforcement
60
-
61
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
- reported to the community leaders responsible for enforcement at
63
- jose.gonzalez@qrvey.com.
64
- All complaints will be reviewed and investigated promptly and fairly.
65
-
66
- All community leaders are obligated to respect the privacy and security of the
67
- reporter of any incident.
68
-
69
- ## Enforcement Guidelines
70
-
71
- Community leaders will follow these Community Impact Guidelines in determining
72
- the consequences for any action they deem in violation of this Code of Conduct:
73
-
74
- ### 1. Correction
75
-
76
- **Community Impact**: Use of inappropriate language or other behavior deemed
77
- unprofessional or unwelcome in the community.
78
-
79
- **Consequence**: A private, written warning from community leaders, providing
80
- clarity around the nature of the violation and an explanation of why the
81
- behavior was inappropriate. A public apology may be requested.
82
-
83
- ### 2. Warning
84
-
85
- **Community Impact**: A violation through a single incident or series of
86
- actions.
87
-
88
- **Consequence**: A warning with consequences for continued behavior. No
89
- interaction with the people involved, including unsolicited interaction with
90
- those enforcing the Code of Conduct, for a specified period of time. This
91
- includes avoiding interactions in community spaces as well as external channels
92
- like social media. Violating these terms may lead to a temporary or permanent
93
- ban.
94
-
95
- ### 3. Temporary Ban
96
-
97
- **Community Impact**: A serious violation of community standards, including
98
- sustained inappropriate behavior.
99
-
100
- **Consequence**: A temporary ban from any sort of interaction or public
101
- communication with the community for a specified period of time. No public or
102
- private interaction with the people involved, including unsolicited interaction
103
- with those enforcing the Code of Conduct, is allowed during this period.
104
- Violating these terms may lead to a permanent ban.
105
-
106
- ### 4. Permanent Ban
107
-
108
- **Community Impact**: Demonstrating a pattern of violation of community
109
- standards, including sustained inappropriate behavior, harassment of an
110
- individual, or aggression toward or disparagement of classes of individuals.
111
-
112
- **Consequence**: A permanent ban from any sort of public interaction within the
113
- community.
114
-
115
- ## Attribution
116
-
117
- This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
- version 2.1, available at
119
- [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
-
121
- Community Impact Guidelines were inspired by
122
- [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
-
124
- For answers to common questions about this code of conduct, see the FAQ at
125
- [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
- [https://www.contributor-covenant.org/translations][translations].
127
-
128
- [homepage]: https://www.contributor-covenant.org
129
- [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
- [Mozilla CoC]: https://github.com/mozilla/diversity
131
- [FAQ]: https://www.contributor-covenant.org/faq
132
- [translations]: https://www.contributor-covenant.org/translations
@@ -1,92 +0,0 @@
1
- image: node:iron
2
-
3
- options:
4
- max-time: 10
5
-
6
- definitions:
7
- steps:
8
- - step: &sonarqube-step
9
- name: SonarQube analysis
10
- caches:
11
- - sonar
12
- script:
13
- - pipe: sonarsource/sonarqube-scan:1.2.0
14
- variables:
15
- SONAR_HOST_URL: ${SONAR_HOST_URL}
16
- SONAR_TOKEN: ${SONAR_TOKEN}
17
- - step: &install-step
18
- name: Installing
19
- caches:
20
- - node
21
- script:
22
- - npm install
23
- - step: &build-step
24
- name: Building
25
- caches:
26
- - node
27
- script:
28
- - npm run build
29
- - cd dist
30
- - if [ ! -f "index.js" ]; then exit 1; fi
31
- - step: &lint-step
32
- name: Linting
33
- caches:
34
- - node
35
- script:
36
- - npm run lint
37
- - echo "Fanfare!"
38
- - step: &test-step
39
- name: Testing
40
- caches:
41
- - node
42
- script:
43
- - npm run test
44
- - echo "Fanfare!"
45
- - step: &coverage-step
46
- name: Coverage
47
- caches:
48
- - node
49
- script:
50
- - npm run test.coverage
51
- - echo "Fanfare!"
52
- artifacts:
53
- - coverage/**
54
-
55
- caches:
56
- sonar: ~/.sonar
57
-
58
- services:
59
- docker:
60
- memory: 2048
61
-
62
- clone:
63
- depth: full
64
-
65
- pipelines:
66
- pull-requests:
67
- "**":
68
- - step: *install-step
69
- - parallel:
70
- - step: *build-step
71
- - step: *lint-step
72
- - step: *test-step
73
- branches:
74
- master:
75
- - step: *install-step
76
- - parallel:
77
- - step: *build-step
78
- - step: *lint-step
79
- - step: *test-step
80
- - step: *coverage-step
81
- - step: *sonarqube-step
82
- custom:
83
- sonar:
84
- - step: *install-step
85
- - step: *coverage-step
86
- - step: *sonarqube-step
87
- master:
88
- - step: *install-step
89
- - parallel:
90
- - step: *build-step
91
- - step: *lint-step
92
- - step: *test-step
@@ -1,107 +0,0 @@
1
- import { IDataset, IFUData } from "@qrvey/utils";
2
- import { IFilterPanelInteractiveTable, IFilterUIToFilter } from "../resources/filter-panel.interfaces";
3
- import { FILTER_VERSION_TYPE, IFilter, IFilterVersion } from "../resources/filters.resources";
4
- /**
5
- * Class to adapt the filters
6
- */
7
- export declare class FilterAdapter {
8
- protected _filters: IFilter[];
9
- protected datasets: IDataset[];
10
- protected interactiveTable?: IFilterPanelInteractiveTable | undefined;
11
- /**
12
- * The Logic filters
13
- */
14
- private _logic?;
15
- /**
16
- * The visual filters
17
- */
18
- private _visual?;
19
- /**
20
- * The old Filter Data structure
21
- */
22
- private _legacyVisual?;
23
- /**
24
- * Constructor
25
- * @param _filters the collection of filters
26
- * @param datasets the collection of datasets info
27
- * @param interactiveTable table of interaction properties for each section
28
- */
29
- constructor(_filters?: IFilter[], datasets?: IDataset[], interactiveTable?: IFilterPanelInteractiveTable | undefined);
30
- /**
31
- *
32
- */
33
- private sync;
34
- /**
35
- * Generates a visual filter structure from the filter collection.
36
- * @returns a visual Filter structure
37
- */
38
- private filterToLegacyVisual;
39
- /**
40
- * Generates a logic filters structure from the filter collection.
41
- * @returns the Logic Filters
42
- */
43
- private filterToLogic;
44
- /**
45
- * Generates a visual filter structure from the filter collection.
46
- * @returns a visual Filter structure
47
- */
48
- private filterToVisual;
49
- /**
50
- * Generates the filter collection from the legacy filter
51
- * @param legacyVisual the legacy filter
52
- * @param interactiveTable the interactive table object
53
- * @returns the filter collection
54
- */
55
- static legacyVisualToFilter(legacyVisual: IFUData, interactiveTable?: IFilterPanelInteractiveTable): IFilterUIToFilter;
56
- /**
57
- * Gets the legacy filter version attribute
58
- * @returns the legacy filter version
59
- */
60
- get legacyVisual(): IFilterVersion<FILTER_VERSION_TYPE.UI_2>;
61
- /**
62
- * Gets the filter logic version
63
- * @returns the filter logic version
64
- */
65
- get logic(): IFilterVersion<FILTER_VERSION_TYPE.LOGIC>;
66
- /**
67
- * Gets the visual filter version
68
- * @returns the visual filter version
69
- */
70
- get visual(): IFilterVersion<FILTER_VERSION_TYPE.UI_3>;
71
- /**
72
- * Gets the filter version 3
73
- * @returns the filter version 3
74
- */
75
- get filters(): IFilterVersion<FILTER_VERSION_TYPE.V3>;
76
- /**
77
- * Sets the datasets atribute
78
- * @param datasets the collection of dataset info
79
- */
80
- setDatasets(datasets?: IDataset[]): void;
81
- /**
82
- * Sets the collection of filters atribute
83
- * @param filters the filters
84
- */
85
- setFilters(filters: IFilter[]): void;
86
- /**
87
- * Sets the table of interactive table attribute
88
- * @param interactiveTable table of interaction properties for each section
89
- */
90
- setInteractiveTable(interactiveTable: IFilterPanelInteractiveTable): void;
91
- /**
92
- * Sets the filter legacy visual attribute
93
- * @param legacyVisual the legacy visual filters
94
- */
95
- private setLegacyVisual;
96
- /**
97
- * Sets the filter logic attribute
98
- * @param logic the logic filters
99
- */
100
- private setLogic;
101
- /**
102
- * Sets the filter visual attribute
103
- * @param visual the visual filters
104
- */
105
- private setVisual;
106
- }
107
- //# sourceMappingURL=FilterAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterAdapter.d.ts","sourceRoot":"","sources":["../../../src/classes/FilterAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAUjD,OAAO,EACL,4BAA4B,EAC5B,iBAAiB,EAClB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EACL,mBAAmB,EACnB,OAAO,EACP,cAAc,EACf,MAAM,gCAAgC,CAAC;AAExC;;GAEG;AACH,qBAAa,aAAa;IAuBtB,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE;IAC7B,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE;IAC9B,SAAS,CAAC,gBAAgB,CAAC;IAxB7B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,CAAiB;IAEhC;;OAEG;IACH,OAAO,CAAC,OAAO,CAAC,CAAgB;IAEhC;;OAEG;IACH,OAAO,CAAC,aAAa,CAAC,CAAU;IAEhC;;;;;OAKG;gBAES,QAAQ,GAAE,OAAO,EAAO,EACxB,QAAQ,GAAE,QAAQ,EAAO,EACzB,gBAAgB,CAAC,0CAA8B;IAK3D;;OAEG;IACH,OAAO,CAAC,IAAI;IAMZ;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAQ5B;;;OAGG;IACH,OAAO,CAAC,aAAa;IAIrB;;;OAGG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;OAKG;WACW,oBAAoB,CAChC,YAAY,EAAE,OAAO,EACrB,gBAAgB,CAAC,EAAE,4BAA4B,GAC9C,iBAAiB;IAWpB;;;OAGG;IACH,IAAW,YAAY,IAAI,cAAc,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAKlE;IAED;;;OAGG;IACH,IAAW,KAAK,IAAI,cAAc,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAK5D;IAED;;;OAGG;IACH,IAAW,MAAM,IAAI,cAAc,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAK5D;IAED;;;OAGG;IACH,IAAW,OAAO,IAAI,cAAc,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAK3D;IAED;;;OAGG;IACI,WAAW,CAAC,QAAQ,GAAE,QAAQ,EAAO,GAAG,IAAI;IAKnD;;;OAGG;IACI,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,IAAI;IAK3C;;;OAGG;IACI,mBAAmB,CACxB,gBAAgB,EAAE,4BAA4B,GAC7C,IAAI;IAKP;;;OAGG;IACH,OAAO,CAAC,eAAe;IAIvB;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAIhB;;;OAGG;IACH,OAAO,CAAC,SAAS;CAGlB"}