@gen3/frontend 0.11.30 → 0.11.32
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 +24 -34
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/Providers/Gen3Provider.d.ts +1 -1
- package/dist/dts/components/counts/CountsValue.d.ts +3 -2
- package/dist/dts/components/counts/CountsValue.d.ts.map +1 -1
- package/dist/dts/components/counts/CountsValue.js +3 -4
- package/dist/dts/components/counts/CountsValue.js.map +1 -1
- package/dist/dts/components/facets/FacetTabs.js +1 -1
- package/dist/dts/components/facets/FacetTabs.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +2 -2
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts +3 -3
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js +4 -4
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.js +3 -3
- package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.js +8 -9
- package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.js.map +1 -1
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +2 -1
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.d.ts.map +1 -1
- package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js +13 -10
- package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js.map +1 -1
- package/dist/esm/index.js +24 -34
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +13 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -5365,7 +5365,7 @@ const FacetGroup = ({ facets, children })=>{
|
|
|
5365
5365
|
const availableFields = facets.map((f)=>f.field);
|
|
5366
5366
|
useScrollToHash(availableFields, false);
|
|
5367
5367
|
return /*#__PURE__*/ jsx("div", {
|
|
5368
|
-
className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-5 w-content gap-4
|
|
5368
|
+
className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-5 w-content gap-4 mt-6 px-2 w-full",
|
|
5369
5369
|
"data-testid": "title-cohort-builder-facet-groups",
|
|
5370
5370
|
children: children
|
|
5371
5371
|
});
|
|
@@ -13820,42 +13820,32 @@ const TabbedCohortBuilder = ({ index, tabsConfiguration })=>{
|
|
|
13820
13820
|
getRangeFacetData,
|
|
13821
13821
|
index
|
|
13822
13822
|
]);
|
|
13823
|
-
return /*#__PURE__*/
|
|
13823
|
+
return /*#__PURE__*/ jsx(Stack, {
|
|
13824
13824
|
gap: "xs",
|
|
13825
13825
|
align: "stretch",
|
|
13826
13826
|
classNames: {
|
|
13827
13827
|
root: 'w-full'
|
|
13828
13828
|
},
|
|
13829
|
-
children:
|
|
13830
|
-
|
|
13831
|
-
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
|
-
|
|
13835
|
-
|
|
13836
|
-
|
|
13837
|
-
|
|
13838
|
-
|
|
13839
|
-
|
|
13840
|
-
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13846
|
-
|
|
13847
|
-
|
|
13848
|
-
|
|
13849
|
-
isSuccess: true
|
|
13850
|
-
}),
|
|
13851
|
-
useAddCustomFilter: ()=>(filter)=>{},
|
|
13852
|
-
useRemoveCustomFilter: ()=>(filter)=>{}
|
|
13853
|
-
},
|
|
13854
|
-
getFacetLabel: ()=>'Cases',
|
|
13855
|
-
cardScrollMargin: calculateStickyHeaderHeight(),
|
|
13856
|
-
useFieldNameToTitle: useFieldNameToTitle
|
|
13857
|
-
})
|
|
13858
|
-
]
|
|
13829
|
+
children: /*#__PURE__*/ jsx(FacetTabs, {
|
|
13830
|
+
activeTab: activeTab,
|
|
13831
|
+
setActiveTab: setActiveTab,
|
|
13832
|
+
facetDefinitions: facetDefinitions,
|
|
13833
|
+
tabsConfig: tabsConfig,
|
|
13834
|
+
usedFacets: cohortBuilderFilters,
|
|
13835
|
+
hooks: facetDataHooks,
|
|
13836
|
+
customFacetHooks: {
|
|
13837
|
+
useCustomFacets,
|
|
13838
|
+
useAvailableCustomFacets: (usedFacets, onlyFiltersWithValues, queryOptions)=>({
|
|
13839
|
+
data: {},
|
|
13840
|
+
isSuccess: true
|
|
13841
|
+
}),
|
|
13842
|
+
useAddCustomFilter: ()=>(filter)=>{},
|
|
13843
|
+
useRemoveCustomFilter: ()=>(filter)=>{}
|
|
13844
|
+
},
|
|
13845
|
+
getFacetLabel: ()=>'Cases',
|
|
13846
|
+
cardScrollMargin: calculateStickyHeaderHeight(),
|
|
13847
|
+
useFieldNameToTitle: useFieldNameToTitle
|
|
13848
|
+
})
|
|
13859
13849
|
});
|
|
13860
13850
|
};
|
|
13861
13851
|
|
|
@@ -25919,7 +25909,7 @@ const TabbedCohortBuilderPage = ({ headerProps, footerProps, configuration })=>{
|
|
|
25919
25909
|
children: [
|
|
25920
25910
|
/*#__PURE__*/ jsx(CohortManager$1, {
|
|
25921
25911
|
rightPanel: /*#__PURE__*/ jsx(CountsPanel, {
|
|
25922
|
-
index:
|
|
25912
|
+
index: configuration.index
|
|
25923
25913
|
})
|
|
25924
25914
|
}),
|
|
25925
25915
|
/*#__PURE__*/ jsx(QueryExpression, {
|
|
@@ -25928,7 +25918,7 @@ const TabbedCohortBuilderPage = ({ headerProps, footerProps, configuration })=>{
|
|
|
25928
25918
|
]
|
|
25929
25919
|
}),
|
|
25930
25920
|
/*#__PURE__*/ jsx("div", {
|
|
25931
|
-
className: "w-full mt-
|
|
25921
|
+
className: "w-full mt-80 mr-4",
|
|
25932
25922
|
children: /*#__PURE__*/ jsx(TabbedCohortBuilder, {
|
|
25933
25923
|
...configuration
|
|
25934
25924
|
})
|