@gen3/frontend 0.10.99 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +7 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/constants.d.ts +2 -0
- package/dist/dts/features/CohortDiscovery/constants.d.ts.map +1 -0
- package/dist/dts/features/CohortDiscovery/constants.js +4 -0
- package/dist/dts/features/CohortDiscovery/constants.js.map +1 -0
- package/dist/dts/features/CohortDiscovery/queryApi.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/queryApi.js +2 -1
- package/dist/dts/features/CohortDiscovery/queryApi.js.map +1 -1
- package/dist/dts/features/Study/index.d.ts +5 -1
- package/dist/dts/features/Study/index.d.ts.map +1 -1
- package/dist/dts/features/Study/index.js +5 -1
- package/dist/dts/features/Study/index.js.map +1 -1
- package/dist/esm/index.js +4 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +32 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -15508,6 +15508,8 @@ const createFacetPanel = (facet, chartType, valueLabel, hooks)=>{
|
|
|
15508
15508
|
return null;
|
|
15509
15509
|
};
|
|
15510
15510
|
|
|
15511
|
+
const GEN3_COHORT_DISCOVERY_API = process.env.GEN3_COHORT_DISCOVERY_API || `${core.GEN3_API}/api/auth/analysis/cohortDiscovery`;
|
|
15512
|
+
|
|
15511
15513
|
const useGraphQLData = (url, body, skip)=>{
|
|
15512
15514
|
// Create a fetcher function that handles the GraphQL POST request
|
|
15513
15515
|
const fetcher = async (fetchUrl, fetchBody)=>{
|
|
@@ -15557,7 +15559,7 @@ const useGraphQLData = (url, body, skip)=>{
|
|
|
15557
15559
|
const useRoundedAggsQuery = ({ type, fields, filters, accessibility = core.Accessibility.ALL }, { skip } = {
|
|
15558
15560
|
skip: false
|
|
15559
15561
|
})=>{
|
|
15560
|
-
const response = useGraphQLData(
|
|
15562
|
+
const response = useGraphQLData(GEN3_COHORT_DISCOVERY_API, core.buildGetAggregationQuery(type, fields, filters, accessibility, false), skip);
|
|
15561
15563
|
return {
|
|
15562
15564
|
...response,
|
|
15563
15565
|
data: response?.data?.data ? core.processHistogramResponse(response?.data.data?._aggregation[type] ?? {}) : {}
|
|
@@ -25639,9 +25641,13 @@ exports.ReactECharts = ReactECharts;
|
|
|
25639
25641
|
exports.ResourcesFilters = ResourcesFilters;
|
|
25640
25642
|
exports.SPECIAL_CASE_FIELDS = SPECIAL_CASE_FIELDS;
|
|
25641
25643
|
exports.SessionExpiredModal = SessionExpiredModal;
|
|
25644
|
+
exports.SinglePageStudyDetailsPanel = SinglePageStudyDetailsPanel;
|
|
25642
25645
|
exports.StaticNotebookIFrame = StaticNotebookIFrame;
|
|
25643
25646
|
exports.StaticNotebookViewer = StaticNotebookViewer;
|
|
25647
|
+
exports.StudyDetailsPanel = StudyDetailsPanel;
|
|
25644
25648
|
exports.StudyGroup = StudyGroup;
|
|
25649
|
+
exports.StudyGroupPanel = StudyGroupPanel;
|
|
25650
|
+
exports.StudyProvider = StudyProvider;
|
|
25645
25651
|
exports.SubmissionPage = SubmissionPage;
|
|
25646
25652
|
exports.SubmissionPageGetServerSideProps = SubmissionPageGetServerSideProps;
|
|
25647
25653
|
exports.TabbedCohortBuilder = TabbedCohortBuilder;
|