@gen3/frontend 0.11.22 → 0.11.24
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 +16 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCard.stories.d.ts +2 -0
- package/dist/dts/features/Analysis/AnalysisCard.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.js +9 -2
- package/dist/dts/features/Analysis/AnalysisCardCompact.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +18 -14
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisWorkspace.d.ts +2 -2
- package/dist/dts/features/Analysis/AnalysisWorkspace.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisWorkspace.js +9 -10
- package/dist/dts/features/Analysis/AnalysisWorkspace.js.map +1 -1
- package/dist/dts/features/Analysis/types.d.ts +4 -0
- package/dist/dts/features/Analysis/types.d.ts.map +1 -1
- package/dist/dts/features/Analysis/types.js.map +1 -1
- package/dist/dts/features/Navigation/NavPageLayout.d.ts +4 -2
- package/dist/dts/features/Navigation/NavPageLayout.d.ts.map +1 -1
- package/dist/dts/features/Navigation/NavPageLayout.js +2 -2
- package/dist/dts/features/Navigation/NavPageLayout.js.map +1 -1
- package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js +1 -1
- package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js.map +1 -1
- package/dist/dts/pages/admin/analysis/data.d.ts +2 -0
- package/dist/dts/pages/admin/analysis/data.d.ts.map +1 -1
- package/dist/dts/pages/admin/authz/data.d.ts +2 -0
- package/dist/dts/pages/admin/authz/data.d.ts.map +1 -1
- package/dist/esm/index.js +16 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -17,7 +17,9 @@ declare const meta: {
|
|
|
17
17
|
loginRequired: boolean;
|
|
18
18
|
href: string;
|
|
19
19
|
appId?: string | undefined;
|
|
20
|
+
componentName?: string | undefined;
|
|
20
21
|
count?: number | undefined;
|
|
22
|
+
countFunction?: (() => string) | undefined;
|
|
21
23
|
countIndex?: string | undefined;
|
|
22
24
|
countUnits?: string | undefined;
|
|
23
25
|
noDataTooltip?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCard.stories.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"AnalysisCard.stories.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCardCompact.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"AnalysisCardCompact.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAGpD,KAAK,wBAAwB,GAAG,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC;AAEzE,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA8E3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { useCallback } from 'react';
|
|
3
|
+
import Link from 'next/link';
|
|
3
4
|
import NextImage from 'next/image';
|
|
4
5
|
import TextDescription from './TextDescription';
|
|
6
|
+
import { Button, Group, Image, Stack, Text } from '@mantine/core';
|
|
7
|
+
import { useRouter } from 'next/router';
|
|
5
8
|
var AnalysisCardCompact = function (_a) {
|
|
6
9
|
var title = _a.title, description = _a.description, _b = _a.type, type = _b === void 0 ? 'application' : _b, icon = _a.icon, _c = _a.hasDemo, hasDemo = _c === void 0 ? false : _c, _d = _a.loginRequired, loginRequired = _d === void 0 ? false : _d, href = _a.href, count = _a.count, countUnits = _a.countUnits, btnText = _a.btnText;
|
|
10
|
+
var router = useRouter();
|
|
11
|
+
var handleClick = useCallback(function (href) { return router.push(href); }, [router]);
|
|
7
12
|
return (_jsxs(Stack, { gap: "xs", classNames: {
|
|
8
13
|
root: 'rounded-lg border-3 border-contrast bg-base-max h-full',
|
|
9
|
-
}, children: [_jsx("div", { className: "rounded-t-lg bg-secondary border-b-4 border-accent-warm h-10" }), _jsx("div", { className: "flex relative -mt-10 z-10 p-1 max-w-90", children: _jsx("div", { className: "relative rounded-lg bg-base-lightest ml-5 border-4 border-base-light mx-1 w-1/4 aspect-square", children: _jsx(Image, { component: NextImage, src: "".concat(icon), alt: "".concat(title, " logo"), fill: true, fit: "cover", radius: "lg" }) }) }), _jsxs("div", { className: "flex flex-col ml-2 px-4 h-4/6 justify-between", children: [_jsxs("div", { className: "flex flex-col", children: [_jsx(Text, { fw: "bold", classNames: { root: 'font-header sm:text-lg lg:text-xl' }, children: title }), count && (_jsxs(Text, { size: "md", fw: "semibold", c: "base-contrast.5", children: [count === null || count === void 0 ? void 0 : count.toLocaleString(), " ", countUnits] })), _jsx("div", { className: count ? 'pt-2 min-h-20 h-full' : 'pt-7 min-h-20 h-full', children: _jsx(TextDescription, { description: description }) })] }), _jsxs(Group, { className: "mb-6", children: [_jsx(Button, { color: "
|
|
14
|
+
}, children: [_jsx("div", { className: "rounded-t-lg bg-secondary border-b-4 border-accent-warm h-10" }), _jsx("div", { className: "flex relative -mt-10 z-10 p-1 max-w-90", children: _jsx("div", { className: "relative rounded-lg bg-base-lightest ml-5 border-4 border-base-light mx-1 w-1/4 aspect-square", children: _jsx(Image, { component: NextImage, src: "".concat(icon), alt: "".concat(title, " logo"), fill: true, fit: "cover", radius: "lg" }) }) }), _jsxs("div", { className: "flex flex-col ml-2 px-4 h-4/6 justify-between", children: [_jsxs("div", { className: "flex flex-col", children: [_jsx(Text, { fw: "bold", classNames: { root: 'font-header sm:text-lg lg:text-xl' }, children: title }), count && (_jsxs(Text, { size: "md", fw: "semibold", c: "base-contrast.5", children: [count === null || count === void 0 ? void 0 : count.toLocaleString(), " ", countUnits] })), _jsx("div", { className: count ? 'pt-2 min-h-20 h-full' : 'pt-7 min-h-20 h-full', children: _jsx(TextDescription, { description: description }) })] }), _jsxs(Group, { className: "mb-6", children: [_jsx(Button, { color: "accent.4", component: Link, href: href !== null && href !== void 0 ? href : '_blank', onClick: function (_event) { return handleClick(href !== null && href !== void 0 ? href : '_blank'); }, children: btnText
|
|
15
|
+
? btnText
|
|
16
|
+
: "Run ".concat(type === 'application' ? 'App' : 'Notebook') }), hasDemo && (_jsx(Button, { variant: "outline", color: "primary.4", children: "Demo" }))] })] })] }, title));
|
|
10
17
|
};
|
|
11
18
|
export default AnalysisCardCompact;
|
|
12
19
|
//# sourceMappingURL=AnalysisCardCompact.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCardCompact.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AnalysisCardCompact.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,IAAM,mBAAmB,GAAuC,UAAC,EAWhE;QAVC,KAAK,WAAA,EACL,WAAW,iBAAA,EACX,YAAoB,EAApB,IAAI,mBAAG,aAAa,KAAA,EACpB,IAAI,UAAA,EACJ,eAAe,EAAf,OAAO,mBAAG,KAAK,KAAA,EACf,qBAAqB,EAArB,aAAa,mBAAG,KAAK,KAAA,EACrB,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,UAAU,gBAAA,EACV,OAAO,aAAA;IAEP,IAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,IAAM,WAAW,GAAG,WAAW,CAC7B,UAAC,IAAY,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAjB,CAAiB,EACnC,CAAC,MAAM,CAAC,CACT,CAAC;IACF,OAAO,CACL,MAAC,KAAK,IACJ,GAAG,EAAC,IAAI,EAER,UAAU,EAAE;YACV,IAAI,EAAE,wDAAwD;SAC/D,aAED,cAAK,SAAS,EAAC,8DAA8D,GAAG,EAChF,cAAK,SAAS,EAA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,WAAW,qBAElC,CACV,IACK,IACJ,KAtDD,KAAK,CAuDJ,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -2,40 +2,44 @@ import React from 'react';
|
|
|
2
2
|
import type { StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
component: React.FC<{
|
|
5
|
-
type: string;
|
|
6
5
|
title: string;
|
|
7
|
-
description: string;
|
|
8
|
-
href: string;
|
|
9
6
|
icon: string | React.ReactElement;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
loginRequired: boolean;
|
|
7
|
+
type: string;
|
|
8
|
+
description: string;
|
|
13
9
|
hasDemo?: boolean | undefined;
|
|
14
|
-
|
|
10
|
+
loginRequired: boolean;
|
|
11
|
+
href: string;
|
|
15
12
|
appId?: string | undefined;
|
|
13
|
+
componentName?: string | undefined;
|
|
14
|
+
count?: number | undefined;
|
|
15
|
+
countFunction?: (() => string) | undefined;
|
|
16
16
|
countIndex?: string | undefined;
|
|
17
17
|
countUnits?: string | undefined;
|
|
18
18
|
noDataTooltip?: string | undefined;
|
|
19
19
|
cardType?: "regular" | "compact" | undefined;
|
|
20
|
+
btnText?: string | undefined;
|
|
21
|
+
tags?: Array<string> | undefined;
|
|
20
22
|
readonly rightComponent?: React.FC | undefined;
|
|
21
23
|
readonly selectionScreen?: React.FC | undefined;
|
|
22
24
|
}>;
|
|
23
25
|
decorators: ((Story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
24
|
-
type: string;
|
|
25
26
|
title: string;
|
|
26
|
-
description: string;
|
|
27
|
-
href: string;
|
|
28
27
|
icon: string | React.ReactElement;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
loginRequired: boolean;
|
|
28
|
+
type: string;
|
|
29
|
+
description: string;
|
|
32
30
|
hasDemo?: boolean | undefined;
|
|
33
|
-
|
|
31
|
+
loginRequired: boolean;
|
|
32
|
+
href: string;
|
|
34
33
|
appId?: string | undefined;
|
|
34
|
+
componentName?: string | undefined;
|
|
35
|
+
count?: number | undefined;
|
|
36
|
+
countFunction?: (() => string) | undefined;
|
|
35
37
|
countIndex?: string | undefined;
|
|
36
38
|
countUnits?: string | undefined;
|
|
37
39
|
noDataTooltip?: string | undefined;
|
|
38
40
|
cardType?: "regular" | "compact" | undefined;
|
|
41
|
+
btnText?: string | undefined;
|
|
42
|
+
tags?: Array<string> | undefined;
|
|
39
43
|
readonly rightComponent?: React.FC | undefined;
|
|
40
44
|
readonly selectionScreen?: React.FC | undefined;
|
|
41
45
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCardCompact.stories.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"AnalysisCardCompact.stories.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUkC,CAAC;AAE7C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { AnalysisToolConfiguration } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AnalysisToolConfiguration } from './types';
|
|
3
3
|
interface AnalysisWorkspaceProps {
|
|
4
4
|
readonly app: string | undefined;
|
|
5
5
|
readonly registeredApps: AnalysisToolConfiguration[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisWorkspace.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisWorkspace.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AnalysisWorkspace.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisWorkspace.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEpD,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,cAAc,EAAE,yBAAyB,EAAE,CAAC;IACrD,QAAQ,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,iBAAiB,EAAE,GAAG,CAAC;IAChC,QAAQ,CAAC,iBAAiB,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACvE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACtC,QAAQ,CAAC,kBAAkB,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrE;AAED;;;;;;;;;;;GAWG;AAEH,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmDvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect,
|
|
3
|
-
import AnalysisBreadcrumbs from
|
|
4
|
-
import
|
|
5
|
-
import { chartDownloadReducer, DashboardDownloadContext, SelectionScreenContext, } from "./context";
|
|
2
|
+
import { useEffect, useReducer, useState } from 'react';
|
|
3
|
+
import AnalysisBreadcrumbs from './AnalysisBreadcrumbs';
|
|
4
|
+
import { chartDownloadReducer, DashboardDownloadContext, SelectionScreenContext, } from './context';
|
|
6
5
|
/**
|
|
7
6
|
* Component to handle the navigation and selecting of apps from the Analysis Tools grid. Routing
|
|
8
7
|
* should be handled by the application.
|
|
@@ -26,12 +25,12 @@ var AnalysisWorkspace = function (_a) {
|
|
|
26
25
|
if (app !== undefined && appInfo === undefined) {
|
|
27
26
|
return undefined;
|
|
28
27
|
}
|
|
29
|
-
return (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
return (_jsx("div", { children: app && (_jsx(SelectionScreenContext.Provider, { value: {
|
|
29
|
+
selectionScreenOpen: cohortSelectionOpen,
|
|
30
|
+
setSelectionScreenOpen: setCohortSelectionOpen,
|
|
31
|
+
app: app,
|
|
32
|
+
setActiveApp: handleAppSelected,
|
|
33
|
+
}, children: _jsxs(DashboardDownloadContext.Provider, { value: { state: chartDownloadState, dispatch: dispatch }, children: [_jsx(AnalysisBreadcrumbs, { onDemoApp: isDemoMode, skipSelectionScreen: skipSelectionScreen, rightComponent: (appInfo === null || appInfo === void 0 ? void 0 : appInfo.rightComponent) && _jsx(appInfo.rightComponent, {}), registeredApps: registeredApps }), _jsx(ActiveAnalysisTool, { appId: app })] }) })) }));
|
|
35
34
|
};
|
|
36
35
|
export default AnalysisWorkspace;
|
|
37
36
|
//# sourceMappingURL=AnalysisWorkspace.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisWorkspace.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisWorkspace.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,SAAS,EAAE,
|
|
1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;gBACL,mBAAmB,EAAE,mBAAmB;gBACxC,sBAAsB,EAAE,sBAAsB;gBAC9C,GAAG,KAAA;gBACH,YAAY,EAAE,iBAAiB;aAChC,YAED,MAAC,wBAAwB,CAAC,QAAQ,IAChC,KAAK,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE,QAAQ,UAAA,EAAE,aAE9C,KAAC,mBAAmB,IAClB,SAAS,EAAE,UAAU,EACrB,mBAAmB,EAAE,mBAAmB,EACxC,cAAc,EACZ,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,KAAI,KAAC,OAAO,CAAC,cAAc,KAAG,EAEvD,cAAc,EAAE,cAAc,GAC9B,EACF,KAAC,kBAAkB,IAAC,KAAK,EAAE,GAAG,GAAI,IACA,GACJ,CACnC,GACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { Gen3AppConfigData } from '../../lib/content/types';
|
|
3
|
+
type CountFunction = () => string;
|
|
3
4
|
export interface AnalysisToolConfiguration {
|
|
4
5
|
title: string;
|
|
5
6
|
image?: string;
|
|
@@ -10,7 +11,9 @@ export interface AnalysisToolConfiguration {
|
|
|
10
11
|
loginRequired: boolean;
|
|
11
12
|
href: string;
|
|
12
13
|
appId?: string;
|
|
14
|
+
componentName?: string;
|
|
13
15
|
count?: number;
|
|
16
|
+
countFunction?: CountFunction;
|
|
14
17
|
countIndex?: string;
|
|
15
18
|
countUnits?: string;
|
|
16
19
|
noDataTooltip?: string;
|
|
@@ -34,4 +37,5 @@ export interface AnalysisCenterWithSectionsConfiguration {
|
|
|
34
37
|
classNames?: Record<string, string>;
|
|
35
38
|
}
|
|
36
39
|
export declare const isAnalysisCenterWithSectionsConfiguration: (value: unknown) => value is AnalysisCenterWithSectionsConfiguration;
|
|
40
|
+
export {};
|
|
37
41
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,KAAK,aAAa,GAAG,MAAM,MAAM,CAAC;AAElC,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,QAAQ,CAAC,cAAc,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,QAAQ,CAAC,eAAe,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;CACrC;AAED,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB;IACpE,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACxC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,uCAAuC;IACtD,QAAQ,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,yCAAyC,GACpD,OAAO,OAAO,KACb,KAAK,IAAI,uCAuBX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/features/Analysis/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/features/Analysis/types.ts"],"names":[],"mappings":"AA4CA,MAAM,CAAC,IAAM,yCAAyC,GAAG,UACvD,KAAc;IAEd,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACxC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAM,SAAS,GAAG,KAAgC,CAAC;IAEnD,6CAA6C;IAC7C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,KAAsB,UAAkB,EAAlB,KAAA,SAAS,CAAC,QAAQ,EAAlB,cAAkB,EAAlB,IAAkB,EAAE,CAAC;QAAtC,IAAM,OAAO,SAAA;QAChB,IACE,CAAC,OAAO;YACR,OAAO,OAAO,KAAK,QAAQ;YAC3B,OAAQ,OAAiC,CAAC,KAAK,KAAK,QAAQ;YAC5D,CAAC,KAAK,CAAC,OAAO,CAAE,OAAiC,CAAC,KAAK,CAAC,EACxD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import { ComponentType, PropsWithChildren } from 'react';
|
|
2
2
|
import { HeaderMetadata, HeaderProps, MainContentProps } from './types';
|
|
3
3
|
import { FooterProps } from './Footer/types';
|
|
4
4
|
export interface NavPageLayoutProps {
|
|
@@ -6,7 +6,9 @@ export interface NavPageLayoutProps {
|
|
|
6
6
|
footerProps: Readonly<FooterProps>;
|
|
7
7
|
mainProps?: Partial<MainContentProps>;
|
|
8
8
|
headerMetadata: HeaderMetadata;
|
|
9
|
+
CustomHeaderComponent?: ComponentType<HeaderProps>;
|
|
10
|
+
CustomFooterComponent?: ComponentType<FooterProps>;
|
|
9
11
|
}
|
|
10
|
-
declare const NavPageLayout: ({ headerProps, footerProps, mainProps, headerMetadata, children, }: PropsWithChildren<NavPageLayoutProps>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const NavPageLayout: ({ headerProps, footerProps, mainProps, headerMetadata, CustomHeaderComponent, CustomFooterComponent, children, }: PropsWithChildren<NavPageLayoutProps>) => import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export default NavPageLayout;
|
|
12
14
|
//# sourceMappingURL=NavPageLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavPageLayout.d.ts","sourceRoot":"","sources":["../../../../src/features/Navigation/NavPageLayout.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NavPageLayout.d.ts","sourceRoot":"","sources":["../../../../src/features/Navigation/NavPageLayout.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACtC,cAAc,EAAE,cAAc,CAAC;IAC/B,qBAAqB,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACnD,qBAAqB,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACpD;AAED,QAAA,MAAM,aAAa,GAAI,kHAQpB,iBAAiB,CAAC,kBAAkB,CAAC,4CA4CvC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -15,11 +15,11 @@ import Footer from './Footer/Footer';
|
|
|
15
15
|
import Header from './Header';
|
|
16
16
|
import LeftSidePanel from './Vertical/LeftSidePanel';
|
|
17
17
|
var NavPageLayout = function (_a) {
|
|
18
|
-
var headerProps = _a.headerProps, footerProps = _a.footerProps, mainProps = _a.mainProps, headerMetadata = _a.headerMetadata, children = _a.children;
|
|
18
|
+
var headerProps = _a.headerProps, footerProps = _a.footerProps, mainProps = _a.mainProps, headerMetadata = _a.headerMetadata, CustomHeaderComponent = _a.CustomHeaderComponent, CustomFooterComponent = _a.CustomFooterComponent, children = _a.children;
|
|
19
19
|
var mainContentStyle = (mainProps === null || mainProps === void 0 ? void 0 : mainProps.fixed)
|
|
20
20
|
? 'flex-1 flex overflow-hidden relative'
|
|
21
21
|
: 'flex grow relative';
|
|
22
|
-
return (_jsxs("div", { className: "flex flex-col justify-between h-screen", children: [_jsxs(Head, { children: [_jsx("title", { children: headerMetadata.title }), _jsx("meta", { property: "og:title", content: headerMetadata.content }, headerMetadata.key)] }), _jsxs(Header, __assign({}, headerProps, { children: [_jsx("title", { children: headerMetadata.title }), _jsx("meta", { property: "og:title", content: headerMetadata.content }, headerMetadata.key)] })), headerProps.type === 'vertical' ? (_jsxs("div", { className: "flex grow", children: [_jsx(LeftSidePanel, { items: headerProps.navigation.items, classNames: headerProps.navigation.classNames }), _jsx("main", { className: mainContentStyle, children: children })] })) : (_jsx("main", { className: mainContentStyle, children: children })), _jsx(Footer, __assign({}, footerProps))] }));
|
|
22
|
+
return (_jsxs("div", { className: "flex flex-col justify-between h-screen", children: [_jsxs(Head, { children: [_jsx("title", { children: headerMetadata.title }), _jsx("meta", { property: "og:title", content: headerMetadata.content }, headerMetadata.key)] }), CustomHeaderComponent ? (_jsx(CustomHeaderComponent, __assign({}, headerProps))) : (_jsxs(Header, __assign({}, headerProps, { children: [_jsx("title", { children: headerMetadata.title }), _jsx("meta", { property: "og:title", content: headerMetadata.content }, headerMetadata.key)] }))), headerProps.type === 'vertical' ? (_jsxs("div", { className: "flex grow", children: [_jsx(LeftSidePanel, { items: headerProps.navigation.items, classNames: headerProps.navigation.classNames }), _jsx("main", { className: mainContentStyle, children: children })] })) : (_jsx("main", { className: mainContentStyle, children: children })), CustomFooterComponent ? (_jsx(CustomFooterComponent, __assign({}, footerProps))) : (_jsx(Footer, __assign({}, footerProps)))] }));
|
|
23
23
|
};
|
|
24
24
|
export default NavPageLayout;
|
|
25
25
|
//# sourceMappingURL=NavPageLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavPageLayout.js","sourceRoot":"","sources":["../../../../src/features/Navigation/NavPageLayout.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,aAAa,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"NavPageLayout.js","sourceRoot":"","sources":["../../../../src/features/Navigation/NavPageLayout.tsx"],"names":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AC,CACF,eAAM,SAAS,EAAE,gBAAgB,YAAG,QAAQ,GAAQ,CACrD,EACA,qBAAqB,CAAC,CAAC,CAAC,CACvB,KAAC,qBAAqB,eAAK,WAAW,EAAI,CAC3C,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,eAAK,WAAW,EAAI,CAC5B,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -20,7 +20,7 @@ var TabbedCohortBuilderPage = function (_a) {
|
|
|
20
20
|
title: 'Gen3 Tabbed Cohort Builder Page',
|
|
21
21
|
content: 'Tabbed Cohort Builder Page',
|
|
22
22
|
key: 'gen3-tabbed-cohort-builder-page',
|
|
23
|
-
}, children: _jsxs(Stack, { align: "stretch", classNames: { root: 'w-full' }, children: [_jsx("div", { className: "w-full flex-col flex gap-4 fixed bg-white z-10", children: _jsx(CohortManager, { index: configuration.index }) }), _jsx("div", { className: "w-full mt-40 mr-4", children: _jsx(TabbedCohortBuilder, __assign({}, configuration
|
|
23
|
+
}, children: _jsxs(Stack, { align: "stretch", classNames: { root: 'w-full' }, children: [_jsx("div", { className: "w-full flex-col flex gap-4 fixed bg-white z-10", children: _jsx(CohortManager, { index: configuration.index }) }), _jsx("div", { className: "w-full mt-40 mr-4", children: _jsx(TabbedCohortBuilder, __assign({}, configuration)) })] }) }));
|
|
24
24
|
};
|
|
25
25
|
export default TabbedCohortBuilderPage;
|
|
26
26
|
//# sourceMappingURL=TabbedCohortBuilderPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabbedCohortBuilderPage.js","sourceRoot":"","sources":["../../../../src/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,mBAAmB,MAAM,kDAAkD,CAAC;AACnF,OAAO,aAAa,MAAM,yDAAyD,CAAC;AACpF,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,IAAM,uBAAuB,GAAG,UAAC,EAIF;QAH7B,WAAW,iBAAA,EACX,WAAW,iBAAA,EACX,aAAa,mBAAA;IAEb,OAAO,CACL,KAAC,aAAa,IACN,WAAW,aAAA,EAAE,WAAW,aAAA,EAC9B,cAAc,EAAE;YACd,KAAK,EAAE,iCAAiC;YACxC,OAAO,EAAE,4BAA4B;YACrC,GAAG,EAAE,iCAAiC;SACvC,YAED,MAAC,KAAK,IAAC,KAAK,EAAC,SAAS,EAAC,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,aACnD,cAAK,SAAS,EAAC,gDAAgD,YAC7D,KAAC,aAAa,IAAC,KAAK,EAAE,aAAa,CAAC,KAAK,GAAkB,GACvD,EACN,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,mBAAmB,eAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"TabbedCohortBuilderPage.js","sourceRoot":"","sources":["../../../../src/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,mBAAmB,MAAM,kDAAkD,CAAC;AACnF,OAAO,aAAa,MAAM,yDAAyD,CAAC;AACpF,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,IAAM,uBAAuB,GAAG,UAAC,EAIF;QAH7B,WAAW,iBAAA,EACX,WAAW,iBAAA,EACX,aAAa,mBAAA;IAEb,OAAO,CACL,KAAC,aAAa,IACN,WAAW,aAAA,EAAE,WAAW,aAAA,EAC9B,cAAc,EAAE;YACd,KAAK,EAAE,iCAAiC;YACxC,OAAO,EAAE,4BAA4B;YACrC,GAAG,EAAE,iCAAiC;SACvC,YAED,MAAC,KAAK,IAAC,KAAK,EAAC,SAAS,EAAC,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,aACnD,cAAK,SAAS,EAAC,gDAAgD,YAC7D,KAAC,aAAa,IAAC,KAAK,EAAE,aAAa,CAAC,KAAK,GAAkB,GACvD,EACN,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,mBAAmB,eAAK,aAAa,EAAI,GACtC,IACA,GACM,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -4,6 +4,8 @@ export declare const AnalysisEditorPageGetServerSideProps: () => Promise<{
|
|
|
4
4
|
footerProps: Readonly<import("../../..").FooterProps>;
|
|
5
5
|
mainProps?: Partial<import("../../../features/Navigation/types").MainContentProps>;
|
|
6
6
|
headerMetadata: import("../../..").HeaderMetadata;
|
|
7
|
+
CustomHeaderComponent?: import("react").ComponentType<import("../../..").HeaderProps>;
|
|
8
|
+
CustomFooterComponent?: import("react").ComponentType<import("../../..").FooterProps>;
|
|
7
9
|
};
|
|
8
10
|
}>;
|
|
9
11
|
//# sourceMappingURL=data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/pages/admin/analysis/data.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oCAAoC
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/pages/admin/analysis/data.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oCAAoC;;;;;;;;;EAmBhD,CAAC"}
|
|
@@ -5,6 +5,8 @@ export declare const AdminAuthZPageGetServerSideProps: () => Promise<{
|
|
|
5
5
|
footerProps: Readonly<import("../../..").FooterProps>;
|
|
6
6
|
mainProps?: Partial<import("../../../features/Navigation/types").MainContentProps>;
|
|
7
7
|
headerMetadata: import("../../..").HeaderMetadata;
|
|
8
|
+
CustomHeaderComponent?: import("react").ComponentType<import("../../..").HeaderProps>;
|
|
9
|
+
CustomFooterComponent?: import("react").ComponentType<import("../../..").FooterProps>;
|
|
8
10
|
};
|
|
9
11
|
}>;
|
|
10
12
|
//# sourceMappingURL=data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/pages/admin/authz/data.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/pages/admin/authz/data.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gCAAgC;;;;;;;;;;EAqB5C,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -6586,7 +6586,7 @@ const LeftSidePanel = ({ items = [], classNames = {} })=>{
|
|
|
6586
6586
|
});
|
|
6587
6587
|
};
|
|
6588
6588
|
|
|
6589
|
-
const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, children })=>{
|
|
6589
|
+
const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, CustomHeaderComponent, CustomFooterComponent, children })=>{
|
|
6590
6590
|
const mainContentStyle = mainProps?.fixed ? 'flex-1 flex overflow-hidden relative' : 'flex grow relative';
|
|
6591
6591
|
return /*#__PURE__*/ jsxs("div", {
|
|
6592
6592
|
className: "flex flex-col justify-between h-screen",
|
|
@@ -6602,7 +6602,9 @@ const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, ch
|
|
|
6602
6602
|
}, headerMetadata.key)
|
|
6603
6603
|
]
|
|
6604
6604
|
}),
|
|
6605
|
-
/*#__PURE__*/
|
|
6605
|
+
CustomHeaderComponent ? /*#__PURE__*/ jsx(CustomHeaderComponent, {
|
|
6606
|
+
...headerProps
|
|
6607
|
+
}) : /*#__PURE__*/ jsxs(Header$1, {
|
|
6606
6608
|
...headerProps,
|
|
6607
6609
|
children: [
|
|
6608
6610
|
/*#__PURE__*/ jsx("title", {
|
|
@@ -6630,7 +6632,9 @@ const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, ch
|
|
|
6630
6632
|
className: mainContentStyle,
|
|
6631
6633
|
children: children
|
|
6632
6634
|
}),
|
|
6633
|
-
/*#__PURE__*/ jsx(
|
|
6635
|
+
CustomFooterComponent ? /*#__PURE__*/ jsx(CustomFooterComponent, {
|
|
6636
|
+
...footerProps
|
|
6637
|
+
}) : /*#__PURE__*/ jsx(Footer, {
|
|
6634
6638
|
...footerProps
|
|
6635
6639
|
})
|
|
6636
6640
|
]
|
|
@@ -14772,6 +14776,10 @@ const AnalysisCenter = ({ tools, showFilterAndSort = false })=>{
|
|
|
14772
14776
|
};
|
|
14773
14777
|
|
|
14774
14778
|
const AnalysisCardCompact = ({ title, description, type = 'application', icon, hasDemo = false, loginRequired = false, href, count, countUnits, btnText })=>{
|
|
14779
|
+
const router = useRouter();
|
|
14780
|
+
const handleClick = useCallback((href)=>router.push(href), [
|
|
14781
|
+
router
|
|
14782
|
+
]);
|
|
14775
14783
|
return /*#__PURE__*/ jsxs(Stack, {
|
|
14776
14784
|
gap: "xs",
|
|
14777
14785
|
classNames: {
|
|
@@ -14830,7 +14838,10 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
14830
14838
|
className: "mb-6",
|
|
14831
14839
|
children: [
|
|
14832
14840
|
/*#__PURE__*/ jsx(Button, {
|
|
14833
|
-
color: "
|
|
14841
|
+
color: "accent.4",
|
|
14842
|
+
component: Link,
|
|
14843
|
+
href: href ?? '_blank',
|
|
14844
|
+
onClick: (_event)=>handleClick(href ?? '_blank'),
|
|
14834
14845
|
children: btnText ? btnText : `Run ${type === 'application' ? 'App' : 'Notebook'}`
|
|
14835
14846
|
}),
|
|
14836
14847
|
hasDemo && /*#__PURE__*/ jsx(Button, {
|
|
@@ -25619,8 +25630,7 @@ const TabbedCohortBuilderPage = ({ headerProps, footerProps, configuration })=>{
|
|
|
25619
25630
|
/*#__PURE__*/ jsx("div", {
|
|
25620
25631
|
className: "w-full mt-40 mr-4",
|
|
25621
25632
|
children: /*#__PURE__*/ jsx(TabbedCohortBuilder, {
|
|
25622
|
-
...configuration
|
|
25623
|
-
index: configuration.index
|
|
25633
|
+
...configuration
|
|
25624
25634
|
})
|
|
25625
25635
|
})
|
|
25626
25636
|
]
|