@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/index/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ACTIVITY_CHANNEL, a as AISearchPageGetServerSideProps, b as AccessLevel, c as AccordionPanel, d as ActionBar, e as ActionButton, f as AdminAuthZPageGetServerSideProps, g as AiSearch, h as AiSearchPage, i as AnalysisCenter, j as AnalysisCenterWithSections, k as AnalysisEditorPage, l as AnalysisEditorPageGetServerSideProps, m as AnalysisPage, n as AnalysisPageGetServerSideProps, o as AnalysisWithCloseButton, p as AuthzPage, B as BAD_DATA_MESSAGE, q as Banner, r as BaseModal, C as CardContainer, s as Charts, t as ClinicalDataAnalysisPage, u as ClinicalDataAnalysisServerSideProps, v as CohortActionButton, w as CohortBuilder, x as CohortDropdownActionButton, y as CohortManager, z as CohortManagerAndExpression, D as CollapsableCharts, E as CollapsableSidebar, F as ColorThemePage, G as ColorThemePageGetServerSideProps, H as ContentSource, I as CountsValue, J as CreateCredentialsAPIKeyModal, K as CrosswalkPage, L as CrosswalkPageGetServerSideProps, M as Custom403Page, N as Custom403PageGetServerSideProps, O as Custom404Page, P as Custom404PageGetServerSideProps, Q as DAYS_IN_YEAR, R as DEFAULT_MAXIMUM, S as DEFAULT_MINIMUM, T as DEFAULT_VISIBLE_ITEMS, U as DataDictionaryPage, V as DataLibraryPage, W as DataLibraryPageGetServerSideProps, X as DefaultAuthorizedRoutesConfig, Y as DictionaryPageGetServerSideProps, Z as DictionaryWithContext, _ as DiscoveryCellRendererFactory, $ as DiscoveryConfigProvider, a0 as DiscoveryIndexPanel, a1 as DiscoveryPage, a2 as DiscoveryPageGetServerSideProps, a3 as DownloadButton, a4 as DownloadsPanel, a5 as DropdownButton, a6 as DropdownPanel, a7 as DropdownWithIcon, a8 as EmptyTableMessage, a9 as EnumFacet, aa as EnumFacetChart, ab as ErrorCard, ac as ExactValueFacet, ad as ExplorerPage, ae as ExplorerPageGetServerSideProps, af as ExplorerPageGetServerSidePropsForConfigId, ag as ExplorerTable, ah as ExplorerTableCellRendererFactory, ai as ExplorerTableDetailsPanelFactory, aj as FacetControlsHeader, ak as FacetExpander, al as FacetSelector, am as FacetSortPanel, an as FacetTabs, ao as FileSummary, ap as FiltersPanel, aq as FirstTimeModal, ar as FixedNavPageLayout, as as Footer, at as Gen3Button, au as Gen3ButtonReverse, av as Gen3Link, aw as Gen3ModalsProvider, ax as Gen3Provider, ay as GqlQueryEditor, az as Header, aA as HoverLink, aB as IconButton, aC as InfoRolloverButton, aD as JSONObjectDownloadButton, aE as LandingPage, aF as LandingPageGetServerSideProps, aG as LoginButton, aH as LoginPage, aI as LoginPageGetServerSideProps, aJ as LoginPanel, aK as LoginProvidersPanel, aL as MessageCard, aM as MessagePage, aN as MetadataDictionary, aO as MultiSelectValueFacet, aP as NavPageLayout, aQ as NavigationBar, aR as NavigationButton, aS as NavigationRail, aT as NoAccessModal, aU as NotebookLitePage, aV as NotebookLitePageGetStaticProps, aW as OverflowTooltippedLabel, aX as PanelErrorBoundary, aY as Profile, aZ as ProfilePage, a_ as ProfilePageGetServerSideProps, a$ as ProfileProvider, b0 as ProtectedContent, b1 as ProtectedContentUI, b2 as ProtectedOverlay, b3 as QueryExpression, b4 as QueryExpressionContext, b5 as QueryExpressionSection, b6 as QueryPage, b7 as QueryPageGetServerSideProps, b8 as RangeFacet, b9 as ReactECharts, ba as Repository, bb as RepositoryPage, bc as RepositoryPageGetServerSideProps, bd as ResourcesFilters, be as SPECIAL_CASE_FIELDS, bf as SegmentedControl, bg as SessionExpiredModal, bh as SinglePageStudyDetailsPanel, bi as StaticNotebookIFrame, bj as StudyDetailsPanel, bk as StudyGroup, bl as StudyGroupPanel, bm as StudyProvider, bn as SubmissionPage, bo as SubmissionPageGetServerSideProps, bp as TabbedCohortBuilder, bq as TabbedCohortBuilderPage, br as TabbedCohortBuilderPageGetServerSideProps, bs as TabbedPanel, bt as TableXPositionContext, bu as TagCloud, bv as TailwindConfig, bw as TopBar, bx as UploadJSONButton, by as User, bz as WarningCard, bA as Workspace, bB as WorkspaceNoAccessPage, bC as WorkspaceNoAccessPageServerSideProps, bD as WorkspacePage, bE as WorkspacePageGetServerSideProps, bF as accessibleFieldName, bG as addIntersectionToIncludes, bH as addUnion, bI as analysisApiCohortDiscovery, bJ as capitalize, bK as classifyFacets, bL as compareKeysAscending, bM as compareKeysDescending, bN as computeRowSpan, bO as convertMinutesToMilliseconds, bP as convertPathsToTree, bQ as convertSecondsToMilliseconds, bR as convertToStringArray, bS as createCSSVariables, bT as createLabelFromHistogramData, bU as createMantineTheme, bV as credentialsLogin, bW as credentialsLogout, bX as extractObjectKey, bY as extractRangeValues, bZ as filterAggregationsDataKeys, b_ as focusStyles, b$ as gen3Modals, c0 as getAllFieldsFromFilterConfigs, c1 as getByPath, c2 as getCurrentUnixTimestamp, c3 as getFormattedTimestamp, c4 as getHighResolutionTimestamp, c5 as getNavPageLayoutPropsFromConfig, c6 as getParamsValueAsString, c7 as getTagInfo, c8 as hasOwnProperty, c9 as isArrayOfString, ca as isEnumFacetResponse, cb as isHeaderMetadata, cc as isPropertyKey, cd as isTextTransform, ce as isTimeGreaterThan, cf as itemsInCart, cg as mapFacetSortToSortType, ch as measureExecutionTime, ci as mergeDefaultTailwindClassnames, cj as minutesToMilliseconds, ck as processBucketData, cl as processDefinedRangeData, cm as processLabel, cn as processRangeData, co as processRangeKeyLabel, cp as registerCohortBuilderDefaultPreviewRenderers, cq as registerCohortDiscoveryApp, cr as registerCohortSimilarityApp, cs as registerDefaultDiscoveryDataLoaders, ct as registerDiscoveryDefaultCellRenderers, cu as registerDownloadButtonAction, cv as registerExplorerDefaultCellRenderers, cw as registerIGVApp, cx as registerMetadataSchemaApp, cy as removeIntersectionFromEnum, cz as removeKey, cA as removeMultipleSlashes, cB as removeUnion, cC as resourcePathFromProjectID, cD as sessionLogout, cE as sessionToken, cF as stripTrailingSlash, cG as toDisplayName, cH as truncateString, cI as typographyPlugin, cJ as unixTimeToString, cK as updateFacetEnum, cL as useClearFilters, cM as useDiscoveryContext, cN as useExtractEnumFilterValues, cO as useExtractRangeFilterValues, cP as useFieldNameToLabel, cQ as useGetFacetFilters, cR as useGuppyActionButton, cS as useUpdateFilters, cT as useUpdateFiltersFlat, cU as userHasMethodForServiceOnResource, cV as validateObjectHasRequiredFields, cW as withBasePath } from './index-
|
|
1
|
+
export { A as ACTIVITY_CHANNEL, a as AISearchPageGetServerSideProps, b as AccessLevel, c as AccordionPanel, d as ActionBar, e as ActionButton, f as AdminAuthZPageGetServerSideProps, g as AiSearch, h as AiSearchPage, i as AnalysisCenter, j as AnalysisCenterWithSections, k as AnalysisEditorPage, l as AnalysisEditorPageGetServerSideProps, m as AnalysisPage, n as AnalysisPageGetServerSideProps, o as AnalysisWithCloseButton, p as AuthzPage, B as BAD_DATA_MESSAGE, q as Banner, r as BaseModal, C as CardContainer, s as Charts, t as ClinicalDataAnalysisPage, u as ClinicalDataAnalysisServerSideProps, v as CohortActionButton, w as CohortBuilder, x as CohortDropdownActionButton, y as CohortManager, z as CohortManagerAndExpression, D as CollapsableCharts, E as CollapsableSidebar, F as ColorThemePage, G as ColorThemePageGetServerSideProps, H as ContentSource, I as CountsValue, J as CreateCredentialsAPIKeyModal, K as CrosswalkPage, L as CrosswalkPageGetServerSideProps, M as Custom403Page, N as Custom403PageGetServerSideProps, O as Custom404Page, P as Custom404PageGetServerSideProps, Q as DAYS_IN_YEAR, R as DEFAULT_MAXIMUM, S as DEFAULT_MINIMUM, T as DEFAULT_VISIBLE_ITEMS, U as DataDictionaryPage, V as DataLibraryPage, W as DataLibraryPageGetServerSideProps, X as DefaultAuthorizedRoutesConfig, Y as DictionaryPageGetServerSideProps, Z as DictionaryWithContext, _ as DiscoveryCellRendererFactory, $ as DiscoveryConfigProvider, a0 as DiscoveryIndexPanel, a1 as DiscoveryPage, a2 as DiscoveryPageGetServerSideProps, a3 as DownloadButton, a4 as DownloadsPanel, a5 as DropdownButton, a6 as DropdownPanel, a7 as DropdownWithIcon, a8 as EmptyTableMessage, a9 as EnumFacet, aa as EnumFacetChart, ab as ErrorCard, ac as ExactValueFacet, ad as ExplorerPage, ae as ExplorerPageGetServerSideProps, af as ExplorerPageGetServerSidePropsForConfigId, ag as ExplorerTable, ah as ExplorerTableCellRendererFactory, ai as ExplorerTableDetailsPanelFactory, aj as FacetControlsHeader, ak as FacetExpander, al as FacetSelector, am as FacetSortPanel, an as FacetTabs, ao as FileSummary, ap as FiltersPanel, aq as FirstTimeModal, ar as FixedNavPageLayout, as as Footer, at as Gen3Button, au as Gen3ButtonReverse, av as Gen3Link, aw as Gen3ModalsProvider, ax as Gen3Provider, ay as GqlQueryEditor, az as Header, aA as HoverLink, aB as IconButton, aC as InfoRolloverButton, aD as JSONObjectDownloadButton, aE as LandingPage, aF as LandingPageGetServerSideProps, aG as LoginButton, aH as LoginPage, aI as LoginPageGetServerSideProps, aJ as LoginPanel, aK as LoginProvidersPanel, aL as MessageCard, aM as MessagePage, aN as MetadataDictionary, aO as MultiSelectValueFacet, aP as NavPageLayout, aQ as NavigationBar, aR as NavigationButton, aS as NavigationRail, aT as NoAccessModal, aU as NotebookLitePage, aV as NotebookLitePageGetStaticProps, aW as OverflowTooltippedLabel, aX as PanelErrorBoundary, aY as Profile, aZ as ProfilePage, a_ as ProfilePageGetServerSideProps, a$ as ProfileProvider, b0 as ProtectedContent, b1 as ProtectedContentUI, b2 as ProtectedOverlay, b3 as QueryExpression, b4 as QueryExpressionContext, b5 as QueryExpressionSection, b6 as QueryPage, b7 as QueryPageGetServerSideProps, b8 as RangeFacet, b9 as ReactECharts, ba as Repository, bb as RepositoryPage, bc as RepositoryPageGetServerSideProps, bd as ResourcesFilters, be as SPECIAL_CASE_FIELDS, bf as SegmentedControl, bg as SessionExpiredModal, bh as SinglePageStudyDetailsPanel, bi as StaticNotebookIFrame, bj as StudyDetailsPanel, bk as StudyGroup, bl as StudyGroupPanel, bm as StudyProvider, bn as SubmissionPage, bo as SubmissionPageGetServerSideProps, bp as TabbedCohortBuilder, bq as TabbedCohortBuilderPage, br as TabbedCohortBuilderPageGetServerSideProps, bs as TabbedPanel, bt as TableXPositionContext, bu as TagCloud, bv as TailwindConfig, bw as TopBar, bx as UploadJSONButton, by as User, bz as WarningCard, bA as Workspace, bB as WorkspaceNoAccessPage, bC as WorkspaceNoAccessPageServerSideProps, bD as WorkspacePage, bE as WorkspacePageGetServerSideProps, bF as accessibleFieldName, bG as addIntersectionToIncludes, bH as addUnion, bI as analysisApiCohortDiscovery, bJ as capitalize, bK as classifyFacets, bL as compareKeysAscending, bM as compareKeysDescending, bN as computeRowSpan, bO as convertMinutesToMilliseconds, bP as convertPathsToTree, bQ as convertSecondsToMilliseconds, bR as convertToStringArray, bS as createCSSVariables, bT as createLabelFromHistogramData, bU as createMantineTheme, bV as credentialsLogin, bW as credentialsLogout, bX as extractObjectKey, bY as extractRangeValues, bZ as filterAggregationsDataKeys, b_ as focusStyles, b$ as gen3Modals, c0 as getAllFieldsFromFilterConfigs, c1 as getByPath, c2 as getCurrentUnixTimestamp, c3 as getFormattedTimestamp, c4 as getHighResolutionTimestamp, c5 as getNavPageLayoutPropsFromConfig, c6 as getParamsValueAsString, c7 as getTagInfo, c8 as hasOwnProperty, c9 as isArrayOfString, ca as isEnumFacetResponse, cb as isHeaderMetadata, cc as isPropertyKey, cd as isTextTransform, ce as isTimeGreaterThan, cf as itemsInCart, cg as mapFacetSortToSortType, ch as measureExecutionTime, ci as mergeDefaultTailwindClassnames, cj as minutesToMilliseconds, ck as processBucketData, cl as processDefinedRangeData, cm as processLabel, cn as processRangeData, co as processRangeKeyLabel, cp as registerCohortBuilderDefaultPreviewRenderers, cq as registerCohortDiscoveryApp, cr as registerCohortSimilarityApp, cs as registerDefaultDiscoveryDataLoaders, ct as registerDiscoveryDefaultCellRenderers, cu as registerDownloadButtonAction, cv as registerExplorerDefaultCellRenderers, cw as registerIGVApp, cx as registerMetadataSchemaApp, cy as removeIntersectionFromEnum, cz as removeKey, cA as removeMultipleSlashes, cB as removeUnion, cC as resourcePathFromProjectID, cD as sessionLogout, cE as sessionToken, cF as stripTrailingSlash, cG as toDisplayName, cH as truncateString, cI as typographyPlugin, cJ as unixTimeToString, cK as updateFacetEnum, cL as useClearFilters, cM as useDiscoveryContext, cN as useExtractEnumFilterValues, cO as useExtractRangeFilterValues, cP as useFieldNameToLabel, cQ as useGetFacetFilters, cR as useGuppyActionButton, cS as useUpdateFilters, cT as useUpdateFiltersFlat, cU as userHasMethodForServiceOnResource, cV as validateObjectHasRequiredFields, cW as withBasePath } from './index-B_0ks9Pi.js';
|
|
2
2
|
import '@gen3/core';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1169,8 +1169,8 @@ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStrin
|
|
|
1169
1169
|
} | undefined;
|
|
1170
1170
|
radius?: {
|
|
1171
1171
|
[x: string & {}]: string | undefined;
|
|
1172
|
-
sm?: string | undefined;
|
|
1173
1172
|
xs?: string | undefined;
|
|
1173
|
+
sm?: string | undefined;
|
|
1174
1174
|
md?: string | undefined;
|
|
1175
1175
|
lg?: string | undefined;
|
|
1176
1176
|
xl?: string | undefined;
|
|
@@ -1179,24 +1179,24 @@ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStrin
|
|
|
1179
1179
|
spacing?: {
|
|
1180
1180
|
[x: number]: string | undefined;
|
|
1181
1181
|
[x: string & {}]: string | undefined;
|
|
1182
|
-
sm?: string | undefined;
|
|
1183
1182
|
xs?: string | undefined;
|
|
1183
|
+
sm?: string | undefined;
|
|
1184
1184
|
md?: string | undefined;
|
|
1185
1185
|
lg?: string | undefined;
|
|
1186
1186
|
xl?: string | undefined;
|
|
1187
1187
|
} | undefined;
|
|
1188
1188
|
fontSizes?: {
|
|
1189
1189
|
[x: string & {}]: string | undefined;
|
|
1190
|
-
sm?: string | undefined;
|
|
1191
1190
|
xs?: string | undefined;
|
|
1191
|
+
sm?: string | undefined;
|
|
1192
1192
|
md?: string | undefined;
|
|
1193
1193
|
lg?: string | undefined;
|
|
1194
1194
|
xl?: string | undefined;
|
|
1195
1195
|
} | undefined;
|
|
1196
1196
|
lineHeights?: {
|
|
1197
1197
|
[x: string & {}]: string | undefined;
|
|
1198
|
-
sm?: string | undefined;
|
|
1199
1198
|
xs?: string | undefined;
|
|
1199
|
+
sm?: string | undefined;
|
|
1200
1200
|
md?: string | undefined;
|
|
1201
1201
|
lg?: string | undefined;
|
|
1202
1202
|
xl?: string | undefined;
|
|
@@ -1209,22 +1209,22 @@ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStrin
|
|
|
1209
1209
|
} | undefined;
|
|
1210
1210
|
breakpoints?: {
|
|
1211
1211
|
[x: string & {}]: string | undefined;
|
|
1212
|
-
sm?: string | undefined;
|
|
1213
1212
|
xs?: string | undefined;
|
|
1213
|
+
sm?: string | undefined;
|
|
1214
1214
|
md?: string | undefined;
|
|
1215
1215
|
lg?: string | undefined;
|
|
1216
1216
|
xl?: string | undefined;
|
|
1217
1217
|
} | undefined;
|
|
1218
1218
|
shadows?: {
|
|
1219
1219
|
[x: string & {}]: string | undefined;
|
|
1220
|
-
sm?: string | undefined;
|
|
1221
1220
|
xs?: string | undefined;
|
|
1221
|
+
sm?: string | undefined;
|
|
1222
1222
|
md?: string | undefined;
|
|
1223
1223
|
lg?: string | undefined;
|
|
1224
1224
|
xl?: string | undefined;
|
|
1225
1225
|
} | undefined;
|
|
1226
1226
|
respectReducedMotion?: boolean | undefined;
|
|
1227
|
-
cursorType?: "
|
|
1227
|
+
cursorType?: "default" | "pointer" | undefined;
|
|
1228
1228
|
defaultGradient?: {
|
|
1229
1229
|
from?: string | undefined;
|
|
1230
1230
|
to?: string | undefined;
|
|
@@ -2484,7 +2484,15 @@ declare enum FormContentType {
|
|
|
2484
2484
|
Email = "Email",// mantine TextInput set to validate email
|
|
2485
2485
|
Checkbox = "Checkbox",// mantine Checkbox
|
|
2486
2486
|
Textarea = "Textarea",// mantine Textarea
|
|
2487
|
-
RadioGroup = "RadioGroup"
|
|
2487
|
+
RadioGroup = "RadioGroup",// mantine Radio.Group
|
|
2488
|
+
Select = "Select",// mantine Select
|
|
2489
|
+
Tags = "Tags",// mantine Tags
|
|
2490
|
+
CedarUserUUID = "CedarUserUUID",// Cedar User ID text input
|
|
2491
|
+
ClinicalTrialID = "ClinicalTrialID"
|
|
2492
|
+
}
|
|
2493
|
+
interface SelectOptionItem {
|
|
2494
|
+
label: string;
|
|
2495
|
+
value: string;
|
|
2488
2496
|
}
|
|
2489
2497
|
/**
|
|
2490
2498
|
* Interface representing the properties for rendering form content.
|
|
@@ -2493,19 +2501,21 @@ interface FormContentProps extends Omit<TextContentProps, 'type' | 'text'> {
|
|
|
2493
2501
|
readonly text?: TextContentProps['text'];
|
|
2494
2502
|
readonly type?: FormContentType | ContentType;
|
|
2495
2503
|
readonly label?: string;
|
|
2504
|
+
readonly initialValue?: string;
|
|
2505
|
+
readonly dropdownData?: SelectOptionItem[];
|
|
2496
2506
|
readonly description?: string;
|
|
2497
2507
|
readonly placeholder?: string;
|
|
2498
2508
|
readonly disabled?: boolean;
|
|
2499
2509
|
readonly required?: boolean;
|
|
2500
2510
|
readonly tooltip?: string;
|
|
2501
2511
|
readonly keyString: string;
|
|
2502
|
-
readonly form: UseFormReturnType<
|
|
2512
|
+
readonly form: UseFormReturnType<Record<string, unknown>, (values: Record<string, unknown>) => Record<string, unknown>>;
|
|
2503
2513
|
}
|
|
2504
2514
|
|
|
2505
2515
|
interface FormPropsBody extends Omit<FormContentProps, 'keyString' | 'form'> {
|
|
2506
|
-
readonly errorText
|
|
2516
|
+
readonly errorText?: string;
|
|
2507
2517
|
readonly variable?: string;
|
|
2508
|
-
readonly
|
|
2518
|
+
readonly required?: boolean;
|
|
2509
2519
|
}
|
|
2510
2520
|
interface FormOnSubmitReturnProps {
|
|
2511
2521
|
[key: string]: string;
|
|
@@ -2518,7 +2528,7 @@ interface FormProps {
|
|
|
2518
2528
|
readonly submitButtonText?: string;
|
|
2519
2529
|
readonly showResetButton?: boolean;
|
|
2520
2530
|
readonly body: FormPropsBody[];
|
|
2521
|
-
readonly onSubmit: (values: FormOnSubmitReturnProps) => void | Promise<
|
|
2531
|
+
readonly onSubmit: (values: FormOnSubmitReturnProps) => void | Promise<unknown>;
|
|
2522
2532
|
readonly errorMessage?: string;
|
|
2523
2533
|
}
|
|
2524
2534
|
|