UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

96 lines (95 loc) 7.27 kB
/// <reference types="react" /> import 'regenerator-runtime/runtime'; import 'react-app-polyfill/ie11'; import 'react-app-polyfill/stable'; import { Facets } from './containers/Facets'; import MarkdownSynapse from './containers/MarkdownSynapse'; import QueryWrapper from './containers/QueryWrapper'; import StackedBarChart from './containers/StackedBarChart'; import HasAccess from './containers/HasAccess'; import SynapseTable from './containers/table/SynapseTable'; import Login from './containers/Login'; import EntityForm from './containers/EntityForm'; import SynapseFormWrapper from './containers/synapse_form_wrapper/SynapseFormWrapper'; import SynapseFormSubmissionsGrid from './containers/synapse_form_wrapper/SynapseFormSubmissionsGrid'; import CardContainerLogic from './containers/CardContainerLogic'; import ModalDownload from './containers/ModalDownload'; import DownloadListTable from './containers/download_list/DownloadListTable'; import RssFeedCards from './containers/RssFeedCards'; import SynapsePlot from './containers/widgets/SynapsePlot'; import UserCardListGroups from './containers/home_page/people/UserCardListGroups'; import RenderIfInView from './containers/RenderIfInView'; import ProgrammaticOptions from './containers/table/table-top/ProgrammaticOptions'; import UserProfileLinks from './containers/user_profile_links/UserProfileLinks'; import { useSynapseContext } from './utils/SynapseContext'; import './style/components/_spinner.scss'; import { SynapseConstants, SynapseClient } from './utils'; import ShowDownloadV2 from './containers/download_list_v2/ShowDownloadV2'; import FullWidthAlert from './containers/FullWidthAlert'; import Typography from './utils/typography/Typography'; declare const SynapseContext: { SynapseContextProvider: import("react").FunctionComponent<import("./utils/SynapseContext").SynapseContextProviderProps>; SynapseContextConsumer: import("react").Consumer<import("./utils/SynapseContext").SynapseContextType | undefined>; useSynapseContext: typeof useSynapseContext; }; declare const SynapseComponents: { Facets: typeof Facets; Login: typeof Login; CardContainer: (props: import("./containers/CardContainer").CardContainerProps) => JSX.Element; QueryWrapper: typeof QueryWrapper; StackedBarChart: typeof StackedBarChart; StandaloneQueryWrapper: import("react").FunctionComponent<import("./containers/table/StandaloneQueryWrapper").StandaloneQueryWrapperProps>; SynapseTable: typeof SynapseTable; CardContainerLogic: typeof CardContainerLogic; EntityForm: typeof EntityForm; UserCard: import("react").FunctionComponent<import("./containers/UserCard").UserCardProps>; QueryCount: import("react").FunctionComponent<import("./containers/QueryCount").QueryCountProps>; Markdown: typeof MarkdownSynapse; ModalDownload: typeof ModalDownload; SynapseFormWrapper: typeof SynapseFormWrapper; SynapseFormSubmissionsGrid: typeof SynapseFormSubmissionsGrid; HasAccess: typeof HasAccess; DownloadListTable: typeof DownloadListTable; ThemesPlot: import("react").FunctionComponent<import("./containers/widgets/themes-plot/ThemesPlot").ThemesPlotProps>; ShowDownload: import("react").ComponentClass<Pick<import("./containers/download_list/ShowDownload").ShowDownloadProps & import("react-router").RouteComponentProps<{}, import("react-router").StaticContext, unknown>, "to">, any> & import("react-router").WithRouterStatics<({ to }: import("./containers/download_list/ShowDownload").ShowDownloadProps & import("react-router").RouteComponentProps<{}, import("react-router").StaticContext, unknown>) => JSX.Element>; QueryWrapperPlotNav: import("react").FunctionComponent<import("./containers/query_wrapper_plot_nav/QueryWrapperPlotNav").QueryWrapperPlotNavProps>; ExternalFileHandleLink: (props: import("./containers/ExternalFileHandleLink").ExternalFileHandleLinkProps) => JSX.Element; Programs: import("react").FC<import("./containers/home_page/programs/Programs").ProgramsProps>; Goals: import("react").FC<import("./containers/home_page/goals/Goals").GoalsProps>; Resources: import("react").FC<import("./containers/home_page/resources/Resources").ResourcesProps>; UpsetPlot: import("react").FunctionComponent<import("./containers/UpsetPlot").UpsetPlotProps>; SynapsePlot: typeof SynapsePlot; RssFeedCards: typeof RssFeedCards; TableFeedCards: import("react").FunctionComponent<import("./containers/TableFeedCards").TableFeedCardsProps>; UserCardListRotate: import("react").FunctionComponent<import("./containers/UserCardListRotate").UserCardListRotateProps>; FeaturedDataTabs: import("react").FunctionComponent<import("./containers/home_page/featured-data/FeaturedDataTabs").FeaturedDataTabsProps>; UserCardListGroups: typeof UserCardListGroups; EvaluationCard: import("react").FunctionComponent<import("./containers/evaluation_queues/EvaluationCard").EvaluationCardProps>; EvaluationEditorPage: import("react").FunctionComponent<import("./containers/evaluation_queues/EvaluationEditorPage").EvaluationEditorPageProps>; AccountLevelBadge: import("react").FunctionComponent<import("./containers/AccountLevelBadge").AccountLevelBadgeProps>; RenderIfInView: typeof RenderIfInView; TermsAndConditions: import("react").FunctionComponent<import("./containers/TermsAndConditions").TermsAndConditionsProps>; PageProgress: import("react").FunctionComponent<import("./containers/PageProgress").PageProgressProps>; ProjectViewCarousel: import("react").FunctionComponent<import("./containers/home_page/project_view_carousel/ProjectViewCarousel").ProjectViewCarouselProps>; EntityFinder: import("react").FunctionComponent<import("./containers/entity_finder/EntityFinder").EntityFinderProps>; ExperimentalMode: import("react").FC<{}>; EntityBadgeIcons: (props: import("./containers/EntityBadgeIcons").EntityBadgeIconsProps) => JSX.Element; DownloadCartPage: import("react").FunctionComponent<import("./containers/download_list_v2/DownloadCartPage").DownloadCartPageProps>; ShowDownloadV2: typeof ShowDownloadV2; FullWidthAlert: typeof FullWidthAlert; ProgrammaticOptions: typeof ProgrammaticOptions; SynapseToastContainer: import("react").FunctionComponent<{}>; displayToast: (message: string, variant?: "success" | "info" | "warning" | "danger" | undefined, toastMessageOptions?: { title?: string | undefined; autoCloseInMs?: number | undefined; primaryButtonText?: string | undefined; onPrimaryButtonClick?: (() => void) | undefined; secondaryButtonText?: string | undefined; secondaryButtonHref?: string | undefined; } | undefined) => void; UserProfileLinks: typeof UserProfileLinks; MarkdownPopover: import("react").FunctionComponent<import("./containers/MarkdownPopover").MarkdownPopoverProps>; FeaturedToolsList: import("react").FunctionComponent<import("./containers/home_page/featured_tools/FeaturedToolsList").FeaturedToolsListProps>; SubsectionRowRenderer: import("react").FunctionComponent<import("./containers/SubsectionRowRenderer").SubsectionRowRendererProps>; }; export { SynapseClient, SynapseConstants, SynapseComponents, SynapseContext, Typography };