@gen3/frontend 0.10.87 → 0.10.88
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 +15 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.js +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.js +4 -4
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.js +0 -6
- package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.js.map +1 -1
- package/dist/dts/features/Analysis/TextDescription.js +1 -1
- package/dist/dts/features/CohortBuilder/index.d.ts +2 -1
- package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/index.js +2 -1
- package/dist/dts/features/CohortBuilder/index.js.map +1 -1
- package/dist/esm/index.js +15 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCardCompact.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAazC,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEpD,KAAK,wBAAwB,GAAG,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC;AAEzE,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"AnalysisCardCompact.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAazC,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEpD,KAAK,wBAAwB,GAAG,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC;AAEzE,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAgE3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -6,7 +6,7 @@ var AnalysisCardCompact = function (_a) {
|
|
|
6
6
|
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;
|
|
7
7
|
return (_jsxs(Stack, { gap: "xs", classNames: {
|
|
8
8
|
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-
|
|
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: [_jsxs(Button, { color: "primary.4", children: ["Run ", type === 'application' ? 'App' : 'Notebook'] }), hasDemo && (_jsx(Button, { variant: "outline", color: "primary.4", children: "Demo" }))] })] })] }, title));
|
|
10
10
|
};
|
|
11
11
|
export default AnalysisCardCompact;
|
|
12
12
|
//# sourceMappingURL=AnalysisCardCompact.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCardCompact.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.tsx"],"names":[],"mappings":";AACA,OAAO,EAEL,MAAM,EACN,KAAK,EACL,KAAK,EAEL,KAAK,EACL,IAAI,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAMhD,IAAM,mBAAmB,GAAuC,UAAC,EAUhE;QATC,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;IAEV,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,EAAC,wCAAwC,YACrD,cAAK,SAAS,EAAC,+FAA+F,YAC5G,KAAC,KAAK,IACJ,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,UAAG,IAAI,CAAE,EACd,GAAG,EAAE,UAAG,KAAK,UAAO,EACpB,IAAI,QACJ,GAAG,EAAC,OAAO,EACX,MAAM,EAAC,IAAI,GACX,GACE,GACF,EACN,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"AnalysisCardCompact.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCardCompact.tsx"],"names":[],"mappings":";AACA,OAAO,EAEL,MAAM,EACN,KAAK,EACL,KAAK,EAEL,KAAK,EACL,IAAI,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAMhD,IAAM,mBAAmB,GAAuC,UAAC,EAUhE;QATC,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;IAEV,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,EAAC,wCAAwC,YACrD,cAAK,SAAS,EAAC,+FAA+F,YAC5G,KAAC,KAAK,IACJ,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,UAAG,IAAI,CAAE,EACd,GAAG,EAAE,UAAG,KAAK,UAAO,EACpB,IAAI,QACJ,GAAG,EAAC,OAAO,EACX,MAAM,EAAC,IAAI,GACX,GACE,GACF,EACN,eAAK,SAAS,EAAC,+CAA+C,aAC5D,eAAK,SAAS,EAAC,eAAe,aAC5B,KAAC,IAAI,IACH,EAAE,EAAC,MAAM,EACT,UAAU,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE,YAExD,KAAK,GACD,EACN,KAAK,IAAI,CACR,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,EAAC,EAAE,EAAC,UAAU,EAAC,CAAC,EAAC,iBAAiB,aAC9C,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,EAAE,OAAG,UAAU,IAChC,CACR,EACD,cACE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,sBAAsB,YAElE,KAAC,eAAe,IAAC,WAAW,EAAE,WAAW,GAAI,GACzC,IACF,EACN,MAAC,KAAK,IAAC,SAAS,EAAC,MAAM,aACrB,MAAC,MAAM,IAAC,KAAK,EAAC,WAAW,qBAClB,IAAI,KAAK,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,IACzC,EACR,OAAO,IAAI,CACV,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC,WAAW,qBAElC,CACV,IACK,IACJ,KA/CD,KAAK,CAgDJ,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCenterWithSections.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCenterWithSections.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,uCAAuC,EAAE,MAAM,SAAS,CAAC;AAIlE;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CACxC,uCAAuC,
|
|
1
|
+
{"version":3,"file":"AnalysisCenterWithSections.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCenterWithSections.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,uCAAuC,EAAE,MAAM,SAAS,CAAC;AAIlE;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CACxC,uCAAuC,CA+CxC,CAAC;AACF,eAAe,0BAA0B,CAAC"}
|
|
@@ -34,20 +34,20 @@ import AnalysisCardCompact from './AnalysisCardCompact';
|
|
|
34
34
|
var AnalysisCenterWithSections = function (_a) {
|
|
35
35
|
var sections = _a.sections, classNames = _a.classNames;
|
|
36
36
|
var rootClassNamesDefaults = {
|
|
37
|
-
title: 'font-header font-bold text-2xl uppercase',
|
|
38
|
-
divider: 'text-accent w-[
|
|
37
|
+
title: 'font-header font-bold text-2xl uppercase mt-2',
|
|
38
|
+
divider: 'text-accent w-[70px] border-accent mb-4',
|
|
39
39
|
};
|
|
40
40
|
var mergedGlobalClassnames = mergeDefaultTailwindClassnames(rootClassNamesDefaults, classNames !== null && classNames !== void 0 ? classNames : {});
|
|
41
41
|
var sectionPanels = useMemo(function () {
|
|
42
42
|
return sections.map(function (section) {
|
|
43
43
|
var _a;
|
|
44
44
|
var sectionClassnames = mergeDefaultTailwindClassnames(mergedGlobalClassnames, (_a = section.classNames) !== null && _a !== void 0 ? _a : {});
|
|
45
|
-
return (_jsxs(Stack, { gap: "xs", children: [_jsx(Text, { classNames: { root: sectionClassnames['title'] }, children: section.label }), _jsx(Divider, { size: "lg", classNames: { root: sectionClassnames['divider'] } }), _jsx("div", { className: "grid sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-4 items-stretch", children: section.tools.map(function (tool) {
|
|
45
|
+
return (_jsxs(Stack, { gap: "xs", children: [_jsx(Text, { color: "primary.4", classNames: { root: sectionClassnames['title'] }, children: section.label }), _jsx(Divider, { size: "lg", classNames: { root: sectionClassnames['divider'] } }), _jsx("div", { className: "grid sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-4 items-stretch", children: section.tools.map(function (tool) {
|
|
46
46
|
return (_jsx("div", { children: _jsx(AnalysisCardCompact, __assign({}, tool)) }, tool.title));
|
|
47
47
|
}) })] }, section.label));
|
|
48
48
|
});
|
|
49
49
|
}, [sections]);
|
|
50
|
-
return _jsx(Stack, { children: sectionPanels });
|
|
50
|
+
return _jsx(Stack, { gap: "xl", children: sectionPanels });
|
|
51
51
|
};
|
|
52
52
|
export default AnalysisCenterWithSections;
|
|
53
53
|
//# sourceMappingURL=AnalysisCenterWithSections.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCenterWithSections.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCenterWithSections.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAgB,OAAO,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,OAAO,EAAQ,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAC5F,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD;;;;;;;;;;;;;;;;GAgBG;AACH,IAAM,0BAA0B,GAE5B,UAAC,EAAwB;QAAtB,QAAQ,cAAA,EAAE,UAAU,gBAAA;IACzB,IAAM,sBAAsB,GAAG;QAC7B,KAAK,EAAE
|
|
1
|
+
{"version":3,"file":"AnalysisCenterWithSections.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCenterWithSections.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAgB,OAAO,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,OAAO,EAAQ,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAC5F,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD;;;;;;;;;;;;;;;;GAgBG;AACH,IAAM,0BAA0B,GAE5B,UAAC,EAAwB;QAAtB,QAAQ,cAAA,EAAE,UAAU,gBAAA;IACzB,IAAM,sBAAsB,GAAG;QAC7B,KAAK,EAAE,+CAA+C;QACtD,OAAO,EAAE,yCAAyC;KACnD,CAAC;IACF,IAAM,sBAAsB,GAAG,8BAA8B,CAC3D,sBAAsB,EACtB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE,CACjB,CAAC;IAEF,IAAM,aAAa,GAAG,OAAO,CAC3B;QACE,OAAA,QAAQ,CAAC,GAAG,CAAC,UAAC,OAAO;;YACnB,IAAM,iBAAiB,GAAG,8BAA8B,CACtD,sBAAsB,EACtB,MAAA,OAAO,CAAC,UAAU,mCAAI,EAAE,CACzB,CAAC;YAEF,OAAO,CACL,MAAC,KAAK,IAAqB,GAAG,EAAC,IAAI,aACjC,KAAC,IAAI,IACH,KAAK,EAAC,WAAW,EACjB,UAAU,EAAE,EAAE,IAAI,EAAE,iBAAiB,CAAC,OAAO,CAAC,EAAE,YAE/C,OAAO,CAAC,KAAK,GACT,EACP,KAAC,OAAO,IACN,IAAI,EAAC,IAAI,EACT,UAAU,EAAE,EAAE,IAAI,EAAE,iBAAiB,CAAC,SAAS,CAAC,EAAE,GAClD,EACF,cAAK,SAAS,EAAC,uEAAuE,YACnF,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAAI;4BACtB,OAAO,CACL,wBACE,KAAC,mBAAmB,eAAK,IAAI,EAAI,IADzB,IAAI,CAAC,KAAK,CAEd,CACP,CAAC;wBACJ,CAAC,CAAC,GACE,KAnBI,OAAO,CAAC,KAAK,CAoBjB,CACT,CAAC;QACJ,CAAC,CAAC;IA7BF,CA6BE,EACJ,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,KAAC,KAAK,IAAC,GAAG,EAAC,IAAI,YAAE,aAAa,GAAS,CAAC;AACjD,CAAC,CAAC;AACF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCenterWithSections.stories.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCenterWithSections.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;;CAKyC,CAAC;AAEpD,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AnalysisCenterWithSections.stories.d.ts","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCenterWithSections.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;;CAKyC,CAAC;AAEpD,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAyGrB,CAAC"}
|
|
@@ -20,8 +20,6 @@ export var Default = {
|
|
|
20
20
|
description: 'Explore the available projects and select those for further investigation and analysis.',
|
|
21
21
|
icon: '/icons/apps/Projects.svg',
|
|
22
22
|
href: '/',
|
|
23
|
-
count: 1000,
|
|
24
|
-
countUnits: 'Cases',
|
|
25
23
|
},
|
|
26
24
|
{
|
|
27
25
|
title: 'Cohort Builder',
|
|
@@ -31,8 +29,6 @@ export var Default = {
|
|
|
31
29
|
description: 'Build and define your custom cohorts using a variety of clinical and biospecimen features.',
|
|
32
30
|
icon: '/icons/apps/CohortBuilder.svg',
|
|
33
31
|
href: '/',
|
|
34
|
-
count: 1000,
|
|
35
|
-
countUnits: 'Cases',
|
|
36
32
|
},
|
|
37
33
|
{
|
|
38
34
|
title: 'Repository',
|
|
@@ -42,8 +38,6 @@ export var Default = {
|
|
|
42
38
|
description: 'Browse and download the files associated with your cohort for more sophisticated analysis.',
|
|
43
39
|
icon: '/icons/apps/Repository.svg',
|
|
44
40
|
href: '/',
|
|
45
|
-
count: 1000,
|
|
46
|
-
countUnits: 'Cases',
|
|
47
41
|
},
|
|
48
42
|
],
|
|
49
43
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisCenterWithSections.stories.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCenterWithSections.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,MAAM,8BAA8B,CAAC;AAEtE,IAAM,IAAI,GAAG;IACX,SAAS,EAAE,0BAA0B;IACrC,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAChC;CACgD,CAAC;AAEpD,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,IAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,YAAY;gBACnB,KAAK,EAAE;oBACL;wBACE,KAAK,EAAE,UAAU;wBACjB,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,KAAK;wBACd,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,yFAAyF;wBAC3F,IAAI,EAAE,0BAA0B;wBAChC,IAAI,EAAE,GAAG;
|
|
1
|
+
{"version":3,"file":"AnalysisCenterWithSections.stories.js","sourceRoot":"","sources":["../../../../src/features/Analysis/AnalysisCenterWithSections.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,MAAM,8BAA8B,CAAC;AAEtE,IAAM,IAAI,GAAG;IACX,SAAS,EAAE,0BAA0B;IACrC,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAChC;CACgD,CAAC;AAEpD,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,IAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,YAAY;gBACnB,KAAK,EAAE;oBACL;wBACE,KAAK,EAAE,UAAU;wBACjB,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,KAAK;wBACd,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,yFAAyF;wBAC3F,IAAI,EAAE,0BAA0B;wBAChC,IAAI,EAAE,GAAG;qBACV;oBACD;wBACE,KAAK,EAAE,gBAAgB;wBACvB,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,KAAK;wBACd,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,4FAA4F;wBAC9F,IAAI,EAAE,+BAA+B;wBACrC,IAAI,EAAE,GAAG;qBACV;oBACD;wBACE,KAAK,EAAE,YAAY;wBACnB,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,KAAK;wBACd,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,4FAA4F;wBAC9F,IAAI,EAAE,4BAA4B;wBAClC,IAAI,EAAE,GAAG;qBACV;iBACF;aACF;YACD;gBACE,KAAK,EAAE,gBAAgB;gBACvB,KAAK,EAAE;oBACL;wBACE,KAAK,EAAE,oBAAoB;wBAC3B,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,IAAI;wBACb,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,gEAAgE;wBAClE,IAAI,EAAE,oCAAoC;wBAC1C,IAAI,EAAE,GAAG;wBACT,KAAK,EAAE,IAAI;wBACX,UAAU,EAAE,OAAO;qBACpB;oBACD;wBACE,KAAK,EAAE,mBAAmB;wBAC1B,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,IAAI;wBACb,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,8HAA8H;wBAChI,IAAI,EAAE,kCAAkC;wBACxC,IAAI,EAAE,GAAG;wBACT,KAAK,EAAE,IAAI;wBACX,UAAU,EAAE,OAAO;qBACpB;oBACD;wBACE,KAAK,EAAE,cAAc;wBACrB,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,IAAI;wBACb,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,qFAAqF;wBACvF,IAAI,EAAE,8BAA8B;wBACpC,IAAI,EAAE,GAAG;wBACT,KAAK,EAAE,IAAI;wBACX,UAAU,EAAE,OAAO;qBACpB;oBACD;wBACE,KAAK,EAAE,YAAY;wBACnB,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,IAAI;wBACb,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,kGAAkG;wBACpG,IAAI,EAAE,4BAA4B;wBAClC,IAAI,EAAE,GAAG;wBACT,KAAK,EAAE,IAAI;wBACX,UAAU,EAAE,OAAO;qBACpB;oBACD;wBACE,KAAK,EAAE,gBAAgB;wBACvB,IAAI,EAAE,aAAa;wBACnB,OAAO,EAAE,IAAI;wBACb,aAAa,EAAE,KAAK;wBACpB,WAAW,EACT,oFAAoF;wBACtF,IAAI,EAAE,+BAA+B;wBACrC,IAAI,EAAE,GAAG;wBACT,KAAK,EAAE,IAAI;wBACX,UAAU,EAAE,OAAO;qBACpB;iBACF;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -19,7 +19,7 @@ var TextDescription = function (_a) {
|
|
|
19
19
|
// Remove event listener on cleanup
|
|
20
20
|
return function () { return window.removeEventListener('resize', handleResize); };
|
|
21
21
|
}, []); // Empty array ensures that it would only run on mount
|
|
22
|
-
return (_jsxs(_Fragment, { children: [!extend ? (_jsx(Text, { ref: textRef, size: "
|
|
22
|
+
return (_jsxs(_Fragment, { children: [!extend ? (_jsx(Text, { ref: textRef, size: "md", lineClamp: 4, children: description })) : (_jsx(Text, { size: "md", children: description })), isClamped && (_jsx("button", { onClick: function () { return setExtend(function (extend) { return !extend; }); }, children: _jsxs("div", { className: "flex text-xs font-semibold text-base-contrast-light", children: [!extend ? 'Extend Text' : 'Collapse Text', ' ', _jsx("div", { className: "my-auto", children: !extend ? _jsx(DownArrowIcon, {}) : _jsx(UpArrowIcon, {}) })] }) }))] }));
|
|
23
23
|
};
|
|
24
24
|
export default TextDescription;
|
|
25
25
|
//# sourceMappingURL=TextDescription.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CohortBuilder } from './CohortBuilder';
|
|
2
2
|
import { type CohortBuilderConfiguration, type CohortBuilderProps, type CohortPanelConfig } from './types';
|
|
3
3
|
import { type TableDetailsPanelProps, type CellRendererFunctionProps, ExplorerTableDetailsPanelFactory, ExplorerTableCellRendererFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers } from './ExplorerTable';
|
|
4
|
-
|
|
4
|
+
import CohortManager from './CohortManager';
|
|
5
|
+
export { type CohortBuilderConfiguration, type CohortBuilderProps, type TableDetailsPanelProps, type CellRendererFunctionProps, type CohortPanelConfig, CohortBuilder, CohortManager, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers, };
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACvB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,EAC7C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,aAAa,EACb,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,GAC7C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACvB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,EAC7C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,aAAa,EACb,aAAa,EACb,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,GAC7C,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CohortBuilder } from './CohortBuilder';
|
|
2
2
|
import { ExplorerTableDetailsPanelFactory, ExplorerTableCellRendererFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers, } from './ExplorerTable';
|
|
3
|
-
|
|
3
|
+
import CohortManager from './CohortManager';
|
|
4
|
+
export { CohortBuilder, CohortManager, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, registerExplorerDefaultCellRenderers, registerCohortBuilderDefaultPreviewRenderers, };
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOhD,OAAO,EAGL,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAML,aAAa,EACb,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,GAC7C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/CohortBuilder/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOhD,OAAO,EAGL,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAML,aAAa,EACb,aAAa,EACb,gCAAgC,EAChC,gCAAgC,EAChC,oCAAoC,EACpC,4CAA4C,GAC7C,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -11952,11 +11952,11 @@ const TextDescription = ({ description })=>{
|
|
|
11952
11952
|
children: [
|
|
11953
11953
|
!extend ? /*#__PURE__*/ jsx(Text, {
|
|
11954
11954
|
ref: textRef,
|
|
11955
|
-
size: "
|
|
11955
|
+
size: "md",
|
|
11956
11956
|
lineClamp: 4,
|
|
11957
11957
|
children: description
|
|
11958
11958
|
}) : /*#__PURE__*/ jsx(Text, {
|
|
11959
|
-
size: "
|
|
11959
|
+
size: "md",
|
|
11960
11960
|
children: description
|
|
11961
11961
|
}),
|
|
11962
11962
|
isClamped && /*#__PURE__*/ jsx("button", {
|
|
@@ -12156,12 +12156,12 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12156
12156
|
},
|
|
12157
12157
|
children: [
|
|
12158
12158
|
/*#__PURE__*/ jsx("div", {
|
|
12159
|
-
className: "rounded-t-lg bg-secondary border-b-4 border-accent-warm h-
|
|
12159
|
+
className: "rounded-t-lg bg-secondary border-b-4 border-accent-warm h-10"
|
|
12160
12160
|
}),
|
|
12161
12161
|
/*#__PURE__*/ jsx("div", {
|
|
12162
|
-
className: "flex relative -mt-10 z-10 p-
|
|
12162
|
+
className: "flex relative -mt-10 z-10 p-1 max-w-90",
|
|
12163
12163
|
children: /*#__PURE__*/ jsx("div", {
|
|
12164
|
-
className: "relative rounded-lg bg-base-lightest ml-5 border-4 border-base-light mx-
|
|
12164
|
+
className: "relative rounded-lg bg-base-lightest ml-5 border-4 border-base-light mx-1 w-1/4 aspect-square",
|
|
12165
12165
|
children: /*#__PURE__*/ jsx(Image$1, {
|
|
12166
12166
|
component: Image,
|
|
12167
12167
|
src: `${icon}`,
|
|
@@ -12173,7 +12173,7 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12173
12173
|
})
|
|
12174
12174
|
}),
|
|
12175
12175
|
/*#__PURE__*/ jsxs("div", {
|
|
12176
|
-
className: "flex flex-col ml-2 px-4
|
|
12176
|
+
className: "flex flex-col ml-2 px-4 h-4/6 justify-between",
|
|
12177
12177
|
children: [
|
|
12178
12178
|
/*#__PURE__*/ jsxs("div", {
|
|
12179
12179
|
className: "flex flex-col",
|
|
@@ -12181,11 +12181,11 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12181
12181
|
/*#__PURE__*/ jsx(Text, {
|
|
12182
12182
|
fw: "bold",
|
|
12183
12183
|
classNames: {
|
|
12184
|
-
root: 'font-header sm:text-
|
|
12184
|
+
root: 'font-header sm:text-lg lg:text-xl'
|
|
12185
12185
|
},
|
|
12186
12186
|
children: title
|
|
12187
12187
|
}),
|
|
12188
|
-
/*#__PURE__*/ jsxs(Text, {
|
|
12188
|
+
count && /*#__PURE__*/ jsxs(Text, {
|
|
12189
12189
|
size: "md",
|
|
12190
12190
|
fw: "semibold",
|
|
12191
12191
|
c: "base-contrast.5",
|
|
@@ -12196,7 +12196,7 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12196
12196
|
]
|
|
12197
12197
|
}),
|
|
12198
12198
|
/*#__PURE__*/ jsx("div", {
|
|
12199
|
-
className:
|
|
12199
|
+
className: count ? 'pt-2 min-h-20 h-full' : 'pt-7 min-h-20 h-full',
|
|
12200
12200
|
children: /*#__PURE__*/ jsx(TextDescription, {
|
|
12201
12201
|
description: description
|
|
12202
12202
|
})
|
|
@@ -12204,7 +12204,7 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12204
12204
|
]
|
|
12205
12205
|
}),
|
|
12206
12206
|
/*#__PURE__*/ jsxs(Group, {
|
|
12207
|
-
className: "mb-
|
|
12207
|
+
className: "mb-6",
|
|
12208
12208
|
children: [
|
|
12209
12209
|
/*#__PURE__*/ jsxs(Button, {
|
|
12210
12210
|
color: "primary.4",
|
|
@@ -12244,8 +12244,8 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12244
12244
|
* @returns {ReactElement} A React element that renders the analysis panel with sections.
|
|
12245
12245
|
*/ const AnalysisCenterWithSections = ({ sections, classNames })=>{
|
|
12246
12246
|
const rootClassNamesDefaults = {
|
|
12247
|
-
title: 'font-header font-bold text-2xl uppercase',
|
|
12248
|
-
divider: 'text-accent w-[
|
|
12247
|
+
title: 'font-header font-bold text-2xl uppercase mt-2',
|
|
12248
|
+
divider: 'text-accent w-[70px] border-accent mb-4'
|
|
12249
12249
|
};
|
|
12250
12250
|
const mergedGlobalClassnames = mergeDefaultTailwindClassnames(rootClassNamesDefaults, classNames ?? {});
|
|
12251
12251
|
const sectionPanels = useMemo(()=>sections.map((section)=>{
|
|
@@ -12254,6 +12254,7 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12254
12254
|
gap: "xs",
|
|
12255
12255
|
children: [
|
|
12256
12256
|
/*#__PURE__*/ jsx(Text, {
|
|
12257
|
+
color: "primary.4",
|
|
12257
12258
|
classNames: {
|
|
12258
12259
|
root: sectionClassnames['title']
|
|
12259
12260
|
},
|
|
@@ -12281,6 +12282,7 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
12281
12282
|
sections
|
|
12282
12283
|
]);
|
|
12283
12284
|
return /*#__PURE__*/ jsx(Stack, {
|
|
12285
|
+
gap: "xl",
|
|
12284
12286
|
children: sectionPanels
|
|
12285
12287
|
});
|
|
12286
12288
|
};
|
|
@@ -21009,5 +21011,5 @@ async function credentialsLogout(req, res) {
|
|
|
21009
21011
|
res.redirect(307, '/');
|
|
21010
21012
|
}
|
|
21011
21013
|
|
|
21012
|
-
export { AISearchPageGetServerSideProps, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BaseModal, Charts, CohortBuilder, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor$1 as GqlQueryEditor, Header, HoverLink, LandingPage, LandingPageGetStaticProps, LoginButton$1 as LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryPage, QueryPageGetServerSideProps, ReactECharts, ResourcesFilters, SPECIAL_CASE_FIELDS, SessionExpiredModal, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, capitalize, computeRowSpan, convertMinutesToMilliseconds, convertSecondsToMilliseconds, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, credentialsLogin, credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform$1 as isTextTransform, processLabel$1 as processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeKey$1 as removeKey, resourcePathFromProjectID, sessionLogout, sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource$1 as userHasMethodForServiceOnResource };
|
|
21014
|
+
export { AISearchPageGetServerSideProps, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BaseModal, Charts, CohortBuilder, CohortManager, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, EnumFacetChart, ErrorCard, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor$1 as GqlQueryEditor, Header, HoverLink, LandingPage, LandingPageGetStaticProps, LoginButton$1 as LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryPage, QueryPageGetServerSideProps, ReactECharts, ResourcesFilters, SPECIAL_CASE_FIELDS, SessionExpiredModal, StudyGroup, SubmissionPage, SubmissionPageGetServerSideProps, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, capitalize, computeRowSpan, convertMinutesToMilliseconds, convertSecondsToMilliseconds, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, credentialsLogin, credentialsLogout, extractObjectKey, focusStyles, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isPropertyKey, isTextTransform$1 as isTextTransform, processLabel$1 as processLabel, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeKey$1 as removeKey, resourcePathFromProjectID, sessionLogout, sessionToken, stripTrailingSlash, toDisplayName, truncateString, unixTimeToString, useDiscoveryContext, userHasMethodForServiceOnResource$1 as userHasMethodForServiceOnResource };
|
|
21013
21015
|
//# sourceMappingURL=index.js.map
|