@gen3/frontend 0.12.3 → 0.12.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/.swcrc +24 -0
  2. package/__mocks__/createWebStorageMock.js +10 -0
  3. package/dist/dts/components/HeaderTitle.d.ts +5 -0
  4. package/dist/dts/components/HeaderTitle.d.ts.map +1 -0
  5. package/dist/dts/components/HeaderTitle.js +8 -0
  6. package/dist/dts/components/HeaderTitle.js.map +1 -0
  7. package/dist/dts/components/HeaderTitle.stories.d.ts +13 -0
  8. package/dist/dts/components/HeaderTitle.stories.d.ts.map +1 -0
  9. package/dist/dts/components/HeaderTitle.stories.js +27 -0
  10. package/dist/dts/components/HeaderTitle.stories.js.map +1 -0
  11. package/dist/dts/components/Providers/Gen3Provider.d.ts +2 -2
  12. package/dist/dts/components/SegmentedControl.stories.d.ts +15 -15
  13. package/dist/dts/components/charts/echarts/BarChart.js.map +1 -1
  14. package/dist/dts/exports/app.d.ts +14 -0
  15. package/dist/dts/exports/app.d.ts.map +1 -0
  16. package/dist/dts/exports/app.js +9 -0
  17. package/dist/dts/exports/app.js.map +1 -0
  18. package/dist/dts/exports/content.d.ts +7 -0
  19. package/dist/dts/exports/content.d.ts.map +1 -0
  20. package/dist/dts/exports/content.js +5 -0
  21. package/dist/dts/exports/content.js.map +1 -0
  22. package/dist/dts/exports/explorerRenderers.d.ts +7 -0
  23. package/dist/dts/exports/explorerRenderers.d.ts.map +1 -0
  24. package/dist/dts/exports/explorerRenderers.js +5 -0
  25. package/dist/dts/exports/explorerRenderers.js.map +1 -0
  26. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +2 -2
  27. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
  28. package/dist/dts/features/CohortBuilder/CohortBuilder.js +1 -1
  29. package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
  30. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts +2 -1
  31. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts.map +1 -1
  32. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js +6 -5
  33. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js.map +1 -1
  34. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.d.ts +3 -2
  35. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.d.ts.map +1 -1
  36. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.js +5 -4
  37. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.js.map +1 -1
  38. package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.d.ts +3 -3
  39. package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.d.ts.map +1 -1
  40. package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.js +53 -34
  41. package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.js.map +1 -1
  42. package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
  43. package/dist/dts/features/Discovery/DiscoveryTable.js +4 -2
  44. package/dist/dts/features/Discovery/DiscoveryTable.js.map +1 -1
  45. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
  46. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js +1 -1
  47. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js.map +1 -1
  48. package/dist/dts/features/Profile/Profile.d.ts.map +1 -1
  49. package/dist/dts/features/Profile/Profile.js +1 -1
  50. package/dist/dts/features/Profile/Profile.js.map +1 -1
  51. package/dist/dts/index.d.ts +19 -21
  52. package/dist/dts/index.d.ts.map +1 -1
  53. package/dist/dts/index.js +20 -22
  54. package/dist/dts/index.js.map +1 -1
  55. package/dist/dts/lib/content/index.d.ts +1 -0
  56. package/dist/dts/lib/content/index.d.ts.map +1 -1
  57. package/dist/dts/lib/content/index.js +4 -0
  58. package/dist/dts/lib/content/index.js.map +1 -1
  59. package/dist/dts/pages/403/index.d.ts +2 -1
  60. package/dist/dts/pages/403/index.d.ts.map +1 -1
  61. package/dist/dts/pages/403/index.js +2 -1
  62. package/dist/dts/pages/403/index.js.map +1 -1
  63. package/dist/dts/pages/404/index.d.ts +2 -1
  64. package/dist/dts/pages/404/index.d.ts.map +1 -1
  65. package/dist/dts/pages/404/index.js +2 -1
  66. package/dist/dts/pages/404/index.js.map +1 -1
  67. package/dist/dts/pages/{AiSearch/AiSearch.d.ts → AISearch/AISearchPage.d.ts} +1 -1
  68. package/dist/dts/pages/AISearch/AISearchPage.d.ts.map +1 -0
  69. package/dist/dts/pages/{AiSearch/AiSearch.js → AISearch/AISearchPage.js} +1 -1
  70. package/dist/dts/pages/AISearch/AISearchPage.js.map +1 -0
  71. package/dist/dts/pages/{AiSearch → AISearch}/data.d.ts.map +1 -1
  72. package/dist/dts/pages/{AiSearch → AISearch}/data.js.map +1 -1
  73. package/dist/dts/pages/AISearch/index.d.ts +4 -0
  74. package/dist/dts/pages/AISearch/index.d.ts.map +1 -0
  75. package/dist/dts/pages/AISearch/index.js +4 -0
  76. package/dist/dts/pages/AISearch/index.js.map +1 -0
  77. package/dist/dts/pages/Analysis/{Analysis.d.ts → AnalysisPage.d.ts} +1 -1
  78. package/dist/dts/pages/Analysis/AnalysisPage.d.ts.map +1 -0
  79. package/dist/dts/pages/Analysis/{Analysis.js → AnalysisPage.js} +1 -1
  80. package/dist/dts/pages/Analysis/AnalysisPage.js.map +1 -0
  81. package/dist/dts/pages/Analysis/index.d.ts +4 -3
  82. package/dist/dts/pages/Analysis/index.d.ts.map +1 -1
  83. package/dist/dts/pages/Analysis/index.js +3 -2
  84. package/dist/dts/pages/Analysis/index.js.map +1 -1
  85. package/dist/dts/pages/Crosswalk/{Crosswalk.d.ts → CrosswalkPage.d.ts} +1 -1
  86. package/dist/dts/pages/Crosswalk/CrosswalkPage.d.ts.map +1 -0
  87. package/dist/dts/pages/Crosswalk/{Crosswalk.js → CrosswalkPage.js} +1 -1
  88. package/dist/dts/pages/Crosswalk/CrosswalkPage.js.map +1 -0
  89. package/dist/dts/pages/Crosswalk/index.d.ts +4 -2
  90. package/dist/dts/pages/Crosswalk/index.d.ts.map +1 -1
  91. package/dist/dts/pages/Crosswalk/index.js +3 -2
  92. package/dist/dts/pages/Crosswalk/index.js.map +1 -1
  93. package/dist/dts/pages/DataDictionary/{DataDictionary.d.ts → DataDictionaryPage.d.ts} +1 -1
  94. package/dist/dts/pages/DataDictionary/DataDictionaryPage.d.ts.map +1 -0
  95. package/dist/dts/pages/DataDictionary/{DataDictionary.js → DataDictionaryPage.js} +1 -1
  96. package/dist/dts/pages/DataDictionary/DataDictionaryPage.js.map +1 -0
  97. package/dist/dts/pages/DataDictionary/index.d.ts +4 -2
  98. package/dist/dts/pages/DataDictionary/index.d.ts.map +1 -1
  99. package/dist/dts/pages/DataDictionary/index.js +3 -2
  100. package/dist/dts/pages/DataDictionary/index.js.map +1 -1
  101. package/dist/dts/pages/DataLibrary/{DataLibrary.d.ts → DataLibraryPage.d.ts} +1 -1
  102. package/dist/dts/pages/DataLibrary/DataLibraryPage.d.ts.map +1 -0
  103. package/dist/dts/pages/DataLibrary/{DataLibrary.js → DataLibraryPage.js} +1 -1
  104. package/dist/dts/pages/DataLibrary/DataLibraryPage.js.map +1 -0
  105. package/dist/dts/pages/DataLibrary/index.d.ts +3 -2
  106. package/dist/dts/pages/DataLibrary/index.d.ts.map +1 -1
  107. package/dist/dts/pages/DataLibrary/index.js +3 -2
  108. package/dist/dts/pages/DataLibrary/index.js.map +1 -1
  109. package/dist/dts/pages/Discovery/{Discovery.d.ts → DiscoveryPage.d.ts} +1 -1
  110. package/dist/dts/pages/Discovery/DiscoveryPage.d.ts.map +1 -0
  111. package/dist/dts/pages/Discovery/{Discovery.js → DiscoveryPage.js} +1 -1
  112. package/dist/dts/pages/Discovery/DiscoveryPage.js.map +1 -0
  113. package/dist/dts/pages/Discovery/index.d.ts +4 -2
  114. package/dist/dts/pages/Discovery/index.d.ts.map +1 -1
  115. package/dist/dts/pages/Discovery/index.js +3 -2
  116. package/dist/dts/pages/Discovery/index.js.map +1 -1
  117. package/dist/dts/pages/Explorer/{Explorer.d.ts → ExplorerPage.d.ts} +1 -1
  118. package/dist/dts/pages/Explorer/ExplorerPage.d.ts.map +1 -0
  119. package/dist/dts/pages/Explorer/{Explorer.js → ExplorerPage.js} +1 -1
  120. package/dist/dts/pages/Explorer/ExplorerPage.js.map +1 -0
  121. package/dist/dts/pages/Explorer/index.d.ts +4 -3
  122. package/dist/dts/pages/Explorer/index.d.ts.map +1 -1
  123. package/dist/dts/pages/Explorer/index.js +3 -3
  124. package/dist/dts/pages/Explorer/index.js.map +1 -1
  125. package/dist/dts/pages/Landing/{Landing.d.ts → LandingPage.d.ts} +1 -1
  126. package/dist/dts/pages/Landing/LandingPage.d.ts.map +1 -0
  127. package/dist/dts/pages/Landing/{Landing.js → LandingPage.js} +1 -1
  128. package/dist/dts/pages/Landing/LandingPage.js.map +1 -0
  129. package/dist/dts/pages/Landing/index.d.ts +3 -2
  130. package/dist/dts/pages/Landing/index.d.ts.map +1 -1
  131. package/dist/dts/pages/Landing/index.js +3 -2
  132. package/dist/dts/pages/Landing/index.js.map +1 -1
  133. package/dist/dts/pages/Login/{Login.d.ts → LoginPage.d.ts} +1 -1
  134. package/dist/dts/pages/Login/LoginPage.d.ts.map +1 -0
  135. package/dist/dts/pages/Login/{Login.js → LoginPage.js} +1 -1
  136. package/dist/dts/pages/Login/LoginPage.js.map +1 -0
  137. package/dist/dts/pages/Login/index.d.ts +4 -2
  138. package/dist/dts/pages/Login/index.d.ts.map +1 -1
  139. package/dist/dts/pages/Login/index.js +3 -2
  140. package/dist/dts/pages/Login/index.js.map +1 -1
  141. package/dist/dts/pages/NotebookLite/{NotebookLite.d.ts → NotebookLitePage.d.ts} +1 -1
  142. package/dist/dts/pages/NotebookLite/NotebookLitePage.d.ts.map +1 -0
  143. package/dist/dts/pages/NotebookLite/{NotebookLite.js → NotebookLitePage.js} +1 -1
  144. package/dist/dts/pages/NotebookLite/NotebookLitePage.js.map +1 -0
  145. package/dist/dts/pages/NotebookLite/index.d.ts +3 -2
  146. package/dist/dts/pages/NotebookLite/index.d.ts.map +1 -1
  147. package/dist/dts/pages/NotebookLite/index.js +3 -2
  148. package/dist/dts/pages/NotebookLite/index.js.map +1 -1
  149. package/dist/dts/pages/Profile/{Profile.d.ts → ProfilePage.d.ts} +1 -1
  150. package/dist/dts/pages/Profile/ProfilePage.d.ts.map +1 -0
  151. package/dist/dts/pages/Profile/{Profile.js → ProfilePage.js} +1 -1
  152. package/dist/dts/pages/Profile/ProfilePage.js.map +1 -0
  153. package/dist/dts/pages/Profile/index.d.ts +3 -2
  154. package/dist/dts/pages/Profile/index.d.ts.map +1 -1
  155. package/dist/dts/pages/Profile/index.js +3 -2
  156. package/dist/dts/pages/Profile/index.js.map +1 -1
  157. package/dist/dts/pages/Query/{Query.d.ts → QueryPage.d.ts} +1 -1
  158. package/dist/dts/pages/Query/QueryPage.d.ts.map +1 -0
  159. package/dist/dts/pages/Query/{Query.js → QueryPage.js} +1 -1
  160. package/dist/dts/pages/Query/QueryPage.js.map +1 -0
  161. package/dist/dts/pages/Query/index.d.ts +4 -3
  162. package/dist/dts/pages/Query/index.d.ts.map +1 -1
  163. package/dist/dts/pages/Query/index.js +3 -3
  164. package/dist/dts/pages/Query/index.js.map +1 -1
  165. package/dist/dts/pages/Repository/{Repository.d.ts → RepositoryPage.d.ts} +1 -1
  166. package/dist/dts/pages/Repository/RepositoryPage.d.ts.map +1 -0
  167. package/dist/dts/pages/Repository/{Repository.js → RepositoryPage.js} +1 -1
  168. package/dist/dts/pages/Repository/RepositoryPage.js.map +1 -0
  169. package/dist/dts/pages/Repository/index.d.ts +4 -3
  170. package/dist/dts/pages/Repository/index.d.ts.map +1 -1
  171. package/dist/dts/pages/Repository/index.js +3 -3
  172. package/dist/dts/pages/Repository/index.js.map +1 -1
  173. package/dist/dts/pages/Submission/{Submission.d.ts → SubmissionPage.d.ts} +1 -1
  174. package/dist/dts/pages/Submission/SubmissionPage.d.ts.map +1 -0
  175. package/dist/dts/pages/Submission/{Submission.js → SubmissionPage.js} +1 -1
  176. package/dist/dts/pages/Submission/SubmissionPage.js.map +1 -0
  177. package/dist/dts/pages/Submission/index.d.ts +4 -2
  178. package/dist/dts/pages/Submission/index.d.ts.map +1 -1
  179. package/dist/dts/pages/Submission/index.js +3 -2
  180. package/dist/dts/pages/Submission/index.js.map +1 -1
  181. package/dist/dts/pages/TabbedCohortBuilder/index.d.ts +4 -2
  182. package/dist/dts/pages/TabbedCohortBuilder/index.d.ts.map +1 -1
  183. package/dist/dts/pages/TabbedCohortBuilder/index.js +3 -2
  184. package/dist/dts/pages/TabbedCohortBuilder/index.js.map +1 -1
  185. package/dist/dts/pages/Theme/{Colors.d.ts → ColorThemePage.d.ts} +1 -1
  186. package/dist/dts/pages/Theme/ColorThemePage.d.ts.map +1 -0
  187. package/dist/dts/pages/Theme/{Colors.js → ColorThemePage.js} +1 -1
  188. package/dist/dts/pages/Theme/ColorThemePage.js.map +1 -0
  189. package/dist/dts/pages/Theme/index.d.ts +3 -3
  190. package/dist/dts/pages/Theme/index.d.ts.map +1 -1
  191. package/dist/dts/pages/Theme/index.js +3 -2
  192. package/dist/dts/pages/Theme/index.js.map +1 -1
  193. package/dist/dts/pages/Workspace/{WorkspaceNoAccess.d.ts → WorkspaceNoAccess.Page.d.ts} +1 -1
  194. package/dist/dts/pages/Workspace/WorkspaceNoAccess.Page.d.ts.map +1 -0
  195. package/dist/dts/pages/Workspace/{WorkspaceNoAccess.js → WorkspaceNoAccess.Page.js} +1 -1
  196. package/dist/dts/pages/Workspace/WorkspaceNoAccess.Page.js.map +1 -0
  197. package/dist/dts/pages/Workspace/{Workspace.d.ts → WorkspacePage.d.ts} +1 -1
  198. package/dist/dts/pages/Workspace/WorkspacePage.d.ts.map +1 -0
  199. package/dist/dts/pages/Workspace/{Workspace.js → WorkspacePage.js} +1 -1
  200. package/dist/dts/pages/Workspace/WorkspacePage.js.map +1 -0
  201. package/dist/dts/pages/Workspace/index.d.ts +5 -4
  202. package/dist/dts/pages/Workspace/index.d.ts.map +1 -1
  203. package/dist/dts/pages/Workspace/index.js +4 -4
  204. package/dist/dts/pages/Workspace/index.js.map +1 -1
  205. package/dist/dts/pages/external/{footer.d.ts → StandaloneFooterPage.d.ts} +1 -1
  206. package/dist/dts/pages/external/StandaloneFooterPage.d.ts.map +1 -0
  207. package/dist/dts/pages/external/{footer.js → StandaloneFooterPage.js} +1 -1
  208. package/dist/dts/pages/external/StandaloneFooterPage.js.map +1 -0
  209. package/dist/dts/pages/index.d.ts +19 -3
  210. package/dist/dts/pages/index.d.ts.map +1 -1
  211. package/dist/dts/pages/index.js +19 -54
  212. package/dist/dts/pages/index.js.map +1 -1
  213. package/dist/dts/utils/labels.d.ts +5 -5
  214. package/dist/dts/utils/labels.d.ts.map +1 -1
  215. package/dist/dts/utils/labels.js +7 -7
  216. package/dist/dts/utils/labels.js.map +1 -1
  217. package/dist/index/cjs/{QueryPanel-BMyMDa0j.js → QueryPanel-DjEGC2y4.js} +2 -2
  218. package/dist/index/cjs/{QueryPanel-BMyMDa0j.js.map → QueryPanel-DjEGC2y4.js.map} +1 -1
  219. package/dist/index/cjs/{index-UneMBb1i.js → index-Dbe1092a.js} +116 -79
  220. package/dist/index/cjs/index-Dbe1092a.js.map +1 -0
  221. package/dist/index/cjs/index.js +2 -2
  222. package/dist/index/esm/{QueryPanel-jUkVQ57q.js → QueryPanel-CuoHGg9R.js} +2 -2
  223. package/dist/index/esm/{QueryPanel-jUkVQ57q.js.map → QueryPanel-CuoHGg9R.js.map} +1 -1
  224. package/dist/index/esm/{index-CMqj9qc0.js → index-BzX6R_rC.js} +117 -80
  225. package/dist/index/esm/index-BzX6R_rC.js.map +1 -0
  226. package/dist/index/esm/index.js +1 -1
  227. package/dist/index.d.ts +28 -25
  228. package/dist/pages/cjs/CohortBuilder-um9lj6F0.js +480 -0
  229. package/dist/pages/cjs/CohortBuilder-um9lj6F0.js.map +1 -0
  230. package/dist/pages/cjs/GqlQueryEditor-C2C--3Sq.js +54 -0
  231. package/dist/pages/cjs/GqlQueryEditor-C2C--3Sq.js.map +1 -0
  232. package/dist/pages/cjs/QueryPanel-FE6wpWyr.js +24 -0
  233. package/dist/pages/cjs/QueryPanel-FE6wpWyr.js.map +1 -0
  234. package/dist/pages/cjs/index-DEefrENb.js +22201 -0
  235. package/dist/pages/cjs/index-DEefrENb.js.map +1 -0
  236. package/dist/pages/cjs/index.js +103 -0
  237. package/dist/pages/cjs/index.js.map +1 -0
  238. package/dist/pages/esm/CohortBuilder-DKva6j9o.js +477 -0
  239. package/dist/pages/esm/CohortBuilder-DKva6j9o.js.map +1 -0
  240. package/dist/pages/esm/GqlQueryEditor--3qrsd-o.js +52 -0
  241. package/dist/pages/esm/GqlQueryEditor--3qrsd-o.js.map +1 -0
  242. package/dist/pages/esm/QueryPanel-D4MUqmA6.js +22 -0
  243. package/dist/pages/esm/QueryPanel-D4MUqmA6.js.map +1 -0
  244. package/dist/pages/esm/index-CbfjtvBZ.js +22119 -0
  245. package/dist/pages/esm/index-CbfjtvBZ.js.map +1 -0
  246. package/dist/pages/esm/index.js +59 -0
  247. package/dist/pages/esm/index.js.map +1 -0
  248. package/dist/pages.d.ts +1002 -0
  249. package/dist/server/cjs/server.js +4 -0
  250. package/dist/server/cjs/server.js.map +1 -1
  251. package/dist/server/esm/server.js +4 -0
  252. package/dist/server/esm/server.js.map +1 -1
  253. package/dist/server.d.ts +1 -0
  254. package/docs/components/Part 1.3 (1).ics +68 -0
  255. package/docs/components/TextContent.md +185 -0
  256. package/jest.config.ts +32 -0
  257. package/package.json +14 -47
  258. package/postcss.config.js +8 -0
  259. package/rollup.config.mjs +198 -0
  260. package/schemas/discovery_config_schema.json +925 -0
  261. package/setupTests.ts +18 -0
  262. package/dist/dts/features/cart/types.d.ts +0 -2
  263. package/dist/dts/features/cart/types.d.ts.map +0 -1
  264. package/dist/dts/features/cart/types.js +0 -2
  265. package/dist/dts/features/cart/types.js.map +0 -1
  266. package/dist/dts/pages/AiSearch/AiSearch.d.ts.map +0 -1
  267. package/dist/dts/pages/AiSearch/AiSearch.js.map +0 -1
  268. package/dist/dts/pages/AiSearch/index.d.ts +0 -3
  269. package/dist/dts/pages/AiSearch/index.d.ts.map +0 -1
  270. package/dist/dts/pages/AiSearch/index.js +0 -3
  271. package/dist/dts/pages/AiSearch/index.js.map +0 -1
  272. package/dist/dts/pages/Analysis/Analysis.d.ts.map +0 -1
  273. package/dist/dts/pages/Analysis/Analysis.js.map +0 -1
  274. package/dist/dts/pages/Crosswalk/Crosswalk.d.ts.map +0 -1
  275. package/dist/dts/pages/Crosswalk/Crosswalk.js.map +0 -1
  276. package/dist/dts/pages/DataDictionary/DataDictionary.d.ts.map +0 -1
  277. package/dist/dts/pages/DataDictionary/DataDictionary.js.map +0 -1
  278. package/dist/dts/pages/DataLibrary/DataLibrary.d.ts.map +0 -1
  279. package/dist/dts/pages/DataLibrary/DataLibrary.js.map +0 -1
  280. package/dist/dts/pages/Discovery/Discovery.d.ts.map +0 -1
  281. package/dist/dts/pages/Discovery/Discovery.js.map +0 -1
  282. package/dist/dts/pages/Explorer/Explorer.d.ts.map +0 -1
  283. package/dist/dts/pages/Explorer/Explorer.js.map +0 -1
  284. package/dist/dts/pages/Landing/Landing.d.ts.map +0 -1
  285. package/dist/dts/pages/Landing/Landing.js.map +0 -1
  286. package/dist/dts/pages/Login/Login.d.ts.map +0 -1
  287. package/dist/dts/pages/Login/Login.js.map +0 -1
  288. package/dist/dts/pages/NotebookLite/NotebookLite.d.ts.map +0 -1
  289. package/dist/dts/pages/NotebookLite/NotebookLite.js.map +0 -1
  290. package/dist/dts/pages/Profile/Profile.d.ts.map +0 -1
  291. package/dist/dts/pages/Profile/Profile.js.map +0 -1
  292. package/dist/dts/pages/Query/Query.d.ts.map +0 -1
  293. package/dist/dts/pages/Query/Query.js.map +0 -1
  294. package/dist/dts/pages/Repository/Repository.d.ts.map +0 -1
  295. package/dist/dts/pages/Repository/Repository.js.map +0 -1
  296. package/dist/dts/pages/Submission/Submission.d.ts.map +0 -1
  297. package/dist/dts/pages/Submission/Submission.js.map +0 -1
  298. package/dist/dts/pages/Theme/Colors.d.ts.map +0 -1
  299. package/dist/dts/pages/Theme/Colors.js.map +0 -1
  300. package/dist/dts/pages/Workspace/Workspace.d.ts.map +0 -1
  301. package/dist/dts/pages/Workspace/Workspace.js.map +0 -1
  302. package/dist/dts/pages/Workspace/WorkspaceNoAccess.d.ts.map +0 -1
  303. package/dist/dts/pages/Workspace/WorkspaceNoAccess.js.map +0 -1
  304. package/dist/dts/pages/external/footer.d.ts.map +0 -1
  305. package/dist/dts/pages/external/footer.js.map +0 -1
  306. package/dist/index/cjs/index-UneMBb1i.js.map +0 -1
  307. package/dist/index/cjs/styles.css +0 -7
  308. package/dist/index/cjs/styles.css.map +0 -1
  309. package/dist/index/esm/index-CMqj9qc0.js.map +0 -1
  310. package/dist/index/esm/styles.css +0 -7
  311. package/dist/index/esm/styles.css.map +0 -1
  312. package/dist/styles.css +0 -7
  313. package/dist/tsconfig.tsbuildinfo +0 -1
  314. /package/dist/dts/pages/{AiSearch → AISearch}/data.d.ts +0 -0
  315. /package/dist/dts/pages/{AiSearch → AISearch}/data.js +0 -0
@@ -1,13 +1,13 @@
1
- import pluralize from 'pluralize';
1
+ import Pluralize from 'typescript-pluralize';
2
2
  /**
3
- * Convert label to pluralized (optional title case)
4
- * @param {label} string - a label to convert to title
5
- * @param {titleCase} boolean - Should first letter be capitalized default false
6
- * @returns {string} Pluralized formatted word
7
- */
3
+ * Convert label to pluralized (optional title case)
4
+ * @param {label} string - a label to convert to title
5
+ * @param {titleCase} boolean - Should first letter be capitalized default false
6
+ * @returns {string} Pluralized formatted word
7
+ */
8
8
  export var labelToPlural = function (label, titleCase) {
9
9
  if (titleCase === void 0) { titleCase = false; }
10
- var pluralizedLabel = pluralize(label);
10
+ var pluralizedLabel = Pluralize.plural(label);
11
11
  if (titleCase) {
12
12
  return pluralizedLabel.charAt(0).toUpperCase() + pluralizedLabel.slice(1);
13
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"labels.js","sourceRoot":"","sources":["../../../src/utils/labels.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAC;AAGlC;;;;;EAKE;AACF,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,KAAY,EAAE,SAAiB;IAAjB,0BAAA,EAAA,iBAAiB;IAC3D,IAAM,eAAe,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC;IACzC,IAAI,SAAS,EAAE,CAAC;QACd,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC5E,CAAC;IACD,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC;AACvC,CAAC,CAAC"}
1
+ {"version":3,"file":"labels.js","sourceRoot":"","sources":["../../../src/utils/labels.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,KAAa,EAAE,SAAiB;IAAjB,0BAAA,EAAA,iBAAiB;IAC5D,IAAM,eAAe,GAAG,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAChD,IAAI,SAAS,EAAE,CAAC;QACd,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC5E,CAAC;IACD,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC;AACvC,CAAC,CAAC"}
@@ -6,7 +6,7 @@ require('react');
6
6
  var core = require('@mantine/core');
7
7
 
8
8
  // Wrapper function for displaying loading element before GqlQueryEditor renders
9
- const GqlQueryEditor = dynamic(()=>Promise.resolve().then(function () { return require('./index-UneMBb1i.js'); }).then(function (n) { return n.GqlQueryEditor$1; }), {
9
+ const GqlQueryEditor = dynamic(()=>Promise.resolve().then(function () { return require('./index-Dbe1092a.js'); }).then(function (n) { return n.GqlQueryEditor$1; }), {
10
10
  loading: ()=>/*#__PURE__*/ jsxRuntime.jsx(core.LoadingOverlay, {
11
11
  visible: true
12
12
  }),
@@ -21,4 +21,4 @@ const QueryPanel = ({ graphQLEndpoint })=>{
21
21
  };
22
22
 
23
23
  exports.default = QueryPanel;
24
- //# sourceMappingURL=QueryPanel-BMyMDa0j.js.map
24
+ //# sourceMappingURL=QueryPanel-DjEGC2y4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPanel-BMyMDa0j.js","sources":["../../../src/features/Query/QueryPanel.tsx"],"sourcesContent":["import dynamic from 'next/dynamic';\nimport React from 'react';\nimport { LoadingOverlay } from '@mantine/core';\n\n// Wrapper function for displaying loading element before GqlQueryEditor renders\nconst GqlQueryEditor = dynamic(() => import('./GqlQueryEditor'), {\n loading: () => <LoadingOverlay visible={true} />,\n ssr: false,\n});\n\ninterface QueryPanelProps {\n graphQLEndpoint?: string;\n title?: string;\n}\n\nconst QueryPanel = ({\n graphQLEndpoint,\n}: QueryPanelProps) => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return <GqlQueryEditor graphQLEndpoint={graphQLEndpoint} />;\n};\n\nexport default QueryPanel;\n"],"names":["GqlQueryEditor","dynamic","loading","_jsx","LoadingOverlay","visible","ssr","QueryPanel","graphQLEndpoint"],"mappings":";;;;;;;AAIA;AACA,MAAMA,cAAAA,GAAiBC,OAAAA,CAAQ,IAAM,oDAAO,qBAAA,uDAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,cAAA,CAACC,mBAAAA,EAAAA;YAAeC,OAAAA,EAAS;;IACxCC,GAAAA,EAAK;AACP,CAAA,CAAA;AAOA,MAAMC,UAAAA,GAAa,CAAC,EAClBC,eAAe,EACC,GAAA;;;AAGhB,IAAA,qBAAOL,cAAA,CAACH,cAAAA,EAAAA;QAAeQ,eAAAA,EAAiBA;;AAC1C;;;;"}
1
+ {"version":3,"file":"QueryPanel-DjEGC2y4.js","sources":["../../../src/features/Query/QueryPanel.tsx"],"sourcesContent":["import dynamic from 'next/dynamic';\nimport React from 'react';\nimport { LoadingOverlay } from '@mantine/core';\n\n// Wrapper function for displaying loading element before GqlQueryEditor renders\nconst GqlQueryEditor = dynamic(() => import('./GqlQueryEditor'), {\n loading: () => <LoadingOverlay visible={true} />,\n ssr: false,\n});\n\ninterface QueryPanelProps {\n graphQLEndpoint?: string;\n title?: string;\n}\n\nconst QueryPanel = ({\n graphQLEndpoint,\n}: QueryPanelProps) => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return <GqlQueryEditor graphQLEndpoint={graphQLEndpoint} />;\n};\n\nexport default QueryPanel;\n"],"names":["GqlQueryEditor","dynamic","loading","_jsx","LoadingOverlay","visible","ssr","QueryPanel","graphQLEndpoint"],"mappings":";;;;;;;AAIA;AACA,MAAMA,cAAAA,GAAiBC,OAAAA,CAAQ,IAAM,oDAAO,qBAAA,uDAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,cAAA,CAACC,mBAAAA,EAAAA;YAAeC,OAAAA,EAAS;;IACxCC,GAAAA,EAAK;AACP,CAAA,CAAA;AAOA,MAAMC,UAAAA,GAAa,CAAC,EAClBC,eAAe,EACC,GAAA;;;AAGhB,IAAA,qBAAOL,cAAA,CAACH,cAAAA,EAAAA;QAAeQ,eAAAA,EAAiBA;;AAC1C;;;;"}
@@ -8543,8 +8543,6 @@ const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, Cu
8543
8543
  });
8544
8544
  };
8545
8545
 
8546
- var classes = {"tableRow":"DiscoveryTable-module_tableRow__yFUJZ"};
8547
-
8548
8546
  const jsonPathAccessor$1 = (path)=>(row)=>{
8549
8547
  // TODO: add logging if path is not found
8550
8548
  return jsonpathPlus.JSONPath({
@@ -9678,7 +9676,10 @@ const DiscoveryTable = ({ data, hits, dataRequestStatus, setSorting, setPaginati
9678
9676
  };
9679
9677
  });
9680
9678
  },
9681
- className: classes.tableRow
9679
+ style: {
9680
+ borderWidth: 0,
9681
+ fontSize: 'var(--mantine-font-size-sm)'
9682
+ }
9682
9683
  }),
9683
9684
  mantineTableProps: {
9684
9685
  style: {
@@ -11912,7 +11913,7 @@ const DataAccessCellRenderer = ({ cell, row })=>{
11912
11913
  /*#__PURE__*/ jsxRuntime.jsx(lu.LuLock, {
11913
11914
  className: "text-utility-warning"
11914
11915
  }),
11915
- /*#__PURE__*/ jsxRuntime.jsx(lu.LuUnlock, {
11916
+ /*#__PURE__*/ jsxRuntime.jsx(lu.LuLockOpen, {
11916
11917
  className: "text-utility-warning"
11917
11918
  })
11918
11919
  ]
@@ -11931,7 +11932,7 @@ const DataAccessCellRenderer = ({ cell, row })=>{
11931
11932
  return /*#__PURE__*/ jsxRuntime.jsx(core$1.Tooltip, {
11932
11933
  label: buildTooltip('You have access to this study', `read access to ${authorization}`),
11933
11934
  children: /*#__PURE__*/ jsxRuntime.jsx("div", {
11934
- children: /*#__PURE__*/ jsxRuntime.jsx(lu.LuUnlock, {
11935
+ children: /*#__PURE__*/ jsxRuntime.jsx(lu.LuLockOpen, {
11935
11936
  className: "text-utility-success"
11936
11937
  })
11937
11938
  })
@@ -16317,7 +16318,8 @@ const QueryRepresentationLabel = ({ value })=>{
16317
16318
  const QueryExpressionContext = /*#__PURE__*/ React.createContext({
16318
16319
  displayOnly: false,
16319
16320
  cohortId: null,
16320
- cohortName: 'default',
16321
+ cohortName: "default",
16322
+ shouldShowSummary: ()=>false,
16321
16323
  useClearCohortFilters: ()=>{
16322
16324
  const dispatch = core.useCoreDispatch();
16323
16325
  return (index)=>dispatch(core.clearCohortFilters({
@@ -16348,7 +16350,7 @@ const QueryExpressionContext = /*#__PURE__*/ React.createContext({
16348
16350
  },
16349
16351
  useGetFilters: ()=>{
16350
16352
  return {
16351
- mode: 'and',
16353
+ mode: "and",
16352
16354
  root: {}
16353
16355
  };
16354
16356
  }
@@ -16401,25 +16403,25 @@ h-full
16401
16403
  bg-base-max
16402
16404
  `;
16403
16405
  const isRangeOperation = (x)=>{
16404
- return x !== undefined && 'operator' in x && [
16405
- '>=',
16406
- '>',
16407
- '<',
16408
- '<='
16406
+ return x !== undefined && "operator" in x && [
16407
+ ">=",
16408
+ ">",
16409
+ "<",
16410
+ "<="
16409
16411
  ].includes(x.operator);
16410
16412
  };
16411
16413
  const isNestedFilter = (x)=>{
16412
- return 'path' in x;
16414
+ return "path" in x;
16413
16415
  };
16414
16416
  const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, displayOnly = false })=>{
16415
16417
  const [queryExpressionsExpanded, setQueryExpressionsExpanded] = React.useContext(QueryExpressionsExpandedContext);
16416
- const { cohortId: currentCohortId, useRemoveFilter, useUpdateFilters } = React.useContext(QueryExpressionContext);
16418
+ const { cohortId: currentCohortId, useRemoveFilter, useUpdateFilters, shouldShowSummary } = React.useContext(QueryExpressionContext);
16417
16419
  const removeCohortFilter = useRemoveFilter();
16418
16420
  const updateCohortFilter = useUpdateFilters();
16419
16421
  useDeepCompare.useDeepCompareEffect(()=>{
16420
16422
  if (currentCohortId && lodash.get(queryExpressionsExpanded, field) === undefined) {
16421
16423
  setQueryExpressionsExpanded({
16422
- type: 'expand',
16424
+ type: "expand",
16423
16425
  cohortId: currentCohortId,
16424
16426
  field
16425
16427
  });
@@ -16435,6 +16437,16 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
16435
16437
  const operandsArray = lodash.isArray(operands) ? operands : [
16436
16438
  operands
16437
16439
  ];
16440
+ const showSummaryView = shouldShowSummary ? shouldShowSummary(field, operandsArray.length) : false;
16441
+ const getSummaryLabel = ()=>{
16442
+ const count = operandsArray.length.toLocaleString();
16443
+ const entityName = core.fieldNameToTitle(field).toLowerCase();
16444
+ return `${count} input ${entityName}s`;
16445
+ };
16446
+ const fieldToUpdate = path && path != "." ? [
16447
+ path,
16448
+ field
16449
+ ].join(".") : field;
16438
16450
  return /*#__PURE__*/ jsxRuntime.jsxs(QueryContainer, {
16439
16451
  children: [
16440
16452
  /*#__PURE__*/ jsxRuntime.jsx(QueryFieldLabel, {
@@ -16442,10 +16454,10 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
16442
16454
  }),
16443
16455
  /*#__PURE__*/ jsxRuntime.jsx(core$1.ActionIcon, {
16444
16456
  variant: "transparent",
16445
- size: 'xs',
16457
+ size: "xs",
16446
16458
  onClick: ()=>{
16447
16459
  if (currentCohortId) setQueryExpressionsExpanded({
16448
- type: expanded ? 'collapse' : 'expand',
16460
+ type: expanded ? "collapse" : "expand",
16449
16461
  cohortId: currentCohortId,
16450
16462
  field
16451
16463
  });
@@ -16466,7 +16478,31 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
16466
16478
  className: "text-primary-darkest px-2 py-1 flex items-center",
16467
16479
  children: operands.length
16468
16480
  }) : /*#__PURE__*/ jsxRuntime.jsx(QueryRepresentationText, {
16469
- children: /*#__PURE__*/ jsxRuntime.jsx(core$1.Group, {
16481
+ children: showSummaryView ? /*#__PURE__*/ jsxRuntime.jsx(core$1.Badge, {
16482
+ variant: "filled",
16483
+ color: "accent.5",
16484
+ size: "md",
16485
+ className: `normal-case items-center pr-3 cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ? "pr-3" : "pr-0"}`,
16486
+ rightSection: !displayOnly && /*#__PURE__*/ jsxRuntime.jsx(RemoveButton, {
16487
+ value: "all"
16488
+ }),
16489
+ onClick: ()=>{
16490
+ if (displayOnly) return;
16491
+ if (currentCohortId) {
16492
+ setQueryExpressionsExpanded({
16493
+ type: "clear",
16494
+ cohortId: currentCohortId,
16495
+ field: fieldToUpdate
16496
+ });
16497
+ removeCohortFilter(index, fieldToUpdate);
16498
+ }
16499
+ },
16500
+ children: /*#__PURE__*/ jsxRuntime.jsx(OverflowTooltippedLabel, {
16501
+ label: getSummaryLabel(),
16502
+ className: "flex-grow text-md font-content",
16503
+ children: getSummaryLabel()
16504
+ })
16505
+ }) : /*#__PURE__*/ jsxRuntime.jsx(core$1.Group, {
16470
16506
  gap: "xs",
16471
16507
  children: operandsArray.map((x, i)=>{
16472
16508
  const value = x.toString();
@@ -16475,20 +16511,16 @@ const IncludeExcludeQueryElement = ({ index, field, path, operator, operands, di
16475
16511
  variant: "filled",
16476
16512
  color: "accent.5",
16477
16513
  size: "md",
16478
- className: `normal-case items-center max-w-[162px] cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ? 'pr-3' : 'pr-0'}`,
16514
+ className: `normal-case items-center max-w-[162px] cursor-pointer hover:bg-accent-darker pl-2 ${displayOnly ? "pr-3" : "pr-0"}`,
16479
16515
  rightSection: !displayOnly && /*#__PURE__*/ jsxRuntime.jsx(RemoveButton, {
16480
16516
  value: value
16481
16517
  }),
16482
16518
  onClick: ()=>{
16483
16519
  if (displayOnly) return;
16484
16520
  const newOperands = operandsArray.filter((o)=>o !== x);
16485
- const fieldToUpdate = path && path != '.' ? [
16486
- path,
16487
- field
16488
- ].join('.') : field;
16489
16521
  if (currentCohortId && newOperands.length === 0) {
16490
16522
  setQueryExpressionsExpanded({
16491
- type: 'clear',
16523
+ type: "clear",
16492
16524
  cohortId: currentCohortId,
16493
16525
  field: fieldToUpdate
16494
16526
  });
@@ -16559,7 +16591,7 @@ const ExistsElement = ({ field, operator })=>{
16559
16591
  ]
16560
16592
  });
16561
16593
  };
16562
- const ClosedRangeQueryElement = ({ index, lower, upper, op = 'and' })=>{
16594
+ const ClosedRangeQueryElement = ({ index, lower, upper, op = "and" })=>{
16563
16595
  const { field } = lower; // As this is a Range the field for both lower and upper will be the same
16564
16596
  return /*#__PURE__*/ jsxRuntime.jsx(React.Fragment, {
16565
16597
  children: /*#__PURE__*/ jsxRuntime.jsx(QueryElement, {
@@ -16574,7 +16606,7 @@ const ClosedRangeQueryElement = ({ index, lower, upper, op = 'and' })=>{
16574
16606
  /*#__PURE__*/ jsxRuntime.jsx("div", {
16575
16607
  className: "flex items-center",
16576
16608
  children: /*#__PURE__*/ jsxRuntime.jsx("span", {
16577
- className: 'uppercase text-accent-contrast-max font-bold',
16609
+ className: "uppercase text-accent-contrast-max font-bold",
16578
16610
  children: op
16579
16611
  })
16580
16612
  }),
@@ -16595,16 +16627,16 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
16595
16627
  // const currentCohortId = useCoreSelector((state: CoreState) =>
16596
16628
  // selectCurrentCohortId(state),
16597
16629
  // );
16598
- const fieldName = path && path != '.' ? [
16630
+ const fieldToUpdate = path && path != "." ? [
16599
16631
  path,
16600
16632
  field
16601
- ].join('.') : field;
16633
+ ].join(".") : field;
16602
16634
  const handleRemoveFilter = ()=>{
16603
- removeCohortFilter(index, fieldName);
16635
+ removeCohortFilter(index, fieldToUpdate);
16604
16636
  if (currentCohortId) setQueryExpressionsExpanded({
16605
- type: 'clear',
16637
+ type: "clear",
16606
16638
  cohortId: currentCohortId,
16607
- field: fieldName
16639
+ field: fieldToUpdate
16608
16640
  });
16609
16641
  };
16610
16642
  return /*#__PURE__*/ jsxRuntime.jsxs(QueryItemContainer, {
@@ -16625,7 +16657,7 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
16625
16657
  /**
16626
16658
  * Processes a Filter into a component representation
16627
16659
  */ class CohortFilterToComponent {
16628
- constructor(index, path = '.', displayOnly = false){
16660
+ constructor(index, path = ".", displayOnly = false){
16629
16661
  this.handleIncludes = (f)=>/*#__PURE__*/ jsxRuntime.jsx(QueryElement, {
16630
16662
  ...f,
16631
16663
  index: this.index,
@@ -16771,12 +16803,12 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
16771
16803
  path: [
16772
16804
  op.path,
16773
16805
  op.operand.path
16774
- ].join('.')
16806
+ ].join(".")
16775
16807
  };
16776
16808
  return convertFilterToComponent(newOp, this.index, [
16777
16809
  op.path,
16778
16810
  op.operand.path
16779
- ].join('.'), this.displayOnly);
16811
+ ].join("."), this.displayOnly);
16780
16812
  } else {
16781
16813
  return convertFilterToComponent(op.operand, this.index, op.path, this.displayOnly);
16782
16814
  }
@@ -16786,7 +16818,7 @@ const QueryElement = ({ index, field, path, children, displayOnly = false })=>{
16786
16818
  this.displayOnly = displayOnly;
16787
16819
  }
16788
16820
  }
16789
- const convertFilterToComponent = (filter, index, path = '.', displayOnly = false)=>{
16821
+ const convertFilterToComponent = (filter, index, path = ".", displayOnly = false)=>{
16790
16822
  const handler = new CohortFilterToComponent(index, path, displayOnly);
16791
16823
  return core.handleOperation(handler, filter);
16792
16824
  };
@@ -17222,7 +17254,7 @@ const QueryExpressionSection = ({ index, showImportExport = false, displayOnly =
17222
17254
  });
17223
17255
  };
17224
17256
 
17225
- const QueryExpression = ({ index })=>{
17257
+ const QueryExpression = ({ index, shouldShowSummary })=>{
17226
17258
  const currentCohortId = core.useCoreSelector((state)=>core.selectCurrentCohortId(state));
17227
17259
  const currentCohortName = core.useCoreSelector((state)=>core.selectCurrentCohortName(state));
17228
17260
  return /*#__PURE__*/ jsxRuntime.jsx(QueryExpressionContext.Provider, {
@@ -17230,6 +17262,7 @@ const QueryExpression = ({ index })=>{
17230
17262
  cohortName: currentCohortName,
17231
17263
  cohortId: currentCohortId,
17232
17264
  displayOnly: false,
17265
+ shouldShowSummary: shouldShowSummary,
17233
17266
  useClearCohortFilters: ()=>{
17234
17267
  const dispatch = core.useCoreDispatch();
17235
17268
  const shouldShareFilters = core.useCoreSelector((state)=>core.selectShouldShareFilters(state));
@@ -17948,7 +17981,7 @@ const CohortBuilder$1 = ({ explorerConfig, sharedFiltersMap = null, tabsLayout =
17948
17981
  children: [
17949
17982
  enableCohortManager ? /*#__PURE__*/ jsxRuntime.jsx(CohortManager$1, {}) : null,
17950
17983
  /*#__PURE__*/ jsxRuntime.jsxs(core$1.Tabs, {
17951
- color: "primary.4",
17984
+ color: "primary.5",
17952
17985
  variant: explorerConfig[0]?.tabType,
17953
17986
  keepMounted: true,
17954
17987
  defaultValue: explorerConfig[0].tabTitle,
@@ -20596,7 +20629,7 @@ const Profile = ({ profileConfig })=>{
20596
20629
  return /*#__PURE__*/ jsxRuntime.jsx(ProfileProvider, {
20597
20630
  profileConfig: profileConfig,
20598
20631
  children: /*#__PURE__*/ jsxRuntime.jsx("div", {
20599
- className: "flex flex-col w-full",
20632
+ className: "flex flex-col w-full m-2",
20600
20633
  children: /*#__PURE__*/ jsxRuntime.jsxs(core$1.Accordion, {
20601
20634
  multiple: true,
20602
20635
  variant: "separated",
@@ -20735,6 +20768,10 @@ class ContentSource {
20735
20768
  getContentDatabase() {
20736
20769
  return this.contentDatabase;
20737
20770
  }
20771
+ // ✅ Compatibility helper: allow `ContentSource.getContentDatabase()`
20772
+ static getContentDatabase() {
20773
+ return ContentSource.getInstance().getContentDatabase();
20774
+ }
20738
20775
  }
20739
20776
  // Export a singleton instance
20740
20777
  var ContentSource$1 = ContentSource.getInstance();
@@ -24550,7 +24587,7 @@ const DiscoveryPageGetServerSideProps = async ()=>{
24550
24587
  }
24551
24588
  };
24552
24589
 
24553
- const QueryPanel = dynamic(()=>Promise.resolve().then(function () { return require('./QueryPanel-BMyMDa0j.js'); }), {
24590
+ const QueryPanel = dynamic(()=>Promise.resolve().then(function () { return require('./QueryPanel-DjEGC2y4.js'); }), {
24554
24591
  ssr: false
24555
24592
  });
24556
24593
  const QueryPage = ({ headerProps, footerProps, queryProps })=>{
@@ -25288,6 +25325,18 @@ const ColorThemePageGetServerSideProps = async ()=>{
25288
25325
  };
25289
25326
  };
25290
25327
 
25328
+ const ProfilePageGetServerSideProps = async ()=>{
25329
+ const profileConfig = await ContentSource$1.getContentDatabase().get(`${core.GEN3_COMMONS_NAME}/profile.json`);
25330
+ return {
25331
+ props: {
25332
+ ...await getNavPageLayoutPropsFromConfig(),
25333
+ ...{
25334
+ profileConfig: profileConfig
25335
+ }
25336
+ }
25337
+ };
25338
+ };
25339
+
25291
25340
  const ProfilePage = ({ headerProps, footerProps, profileConfig })=>{
25292
25341
  return /*#__PURE__*/ jsxRuntime.jsx(NavPageLayout, {
25293
25342
  headerProps,
@@ -25304,18 +25353,6 @@ const ProfilePage = ({ headerProps, footerProps, profileConfig })=>{
25304
25353
  });
25305
25354
  };
25306
25355
 
25307
- const ProfilePageGetServerSideProps = async ()=>{
25308
- const profileConfig = await ContentSource$1.getContentDatabase().get(`${core.GEN3_COMMONS_NAME}/profile.json`);
25309
- return {
25310
- props: {
25311
- ...await getNavPageLayoutPropsFromConfig(),
25312
- ...{
25313
- profileConfig: profileConfig
25314
- }
25315
- }
25316
- };
25317
- };
25318
-
25319
25356
  const LoginPage = ({ headerProps, footerProps, loginConfig })=>{
25320
25357
  return /*#__PURE__*/ jsxRuntime.jsx(NavPageLayout, {
25321
25358
  headerProps,
@@ -29785,33 +29822,6 @@ const TabbedCohortBuilderPageGetServerSideProps = async ()=>{
29785
29822
  }
29786
29823
  };
29787
29824
 
29788
- const RepositoryPage = ({ headerProps, footerProps, configuration, headerMetadata })=>{
29789
- if (configuration === undefined) {
29790
- return /*#__PURE__*/ jsxRuntime.jsx(core$1.Center, {
29791
- maw: 400,
29792
- h: 100,
29793
- mx: "auto",
29794
- children: /*#__PURE__*/ jsxRuntime.jsx("div", {
29795
- children: "Repository config is not defined. Page disabled"
29796
- })
29797
- });
29798
- }
29799
- return /*#__PURE__*/ jsxRuntime.jsx(NavPageLayout, {
29800
- headerProps,
29801
- footerProps,
29802
- headerMetadata: {
29803
- title: 'Gen3 Repository Page',
29804
- content: 'Repository Page',
29805
- key: 'gen3-repository-page',
29806
- ...headerMetadata ? headerMetadata : {},
29807
- ...configuration?.headerMetadata ? configuration.headerMetadata : {}
29808
- },
29809
- children: /*#__PURE__*/ jsxRuntime.jsx(Repository, {
29810
- ...configuration
29811
- })
29812
- });
29813
- };
29814
-
29815
29825
  const DefaultAccessControlConfiguration = {
29816
29826
  dataMode: GuppyDataAccessMode.REGULAR,
29817
29827
  tierLimit: -1,
@@ -29843,6 +29853,33 @@ const RepositoryPageGetServerSideProps = async ()=>{
29843
29853
  }
29844
29854
  };
29845
29855
 
29856
+ const RepositoryPage = ({ headerProps, footerProps, configuration, headerMetadata })=>{
29857
+ if (configuration === undefined) {
29858
+ return /*#__PURE__*/ jsxRuntime.jsx(core$1.Center, {
29859
+ maw: 400,
29860
+ h: 100,
29861
+ mx: "auto",
29862
+ children: /*#__PURE__*/ jsxRuntime.jsx("div", {
29863
+ children: "Repository config is not defined. Page disabled"
29864
+ })
29865
+ });
29866
+ }
29867
+ return /*#__PURE__*/ jsxRuntime.jsx(NavPageLayout, {
29868
+ headerProps,
29869
+ footerProps,
29870
+ headerMetadata: {
29871
+ title: 'Gen3 Repository Page',
29872
+ content: 'Repository Page',
29873
+ key: 'gen3-repository-page',
29874
+ ...headerMetadata ? headerMetadata : {},
29875
+ ...configuration?.headerMetadata ? configuration.headerMetadata : {}
29876
+ },
29877
+ children: /*#__PURE__*/ jsxRuntime.jsx(Repository, {
29878
+ ...configuration
29879
+ })
29880
+ });
29881
+ };
29882
+
29846
29883
  const TailwindConfig = (themer)=>{
29847
29884
  return {
29848
29885
  important: '#__next',
@@ -30425,4 +30462,4 @@ exports.useUpdateFilters = useUpdateFilters$1;
30425
30462
  exports.useUpdateFiltersFlat = useUpdateFiltersFlat;
30426
30463
  exports.userHasMethodForServiceOnResource = userHasMethodForServiceOnResource$1;
30427
30464
  exports.validateObjectHasRequiredFields = validateObjectHasRequiredFields;
30428
- //# sourceMappingURL=index-UneMBb1i.js.map
30465
+ //# sourceMappingURL=index-Dbe1092a.js.map