@gen3/frontend 0.11.49 → 0.11.51
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/Profile/ResourcesTable.js +27 -27
- package/dist/dts/components/Profile/ResourcesTable.js.map +1 -1
- package/dist/dts/components/charts/EnumFacetChart.d.ts.map +1 -1
- package/dist/dts/components/charts/EnumFacetChart.js +4 -22
- package/dist/dts/components/charts/EnumFacetChart.js.map +1 -1
- package/dist/dts/components/facets/EnumFacet.d.ts +2 -6
- package/dist/dts/components/facets/EnumFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/EnumFacet.js +2 -2
- package/dist/dts/components/facets/EnumFacet.js.map +1 -1
- package/dist/dts/components/facets/ExactValueFacet.d.ts +2 -2
- package/dist/dts/components/facets/ExactValueFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetEnumList.d.ts +2 -3
- package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -1
- package/dist/dts/components/facets/FacetEnumList.js.map +1 -1
- package/dist/dts/components/facets/FacetTabs.d.ts +3 -3
- package/dist/dts/components/facets/FacetTabs.d.ts.map +1 -1
- package/dist/dts/components/facets/FiltersPanel.d.ts +2 -2
- package/dist/dts/components/facets/FiltersPanel.d.ts.map +1 -1
- package/dist/dts/components/facets/FiltersPanel.js +2 -1
- package/dist/dts/components/facets/FiltersPanel.js.map +1 -1
- package/dist/dts/components/facets/MultiSelectValueFacet.d.ts +1 -1
- package/dist/dts/components/facets/MultiSelectValueFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/FromTo.d.ts +1 -2
- package/dist/dts/components/facets/NumericRangeFacet/FromTo.d.ts.map +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/FromTo.js +2 -2
- package/dist/dts/components/facets/NumericRangeFacet/FromTo.js.map +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/RangeInputWithPrefixedRanges.js +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/RangeInputWithPrefixedRanges.js.map +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/index.d.ts.map +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/index.js +1 -0
- package/dist/dts/components/facets/NumericRangeFacet/index.js.map +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/types.d.ts +1 -0
- package/dist/dts/components/facets/NumericRangeFacet/types.d.ts.map +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/utils.d.ts.map +1 -1
- package/dist/dts/components/facets/NumericRangeFacet/utils.js +8 -6
- package/dist/dts/components/facets/NumericRangeFacet/utils.js.map +1 -1
- package/dist/dts/components/facets/Panels/types.d.ts +2 -2
- package/dist/dts/components/facets/Panels/types.d.ts.map +1 -1
- package/dist/dts/components/facets/createFacetCard.d.ts +2 -2
- package/dist/dts/components/facets/createFacetCard.d.ts.map +1 -1
- package/dist/dts/components/facets/createFacetCard.js +6 -2
- package/dist/dts/components/facets/createFacetCard.js.map +1 -1
- package/dist/dts/components/facets/createFacetCards.d.ts +2 -2
- package/dist/dts/components/facets/createFacetCards.d.ts.map +1 -1
- package/dist/dts/components/facets/types.d.ts +12 -37
- package/dist/dts/components/facets/types.d.ts.map +1 -1
- package/dist/dts/components/facets/types.js.map +1 -1
- package/dist/dts/components/facets/utils.d.ts +2 -1
- package/dist/dts/components/facets/utils.d.ts.map +1 -1
- package/dist/dts/components/facets/utils.js +28 -2
- package/dist/dts/components/facets/utils.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +2 -2
- package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.js +1 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.js.map +1 -1
- package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.d.ts +2 -0
- package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.js +45 -4
- package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +2 -0
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts +2 -6
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.d.ts +2 -2
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.js.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +1 -0
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/utils/removeKey.d.ts +4 -0
- package/dist/dts/utils/removeKey.d.ts.map +1 -0
- package/dist/dts/utils/removeKey.js +18 -0
- package/dist/dts/utils/removeKey.js.map +1 -0
- package/dist/index/cjs/{QueryPanel-DHlPraJp.js → QueryPanel-3uyIM88x.js} +2 -2
- package/dist/index/cjs/{QueryPanel-DHlPraJp.js.map → QueryPanel-3uyIM88x.js.map} +1 -1
- package/dist/index/cjs/{index-CVRAXkv2.js → index-DI45oEJk.js} +7598 -6426
- package/dist/index/cjs/index-DI45oEJk.js.map +1 -0
- package/dist/index/cjs/index.js +4 -2
- package/dist/index/cjs/index.js.map +1 -1
- package/dist/index/esm/{QueryPanel-DaQpSckd.js → QueryPanel-B7XMwiGv.js} +2 -2
- package/dist/index/esm/{QueryPanel-DaQpSckd.js.map → QueryPanel-B7XMwiGv.js.map} +1 -1
- package/dist/index/esm/{index-DvCziqnB.js → index-IjtG2G7e.js} +7599 -6429
- package/dist/index/esm/index-IjtG2G7e.js.map +1 -0
- package/dist/index/esm/index.js +2 -2
- package/dist/index.d.ts +29 -49
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/index/cjs/index-CVRAXkv2.js.map +0 -1
- package/dist/index/esm/index-DvCziqnB.js.map +0 -1
package/dist/index/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { X as AISearchPageGetServerSideProps,
|
|
1
|
+
export { X as AISearchPageGetServerSideProps, cy as AccessLevel, bh as AccordionPanel, bF as ActionBar, A as ActionButton, x as AdminAuthZPageGetServerSideProps, bE as AiSearch, V as AiSearchPage, c4 as AnalysisCenter, c5 as AnalysisCenterWithSections, a5 as AnalysisEditorPage, a6 as AnalysisEditorPageGetServerSideProps, F as AnalysisPage, H as AnalysisPageGetServerSideProps, w as AuthzPage, bf as BAD_DATA_MESSAGE, bs as Banner, ak as BaseModal, aq as CardContainer, av as Charts, bW as CohortActionButton, bM as CohortBuilder, bY as CohortDropdownActionButton, bN as CohortManager, bO as CohortManagerAndExpression, aw as CollapsableCharts, a as CollapsableSidebar, j as ColorThemePage, k as ColorThemePageGetServerSideProps, C as ContentSource, e as CountsValue, an as CreateCredentialsAPIKeyModal, Y as CrosswalkPage, Z as CrosswalkPageGetServerSideProps, I as Custom404Page, bg as DAYS_IN_YEAR, be as DEFAULT_MAXIMUM, bd as DEFAULT_MINIMUM, bc as DEFAULT_VISIBLE_ITEMS, a0 as DataLibraryPage, a1 as DataLibraryPageGetServerSideProps, l as DictionaryPage, m as DictionaryPageGetServerSideProps, bA as DiscoveryCellRendererFactory, bC as DiscoveryConfigProvider, bv as DiscoveryIndexPanel, f as DiscoveryPage, g as DiscoveryPageGetServerSideProps, bB as DiscoveryRowRendererFactory, D as DownloadButton, b_ as DownloadsPanel, b as DropdownButton, bi as DropdownPanel, c as DropdownWithIcon, au as EmptyTableMessage, aH as EnumFacet, ax as EnumFacetChart, E as ErrorCard, aI as ExactValueFacet, n as ExplorerPage, o as ExplorerPageGetServerSideProps, p as ExplorerPageGetServerSidePropsForConfigId, bZ as ExplorerTable, bP as ExplorerTableCellRendererFactory, bQ as ExplorerTableDetailsPanelFactory, aM as FacetControlsHeader, aO as FacetExpander, aG as FacetSelector, aN as FacetSortPanel, aL as FacetTabs, aP as FiltersPanel, al as FirstTimeModal, bl as Footer, G as Gen3Button, d as Gen3ButtonReverse, bm as Gen3Link, ap as Gen3ModalsProvider, u as Gen3Provider, c2 as GqlQueryEditor, bn as Header, bo as HoverLink, bu as IconButton, J as JSONObjectDownloadButton, L as LandingPage, i as LandingPageGetServerSideProps, ah as LoginButton, r as LoginPage, s as LoginPageGetServerSideProps, aj as LoginPanel, ai as LoginProvidersPanel, as as MessageCard, at as MessagePage, cw as MinutesToMilliseconds, aK as MultiSelectValueFacet, br as NavPageLayout, bp as NavigationBar, bq as NavigationButton, ao as NoAccessModal, a2 as NotebookLitePage, a3 as NotebookLitePageGetStaticProps, c7 as Profile, P as ProfilePage, q as ProfilePageGetServerSideProps, af as ProfileProvider, bk as ProtectedContent, bT as QueryExpression, b$ as QueryExpressionContext, bU as QueryExpressionSection, Q as QueryPage, h as QueryPageGetServerSideProps, aJ as RangeFacet, ay as ReactECharts, c1 as Repository, a9 as RepositoryPage, aa as RepositoryPageGetServerSideProps, ag as ResourcesFilters, ch as SPECIAL_CASE_FIELDS, S as SegmentedControl, am as SessionExpiredModal, bJ as SinglePageStudyDetailsPanel, c6 as StaticNotebookIFrame, bK as StudyDetailsPanel, bH as StudyGroup, bI as StudyGroupPanel, bG as StudyProvider, _ as SubmissionPage, $ as SubmissionPageGetServerSideProps, bV as TabbedCohortBuilder, a7 as TabbedCohortBuilderPage, a8 as TabbedCohortBuilderPageGetServerSideProps, bj as TabbedPanel, c0 as TableXPositionContext, bw as TagCloud, t as TailwindConfig, T as TopBar, U as UploadJSONButton, ae as User, ar as WarningCard, c3 as Workspace, z as WorkspaceNoAccessPage, B as WorkspaceNoAccessPageServerSideProps, W as WorkspacePage, y as WorkspacePageGetServerSideProps, cx as accessibleFieldName, b4 as addIntersectionToIncludes, b2 as addUnion, ad as analysisApiCohortDiscovery, az as capitalize, aY as classifyFacets, b7 as compareKeysAscending, b8 as compareKeysDescending, aE as computeRowSpan, cq as convertMinutesToMilliseconds, cc as convertPathsToTree, cr as convertSecondsToMilliseconds, b1 as convertToStringArray, c9 as create10ColorAccessibleContrast, c8 as create10ColorPallet, R as createMantineTheme, N as credentialsLogin, O as credentialsLogout, cp as extractObjectKey, b0 as extractRangeValues, aF as filterAggregationsDataKeys, cf as focusStyles, aS as getAllFieldsFromFilterConfigs, aT as getByPath, ca as getCurrentUnixTimestamp, cs as getFormattedTimestamp, cv as getHighResolutionTimestamp, v as getNavPageLayoutPropsFromConfig, co as getParamsValueAsString, bL as getTagInfo, cn as hasOwnProperty, ck as isArrayOfString, aR as isEnumFacetResponse, bt as isHeaderMetadata, cm as isPropertyKey, cl as isTextTransform, ct as isTimeGreaterThan, cz as itemsInCart, b6 as mapFacetSortToSortType, cu as measureExecutionTime, aU as processBucketData, aW as processDefinedRangeData, aC as processLabel, aV as processRangeData, aD as processRangeKeyLabel, bS as registerCohortBuilderDefaultPreviewRenderers, ab as registerCohortDiscoveryApp, ac as registerCohortSimilarityApp, bz as registerDefaultDiscoveryDataLoaders, bx as registerDiscoveryDefaultCellRenderers, by as registerDiscoveryDefaultStudyPreviewRenderers, bR as registerExplorerDefaultCellRenderers, a4 as registerMetadataSchemaApp, b5 as removeIntersectionFromEnum, aB as removeKey, b3 as removeUnion, cd as resourcePathFromProjectID, M as sessionLogout, K as sessionToken, cg as stripTrailingSlash, cj as toCountsString, ci as toDisplayName, aA as truncateString, cb as unixTimeToString, aX as updateFacetEnum, b9 as useClearFilters, bD as useDiscoveryContext, ba as useExtractEnumFilterValues, bb as useExtractRangeFilterValues, aQ as useFieldNameToTitle, a$ as useGetFacetFilters, bX as useGuppyActionButton, aZ as useUpdateFilters, a_ as useUpdateFiltersFlat, ce as userHasMethodForServiceOnResource, cA as validateObjectHasRequiredFields } from './index-IjtG2G7e.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@mantine/core';
|
|
@@ -34,6 +34,7 @@ import 'default-composer';
|
|
|
34
34
|
import '@iconify-icon/react';
|
|
35
35
|
import 'echarts';
|
|
36
36
|
import 'victory';
|
|
37
|
+
import 'jsonpath-plus';
|
|
37
38
|
import 'tailwind-styled-components';
|
|
38
39
|
import 'react-icons/pi';
|
|
39
40
|
import '@mantine/modals';
|
|
@@ -41,7 +42,6 @@ import 'next/image';
|
|
|
41
42
|
import 'next/link';
|
|
42
43
|
import 'react-icons/ai';
|
|
43
44
|
import 'next/head';
|
|
44
|
-
import 'jsonpath-plus';
|
|
45
45
|
import 'react-dom';
|
|
46
46
|
import 'lodash/uniq';
|
|
47
47
|
import 'lodash/sum';
|
package/dist/index.d.ts
CHANGED
|
@@ -600,10 +600,11 @@ interface EnumFacetData {
|
|
|
600
600
|
}
|
|
601
601
|
type ClearFacetHook = () => ClearFacetFunction;
|
|
602
602
|
type UpdateFacetFilterHook = () => UpdateFacetFilterFunction;
|
|
603
|
-
type GetFacetDataFunction = (field: string) => EnumFacetResponse | RangeFacetResponse;
|
|
604
603
|
type GetEnumFacetDataFunction = (field: string) => EnumFacetResponse;
|
|
605
604
|
type GetRangeFacetDataFunction = (field: string) => RangeFacetResponse;
|
|
606
605
|
type GetRangeFacetWithDefinedRangesDataFunction = (field: string, ranges: ReadonlyArray<NumericFromTo>) => RangeFacetResponse;
|
|
606
|
+
type FacetDataFunctionType = 'enum' | 'range' | 'rangeWithDefined';
|
|
607
|
+
type GetFacetDataFunction<T extends 'enum' | 'range' | 'rangeWithDefined' = any> = T extends 'enum' ? GetEnumFacetDataFunction : T extends 'range' ? GetRangeFacetDataFunction : T extends 'rangeWithDefined' ? GetRangeFacetWithDefinedRangesDataFunction : GetEnumFacetDataFunction | GetRangeFacetDataFunction | GetRangeFacetWithDefinedRangesDataFunction;
|
|
607
608
|
type FieldNameToTitleFunction = (field: string, sections?: number) => string;
|
|
608
609
|
type GetFacetCombineModeFunction = (field: string) => CombineMode;
|
|
609
610
|
type SetFacetCombineModeFunction = (field: string, combineMode: CombineMode) => void;
|
|
@@ -619,27 +620,20 @@ interface FacetCommonHooks {
|
|
|
619
620
|
useFilterExpanded?: (field: string) => boolean;
|
|
620
621
|
usePopulateFacetData?: (facets: FacetDefinition[], queryOptions?: QueryOptions) => void;
|
|
621
622
|
}
|
|
622
|
-
interface FacetDataHooks extends FacetCommonHooks {
|
|
623
|
+
interface FacetDataHooks<T extends FacetDataFunctionType> extends FacetCommonHooks {
|
|
623
624
|
useUpdateFacetFilters: UpdateFacetFilterHook;
|
|
624
625
|
useGetFacetFilters: SelectFacetFilterFunction;
|
|
625
|
-
useGetFacetData: GetFacetDataFunction
|
|
626
|
+
useGetFacetData: GetFacetDataFunction<T>;
|
|
626
627
|
useTotalCounts?: GetTotalCountsFunction;
|
|
627
628
|
}
|
|
628
|
-
|
|
629
|
+
type EnumFacetDataHooks = FacetDataHooks<'enum'> & {
|
|
629
630
|
useGetCombineMode: GetFacetCombineModeFunction;
|
|
630
631
|
useUpdateCombineMode: SetFacetCombineModeFunction;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
interface ToggleFacetDataHooks extends FacetCommonHooks {
|
|
637
|
-
useUpdateFacetFilters: UpdateFacetFilterHook;
|
|
638
|
-
useGetFacetData: GetFacetDataFunction;
|
|
639
|
-
useGetFacetFilters: SelectFacetFilterFunction;
|
|
640
|
-
useTotalCounts?: GetTotalCountsFunction;
|
|
641
|
-
}
|
|
642
|
-
interface UploadFacetDataHooks extends FacetCommonHooks {
|
|
632
|
+
updateVisibleValues?: EnumFacetDataChangedFunction;
|
|
633
|
+
};
|
|
634
|
+
type RangeFacetDataHooks = FacetDataHooks<'range'>;
|
|
635
|
+
type ToggleFacetDataHooks = FacetDataHooks<'enum'>;
|
|
636
|
+
type UploadFacetDataHooks = FacetDataHooks<'enum'> & {
|
|
643
637
|
/**
|
|
644
638
|
* Hook that returns a list of the uploaded items
|
|
645
639
|
*/
|
|
@@ -651,17 +645,6 @@ interface UploadFacetDataHooks extends FacetCommonHooks {
|
|
|
651
645
|
* Hook that return a function to open the upload modal
|
|
652
646
|
*/
|
|
653
647
|
useOpenUploadModal: () => (field: string) => void;
|
|
654
|
-
useUpdateFacetFilters: UpdateFacetFilterHook;
|
|
655
|
-
}
|
|
656
|
-
type AdvancedRangeFacetHooks = FacetCommonHooks & {
|
|
657
|
-
/**
|
|
658
|
-
* Hook that returns range values and counts
|
|
659
|
-
*/
|
|
660
|
-
useGetRangeFacetData: GetRangeFacetDataFunction;
|
|
661
|
-
/**
|
|
662
|
-
* Hook that returns the currently selected filters
|
|
663
|
-
*/
|
|
664
|
-
useGetFacetFilters: SelectFacetFilterFunction;
|
|
665
648
|
};
|
|
666
649
|
interface CustomFacetHooks {
|
|
667
650
|
/**
|
|
@@ -712,16 +695,7 @@ interface FieldToName {
|
|
|
712
695
|
readonly field: string;
|
|
713
696
|
readonly name: string;
|
|
714
697
|
}
|
|
715
|
-
type NumericRangeFacetHooks = FacetDataHooks
|
|
716
|
-
/**
|
|
717
|
-
* Hook that returns range values and counts
|
|
718
|
-
*/
|
|
719
|
-
useGetRangeFacetData: GetRangeFacetWithDefinedRangesDataFunction;
|
|
720
|
-
/**
|
|
721
|
-
* Hook that returns the currently selected filters
|
|
722
|
-
*/
|
|
723
|
-
useGetFacetFilters: SelectFacetFilterFunction;
|
|
724
|
-
};
|
|
698
|
+
type NumericRangeFacetHooks = FacetDataHooks<'rangeWithDefined'>;
|
|
725
699
|
type NumericFacetCardProps = FacetCardProps<NumericRangeFacetHooks> & {
|
|
726
700
|
readonly rangeDatatype?: string;
|
|
727
701
|
readonly minimum: number | undefined;
|
|
@@ -768,6 +742,7 @@ interface EnumChartProps {
|
|
|
768
742
|
readonly height: number;
|
|
769
743
|
readonly valueLabel?: string;
|
|
770
744
|
}
|
|
745
|
+
type FacetHooks = FacetDataHooks<'enum' | 'range' | 'rangeWithDefined'> | EnumFacetDataHooks | UploadFacetDataHooks;
|
|
771
746
|
|
|
772
747
|
type RendererFunction<T> = (props: T, ...params: any[]) => ReactNode;
|
|
773
748
|
interface RendererFunctionCatalogEntry<T> {
|
|
@@ -1241,6 +1216,7 @@ declare const getAllFieldsFromFilterConfigs: (filterTabConfigs: ReadonlyArray<Ta
|
|
|
1241
1216
|
declare const getByPath: (obj: unknown, path: string) => any;
|
|
1242
1217
|
declare const processBucketData: (data?: HistogramDataArray) => Record<string, number>;
|
|
1243
1218
|
declare const processRangeData: (data?: HistogramDataArray) => Record<string, number>;
|
|
1219
|
+
declare const processDefinedRangeData: (data: Record<string, any>, ranges: ReadonlyArray<NumericFromTo>, field: string, index: string, indexPrefix?: string) => Record<string, number>;
|
|
1244
1220
|
/**
|
|
1245
1221
|
* Update the facet filter for an enumeration facet
|
|
1246
1222
|
* @param fieldName - the name of the field
|
|
@@ -1345,6 +1321,7 @@ interface RangeBucketElement {
|
|
|
1345
1321
|
readonly from: number;
|
|
1346
1322
|
readonly to: number;
|
|
1347
1323
|
readonly key: string;
|
|
1324
|
+
readonly queryKey: string;
|
|
1348
1325
|
readonly label: string;
|
|
1349
1326
|
readonly valueLabel?: string;
|
|
1350
1327
|
readonly value?: number;
|
|
@@ -1357,7 +1334,7 @@ interface FacetPanelProps<T extends FacetType = FacetType> {
|
|
|
1357
1334
|
filters: TabsConfig;
|
|
1358
1335
|
tabTitle: string;
|
|
1359
1336
|
facetDefinitions: Record<string, FacetDefinition>;
|
|
1360
|
-
facetDataHooks: Record<T,
|
|
1337
|
+
facetDataHooks: Record<T, FacetHooks>;
|
|
1361
1338
|
onAccessChange?: (value: Accessibility) => void;
|
|
1362
1339
|
accessLevel?: Accessibility;
|
|
1363
1340
|
showAccessLevel?: boolean;
|
|
@@ -1375,13 +1352,10 @@ declare const DropdownPanel: <T extends FacetType = FacetType>({ filters, tabTit
|
|
|
1375
1352
|
declare const TabbedPanel: ({ filters, tabTitle, facetDefinitions, facetDataHooks, }: TabbablePanelProps) => react_jsx_runtime.JSX.Element;
|
|
1376
1353
|
//# sourceMappingURL=TabbedPanel.d.ts.map
|
|
1377
1354
|
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
updateVisibleValues?: EnumFacetDataChangedFunction;
|
|
1381
|
-
}
|
|
1382
|
-
declare const EnumFacet: ({ field, hooks, valueLabel, description, facetName, showPercent, hideIfEmpty, showSearch, showFlip, showSettings, startShowingData, dismissCallback, width, sharedWithIndices, moveValuesToBottom, excludeValues, header, }: FacetCardProps<EnumFacetHooks>) => react_jsx_runtime.JSX.Element;
|
|
1355
|
+
declare const EnumFacet: ({ field, hooks, valueLabel, description, facetName, showPercent, hideIfEmpty, showSearch, showFlip, showSettings, startShowingData, dismissCallback, width, sharedWithIndices, moveValuesToBottom, excludeValues, header, }: FacetCardProps<EnumFacetDataHooks>) => react_jsx_runtime.JSX.Element;
|
|
1356
|
+
//# sourceMappingURL=EnumFacet.d.ts.map
|
|
1383
1357
|
|
|
1384
|
-
type ExactValueProps$1 = Omit<FacetCardProps<
|
|
1358
|
+
type ExactValueProps$1 = Omit<FacetCardProps<FacetHooks>, 'showSearch' | 'showFlip' | 'showPercent' | 'valueLabel'>;
|
|
1385
1359
|
/**
|
|
1386
1360
|
* Exact value facet component
|
|
1387
1361
|
* @param field - field to facet on
|
|
@@ -1402,7 +1376,7 @@ interface RangeFacetCardProps extends FacetCardProps<RangeFacetDataHooks> {
|
|
|
1402
1376
|
}
|
|
1403
1377
|
declare const RangeFacet: ({ field, hooks, valueLabel, description, facetName, minimum, maximum, showSearch, showFlip, showSettings, dismissCallback, width, header, }: RangeFacetCardProps) => react_jsx_runtime.JSX.Element;
|
|
1404
1378
|
|
|
1405
|
-
type ExactValueProps = Omit<FacetCardProps<FacetDataHooks
|
|
1379
|
+
type ExactValueProps = Omit<FacetCardProps<FacetDataHooks<'enum'>>, 'showSearch' | 'showFlip' | 'showPercent' | 'valueLabel'>;
|
|
1406
1380
|
/**
|
|
1407
1381
|
* Exact value facet component
|
|
1408
1382
|
* @param field - field to facet on
|
|
@@ -1420,7 +1394,7 @@ declare const MultiSelectValueFacet: React__default.FC<ExactValueProps>;
|
|
|
1420
1394
|
type FacetTabProps = {
|
|
1421
1395
|
readonly activeTab: string | null | undefined;
|
|
1422
1396
|
readonly setActiveTab: (tab: string | null) => void;
|
|
1423
|
-
hooks: Record<FacetType,
|
|
1397
|
+
hooks: Record<FacetType, FacetHooks>;
|
|
1424
1398
|
readonly facetDefinitions: Record<string, FacetDefinition>;
|
|
1425
1399
|
readonly tabsConfig: Record<string, CohortBuilderCategoryConfig>;
|
|
1426
1400
|
readonly usedFacets: string[];
|
|
@@ -1515,7 +1489,7 @@ interface FacetExpanderProps {
|
|
|
1515
1489
|
declare const FacetExpander: React__default.FC<FacetExpanderProps>;
|
|
1516
1490
|
|
|
1517
1491
|
interface FiltersPanelProps<T extends FacetType = FacetType> {
|
|
1518
|
-
dataFunctions: Record<T,
|
|
1492
|
+
dataFunctions: Record<T, FacetHooks>;
|
|
1519
1493
|
fields: ReadonlyArray<FacetDefinition>;
|
|
1520
1494
|
valueLabel: string;
|
|
1521
1495
|
}
|
|
@@ -1916,6 +1890,7 @@ interface CohortBuilderTabCategoryConfig {
|
|
|
1916
1890
|
readonly indexType: string;
|
|
1917
1891
|
};
|
|
1918
1892
|
readonly facets: ReadonlyArray<string>;
|
|
1893
|
+
readonly fieldsConfig?: Record<string, FacetDefinition>;
|
|
1919
1894
|
}
|
|
1920
1895
|
type TabbedCohortBuilderFacetConfig = Record<string, CohortBuilderTabCategoryConfig>;
|
|
1921
1896
|
interface TabbedCohortBuilderConfiguration {
|
|
@@ -2160,6 +2135,11 @@ interface StaticNotebookViewerProps {
|
|
|
2160
2135
|
}
|
|
2161
2136
|
declare const StaticNotebookIFrame: ({ notebook }: StaticNotebookViewerProps) => react_jsx_runtime.JSX.Element;
|
|
2162
2137
|
|
|
2138
|
+
interface ProfileProps {
|
|
2139
|
+
profileConfig: ProfileConfig;
|
|
2140
|
+
}
|
|
2141
|
+
declare const Profile: ({ profileConfig }: ProfileProps) => react_jsx_runtime.JSX.Element;
|
|
2142
|
+
|
|
2163
2143
|
/**
|
|
2164
2144
|
* Retrieves navigation page layout properties from configuration.
|
|
2165
2145
|
* Note: GEN3_COMMONS_NAME depends on siteConfig.json value in the data commons package
|
|
@@ -3042,5 +3022,5 @@ declare function export_default$1(req: NextApiRequest, res: NextApiResponse): Pr
|
|
|
3042
3022
|
|
|
3043
3023
|
declare function export_default(req: NextApiRequest, res: NextApiResponse): Promise<void>;
|
|
3044
3024
|
|
|
3045
|
-
export { AISearchPageGetServerSideProps, AccessLevel, AccordionPanel, ActionBar, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BAD_DATA_MESSAGE, Banner, BaseModal, CardContainer, Charts, CohortActionButton, CohortBuilder, CohortDropdownActionButton, CohortManager, CohortManagerAndExpression, CollapsableCharts, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, _default as ContentSource, CountsValue, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DAYS_IN_YEAR, DEFAULT_MAXIMUM, DEFAULT_MINIMUM, DEFAULT_VISIBLE_ITEMS, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DownloadButton, DownloadsPanel, DropdownButton, DropdownPanel, DropdownWithIcon, EmptyTableMessage, EnumFacet, EnumFacetChart, ErrorCard, ExactValueFacet, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTable, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FacetControlsHeader, FacetExpander, FacetSelector, FacetSortPanel, FacetTabs, FiltersPanel, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, HoverLink, IconButton, JSONObjectDownloadButton, LandingPage, LandingPageGetServerSideProps, LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MessageCard, MessagePage, MinutesToMilliseconds, MultiSelectValueFacet, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryExpression, QueryExpressionContext, QueryExpressionSection, QueryPage, QueryPageGetServerSideProps, RangeFacet, ReactECharts, Repository, RepositoryPage, RepositoryPageGetServerSideProps, ResourcesFilters, SPECIAL_CASE_FIELDS, SegmentedControl, SessionExpiredModal, SinglePageStudyDetailsPanel, StaticNotebookIFrame, StudyDetailsPanel, StudyGroup, StudyGroupPanel, StudyProvider, SubmissionPage, SubmissionPageGetServerSideProps, TabbedCohortBuilder, TabbedCohortBuilderPage, TabbedCohortBuilderPageGetServerSideProps, TabbedPanel, TableXPositionContext, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User$1 as User, WarningCard, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, accessibleFieldName, addIntersectionToIncludes, addUnion, export_default as analysisApiCohortDiscovery, capitalize, classifyFacets, compareKeysAscending, compareKeysDescending, computeRowSpan, convertMinutesToMilliseconds, convertPathsToTree, convertSecondsToMilliseconds, convertToStringArray, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, export_default$2 as credentialsLogin, export_default$1 as credentialsLogout, extractObjectKey, extractRangeValues, filterAggregationsDataKeys, focusStyles, getAllFieldsFromFilterConfigs, getByPath, getCurrentUnixTimestamp, getFormattedTimestamp, getHighResolutionTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isEnumFacetResponse, isHeaderMetadata, isPropertyKey, isTextTransform, isTimeGreaterThan, itemsInCart, mapFacetSortToSortType, measureExecutionTime, processBucketData, processLabel, processRangeData, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeIntersectionFromEnum, removeKey, removeUnion, resourcePathFromProjectID, export_default$3 as sessionLogout, handler as sessionToken, stripTrailingSlash, toCountsString, toDisplayName, truncateString, unixTimeToString, updateFacetEnum, useClearFilters, useDiscoveryContext, useExtractEnumFilterValues, useExtractRangeFilterValues, useFieldNameToTitle, useGetFacetFilters, useGuppyActionButton, useUpdateFilters, useUpdateFiltersFlat, userHasMethodForServiceOnResource, validateObjectHasRequiredFields };
|
|
3046
|
-
export type {
|
|
3025
|
+
export { AISearchPageGetServerSideProps, AccessLevel, AccordionPanel, ActionBar, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BAD_DATA_MESSAGE, Banner, BaseModal, CardContainer, Charts, CohortActionButton, CohortBuilder, CohortDropdownActionButton, CohortManager, CohortManagerAndExpression, CollapsableCharts, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, _default as ContentSource, CountsValue, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DAYS_IN_YEAR, DEFAULT_MAXIMUM, DEFAULT_MINIMUM, DEFAULT_VISIBLE_ITEMS, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DownloadButton, DownloadsPanel, DropdownButton, DropdownPanel, DropdownWithIcon, EmptyTableMessage, EnumFacet, EnumFacetChart, ErrorCard, ExactValueFacet, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTable, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FacetControlsHeader, FacetExpander, FacetSelector, FacetSortPanel, FacetTabs, FiltersPanel, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, HoverLink, IconButton, JSONObjectDownloadButton, LandingPage, LandingPageGetServerSideProps, LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MessageCard, MessagePage, MinutesToMilliseconds, MultiSelectValueFacet, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, Profile, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryExpression, QueryExpressionContext, QueryExpressionSection, QueryPage, QueryPageGetServerSideProps, RangeFacet, ReactECharts, Repository, RepositoryPage, RepositoryPageGetServerSideProps, ResourcesFilters, SPECIAL_CASE_FIELDS, SegmentedControl, SessionExpiredModal, SinglePageStudyDetailsPanel, StaticNotebookIFrame, StudyDetailsPanel, StudyGroup, StudyGroupPanel, StudyProvider, SubmissionPage, SubmissionPageGetServerSideProps, TabbedCohortBuilder, TabbedCohortBuilderPage, TabbedCohortBuilderPageGetServerSideProps, TabbedPanel, TableXPositionContext, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User$1 as User, WarningCard, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, accessibleFieldName, addIntersectionToIncludes, addUnion, export_default as analysisApiCohortDiscovery, capitalize, classifyFacets, compareKeysAscending, compareKeysDescending, computeRowSpan, convertMinutesToMilliseconds, convertPathsToTree, convertSecondsToMilliseconds, convertToStringArray, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, export_default$2 as credentialsLogin, export_default$1 as credentialsLogout, extractObjectKey, extractRangeValues, filterAggregationsDataKeys, focusStyles, getAllFieldsFromFilterConfigs, getByPath, getCurrentUnixTimestamp, getFormattedTimestamp, getHighResolutionTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isEnumFacetResponse, isHeaderMetadata, isPropertyKey, isTextTransform, isTimeGreaterThan, itemsInCart, mapFacetSortToSortType, measureExecutionTime, processBucketData, processDefinedRangeData, processLabel, processRangeData, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeIntersectionFromEnum, removeKey, removeUnion, resourcePathFromProjectID, export_default$3 as sessionLogout, handler as sessionToken, stripTrailingSlash, toCountsString, toDisplayName, truncateString, unixTimeToString, updateFacetEnum, useClearFilters, useDiscoveryContext, useExtractEnumFilterValues, useExtractRangeFilterValues, useFieldNameToTitle, useGetFacetFilters, useGuppyActionButton, useUpdateFilters, useUpdateFiltersFlat, userHasMethodForServiceOnResource, validateObjectHasRequiredFields };
|
|
3026
|
+
export type { AnalysisCenterSection, AnalysisCenterWithSectionsConfiguration, AnalysisPageLayoutProps, AnalysisToolConfiguration, AuthorizationValues, BannerLevelCategories, BannerProps, CellRenderFunctionProps, CellRendererFunctionProps, ChartProps, ClearFacetFunction, ClearFacetHook, ClearIndexedFacetFunction, CohortBuilderCategoryConfig, CohortBuilderConfiguration, CohortBuilderProps, CohortBuilderTabCategoryConfig, CohortPanelConfiguration, CollapsableChartsPanelConfiguration, ConfigVersionAndName, CustomFacetHooks, DataAuthorization, DataTypeConfigWithManifest, DiscoveryConfig, DownloadButtonConfig, DropdownsWithButtonsProps, EnumChartProps, EnumFacetData, EnumFacetDataChangedFunction, EnumFacetDataHooks, EnumFacetResponse, EnumOperandValue, ExplorerPageProps, FacetCardProps, FacetCommonHooks, FacetDataFunctionType, FacetDataHooks, FacetHooks, FacetRequiredHooks, FacetResponse, FacetSortType, FieldNameToTitleFunction, FieldToName, Fonts, FooterProps, FromToRange, FromToRangeValues, Gen3AppConfigData, GetEnumFacetDataFunction, GetFacetCombineModeFunction, GetFacetDataFunction, GetNumericRangeFacetDataFunction, GetRangeFacetDataFunction, GetRangeFacetWithDefinedRangesDataFunction, GetTotalCountsFunction, HeaderMetadata, HeaderProps, LoginConfig, ModalsConfig, NavPageLayoutProps, NavigationProps, NumericFacetCardProps, NumericFacetProps, NumericRangeFacetHooks, NumericUnits, ProfileConfig, QueryOptions, QueryPageLayoutProps, QueryProps, RangeBucketElement, RangeFacetDataHooks, RangeFacetResponse, RangeFromOp, RangeToOp, ReactEChartsProps, RegisteredIcons, RepositoryConfiguration, RowRenderFunctionParams, SelectFacetFilterFunction, SelectedFields$1 as SelectedFields, SessionConfiguration, SetFacetCombineModeFunction, SortBy, SortType, StudyDetailsField, StylingMergeMode, StylingOverride, StylingOverrideWithMergeControl, SummaryChart, SummaryTable, TabConfig, TabbedCohortBuilderConfiguration, TabbedCohortBuilderFacetConfig, TableDetailsPanelProps, TabsConfig, TagData, TagsConfig, TenStringArray, TitleAndDescription, ToggleFacetDataHooks, TopBarProps, TopIconButtonPropsWithLink, UpdateFacetFilterFunction, UpdateFacetFilterHook, UploadFacetDataHooks, UserAuthMapping, WorkspaceConfig };
|