@gen3/frontend 0.12.63 → 0.12.64
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/dts/components/Content/Form.d.ts +5 -5
- package/dist/dts/components/Content/Form.d.ts.map +1 -1
- package/dist/dts/components/Content/Form.js +9 -1
- package/dist/dts/components/Content/Form.js.map +1 -1
- package/dist/dts/components/Content/FormContent.d.ts +16 -5
- package/dist/dts/components/Content/FormContent.d.ts.map +1 -1
- package/dist/dts/components/Content/FormContent.js +26 -4
- package/dist/dts/components/Content/FormContent.js.map +1 -1
- package/dist/dts/components/Content/formValidators.d.ts +7 -0
- package/dist/dts/components/Content/formValidators.d.ts.map +1 -0
- package/dist/dts/components/Content/formValidators.js +52 -0
- package/dist/dts/components/Content/formValidators.js.map +1 -0
- package/dist/dts/components/Providers/Gen3Provider.d.ts +7 -7
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +22 -22
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +1 -1
- package/dist/dts/features/CohortSimilarity/cohortSimilarityApi.d.ts +4 -4
- package/dist/dts/features/DiscoveryForms/StudyRegistration/FormContentViews.d.ts +16 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/FormContentViews.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/FormContentViews.js +18 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/FormContentViews.js.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/FormContentViews.stories.d.ts +30 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/FormContentViews.stories.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/FormContentViews.stories.js +367 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/FormContentViews.stories.js.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/StudyRegistrationAccessRequestOutcome.d.ts +7 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/StudyRegistrationAccessRequestOutcome.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/StudyRegistrationAccessRequestOutcome.js +14 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/StudyRegistrationAccessRequestOutcome.js.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/index.d.ts +8 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/index.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/index.js +11 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/index.js.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/types.d.ts +55 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/types.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/types.js +8 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/types.js.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/getClinicalTrialMetadata.d.ts +2 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/getClinicalTrialMetadata.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/getClinicalTrialMetadata.js +17 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/getClinicalTrialMetadata.js.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/preprocessStudyRegistrationMetadata.d.ts +10 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/preprocessStudyRegistrationMetadata.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/preprocessStudyRegistrationMetadata.js +77 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/preprocessStudyRegistrationMetadata.js.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/useStudyRegistration.d.ts +12 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/useStudyRegistration.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/useStudyRegistration.js +160 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/useStudyRegistration/useStudyRegistration.js.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/userCanRegisterStudy.d.ts +6 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/userCanRegisterStudy.d.ts.map +1 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/userCanRegisterStudy.js +10 -0
- package/dist/dts/features/DiscoveryForms/StudyRegistration/userCanRegisterStudy.js.map +1 -0
- package/dist/dts/features/Navigation/FixedNavPageLayout.js +1 -1
- package/dist/dts/features/Navigation/FixedNavPageLayout.js.map +1 -1
- package/dist/dts/features/Study/StudyDetails/StudyDetailsHeaderButtons.d.ts.map +1 -1
- package/dist/dts/features/Study/StudyDetails/StudyDetailsHeaderButtons.js +26 -8
- package/dist/dts/features/Study/StudyDetails/StudyDetailsHeaderButtons.js.map +1 -1
- package/dist/dts/pages/StudyForms/StudyRegistration/data.d.ts +4 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/data.d.ts.map +1 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/data.js +32 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/data.js.map +1 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/index.d.ts +10 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/index.d.ts.map +1 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/index.js +12 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/index.js.map +1 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/types.d.ts +28 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/types.d.ts.map +1 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/types.js +2 -0
- package/dist/dts/pages/StudyForms/StudyRegistration/types.js.map +1 -0
- package/dist/index/cjs/QueryPanel-DNGXxrpC.js +43 -0
- package/dist/index/cjs/QueryPanel-DNGXxrpC.js.map +1 -0
- package/dist/index/cjs/index-7sUtTikC.js +42117 -0
- package/dist/index/cjs/index-7sUtTikC.js.map +1 -0
- package/dist/index/cjs/index.js +1 -1
- package/dist/index/esm/QueryPanel-C3JVntIb.js +37 -0
- package/dist/index/esm/QueryPanel-C3JVntIb.js.map +1 -0
- package/dist/index/esm/index-B_0ks9Pi.js +41830 -0
- package/dist/index/esm/index-B_0ks9Pi.js.map +1 -0
- package/dist/index/esm/index.js +1 -1
- package/dist/index.d.ts +22 -12
- package/dist/pages/cjs/CohortBuilder-DircXqXL.js +576 -0
- package/dist/pages/cjs/CohortBuilder-DircXqXL.js.map +1 -0
- package/dist/pages/cjs/QueryPanel-qYWbo2Cb.js +43 -0
- package/dist/pages/cjs/QueryPanel-qYWbo2Cb.js.map +1 -0
- package/dist/pages/cjs/index-BQzYPjdE.js +32499 -0
- package/dist/pages/cjs/index-BQzYPjdE.js.map +1 -0
- package/dist/pages/cjs/index.js +1 -1
- package/dist/pages/esm/CohortBuilder-CI9PAFLd.js +573 -0
- package/dist/pages/esm/CohortBuilder-CI9PAFLd.js.map +1 -0
- package/dist/pages/esm/QueryPanel-BEqldpr5.js +37 -0
- package/dist/pages/esm/QueryPanel-BEqldpr5.js.map +1 -0
- package/dist/pages/esm/index-BoZwM5wd.js +32389 -0
- package/dist/pages/esm/index-BoZwM5wd.js.map +1 -0
- package/dist/pages/esm/index.js +1 -1
- package/dist/pages.d.ts +15 -5
- package/package.json +2 -2
package/dist/pages/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AISearchPage, s as AISearchPageGetServerSideProps, v as AnalysisPage, w as AnalysisPageGetServerSideProps, x as ClinicalDataAnalysisPage, y as ClinicalDataAnalysisServerSideProps, z as ColorThemePage, B as ColorThemePageGetServerSideProps, F as CrosswalkPage, G as CrosswalkPageGetServerSideProps, H as Custom403Page, I as Custom403PageGetServerSideProps, J as Custom404Page, K as Custom404PageGetServerSideProps, L as DataDictionaryPage, M as DataLibraryPage, N as DataLibraryPageGetServerSideProps, O as DictionaryPageGetServerSideProps, P as DiscoveryPageGetServerSideProps, R as DiscpveryPage, S as ExplorerPage, T as ExplorerPageGetServerSideProps, U as ExplorerPageGetServerSidePropsForConfigId, V as LandingPage, W as LandingPageGetServerSideProps, X as LoginPage, Y as LoginPageGetServerSideProps, Z as NotebookLitePage, _ as NotebookLitePageGetStaticProps, $ as ProfilePage, a0 as ProfilePageGetServerSideProps, a1 as QueryPage, a2 as QueryPageGetServerSideProps, a3 as RepositoryPage, a4 as RepositoryPageGetServerSideProps, a5 as SubmissionPageGetServerSideProps, a6 as SumbissionPage, a7 as TabbedCohortBuilderPage, a8 as TabbedCohortBuilderPageGetServerSideProps, a9 as WorkspaceNoAccessPage, aa as WorkspaceNoAccessPageServerSideProps, ab as WorkspacePage, ac as WorkspacePageGetServerSideProps } from './index-
|
|
1
|
+
export { A as AISearchPage, s as AISearchPageGetServerSideProps, v as AnalysisPage, w as AnalysisPageGetServerSideProps, x as ClinicalDataAnalysisPage, y as ClinicalDataAnalysisServerSideProps, z as ColorThemePage, B as ColorThemePageGetServerSideProps, F as CrosswalkPage, G as CrosswalkPageGetServerSideProps, H as Custom403Page, I as Custom403PageGetServerSideProps, J as Custom404Page, K as Custom404PageGetServerSideProps, L as DataDictionaryPage, M as DataLibraryPage, N as DataLibraryPageGetServerSideProps, O as DictionaryPageGetServerSideProps, P as DiscoveryPageGetServerSideProps, R as DiscpveryPage, S as ExplorerPage, T as ExplorerPageGetServerSideProps, U as ExplorerPageGetServerSidePropsForConfigId, V as LandingPage, W as LandingPageGetServerSideProps, X as LoginPage, Y as LoginPageGetServerSideProps, Z as NotebookLitePage, _ as NotebookLitePageGetStaticProps, $ as ProfilePage, a0 as ProfilePageGetServerSideProps, a1 as QueryPage, a2 as QueryPageGetServerSideProps, a3 as RepositoryPage, a4 as RepositoryPageGetServerSideProps, a5 as SubmissionPageGetServerSideProps, a6 as SumbissionPage, a7 as TabbedCohortBuilderPage, a8 as TabbedCohortBuilderPageGetServerSideProps, a9 as WorkspaceNoAccessPage, aa as WorkspaceNoAccessPageServerSideProps, ab as WorkspacePage, ac as WorkspacePageGetServerSideProps } from './index-BoZwM5wd.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'next/navigation';
|
package/dist/pages.d.ts
CHANGED
|
@@ -231,7 +231,15 @@ declare enum FormContentType {
|
|
|
231
231
|
Email = "Email",// mantine TextInput set to validate email
|
|
232
232
|
Checkbox = "Checkbox",// mantine Checkbox
|
|
233
233
|
Textarea = "Textarea",// mantine Textarea
|
|
234
|
-
RadioGroup = "RadioGroup"
|
|
234
|
+
RadioGroup = "RadioGroup",// mantine Radio.Group
|
|
235
|
+
Select = "Select",// mantine Select
|
|
236
|
+
Tags = "Tags",// mantine Tags
|
|
237
|
+
CedarUserUUID = "CedarUserUUID",// Cedar User ID text input
|
|
238
|
+
ClinicalTrialID = "ClinicalTrialID"
|
|
239
|
+
}
|
|
240
|
+
interface SelectOptionItem {
|
|
241
|
+
label: string;
|
|
242
|
+
value: string;
|
|
235
243
|
}
|
|
236
244
|
/**
|
|
237
245
|
* Interface representing the properties for rendering form content.
|
|
@@ -240,19 +248,21 @@ interface FormContentProps extends Omit<TextContentProps, 'type' | 'text'> {
|
|
|
240
248
|
readonly text?: TextContentProps['text'];
|
|
241
249
|
readonly type?: FormContentType | ContentType;
|
|
242
250
|
readonly label?: string;
|
|
251
|
+
readonly initialValue?: string;
|
|
252
|
+
readonly dropdownData?: SelectOptionItem[];
|
|
243
253
|
readonly description?: string;
|
|
244
254
|
readonly placeholder?: string;
|
|
245
255
|
readonly disabled?: boolean;
|
|
246
256
|
readonly required?: boolean;
|
|
247
257
|
readonly tooltip?: string;
|
|
248
258
|
readonly keyString: string;
|
|
249
|
-
readonly form: UseFormReturnType<
|
|
259
|
+
readonly form: UseFormReturnType<Record<string, unknown>, (values: Record<string, unknown>) => Record<string, unknown>>;
|
|
250
260
|
}
|
|
251
261
|
|
|
252
262
|
interface FormPropsBody extends Omit<FormContentProps, 'keyString' | 'form'> {
|
|
253
|
-
readonly errorText
|
|
263
|
+
readonly errorText?: string;
|
|
254
264
|
readonly variable?: string;
|
|
255
|
-
readonly
|
|
265
|
+
readonly required?: boolean;
|
|
256
266
|
}
|
|
257
267
|
interface FormOnSubmitReturnProps {
|
|
258
268
|
[key: string]: string;
|
|
@@ -265,7 +275,7 @@ interface FormProps {
|
|
|
265
275
|
readonly submitButtonText?: string;
|
|
266
276
|
readonly showResetButton?: boolean;
|
|
267
277
|
readonly body: FormPropsBody[];
|
|
268
|
-
readonly onSubmit: (values: FormOnSubmitReturnProps) => void | Promise<
|
|
278
|
+
readonly onSubmit: (values: FormOnSubmitReturnProps) => void | Promise<unknown>;
|
|
269
279
|
readonly errorMessage?: string;
|
|
270
280
|
}
|
|
271
281
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gen3/frontend",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.64",
|
|
4
4
|
"description": "Gen3 frontend components, content management, and pages",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Center for Translational Data Science",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@dnd-kit/core": "^6.3.1",
|
|
64
64
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
65
65
|
"@dnd-kit/sortable": "^10.0.0",
|
|
66
|
-
"@gen3/core": "^0.12.
|
|
66
|
+
"@gen3/core": "^0.12.64",
|
|
67
67
|
"@graphiql/react": "^0.37.7",
|
|
68
68
|
"@hello-pangea/dnd": "^18.0.0",
|
|
69
69
|
"@iconify-icon/react": "^3.0.3",
|