@gen3/frontend 0.10.79 → 0.10.80

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 (253) hide show
  1. package/dist/cjs/index.js +87 -84
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/Profile/CredentialsTable.d.ts.map +1 -1
  4. package/dist/dts/components/Profile/CredentialsTable.js +3 -4
  5. package/dist/dts/components/Profile/CredentialsTable.js.map +1 -1
  6. package/dist/dts/components/Profile/ExternalProviderCard.d.ts +2 -0
  7. package/dist/dts/components/Profile/ExternalProviderCard.d.ts.map +1 -1
  8. package/dist/dts/components/Profile/ExternalProviderCard.js +13 -11
  9. package/dist/dts/components/Profile/ExternalProviderCard.js.map +1 -1
  10. package/dist/dts/components/Profile/ExternalProvidersPanel.d.ts.map +1 -1
  11. package/dist/dts/components/Profile/ExternalProvidersPanel.js +2 -2
  12. package/dist/dts/components/Profile/ExternalProvidersPanel.js.map +1 -1
  13. package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -1
  14. package/dist/dts/components/facets/FacetEnumList.js +43 -53
  15. package/dist/dts/components/facets/FacetEnumList.js.map +1 -1
  16. package/dist/dts/components/facets/MultiSelectValueFacet.d.ts.map +1 -1
  17. package/dist/dts/components/facets/MultiSelectValueFacet.js +14 -31
  18. package/dist/dts/components/facets/MultiSelectValueFacet.js.map +1 -1
  19. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  20. package/dist/dts/features/CohortBuilder/CohortPanel.js +3 -3
  21. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  22. package/dist/dts/features/CohortBuilder/FiltersPanel.js +1 -1
  23. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts +4 -0
  24. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts.map +1 -0
  25. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js +23 -0
  26. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js.map +1 -0
  27. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts +4 -0
  28. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts.map +1 -0
  29. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js +39 -0
  30. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js.map +1 -0
  31. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.d.ts +3 -0
  32. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.d.ts.map +1 -0
  33. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js +34 -0
  34. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js.map +1 -0
  35. package/dist/dts/features/CohortBuilder/Panels/types.d.ts +11 -0
  36. package/dist/dts/features/CohortBuilder/Panels/types.d.ts.map +1 -0
  37. package/dist/dts/features/CohortBuilder/Panels/types.js.map +1 -0
  38. package/dist/dts/features/CohortDistance/CohortDistanceApp.d.ts +4 -0
  39. package/dist/dts/features/CohortDistance/CohortDistanceApp.d.ts.map +1 -0
  40. package/dist/dts/features/{CohortDiversity/CohortDiversityApp.js → CohortDistance/CohortDistanceApp.js} +9 -9
  41. package/dist/dts/features/CohortDistance/CohortDistanceApp.js.map +1 -0
  42. package/dist/dts/features/{CohortDiversity → CohortDistance}/ComnparisonCard.d.ts +2 -2
  43. package/dist/dts/features/CohortDistance/ComnparisonCard.d.ts.map +1 -0
  44. package/dist/dts/features/CohortDistance/ComnparisonCard.js.map +1 -0
  45. package/dist/dts/features/{CohortDiversity → CohortDistance}/ComparisonCards.d.ts +2 -2
  46. package/dist/dts/features/CohortDistance/ComparisonCards.d.ts.map +1 -0
  47. package/dist/dts/features/CohortDistance/ComparisonCards.js.map +1 -0
  48. package/dist/dts/features/CohortDistance/appApi.d.ts +8 -0
  49. package/dist/dts/features/CohortDistance/appApi.d.ts.map +1 -0
  50. package/dist/dts/features/CohortDistance/appApi.js +4 -0
  51. package/dist/dts/features/CohortDistance/appApi.js.map +1 -0
  52. package/dist/dts/features/CohortDistance/charts/BarComparison.d.ts.map +1 -0
  53. package/dist/dts/features/CohortDistance/charts/BarComparison.js.map +1 -0
  54. package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/ChartCard.d.ts +3 -3
  55. package/dist/dts/features/CohortDistance/charts/ChartCard.d.ts.map +1 -0
  56. package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/ChartCard.js +3 -3
  57. package/dist/dts/features/CohortDistance/charts/ChartCard.js.map +1 -0
  58. package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/ComparisonCharts.d.ts +2 -2
  59. package/dist/dts/features/CohortDistance/charts/ComparisonCharts.d.ts.map +1 -0
  60. package/dist/dts/features/CohortDistance/charts/ComparisonCharts.js.map +1 -0
  61. package/dist/dts/features/CohortDistance/charts/RadarComparison.d.ts.map +1 -0
  62. package/dist/dts/features/CohortDistance/charts/RadarComparison.js.map +1 -0
  63. package/dist/dts/features/{CohortDiversity/charts/diversityChartsFactory.d.ts → CohortDistance/charts/cohortDistanceChartsFactory.d.ts} +3 -3
  64. package/dist/dts/features/CohortDistance/charts/cohortDistanceChartsFactory.d.ts.map +1 -0
  65. package/dist/dts/features/{CohortDiversity/charts/diversityChartsFactory.js → CohortDistance/charts/cohortDistanceChartsFactory.js} +3 -3
  66. package/dist/dts/features/CohortDistance/charts/cohortDistanceChartsFactory.js.map +1 -0
  67. package/dist/dts/features/CohortDistance/charts/types.d.ts.map +1 -0
  68. package/dist/dts/features/CohortDistance/charts/types.js.map +1 -0
  69. package/dist/dts/features/CohortDistance/charts/utils.d.ts.map +1 -0
  70. package/dist/dts/features/CohortDistance/charts/utils.js.map +1 -0
  71. package/dist/dts/features/{CohortDiversity/diversityApi.d.ts → CohortDistance/cohortDistanceApi.d.ts} +14 -14
  72. package/dist/dts/features/CohortDistance/cohortDistanceApi.d.ts.map +1 -0
  73. package/dist/dts/features/{CohortDiversity/diversityApi.js → CohortDistance/cohortDistanceApi.js} +5 -5
  74. package/dist/dts/features/CohortDistance/cohortDistanceApi.js.map +1 -0
  75. package/dist/dts/features/CohortDistance/registerApp.d.ts +3 -0
  76. package/dist/dts/features/CohortDistance/registerApp.d.ts.map +1 -0
  77. package/dist/dts/features/{CohortDiversity → CohortDistance}/registerApp.js +5 -5
  78. package/dist/dts/features/CohortDistance/registerApp.js.map +1 -0
  79. package/dist/dts/features/CohortDistance/statistics/StatisticsCard.d.ts.map +1 -0
  80. package/dist/dts/features/CohortDistance/statistics/StatisticsCard.js.map +1 -0
  81. package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/StatisticsPanel.d.ts +2 -2
  82. package/dist/dts/features/CohortDistance/statistics/StatisticsPanel.d.ts.map +1 -0
  83. package/dist/dts/features/CohortDistance/statistics/StatisticsPanel.js.map +1 -0
  84. package/dist/dts/features/CohortDistance/statistics/data/data.d.ts +2 -0
  85. package/dist/dts/features/CohortDistance/statistics/data/data.d.ts.map +1 -0
  86. package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/data/data.js +1 -1
  87. package/dist/dts/features/CohortDistance/statistics/data/data.js.map +1 -0
  88. package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/data/tests/processHistogramResponse.unit.test.d.ts.map +1 -1
  89. package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/data/tests/processHistogramResponse.unit.test.js +6 -6
  90. package/dist/dts/features/CohortDistance/statistics/data/tests/processHistogramResponse.unit.test.js.map +1 -0
  91. package/dist/dts/features/CohortDistance/statistics/data/utils.d.ts.map +1 -0
  92. package/dist/dts/features/CohortDistance/statistics/data/utils.js.map +1 -0
  93. package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/queries.d.ts +1 -1
  94. package/dist/dts/features/CohortDistance/statistics/queries.d.ts.map +1 -0
  95. package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/queries.js +1 -1
  96. package/dist/dts/features/CohortDistance/statistics/queries.js.map +1 -0
  97. package/dist/dts/features/{CohortDiversity → CohortDistance}/types.d.ts +6 -6
  98. package/dist/dts/features/CohortDistance/types.d.ts.map +1 -0
  99. package/dist/dts/features/CohortDistance/types.js +2 -0
  100. package/dist/dts/features/CohortDistance/types.js.map +1 -0
  101. package/dist/dts/features/CohortSimilarity/CohortSimilarityApp.d.ts +4 -0
  102. package/dist/dts/features/CohortSimilarity/CohortSimilarityApp.d.ts.map +1 -0
  103. package/dist/dts/features/CohortSimilarity/CohortSimilarityApp.js +54 -0
  104. package/dist/dts/features/CohortSimilarity/CohortSimilarityApp.js.map +1 -0
  105. package/dist/dts/features/CohortSimilarity/ComnparisonCard.d.ts +15 -0
  106. package/dist/dts/features/CohortSimilarity/ComnparisonCard.d.ts.map +1 -0
  107. package/dist/dts/features/CohortSimilarity/ComnparisonCard.js +32 -0
  108. package/dist/dts/features/CohortSimilarity/ComnparisonCard.js.map +1 -0
  109. package/dist/dts/features/CohortSimilarity/ComparisonCards.d.ts +15 -0
  110. package/dist/dts/features/CohortSimilarity/ComparisonCards.d.ts.map +1 -0
  111. package/dist/dts/features/CohortSimilarity/ComparisonCards.js +14 -0
  112. package/dist/dts/features/CohortSimilarity/ComparisonCards.js.map +1 -0
  113. package/dist/dts/features/CohortSimilarity/appApi.d.ts +8 -0
  114. package/dist/dts/features/CohortSimilarity/appApi.d.ts.map +1 -0
  115. package/dist/dts/features/CohortSimilarity/appApi.js +4 -0
  116. package/dist/dts/features/CohortSimilarity/appApi.js.map +1 -0
  117. package/dist/dts/features/CohortSimilarity/charts/BarComparison.d.ts +5 -0
  118. package/dist/dts/features/CohortSimilarity/charts/BarComparison.d.ts.map +1 -0
  119. package/dist/dts/features/CohortSimilarity/charts/BarComparison.js +70 -0
  120. package/dist/dts/features/CohortSimilarity/charts/BarComparison.js.map +1 -0
  121. package/dist/dts/features/CohortSimilarity/charts/ChartCard.d.ts +16 -0
  122. package/dist/dts/features/CohortSimilarity/charts/ChartCard.d.ts.map +1 -0
  123. package/dist/dts/features/CohortSimilarity/charts/ChartCard.js +45 -0
  124. package/dist/dts/features/CohortSimilarity/charts/ChartCard.js.map +1 -0
  125. package/dist/dts/features/CohortSimilarity/charts/ComparisonCharts.d.ts +13 -0
  126. package/dist/dts/features/CohortSimilarity/charts/ComparisonCharts.d.ts.map +1 -0
  127. package/dist/dts/features/CohortSimilarity/charts/ComparisonCharts.js +18 -0
  128. package/dist/dts/features/CohortSimilarity/charts/ComparisonCharts.js.map +1 -0
  129. package/dist/dts/features/CohortSimilarity/charts/RadarComparison.d.ts +5 -0
  130. package/dist/dts/features/CohortSimilarity/charts/RadarComparison.d.ts.map +1 -0
  131. package/dist/dts/features/CohortSimilarity/charts/RadarComparison.js +90 -0
  132. package/dist/dts/features/CohortSimilarity/charts/RadarComparison.js.map +1 -0
  133. package/dist/dts/features/CohortSimilarity/charts/cohortSimilarityChartsFactory.d.ts +6 -0
  134. package/dist/dts/features/CohortSimilarity/charts/cohortSimilarityChartsFactory.d.ts.map +1 -0
  135. package/dist/dts/features/CohortSimilarity/charts/cohortSimilarityChartsFactory.js +24 -0
  136. package/dist/dts/features/CohortSimilarity/charts/cohortSimilarityChartsFactory.js.map +1 -0
  137. package/dist/dts/features/CohortSimilarity/charts/types.d.ts +12 -0
  138. package/dist/dts/features/CohortSimilarity/charts/types.d.ts.map +1 -0
  139. package/dist/dts/features/CohortSimilarity/charts/types.js +2 -0
  140. package/dist/dts/features/CohortSimilarity/charts/types.js.map +1 -0
  141. package/dist/dts/features/CohortSimilarity/charts/utils.d.ts +2 -0
  142. package/dist/dts/features/CohortSimilarity/charts/utils.d.ts.map +1 -0
  143. package/dist/dts/features/CohortSimilarity/charts/utils.js +4 -0
  144. package/dist/dts/features/CohortSimilarity/charts/utils.js.map +1 -0
  145. package/dist/dts/features/CohortSimilarity/cohortSimilarityApi.d.ts +141 -0
  146. package/dist/dts/features/CohortSimilarity/cohortSimilarityApi.d.ts.map +1 -0
  147. package/dist/dts/features/CohortSimilarity/cohortSimilarityApi.js +14 -0
  148. package/dist/dts/features/CohortSimilarity/cohortSimilarityApi.js.map +1 -0
  149. package/dist/dts/features/CohortSimilarity/registerApp.d.ts +3 -0
  150. package/dist/dts/features/CohortSimilarity/registerApp.d.ts.map +1 -0
  151. package/dist/dts/features/CohortSimilarity/registerApp.js +19 -0
  152. package/dist/dts/features/CohortSimilarity/registerApp.js.map +1 -0
  153. package/dist/dts/features/CohortSimilarity/statistics/StatisticsCard.d.ts +9 -0
  154. package/dist/dts/features/CohortSimilarity/statistics/StatisticsCard.d.ts.map +1 -0
  155. package/dist/dts/features/CohortSimilarity/statistics/StatisticsCard.js +68 -0
  156. package/dist/dts/features/CohortSimilarity/statistics/StatisticsCard.js.map +1 -0
  157. package/dist/dts/features/CohortSimilarity/statistics/StatisticsPanel.d.ts +13 -0
  158. package/dist/dts/features/CohortSimilarity/statistics/StatisticsPanel.d.ts.map +1 -0
  159. package/dist/dts/features/CohortSimilarity/statistics/StatisticsPanel.js +16 -0
  160. package/dist/dts/features/CohortSimilarity/statistics/StatisticsPanel.js.map +1 -0
  161. package/dist/dts/features/CohortSimilarity/statistics/data/data.d.ts +2 -0
  162. package/dist/dts/features/CohortSimilarity/statistics/data/data.d.ts.map +1 -0
  163. package/dist/dts/features/CohortSimilarity/statistics/data/data.js +50 -0
  164. package/dist/dts/features/CohortSimilarity/statistics/data/data.js.map +1 -0
  165. package/dist/dts/features/CohortSimilarity/statistics/data/tests/processHistogramResponse.unit.test.d.ts +2 -0
  166. package/dist/dts/features/CohortSimilarity/statistics/data/tests/processHistogramResponse.unit.test.d.ts.map +1 -0
  167. package/dist/dts/features/CohortSimilarity/statistics/data/tests/processHistogramResponse.unit.test.js +365 -0
  168. package/dist/dts/features/CohortSimilarity/statistics/data/tests/processHistogramResponse.unit.test.js.map +1 -0
  169. package/dist/dts/features/CohortSimilarity/statistics/data/tests/similarityResponse.json +228 -0
  170. package/dist/dts/features/CohortSimilarity/statistics/data/utils.d.ts +49 -0
  171. package/dist/dts/features/CohortSimilarity/statistics/data/utils.d.ts.map +1 -0
  172. package/dist/dts/features/CohortSimilarity/statistics/data/utils.js +146 -0
  173. package/dist/dts/features/CohortSimilarity/statistics/data/utils.js.map +1 -0
  174. package/dist/dts/features/CohortSimilarity/statistics/queries.d.ts +6 -0
  175. package/dist/dts/features/CohortSimilarity/statistics/queries.d.ts.map +1 -0
  176. package/dist/dts/features/CohortSimilarity/statistics/queries.js +24 -0
  177. package/dist/dts/features/CohortSimilarity/statistics/queries.js.map +1 -0
  178. package/dist/dts/features/CohortSimilarity/types.d.ts +26 -0
  179. package/dist/dts/features/CohortSimilarity/types.d.ts.map +1 -0
  180. package/dist/dts/features/CohortSimilarity/types.js +2 -0
  181. package/dist/dts/features/CohortSimilarity/types.js.map +1 -0
  182. package/dist/dts/index.d.ts +2 -2
  183. package/dist/dts/index.d.ts.map +1 -1
  184. package/dist/dts/index.js +2 -2
  185. package/dist/dts/index.js.map +1 -1
  186. package/dist/esm/index.js +88 -85
  187. package/dist/esm/index.js.map +1 -1
  188. package/dist/index.d.ts +2 -2
  189. package/dist/tsconfig.tsbuildinfo +1 -1
  190. package/package.json +5 -6
  191. package/dist/dts/features/CohortDiversity/CohortDiversityApp.d.ts +0 -4
  192. package/dist/dts/features/CohortDiversity/CohortDiversityApp.d.ts.map +0 -1
  193. package/dist/dts/features/CohortDiversity/CohortDiversityApp.js.map +0 -1
  194. package/dist/dts/features/CohortDiversity/ComnparisonCard.d.ts.map +0 -1
  195. package/dist/dts/features/CohortDiversity/ComnparisonCard.js.map +0 -1
  196. package/dist/dts/features/CohortDiversity/ComparisonCards.d.ts.map +0 -1
  197. package/dist/dts/features/CohortDiversity/ComparisonCards.js.map +0 -1
  198. package/dist/dts/features/CohortDiversity/appApi.d.ts +0 -8
  199. package/dist/dts/features/CohortDiversity/appApi.d.ts.map +0 -1
  200. package/dist/dts/features/CohortDiversity/appApi.js +0 -4
  201. package/dist/dts/features/CohortDiversity/appApi.js.map +0 -1
  202. package/dist/dts/features/CohortDiversity/charts/BarComparison.d.ts.map +0 -1
  203. package/dist/dts/features/CohortDiversity/charts/BarComparison.js.map +0 -1
  204. package/dist/dts/features/CohortDiversity/charts/ChartCard.d.ts.map +0 -1
  205. package/dist/dts/features/CohortDiversity/charts/ChartCard.js.map +0 -1
  206. package/dist/dts/features/CohortDiversity/charts/ComparisonCharts.d.ts.map +0 -1
  207. package/dist/dts/features/CohortDiversity/charts/ComparisonCharts.js.map +0 -1
  208. package/dist/dts/features/CohortDiversity/charts/RadarComparison.d.ts.map +0 -1
  209. package/dist/dts/features/CohortDiversity/charts/RadarComparison.js.map +0 -1
  210. package/dist/dts/features/CohortDiversity/charts/diversityChartsFactory.d.ts.map +0 -1
  211. package/dist/dts/features/CohortDiversity/charts/diversityChartsFactory.js.map +0 -1
  212. package/dist/dts/features/CohortDiversity/charts/types.d.ts.map +0 -1
  213. package/dist/dts/features/CohortDiversity/charts/types.js.map +0 -1
  214. package/dist/dts/features/CohortDiversity/charts/utils.d.ts.map +0 -1
  215. package/dist/dts/features/CohortDiversity/charts/utils.js.map +0 -1
  216. package/dist/dts/features/CohortDiversity/diversityApi.d.ts.map +0 -1
  217. package/dist/dts/features/CohortDiversity/diversityApi.js.map +0 -1
  218. package/dist/dts/features/CohortDiversity/registerApp.d.ts +0 -3
  219. package/dist/dts/features/CohortDiversity/registerApp.d.ts.map +0 -1
  220. package/dist/dts/features/CohortDiversity/registerApp.js.map +0 -1
  221. package/dist/dts/features/CohortDiversity/statistics/StatisticsCard.d.ts.map +0 -1
  222. package/dist/dts/features/CohortDiversity/statistics/StatisticsCard.js.map +0 -1
  223. package/dist/dts/features/CohortDiversity/statistics/StatisticsPanel.d.ts.map +0 -1
  224. package/dist/dts/features/CohortDiversity/statistics/StatisticsPanel.js.map +0 -1
  225. package/dist/dts/features/CohortDiversity/statistics/data/data.d.ts +0 -2
  226. package/dist/dts/features/CohortDiversity/statistics/data/data.d.ts.map +0 -1
  227. package/dist/dts/features/CohortDiversity/statistics/data/data.js.map +0 -1
  228. package/dist/dts/features/CohortDiversity/statistics/data/tests/processHistogramResponse.unit.test.js.map +0 -1
  229. package/dist/dts/features/CohortDiversity/statistics/data/utils.d.ts.map +0 -1
  230. package/dist/dts/features/CohortDiversity/statistics/data/utils.js.map +0 -1
  231. package/dist/dts/features/CohortDiversity/statistics/queries.d.ts.map +0 -1
  232. package/dist/dts/features/CohortDiversity/statistics/queries.js.map +0 -1
  233. package/dist/dts/features/CohortDiversity/types.d.ts.map +0 -1
  234. package/dist/dts/features/CohortDiversity/types.js.map +0 -1
  235. /package/dist/dts/features/{CohortDiversity/charts → CohortBuilder/Panels}/types.js +0 -0
  236. /package/dist/dts/features/{CohortDiversity → CohortDistance}/ComnparisonCard.js +0 -0
  237. /package/dist/dts/features/{CohortDiversity → CohortDistance}/ComparisonCards.js +0 -0
  238. /package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/BarComparison.d.ts +0 -0
  239. /package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/BarComparison.js +0 -0
  240. /package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/ComparisonCharts.js +0 -0
  241. /package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/RadarComparison.d.ts +0 -0
  242. /package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/RadarComparison.js +0 -0
  243. /package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/types.d.ts +0 -0
  244. /package/dist/dts/features/{CohortDiversity → CohortDistance/charts}/types.js +0 -0
  245. /package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/utils.d.ts +0 -0
  246. /package/dist/dts/features/{CohortDiversity → CohortDistance}/charts/utils.js +0 -0
  247. /package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/StatisticsCard.d.ts +0 -0
  248. /package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/StatisticsCard.js +0 -0
  249. /package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/StatisticsPanel.js +0 -0
  250. /package/dist/dts/features/{CohortDiversity/statistics/data/tests/diversityResponse.json → CohortDistance/statistics/data/tests/distanceResponse.json} +0 -0
  251. /package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/data/tests/processHistogramResponse.unit.test.d.ts +0 -0
  252. /package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/data/utils.d.ts +0 -0
  253. /package/dist/dts/features/{CohortDiversity → CohortDistance}/statistics/data/utils.js +0 -0
@@ -0,0 +1,228 @@
1
+ {
2
+ "data": {
3
+ "_aggregation": {
4
+ "case": {
5
+ "_totalCount": 74055,
6
+ "sex": {
7
+ "histogram": [
8
+ {
9
+ "key": "Female",
10
+ "count": 34496
11
+ },
12
+ {
13
+ "key": "Male",
14
+ "count": 33208
15
+ },
16
+ {
17
+ "key": "Not Reported",
18
+ "count": 21
19
+ },
20
+ {
21
+ "key": "no data",
22
+ "count": 6330
23
+ }
24
+ ]
25
+ },
26
+ "ethnicity": {
27
+ "histogram": [
28
+ {
29
+ "key": "Not Hispanic or Latino",
30
+ "count": 55040
31
+ },
32
+ {
33
+ "key": "Not Reported",
34
+ "count": 6695
35
+ },
36
+ {
37
+ "key": "Hispanic or Latino",
38
+ "count": 5402
39
+ },
40
+ {
41
+ "key": "no data",
42
+ "count": 6918
43
+ }
44
+ ]
45
+ },
46
+ "race": {
47
+ "histogram": [
48
+ {
49
+ "key": "White",
50
+ "count": 33572
51
+ },
52
+ {
53
+ "key": "Black or African American",
54
+ "count": 20624
55
+ },
56
+ {
57
+ "key": "Not Reported",
58
+ "count": 5570
59
+ },
60
+ {
61
+ "key": "Asian",
62
+ "count": 3512
63
+ },
64
+ {
65
+ "key": "Other",
66
+ "count": 1966
67
+ },
68
+ {
69
+ "key": "American Indian or Alaska Native",
70
+ "count": 169
71
+ },
72
+ {
73
+ "key": "Native Hawaiian or other Pacific Islander",
74
+ "count": 158
75
+ },
76
+ {
77
+ "key": "no data",
78
+ "count": 8484
79
+ }
80
+ ]
81
+ }
82
+ },
83
+ "case_0_4": {
84
+ "age_at_index": {
85
+ "histogram": [
86
+ {
87
+ "key": [
88
+ 0,
89
+ 4
90
+ ],
91
+ "count": 568
92
+ }
93
+ ]
94
+ }
95
+ },
96
+ "case_5_11": {
97
+ "age_at_index": {
98
+ "histogram": [
99
+ {
100
+ "key": [
101
+ 5,
102
+ 11
103
+ ],
104
+ "count": 308
105
+ }
106
+ ]
107
+ }
108
+ },
109
+ "case_12_15": {
110
+ "age_at_index": {
111
+ "histogram": [
112
+ {
113
+ "key": [
114
+ 12,
115
+ 15
116
+ ],
117
+ "count": 243
118
+ }
119
+ ]
120
+ }
121
+ },
122
+ "case_16_17": {
123
+ "age_at_index": {
124
+ "histogram": [
125
+ {
126
+ "key": [
127
+ 16,
128
+ 17
129
+ ],
130
+ "count": 244
131
+ }
132
+ ]
133
+ }
134
+ },
135
+ "case_18_29": {
136
+ "age_at_index": {
137
+ "histogram": [
138
+ {
139
+ "key": [
140
+ 18,
141
+ 29
142
+ ],
143
+ "count": 5047
144
+ }
145
+ ]
146
+ }
147
+ },
148
+ "case_30_39": {
149
+ "age_at_index": {
150
+ "histogram": [
151
+ {
152
+ "key": [
153
+ 30,
154
+ 39
155
+ ],
156
+ "count": 6966
157
+ }
158
+ ]
159
+ }
160
+ },
161
+ "case_40_49": {
162
+ "age_at_index": {
163
+ "histogram": [
164
+ {
165
+ "key": [
166
+ 40,
167
+ 49
168
+ ],
169
+ "count": 8354
170
+ }
171
+ ]
172
+ }
173
+ },
174
+ "case_50_64": {
175
+ "age_at_index": {
176
+ "histogram": [
177
+ {
178
+ "key": [
179
+ 50,
180
+ 64
181
+ ],
182
+ "count": 19265
183
+ }
184
+ ]
185
+ }
186
+ },
187
+ "case_65_74": {
188
+ "age_at_index": {
189
+ "histogram": [
190
+ {
191
+ "key": [
192
+ 65,
193
+ 74
194
+ ],
195
+ "count": 12820
196
+ }
197
+ ]
198
+ }
199
+ },
200
+ "case_75_84": {
201
+ "age_at_index": {
202
+ "histogram": [
203
+ {
204
+ "key": [
205
+ 75,
206
+ 84
207
+ ],
208
+ "count": 8764
209
+ }
210
+ ]
211
+ }
212
+ },
213
+ "case_85_plus": {
214
+ "age_at_index": {
215
+ "histogram": [
216
+ {
217
+ "key": [
218
+ 85,
219
+ 89
220
+ ],
221
+ "count": 2680
222
+ }
223
+ ]
224
+ }
225
+ }
226
+ }
227
+ }
228
+ }
@@ -0,0 +1,49 @@
1
+ import { AggregationsData } from '@gen3/core';
2
+ /**
3
+ * Converts a deeply nested data structure of numbers into a structured aggregation data format.
4
+ *
5
+ * @param {Record<string, Record<string, Record<string, number>>>} data - The input data where the structure
6
+ * consists of three levels of nested records:
7
+ * - The outermost level is keyed by source identifiers.
8
+ * - The middle level is keyed by aggregation identifiers.
9
+ * - The innermost level is keyed by histogram keys with corresponding numeric counts.
10
+ *
11
+ * @return {Record<string, AggregationsData>} - A newly structured data object where:
12
+ * - The outermost level is the same as the input.
13
+ * - Each aggregation identifier now maps to an array of histogram objects with key-count pairs.
14
+ */
15
+ export declare const convertToAggregateData: (data: Record<string, Record<string, Record<string, number>>>) => Record<string, AggregationsData>;
16
+ /**
17
+ * Converts histogram response data into percentages based on the total counts.
18
+ *
19
+ * @param {Record<string, any>} data - The input data containing histogram details and total counts.
20
+ *
21
+ * @returns {AggregationsData} The processed histogram data where counts are converted to percentages.
22
+ */
23
+ export declare const processHistogramResponseAsPercentage: (data: Record<string, any>) => AggregationsData;
24
+ /**
25
+ * Takes an object of type AggregationsData and normalizes the
26
+ * 'age_at_index' property by converting the age keys to a string format.
27
+ *
28
+ * This function checks if the 'age_at_index' key exists in the input object.
29
+ * If it does, it transforms each age entry by appending ' Years' to the age
30
+ * value and returns the updated object. If the 'age_at_index' key does not exist,
31
+ * it returns the original data.
32
+ *
33
+ * @param {AggregationsData} data - The input data object containing the age aggregations.
34
+ * @returns {AggregationsData} - The transformed data object with normalized age keys.
35
+ */
36
+ export declare const normalizeAgeOfIndex: (data: AggregationsData) => AggregationsData;
37
+ /**
38
+ * Aligns the source data with the target structure by mapping items based on their keys and updating the counts.
39
+ *
40
+ * This function takes two sets of aggregation data, aligns them by their categories and individual keys,
41
+ * and updates the counts from the source data. If a category or its items are missing in the source data,
42
+ * a count of 0 is assigned to those items in the resulting aligned data structure.
43
+ *
44
+ * @param {AggregationsData} sourceData - The source aggregation data containing key-value pairs with the count.
45
+ * @param {AggregationsData} targetStructure - The target aggregation structure used to align and structure the result.
46
+ * @return {AggregationsData} The aligned data with updated counts from the source data, maintaining the target structure.
47
+ */
48
+ export declare const alignData: (sourceData: AggregationsData, targetStructure: AggregationsData) => AggregationsData;
49
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CohortSimilarity/statistics/data/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAsB,MAAM,YAAY,CAAC;AAIlE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB,SAC3B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,KAC3D,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAoBjC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,SACzC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KACxB,gBA2CF,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,SAAU,gBAAgB,qBAWzD,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,eACR,gBAAgB,mBACX,gBAAgB,qBAuBlC,CAAC"}
@@ -0,0 +1,146 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
+ if (ar || !(i in from)) {
15
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
16
+ ar[i] = from[i];
17
+ }
18
+ }
19
+ return to.concat(ar || Array.prototype.slice.call(from));
20
+ };
21
+ import { JSONPath } from 'jsonpath-plus';
22
+ import { isArray } from 'lodash';
23
+ /**
24
+ * Converts a deeply nested data structure of numbers into a structured aggregation data format.
25
+ *
26
+ * @param {Record<string, Record<string, Record<string, number>>>} data - The input data where the structure
27
+ * consists of three levels of nested records:
28
+ * - The outermost level is keyed by source identifiers.
29
+ * - The middle level is keyed by aggregation identifiers.
30
+ * - The innermost level is keyed by histogram keys with corresponding numeric counts.
31
+ *
32
+ * @return {Record<string, AggregationsData>} - A newly structured data object where:
33
+ * - The outermost level is the same as the input.
34
+ * - Each aggregation identifier now maps to an array of histogram objects with key-count pairs.
35
+ */
36
+ export var convertToAggregateData = function (data) {
37
+ var result = {};
38
+ for (var _i = 0, _a = Object.entries(data); _i < _a.length; _i++) {
39
+ var _b = _a[_i], sourceKey = _b[0], sourceValue = _b[1];
40
+ var aggData = {};
41
+ for (var _c = 0, _d = Object.entries(sourceValue); _c < _d.length; _c++) {
42
+ var _e = _d[_c], aggKey = _e[0], aggValue = _e[1];
43
+ var histogramDataArray = [];
44
+ for (var _f = 0, _g = Object.entries(aggValue); _f < _g.length; _f++) {
45
+ var _h = _g[_f], key = _h[0], count = _h[1];
46
+ histogramDataArray.push({ key: key, count: count });
47
+ }
48
+ aggData[aggKey] = histogramDataArray;
49
+ }
50
+ result[sourceKey] = aggData;
51
+ }
52
+ return result;
53
+ };
54
+ /**
55
+ * Converts histogram response data into percentages based on the total counts.
56
+ *
57
+ * @param {Record<string, any>} data - The input data containing histogram details and total counts.
58
+ *
59
+ * @returns {AggregationsData} The processed histogram data where counts are converted to percentages.
60
+ */
61
+ export var processHistogramResponseAsPercentage = function (data) {
62
+ var pathData = JSONPath({
63
+ json: data,
64
+ path: '$..histogram',
65
+ resultType: 'all',
66
+ });
67
+ var totalData = JSONPath({
68
+ json: data,
69
+ path: '$.._totalCount',
70
+ resultType: 'value',
71
+ });
72
+ var total = totalData[0];
73
+ var results = pathData.reduce(function (acc, element) {
74
+ var _a, _b;
75
+ var key = element.pointer.split('/').slice(-2, -1)[0];
76
+ if (isArray(element.value[0].key) && element.value[0].key.length == 2) {
77
+ if (!(key in acc))
78
+ acc[key] = [];
79
+ return __assign(__assign({}, acc), (_a = {}, _a[key] = __spreadArray([
80
+ {
81
+ key: "".concat(element.value[0].key[0], "-").concat(element.value[0].key[1]),
82
+ count: (element.value[0].count / total) * 100,
83
+ }
84
+ ], acc[key], true), _a));
85
+ }
86
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = element.value.map(function (x) {
87
+ return { key: x.key, count: (x.count / total) * 100 };
88
+ }), _b));
89
+ }, {});
90
+ return results;
91
+ };
92
+ /**
93
+ * Takes an object of type AggregationsData and normalizes the
94
+ * 'age_at_index' property by converting the age keys to a string format.
95
+ *
96
+ * This function checks if the 'age_at_index' key exists in the input object.
97
+ * If it does, it transforms each age entry by appending ' Years' to the age
98
+ * value and returns the updated object. If the 'age_at_index' key does not exist,
99
+ * it returns the original data.
100
+ *
101
+ * @param {AggregationsData} data - The input data object containing the age aggregations.
102
+ * @returns {AggregationsData} - The transformed data object with normalized age keys.
103
+ */
104
+ export var normalizeAgeOfIndex = function (data) {
105
+ if (!('age_at_index' in data))
106
+ return data;
107
+ var newKeys = data['age_at_index'].map(function (x) {
108
+ return { key: "".concat(x.key, " Years"), count: x.count };
109
+ });
110
+ return __assign(__assign({}, data), { age_at_index: newKeys });
111
+ };
112
+ /**
113
+ * Aligns the source data with the target structure by mapping items based on their keys and updating the counts.
114
+ *
115
+ * This function takes two sets of aggregation data, aligns them by their categories and individual keys,
116
+ * and updates the counts from the source data. If a category or its items are missing in the source data,
117
+ * a count of 0 is assigned to those items in the resulting aligned data structure.
118
+ *
119
+ * @param {AggregationsData} sourceData - The source aggregation data containing key-value pairs with the count.
120
+ * @param {AggregationsData} targetStructure - The target aggregation structure used to align and structure the result.
121
+ * @return {AggregationsData} The aligned data with updated counts from the source data, maintaining the target structure.
122
+ */
123
+ export var alignData = function (sourceData, targetStructure) {
124
+ var result = {};
125
+ var missing = [];
126
+ var _loop_1 = function (category) {
127
+ if (category in sourceData) {
128
+ result[category] = targetStructure[category].map(function (targetItem) {
129
+ var sourceItem = sourceData[category].find(function (item) { return item.key === targetItem.key; });
130
+ return sourceItem
131
+ ? __assign(__assign({}, targetItem), { count: sourceItem.count }) : __assign(__assign({}, targetItem), { count: 0 });
132
+ });
133
+ }
134
+ else {
135
+ // store all key not found in sourceData
136
+ missing.push(category);
137
+ }
138
+ };
139
+ for (var category in targetStructure) {
140
+ _loop_1(category);
141
+ }
142
+ // TODO: report missing?
143
+ // TODO: make this configurable
144
+ return result;
145
+ };
146
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../src/features/CohortSimilarity/statistics/data/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEjC;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,IAAM,sBAAsB,GAAG,UACpC,IAA4D;IAE5D,IAAM,MAAM,GAAqC,EAAE,CAAC;IAEpD,KAAuC,UAAoB,EAApB,KAAA,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAApB,cAAoB,EAApB,IAAoB,EAAE,CAAC;QAAnD,IAAA,WAAwB,EAAvB,SAAS,QAAA,EAAE,WAAW,QAAA;QAChC,IAAM,OAAO,GAAqB,EAAE,CAAC;QAErC,KAAiC,UAA2B,EAA3B,KAAA,MAAM,CAAC,OA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AAC,KAAK,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,6BACK,IAAI,KACP,YAAY,EAAE,OAAO,IACrB;AACJ,CAAC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,IAAM,SAAS,GAAG,UACvB,UAA4B,EAC5B,eAAiC;IAEjC,IAAM,MAAM,GAAqB,EAAE,CAAC;IACpC,IAAM,OAAO,GAAa,EAAE,CAAC;4BAElB,QAAQ;QACjB,IAAI,QAAQ,IAAI,UAAU,EAAE,CAAC;YAC3B,MAAM,CAAC,QAAQ,CAAC,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,UAAC,UAAU;gBAC1D,IAAM,UAAU,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC,IAAI,CAC1C,UAAC,IAAI,IAAK,OAAA,IAAI,CAAC,GAAG,KAAK,UAAU,CAAC,GAAG,EAA3B,CAA2B,CACtC,CAAC;gBACF,OAAO,UAAU;oBACf,CAAC,uBAAM,UAAU,KAAE,KAAK,EAAE,UAAU,CAAC,KAAK,IAC1C,CAAC,uBAAM,UAAU,KAAE,KAAK,EAAE,CAAC,GAAE,CAAC;YAClC,CAAC,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,wCAAwC;YACxC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzB,CAAC;;IAbH,KAAK,IAAM,QAAQ,IAAI,eAAe;gBAA3B,QAAQ;KAclB;IACD,wBAAwB;IACxB,+BAA+B;IAC/B,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const processQueryResponse: (data: Record<string, any>) => void;
2
+ export declare const createSimilarityQuery: (fields?: Record<string, string>) => {
3
+ query: string;
4
+ variables: string;
5
+ };
6
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../../src/features/CohortSimilarity/statistics/queries.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,SAAU,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,SAAO,CAAC;AAetE,eAAO,MAAM,qBAAqB,YACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;;CAkR/B,CAAC"}
@@ -0,0 +1,24 @@
1
+ export var processQueryResponse = function (data) { };
2
+ var convertToValidJSON = function (inputString) {
3
+ // Remove all newline characters and extra spaces
4
+ var cleanedString = inputString.replace(/\s+/g, ' ').trim();
5
+ // Add quotes around property names that aren't already quoted
6
+ cleanedString = cleanedString.replace(/(\w+):/g, '"$1":');
7
+ // Replace single quotes with double quotes (if any)
8
+ cleanedString = cleanedString.replace(/'/g, '"');
9
+ return cleanedString;
10
+ };
11
+ export var createSimilarityQuery = function (fields) {
12
+ if (fields === void 0) { fields = {
13
+ age_at_index: 'age_at_index',
14
+ sex: 'sex',
15
+ ethnicity: 'ethnicity',
16
+ race: 'race',
17
+ }; }
18
+ // TODO refactor to make this usable for all facets
19
+ return {
20
+ query: "\n query ($filter_0_4: JSON, $filter_5_11: JSON, $filter_12_15: JSON, $filter_16_17: JSON, $filter_18_29: JSON, $filter_30_39: JSON, $filter_40_49: JSON, $filter_50_64: JSON, $filter_65_74: JSON, $filter_75_84: JSON, $filter_85_plus: JSON) {\n _aggregation {\n case {\n _totalCount\n ".concat(fields['sex'], " {\n histogram {\n key\n count\n }\n }\n ").concat(fields['ethnicity'], " {\n histogram {\n key\n count\n }\n },\n ").concat(fields['race'], " {\n histogram {\n key\n count\n }\n }\n }\n case_0_4: case(filter: $filter_0_4, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_5_11: case(filter: $filter_5_11, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_12_15: case(filter: $filter_12_15, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_16_17: case(filter: $filter_16_17, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_18_29: case(filter: $filter_18_29, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_30_39: case(filter: $filter_30_39, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_40_49: case(filter: $filter_40_49, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_50_64: case(filter: $filter_50_64, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_65_74: case(filter: $filter_65_74, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_75_84: case(filter: $filter_75_84, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n case_85_plus: case(filter: $filter_85_plus, filterSelf: true, accessibility: all) {\n ").concat(fields['age_at_index'], " {\n histogram {\n key\n count\n }\n }\n }\n }\n}"),
21
+ variables: convertToValidJSON("{ \"filter_0_4\": {\n \"AND\": [\n {\n \">=\": {\n ".concat(fields['age_at_index'], ": 0\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 4\n }\n }\n ]\n },\n \"filter_5_11\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 5\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 11\n }\n }\n ]\n },\n \"filter_12_15\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 12\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 15\n }\n }\n ]\n },\n \"filter_16_17\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 16\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 17\n }\n }\n ]\n },\n \"filter_18_29\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 18\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 29\n }\n }\n ]\n },\n \"filter_30_39\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 30\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 39\n }\n }\n ]\n },\n \"filter_40_49\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 40\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 49\n }\n }\n ]\n },\n \"filter_50_64\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 50\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 64\n }\n }\n ]\n },\n \"filter_65_74\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 65\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 74\n }\n }\n ]\n },\n \"filter_75_84\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 75\n }\n },\n {\n \"<=\": {\n ").concat(fields['age_at_index'], ": 84\n }\n }\n ]\n },\n \"filter_85_plus\": {\n \"AND\": [\n {\n \">=\": {\n ").concat(fields['age_at_index'], ": 85\n }\n }\n ]\n }\n}")),
22
+ };
23
+ };
24
+ //# sourceMappingURL=queries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../../src/features/CohortSimilarity/statistics/queries.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,oBAAoB,GAAG,UAAC,IAAyB,IAAM,CAAC,CAAC;AAEtE,IAAM,kBAAkB,GAAG,UAAC,WAAmB;IAC7C,iDAAiD;IACjD,IAAI,aAAa,GAAG,WAAW,CAAC,OAAO,CA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IAStB,MAAM,CAAC,cAAc,CAAC,8EAKtB,MAAM,CAAC,cAAc,CAAC,iIAStB,MAAM,CAAC,cAAc,CAAC,8EAKtB,MAAM,CAAC,cAAc,CAAC,iIAStB,MAAM,CAAC,cAAc,CAAC,8EAKtB,MAAM,CAAC,cAAc,CAAC,iIAStB,MAAM,CAAC,cAAc,CAAC,8EAKtB,MAAM,CAAC,cAAc,CAAC,iIAStB,MAAM,CAAC,cAAc,CAAC,8EAKtB,MAAM,CAAC,cAAc,CAAC,iIAStB,MAAM,CAAC,cAAc,CAAC,8EAKtB,MAAM,CAAC,cAAc,CAAC,mIAStB,MAAM,CAAC,cAAc,CAAC,4CAKhC,CAAC;KACA,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { JSONObject } from '@gen3/core';
2
+ import { SummaryChart } from '../../components/charts';
3
+ import { TitleAndDescription } from '../../types';
4
+ import { Gen3AppConfigData } from '../../lib/content/types';
5
+ export interface SimilarityChart extends TitleAndDescription {
6
+ chartType: string;
7
+ valueLabel?: string;
8
+ parameters?: JSONObject;
9
+ }
10
+ export interface SimilarityData {
11
+ dataset: string;
12
+ label: string;
13
+ }
14
+ export interface GroundWithComparisonDatasets {
15
+ ground: SimilarityData;
16
+ comparison: Array<SimilarityData>;
17
+ }
18
+ export interface CohortSimilarityConfig extends Gen3AppConfigData {
19
+ datasets: GroundWithComparisonDatasets;
20
+ fields: ReadonlyArray<string>;
21
+ fieldsConfig?: Record<string, Partial<TitleAndDescription>>;
22
+ charts: Record<string, SummaryChart>;
23
+ comparisonCharts: Record<string, SimilarityChart>;
24
+ numberOfColumns?: number;
25
+ }
26
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,QAAQ,EAAE,4BAA4B,CAAC;IACvC,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACrC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAClD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/features/CohortSimilarity/types.ts"],"names":[],"mappings":""}
@@ -16,7 +16,7 @@ import { type SessionConfiguration } from './lib/session/types';
16
16
  import { type Fonts, type RegisteredIcons } from './lib/content/types';
17
17
  import ErrorCard from './components/MessageCards/ErrorCard';
18
18
  import { registerCohortDiscoveryApp } from './features/CohortDiscovery/registerApp';
19
- import { registerCohortDiversityApp } from './features/CohortDiversity/registerApp';
19
+ import { registerCohortSimilarityApp } from './features/CohortSimilarity/registerApp';
20
20
  import { registerMetadataSchemaApp } from './features/Dictionary';
21
21
  import '@gen3/core';
22
22
  import Gen3Provider, { createMantineTheme } from './components/Providers/Gen3Provider';
@@ -58,5 +58,5 @@ import sessionToken from './api/auth/sessionToken';
58
58
  import sessionLogout from './api/auth/sessionLogout';
59
59
  import credentialsLogin from './api/auth/credentialsLogin';
60
60
  import credentialsLogout from './api/auth/credentialsLogout';
61
- export { ContentSource, type Fonts, type RegisteredIcons, type SessionConfiguration, type ExplorerPageProps, ErrorCard, DiscoveryPage, DiscoveryPageGetServerSideProps, QueryPage, QueryPageGetServerSideProps, LandingPage, LandingPageGetStaticProps, ColorThemePage, ColorThemePageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, ExplorerPage, ExplorerPageGetServerSideProps, ProfilePage, ProfilePageGetServerSideProps, LoginPage, LoginPageGetServerSideProps, TailwindConfig, Gen3Provider, getNavPageLayoutPropsFromConfig, AuthzPage, AdminAuthZPageGetServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, Custom404Page, sessionToken, sessionLogout, credentialsLogin, credentialsLogout, createMantineTheme, AiSearchPage, AISearchPageGetServerSideProps, CrosswalkPage, CrosswalkPageGetServerSideProps, SubmissionPage, SubmissionPageGetServerSideProps, DataLibraryPage, DataLibraryPageGetServerSideProps, NotebookLitePage, NotebookLitePageGetStaticProps, registerCohortDiscoveryApp, registerCohortDiversityApp, registerMetadataSchemaApp, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, };
61
+ export { ContentSource, type Fonts, type RegisteredIcons, type SessionConfiguration, type ExplorerPageProps, ErrorCard, DiscoveryPage, DiscoveryPageGetServerSideProps, QueryPage, QueryPageGetServerSideProps, LandingPage, LandingPageGetStaticProps, ColorThemePage, ColorThemePageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, ExplorerPage, ExplorerPageGetServerSideProps, ProfilePage, ProfilePageGetServerSideProps, LoginPage, LoginPageGetServerSideProps, TailwindConfig, Gen3Provider, getNavPageLayoutPropsFromConfig, AuthzPage, AdminAuthZPageGetServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, Custom404Page, sessionToken, sessionLogout, credentialsLogin, credentialsLogout, createMantineTheme, AiSearchPage, AISearchPageGetServerSideProps, CrosswalkPage, CrosswalkPageGetServerSideProps, SubmissionPage, SubmissionPageGetServerSideProps, DataLibraryPage, DataLibraryPageGetServerSideProps, NotebookLitePage, NotebookLitePageGetStaticProps, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerMetadataSchemaApp, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, };
62
62
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,aAAa,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,SAAS,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EA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AA8B,EAC9B,aAAa,EACb,+BAA+B,EAC/B,cAAc,EACd,gCAAgC,EAChC,eAAe,EACf,iCAAiC,EACjC,gBAAgB,EAChB,8BAA8B,EAC9B,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,EACzB,kBAAkB,EAClB,oCAAoC,GACrC,CAAC"}
package/dist/dts/index.js CHANGED
@@ -15,7 +15,7 @@ import { getNavPageLayoutPropsFromConfig } from './lib/common/staticProps';
15
15
  import ContentSource from './lib/content';
16
16
  import ErrorCard from './components/MessageCards/ErrorCard';
17
17
  import { registerCohortDiscoveryApp } from './features/CohortDiscovery/registerApp';
18
- import { registerCohortDiversityApp } from './features/CohortDiversity/registerApp';
18
+ import { registerCohortSimilarityApp } from './features/CohortSimilarity/registerApp';
19
19
  import { registerMetadataSchemaApp } from './features/Dictionary';
20
20
  import '@gen3/core';
21
21
  // export Gen3 data UI standard pages
@@ -58,5 +58,5 @@ import sessionToken from './api/auth/sessionToken';
58
58
  import sessionLogout from './api/auth/sessionLogout';
59
59
  import credentialsLogin from './api/auth/credentialsLogin';
60
60
  import credentialsLogout from './api/auth/credentialsLogout';
61
- export { ContentSource, ErrorCard, DiscoveryPage, DiscoveryPageGetServerSideProps, QueryPage, QueryPageGetServerSideProps, LandingPage, LandingPageGetStaticProps, ColorThemePage, ColorThemePageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, ExplorerPage, ExplorerPageGetServerSideProps, ProfilePage, ProfilePageGetServerSideProps, LoginPage, LoginPageGetServerSideProps, TailwindConfig, Gen3Provider, getNavPageLayoutPropsFromConfig, AuthzPage, AdminAuthZPageGetServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, Custom404Page, sessionToken, sessionLogout, credentialsLogin, credentialsLogout, createMantineTheme, AiSearchPage, AISearchPageGetServerSideProps, CrosswalkPage, CrosswalkPageGetServerSideProps, SubmissionPage, SubmissionPageGetServerSideProps, DataLibraryPage, DataLibraryPageGetServerSideProps, NotebookLitePage, NotebookLitePageGetStaticProps, registerCohortDiscoveryApp, registerCohortDiversityApp, registerMetadataSchemaApp, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, };
61
+ export { ContentSource, ErrorCard, DiscoveryPage, DiscoveryPageGetServerSideProps, QueryPage, QueryPageGetServerSideProps, LandingPage, LandingPageGetStaticProps, ColorThemePage, ColorThemePageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, ExplorerPage, ExplorerPageGetServerSideProps, ProfilePage, ProfilePageGetServerSideProps, LoginPage, LoginPageGetServerSideProps, TailwindConfig, Gen3Provider, getNavPageLayoutPropsFromConfig, AuthzPage, AdminAuthZPageGetServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, Custom404Page, sessionToken, sessionLogout, credentialsLogin, credentialsLogout, createMantineTheme, AiSearchPage, AISearchPageGetServerSideProps, CrosswalkPage, CrosswalkPageGetServerSideProps, SubmissionPage, SubmissionPageGetServerSideProps, DataLibraryPage, DataLibraryPageGetServerSideProps, NotebookLitePage, NotebookLitePageGetStaticProps, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerMetadataSchemaApp, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, };
62
62
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,WAAW;AACX,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB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