@gen3/frontend 0.12.25 → 0.12.26
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/LICENSE +201 -0
- package/dist/dts/components/Providers/Gen3Provider.d.ts +8 -8
- package/dist/dts/components/Providers/Gen3Provider.js +15 -15
- package/dist/dts/components/Providers/Gen3Provider.js.map +1 -1
- package/dist/index/cjs/{QueryPanel-DvenBrOX.js → QueryPanel-DtGXgkF3.js} +2 -2
- package/dist/index/cjs/{QueryPanel-DvenBrOX.js.map → QueryPanel-DtGXgkF3.js.map} +1 -1
- package/dist/index/cjs/{index-BG8KSCB2.js → index-DGQTzaW9.js} +32 -32
- package/dist/index/{esm/index-pw60Ok9U.js.map → cjs/index-DGQTzaW9.js.map} +1 -1
- package/dist/index/cjs/index.js +1 -1
- package/dist/index/esm/{QueryPanel-Dn5Oze4R.js → QueryPanel-B_aXIbyc.js} +2 -2
- package/dist/index/esm/{QueryPanel-Dn5Oze4R.js.map → QueryPanel-B_aXIbyc.js.map} +1 -1
- package/dist/index/esm/{index-pw60Ok9U.js → index-5R7eYNoV.js} +32 -32
- package/dist/index/{cjs/index-BG8KSCB2.js.map → esm/index-5R7eYNoV.js.map} +1 -1
- package/dist/index/esm/index.js +1 -1
- package/dist/index.d.ts +8 -8
- package/package.json +3 -3
package/dist/index/cjs/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import { LoadingOverlay } from '@mantine/core';
|
|
5
5
|
|
|
6
6
|
// Wrapper function for displaying loading element before GqlQueryEditor renders
|
|
7
|
-
const GqlQueryEditor = dynamic(()=>import('./index-
|
|
7
|
+
const GqlQueryEditor = dynamic(()=>import('./index-5R7eYNoV.js').then(function (n) { return n.cG; }), {
|
|
8
8
|
loading: ()=>/*#__PURE__*/ jsx(LoadingOverlay, {
|
|
9
9
|
visible: true
|
|
10
10
|
}),
|
|
@@ -19,4 +19,4 @@ const QueryPanel = ({ graphQLEndpoint })=>{
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export { QueryPanel as default };
|
|
22
|
-
//# sourceMappingURL=QueryPanel-
|
|
22
|
+
//# sourceMappingURL=QueryPanel-B_aXIbyc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPanel-
|
|
1
|
+
{"version":3,"file":"QueryPanel-B_aXIbyc.js","sources":["../../../src/features/Query/QueryPanel.tsx"],"sourcesContent":["import dynamic from 'next/dynamic';\nimport React from 'react';\nimport { LoadingOverlay } from '@mantine/core';\n\n// Wrapper function for displaying loading element before GqlQueryEditor renders\nconst GqlQueryEditor = dynamic(() => import('./GqlQueryEditor'), {\n loading: () => <LoadingOverlay visible={true} />,\n ssr: false,\n});\n\ninterface QueryPanelProps {\n graphQLEndpoint?: string;\n title?: string;\n}\n\nconst QueryPanel = ({\n graphQLEndpoint,\n}: QueryPanelProps) => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return <GqlQueryEditor graphQLEndpoint={graphQLEndpoint} />;\n};\n\nexport default QueryPanel;\n"],"names":["GqlQueryEditor","dynamic","loading","_jsx","LoadingOverlay","visible","ssr","QueryPanel","graphQLEndpoint"],"mappings":";;;;;AAIA;AACA,MAAMA,cAAAA,GAAiBC,OAAAA,CAAQ,IAAM,OAAO,qBAAA,qCAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,GAAA,CAACC,cAAAA,EAAAA;YAAeC,OAAAA,EAAS;;IACxCC,GAAAA,EAAK;AACP,CAAA,CAAA;AAOA,MAAMC,UAAAA,GAAa,CAAC,EAClBC,eAAe,EACC,GAAA;;;AAGhB,IAAA,qBAAOL,GAAA,CAACH,cAAAA,EAAAA;QAAeQ,eAAAA,EAAiBA;;AAC1C;;;;"}
|
|
@@ -29800,43 +29800,43 @@ const createMantineTheme = (fonts, colors)=>{
|
|
|
29800
29800
|
icons
|
|
29801
29801
|
]);
|
|
29802
29802
|
return /*#__PURE__*/ jsx(CoreProvider, {
|
|
29803
|
-
children: /*#__PURE__*/
|
|
29804
|
-
|
|
29805
|
-
|
|
29806
|
-
|
|
29807
|
-
|
|
29808
|
-
|
|
29809
|
-
|
|
29810
|
-
|
|
29811
|
-
|
|
29812
|
-
|
|
29813
|
-
|
|
29814
|
-
|
|
29815
|
-
|
|
29816
|
-
|
|
29817
|
-
|
|
29818
|
-
|
|
29819
|
-
|
|
29820
|
-
|
|
29821
|
-
|
|
29822
|
-
|
|
29823
|
-
|
|
29824
|
-
|
|
29825
|
-
|
|
29826
|
-
|
|
29827
|
-
|
|
29803
|
+
children: /*#__PURE__*/ jsx(CookiesProvider, {
|
|
29804
|
+
children: /*#__PURE__*/ jsxs(ModalsProvider, {
|
|
29805
|
+
modals: {
|
|
29806
|
+
...contextModals,
|
|
29807
|
+
...gen3Modals
|
|
29808
|
+
},
|
|
29809
|
+
children: [
|
|
29810
|
+
/*#__PURE__*/ jsx(Notifications, {
|
|
29811
|
+
position: defaultNotificationPosition
|
|
29812
|
+
}),
|
|
29813
|
+
/*#__PURE__*/ jsx(SessionProvider, {
|
|
29814
|
+
...sessionConfig,
|
|
29815
|
+
children: /*#__PURE__*/ jsx(ProtectedRoutesProvider, {
|
|
29816
|
+
config: protectedRoutesConfig ?? {
|
|
29817
|
+
routes: {
|
|
29818
|
+
'/DataLibrary': {
|
|
29819
|
+
loginRequired: true
|
|
29820
|
+
},
|
|
29821
|
+
'/Workspace': {
|
|
29822
|
+
loginRequired: true
|
|
29823
|
+
},
|
|
29824
|
+
'/Profile': {
|
|
29825
|
+
loginRequired: true
|
|
29826
|
+
},
|
|
29827
|
+
'*': {
|
|
29828
|
+
loginRequired: false
|
|
29829
|
+
}
|
|
29828
29830
|
}
|
|
29829
|
-
}
|
|
29830
|
-
},
|
|
29831
|
-
children: /*#__PURE__*/ jsx(CookiesProvider, {
|
|
29831
|
+
},
|
|
29832
29832
|
children: /*#__PURE__*/ jsx(Gen3ModalsProvider, {
|
|
29833
29833
|
config: modalsConfig,
|
|
29834
29834
|
children: children
|
|
29835
29835
|
})
|
|
29836
29836
|
})
|
|
29837
29837
|
})
|
|
29838
|
-
|
|
29839
|
-
|
|
29838
|
+
]
|
|
29839
|
+
})
|
|
29840
29840
|
})
|
|
29841
29841
|
});
|
|
29842
29842
|
};
|
|
@@ -29973,7 +29973,7 @@ const DiscoveryPageGetServerSideProps = async ()=>{
|
|
|
29973
29973
|
}
|
|
29974
29974
|
};
|
|
29975
29975
|
|
|
29976
|
-
const QueryPanel = dynamic(()=>import('./QueryPanel-
|
|
29976
|
+
const QueryPanel = dynamic(()=>import('./QueryPanel-B_aXIbyc.js'), {
|
|
29977
29977
|
ssr: false
|
|
29978
29978
|
});
|
|
29979
29979
|
const QueryPage = ({ headerProps, footerProps, queryProps })=>{
|
|
@@ -35651,4 +35651,4 @@ const DefaultAuthorizedRoutesConfig = {
|
|
|
35651
35651
|
};
|
|
35652
35652
|
|
|
35653
35653
|
export { DownloadButton as $, AISearchPageGetServerSideProps as A, BAD_DATA_MESSAGE as B, CardContainer as C, ColorThemePage as D, ColorThemePageGetServerSideProps as E, ContentSource as F, CountsValue as G, CreateCredentialsAPIKeyModal as H, CrosswalkPage as I, CrosswalkPageGetServerSideProps as J, Custom403Page as K, Custom404Page as L, DAYS_IN_YEAR as M, DEFAULT_MAXIMUM as N, DEFAULT_MINIMUM as O, DEFAULT_VISIBLE_ITEMS$2 as P, DictionaryPage as Q, DataLibraryPage as R, DataLibraryPageGetServerSideProps as S, DefaultAuthorizedRoutesConfig as T, DictionaryPageGetServerSideProps as U, DictionaryWithContext as V, DiscoveryCellRendererFactory as W, DiscoveryProvider as X, DiscoveryIndexPanel as Y, DiscoveryPage as Z, DiscoveryPageGetServerSideProps as _, AccessLevel as a, ReactECharts as a$, DownloadsPanel as a0, DropdownButton as a1, DropdownPanel as a2, DropdownWithIcon as a3, EmptyTableMessage as a4, EnumFacet as a5, EnumFacetChart as a6, ErrorCard as a7, ExactValueFacet as a8, ExplorerPage as a9, LoginPage as aA, LoginPageGetServerSideProps as aB, LoginPanel as aC, LoginProvidersPanel as aD, MessageCard as aE, MessagePage as aF, MetadataDictionary as aG, MinutesToMilliseconds as aH, MultiSelectValueFacet as aI, NavPageLayout as aJ, NavigationBar as aK, NavigationButton as aL, NoAccessModal as aM, NotebookLitePage as aN, NotebookLitePageGetStaticProps as aO, Profile as aP, ProfilePage as aQ, ProfilePageGetServerSideProps as aR, ProfileProvider as aS, ProtectedContent as aT, ProtectedContentUI as aU, QueryExpression as aV, QueryExpressionContext as aW, QueryExpressionSection as aX, QueryPage as aY, QueryPageGetServerSideProps as aZ, RangeFacet as a_, ExplorerPageGetServerSideProps as aa, ExplorerPageGetServerSidePropsForConfigId as ab, ExplorerTable as ac, ExplorerTableCellRendererFactory as ad, ExplorerTableDetailsPanelFactory as ae, FacetControlsHeader as af, FacetExpander as ag, FacetSelector as ah, FacetSortPanel as ai, FacetTabs as aj, FiltersPanel as ak, FirstTimeModal as al, Footer as am, Gen3Button as an, Gen3ButtonReverse as ao, Gen3Link as ap, Gen3ModalsProvider as aq, Gen3Provider as ar, GqlQueryEditor as as, Header$1 as at, HoverLink as au, IconButton as av, JSONObjectDownloadButton as aw, LandingPage as ax, LandingPageGetServerSideProps as ay, LoginButton$1 as az, AccordionPanel as b, isArrayOfString as b$, Repository as b0, RepositoryPage as b1, RepositoryPageGetServerSideProps as b2, ResourcesFilters as b3, SPECIAL_CASE_FIELDS as b4, SegmentedControl as b5, SessionExpiredModal as b6, SinglePageStudyDetailsPanel as b7, StaticNotebookIFrame as b8, StudyDetailsPanel as b9, classifyFacets as bA, compareKeysAscending as bB, compareKeysDescending as bC, computeRowSpan as bD, convertMinutesToMilliseconds as bE, convertPathsToTree as bF, convertSecondsToMilliseconds as bG, convertToStringArray as bH, createCSSVariables as bI, createLabelFromHistogramData as bJ, createMantineTheme as bK, credentialsLogin as bL, credentialsLogout as bM, extractObjectKey as bN, extractRangeValues$1 as bO, filterAggregationsDataKeys as bP, focusStyles as bQ, gen3Modals as bR, getAllFieldsFromFilterConfigs as bS, getByPath as bT, getCurrentUnixTimestamp as bU, getFormattedTimestamp$1 as bV, getHighResolutionTimestamp as bW, getNavPageLayoutPropsFromConfig as bX, getParamsValueAsString as bY, getTagInfo as bZ, hasOwnProperty as b_, StudyGroup as ba, StudyGroupPanel as bb, StudyProvider as bc, SubmissionPage as bd, SubmissionPageGetServerSideProps as be, TabbedCohortBuilder as bf, TabbedCohortBuilderPage as bg, TabbedCohortBuilderPageGetServerSideProps as bh, TabbedPanel as bi, TableXPositionContext as bj, TagCloud as bk, TailwindConfig as bl, TopBar as bm, UploadJSONButton as bn, User as bo, WarningCard as bp, Workspace as bq, WorkspaceNoAccessPage as br, WorkspaceNoAccessPageServerSideProps as bs, WorkspacePage as bt, WorkspacePageGetServerSideProps as bu, accessibleFieldName as bv, addIntersectionToIncludes as bw, addUnion as bx, analysisApiCohortDiscovery as by, capitalize as bz, ActionBar as c, isEnumFacetResponse as c0, isHeaderMetadata as c1, isPropertyKey as c2, isTextTransform$1 as c3, isTimeGreaterThan as c4, itemsInCart as c5, mapFacetSortToSortType as c6, measureExecutionTime as c7, processBucketData as c8, processDefinedRangeData as c9, useGetFacetFilters$1 as cA, useGuppyActionButton as cB, useUpdateFilters$1 as cC, useUpdateFiltersFlat as cD, userHasMethodForServiceOnResource$1 as cE, validateObjectHasRequiredFields as cF, GqlQueryEditor$1 as cG, processLabel$1 as ca, processRangeData as cb, processRangeKeyLabel as cc, registerCohortBuilderDefaultPreviewRenderers as cd, registerCohortDiscoveryApp as ce, registerCohortSimilarityApp as cf, registerDefaultDiscoveryDataLoaders as cg, registerDiscoveryDefaultCellRenderers as ch, registerExplorerDefaultCellRenderers as ci, registerMetadataSchemaApp as cj, removeIntersectionFromEnum as ck, removeKey$1 as cl, removeUnion as cm, resourcePathFromProjectID as cn, sessionLogout as co, handler as cp, stripTrailingSlash as cq, toDisplayName$1 as cr, truncateString as cs, unixTimeToString as ct, updateFacetEnum as cu, useClearFilters$1 as cv, useDiscoveryContext as cw, useExtractEnumFilterValues as cx, useExtractRangeFilterValues as cy, useFieldNameToLabel as cz, ActionButton as d, AdminAuthZPageGetServerSideProps as e, AiSearch as f, AISearchPage as g, AnalysisCenter as h, AnalysisCenterWithSections as i, AnalysisEditorPage as j, AnalysisEditorPageGetServerSideProps as k, AnalysisPage as l, AnalysisPageGetServerSideProps as m, AuthzPage as n, Banner as o, BaseModal as p, Charts as q, ClinicalDataAnalysisPage as r, ClinicalDataAnalysisServerSideProps as s, CohortActionButton as t, CohortBuilder$1 as u, CohortDropdownActionButton as v, CohortManager$1 as w, CohortManagerAndExpression as x, CollapsableCharts as y, CollapsableSidebar as z };
|
|
35654
|
-
//# sourceMappingURL=index-
|
|
35654
|
+
//# sourceMappingURL=index-5R7eYNoV.js.map
|