@gen3/frontend 0.11.19 → 0.11.20
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 +5 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.d.ts +4 -0
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.d.ts.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.js +192 -0
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.js.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.d.ts +13 -0
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.d.ts.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.js +53 -0
- package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.js.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/DataLibraryActionButton.d.ts +15 -0
- package/dist/dts/components/AddtoDataLibrary/DataLibraryActionButton.d.ts.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/DataLibraryActionButton.js +37 -0
- package/dist/dts/components/AddtoDataLibrary/DataLibraryActionButton.js.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/DataLibraryActionButton.stories.d.ts +13 -0
- package/dist/dts/components/AddtoDataLibrary/DataLibraryActionButton.stories.d.ts.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/DataLibraryActionButton.stories.js +15 -0
- package/dist/dts/components/AddtoDataLibrary/DataLibraryActionButton.stories.js.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/types.d.ts +21 -0
- package/dist/dts/components/AddtoDataLibrary/types.d.ts.map +1 -0
- package/dist/dts/components/AddtoDataLibrary/types.js +2 -0
- package/dist/dts/components/AddtoDataLibrary/types.js.map +1 -0
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +8 -4
- package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
- package/dist/esm/index.js +5 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -11971,7 +11971,10 @@ const DEFAULT_PAGE_LIMIT = 10000;
|
|
|
11971
11971
|
pageIndex: 0,
|
|
11972
11972
|
pageSize: 10
|
|
11973
11973
|
});
|
|
11974
|
-
const DetailsComponent = React.useMemo(()=>
|
|
11974
|
+
const DetailsComponent = React.useMemo(()=>{
|
|
11975
|
+
if (!tableConfig?.detailsConfig || !tableConfig?.detailsConfig?.panel || tableConfig?.detailsConfig?.mode === 'none') return null;
|
|
11976
|
+
return tableConfig?.detailsConfig?.panelContainer === 'drawer' ? DetailsDrawer : DetailsModal;
|
|
11977
|
+
}, []);
|
|
11975
11978
|
const [sorting, setSorting] = React.useState([]);
|
|
11976
11979
|
const [rowSelection, setRowSelection] = React.useState({});
|
|
11977
11980
|
const [selectedRow, setSelectedRow] = React.useState(undefined);
|
|
@@ -12158,7 +12161,7 @@ const DEFAULT_PAGE_LIMIT = 10000;
|
|
|
12158
12161
|
return /*#__PURE__*/ jsxRuntime.jsx(React.Fragment, {
|
|
12159
12162
|
children: /*#__PURE__*/ jsxRuntime.jsxs(StudyProvider, {
|
|
12160
12163
|
children: [
|
|
12161
|
-
/*#__PURE__*/ jsxRuntime.jsx(DetailsComponent, {
|
|
12164
|
+
DetailsComponent && /*#__PURE__*/ jsxRuntime.jsx(DetailsComponent, {
|
|
12162
12165
|
title: tableConfig?.detailsConfig?.title,
|
|
12163
12166
|
id: Object.keys(rowSelection).length > 0 ? Object.keys(rowSelection).at(0) : undefined,
|
|
12164
12167
|
row: selectedRow,
|