@ts4nfdi/terminology-service-suite 7.3.0 → 7.4.1

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.
Files changed (51) hide show
  1. package/dist/app/types.d.ts +68 -0
  2. package/dist/app/widgetDescriptions.d.ts +1 -0
  3. package/dist/components/helperComponents/OntologyBadge.d.ts +1 -2
  4. package/dist/components/widgets/AutocompleteWidget/AutocompleteWidget.d.ts +2 -2
  5. package/dist/components/widgets/DataContentWidget/DataContentWidget.d.ts +2 -2
  6. package/dist/components/widgets/DataContentWidget/DataContentWidget.stories.d.ts +1 -1
  7. package/dist/components/widgets/DataContentWidget/DataContentWidgetStories.d.ts +1 -1
  8. package/dist/components/widgets/EntityInfoWidget/EntityInfoWidget.d.ts +2 -2
  9. package/dist/components/widgets/EntityListWidget/EntityListWidget.d.ts +2 -2
  10. package/dist/components/widgets/EntityProviderWidget/EntityProviderWidget.stories.d.ts +61 -0
  11. package/dist/components/widgets/EntityProviderWidget/EntityProviderWidgetStories.d.ts +70 -0
  12. package/dist/components/widgets/EntityProviderWidget/getEntityProvider.d.ts +60 -0
  13. package/dist/components/widgets/EntityProviderWidget/index.d.ts +3 -0
  14. package/dist/components/widgets/EntityProviderWidget/useEntityProvider.d.ts +21 -0
  15. package/dist/components/widgets/EntityRelationsWidget/EntityRelationsWidget.d.ts +2 -2
  16. package/dist/components/widgets/GraphViewWidget/GraphViewWidget.d.ts +2 -2
  17. package/dist/components/widgets/GraphViewWidget/GraphViewWidget.stories.d.ts +1 -1
  18. package/dist/components/widgets/GraphViewWidget/GraphViewWidgetStories.d.ts +1 -1
  19. package/dist/components/widgets/JsonApiWidget/JsonApiWidget.d.ts +2 -2
  20. package/dist/components/widgets/MappingListWidget/MappingListWidget.d.ts +2 -2
  21. package/dist/components/widgets/MetadataWidget/BreadcrumbWidget/BreadcrumbWidget.d.ts +2 -2
  22. package/dist/components/widgets/MetadataWidget/DescriptionWidget/DescriptionWidget.d.ts +2 -2
  23. package/dist/components/widgets/MetadataWidget/EntityDefinedByWidget/EntityDefinedByWidget.d.ts +2 -2
  24. package/dist/components/widgets/MetadataWidget/EntityOntoListWidget/EntityOntoListWidget.d.ts +2 -2
  25. package/dist/components/widgets/MetadataWidget/IriWidget/IriWidget.d.ts +2 -2
  26. package/dist/components/widgets/MetadataWidget/MathFormulaWidget/MathFormulaWidget.d.ts +2 -2
  27. package/dist/components/widgets/MetadataWidget/MetadataWidget.d.ts +2 -2
  28. package/dist/components/widgets/MetadataWidget/TabWidget/AlternativeNameTabWidget/AlternativeNameTabWidget.d.ts +2 -2
  29. package/dist/components/widgets/MetadataWidget/TabWidget/CrossRefWidget/CrossRefTabWidget.d.ts +2 -2
  30. package/dist/components/widgets/MetadataWidget/TabWidget/TabWidget.d.ts +2 -2
  31. package/dist/components/widgets/MetadataWidget/TitleWidget/TitleWidget.d.ts +2 -2
  32. package/dist/components/widgets/OntologyInfoWidget/OntologyInfoWidget.d.ts +2 -2
  33. package/dist/components/widgets/OntologyInfoWidget/OntologyInfoWidget.stories.d.ts +1 -1
  34. package/dist/components/widgets/OntologyInfoWidget/OntologyInfoWidgetStories.d.ts +1 -1
  35. package/dist/components/widgets/ResourcesWidget/ResourcesWidget.d.ts +2 -2
  36. package/dist/components/widgets/ResourcesWidget/ResourcesWidget.stories.d.ts +1 -1
  37. package/dist/components/widgets/ResourcesWidget/ResourcesWidgetStories.d.ts +1 -1
  38. package/dist/components/widgets/SearchBarWidget/SearchBarWidget.d.ts +2 -2
  39. package/dist/components/widgets/SearchResultsListWidget/MetadataCompact.d.ts +1 -1
  40. package/dist/components/widgets/SearchResultsListWidget/SearchResultsListWidget.stories.d.ts +1 -1
  41. package/dist/components/widgets/SearchResultsListWidget/SearchResultsListWidgetStories.d.ts +1 -1
  42. package/dist/components/widgets/TermDepictionWidget/TermDepictionWidget.d.ts +2 -2
  43. package/dist/components/widgets/TermDepictionWidget/TermDepictionWidget.stories.d.ts +1 -1
  44. package/dist/components/widgets/TermDepictionWidget/TermDepictionWidgetStories.d.ts +1 -1
  45. package/dist/components/widgets/index.d.ts +1 -0
  46. package/dist/esm/index.es.js +2913 -2815
  47. package/dist/esm/index.es.js.map +1 -1
  48. package/dist/server/index.es.js +33 -33
  49. package/dist/server/index.es.js.map +1 -1
  50. package/dist/stories/storyArgs.d.ts +1 -1
  51. package/package.json +1 -1
@@ -660,4 +660,72 @@ export type MappingListWidgetProps = {
660
660
  api: string;
661
661
  source: string;
662
662
  };
663
+ /**
664
+ * Information about the terminology backend that actually served an entity.
665
+ *
666
+ * The TS4NFDI API Gateway federates several terminology software stacks (OLS,
667
+ * OntoPortal, Skosmos) and reports the responsible one per entity in a
668
+ * `provider` block. Plain (non-gateway) OLS instances do not return it, in
669
+ * which case no provider can be resolved.
670
+ */
671
+ export type EntityProvider = {
672
+ /**
673
+ * Name of the providing terminology service, e.g. `"tib"`, `"agrovoc"`.
674
+ * Taken from `provider_name`.
675
+ */
676
+ name?: string;
677
+ /**
678
+ * Software stack behind the provider, e.g. `"ols2"`, `"ontoportal"`,
679
+ * `"skosmos"`. Taken from `provider_type`.
680
+ */
681
+ type?: string;
682
+ /**
683
+ * Base URL of the provider's own API, e.g.
684
+ * `"https://api.terminology.tib.eu/api"`. Taken from `provider_api`.
685
+ */
686
+ api?: string;
687
+ /**
688
+ * Id of the ontology this provider was reported for. Relevant when an IRI
689
+ * resolves in several ontologies, since each may have a different provider.
690
+ */
691
+ ontologyId?: string;
692
+ /**
693
+ * The unmodified `provider` block from the API response, so that fields
694
+ * added by future gateway versions stay accessible.
695
+ */
696
+ raw: Record<string, any>;
697
+ };
698
+ export type EntityProviderWidgetProps = ForcedIriObj & OptionalOntologyIdObj & {
699
+ /**
700
+ * The API instance for the API call. Defaults to the TS4NFDI API Gateway
701
+ * OLS endpoint, as the provider information is specific to the gateway.
702
+ */
703
+ api?: string;
704
+ /**
705
+ * If false, no request is made and the result stays empty. Useful to defer
706
+ * fetching until an IRI is known. Default is true.
707
+ */
708
+ enabled?: boolean;
709
+ };
710
+ export type UseEntityProviderResult = {
711
+ /**
712
+ * Provider of the entity in its defining ontology, or of the first
713
+ * occurrence if none is marked as defining. Undefined while loading, on
714
+ * error, or if the entity could not be resolved.
715
+ */
716
+ provider?: EntityProvider;
717
+ /**
718
+ * Providers of all ontologies the IRI resolves in. Contains at most one
719
+ * element if `ontologyId` was provided, and is empty if the entity could not
720
+ * be resolved.
721
+ */
722
+ providers: EntityProvider[];
723
+ isLoading: boolean;
724
+ isSuccess: boolean;
725
+ isError: boolean;
726
+ /**
727
+ * The error that made the request fail, if any.
728
+ */
729
+ error?: Error;
730
+ };
663
731
  export {};
@@ -24,3 +24,4 @@ export declare const SearchResultsListDescription: string;
24
24
  export declare const TermDepictionDescription: string;
25
25
  export declare const EntityListDescription: string;
26
26
  export declare const MappingListDetailDescription: string;
27
+ export declare const EntityProviderDescription: string;
@@ -1,3 +1,2 @@
1
- import { ReactElement } from 'react';
2
1
  import { OntologyBadgeProps } from '../../app';
3
- export default function OntologyBadge(props: OntologyBadgeProps): ReactElement;
2
+ export default function OntologyBadge(props: OntologyBadgeProps): React.JSX.Element;
@@ -14,6 +14,6 @@ export interface EntityValue {
14
14
  /**
15
15
  * A React component to provide Autosuggestion based on SemLookP.
16
16
  */
17
- declare function AutocompleteWidget(props: AutocompleteWidgetProps): JSX.Element;
18
- declare function WrappedAutocompleteWidget(props: AutocompleteWidgetProps): JSX.Element;
17
+ declare function AutocompleteWidget(props: AutocompleteWidgetProps): React.JSX.Element;
18
+ declare function WrappedAutocompleteWidget(props: AutocompleteWidgetProps): React.JSX.Element;
19
19
  export { AutocompleteWidget, WrappedAutocompleteWidget };
@@ -1,4 +1,4 @@
1
1
  import { DataContentWidgetProps } from '../../../app/types';
2
- declare function DataContentWidget(props: DataContentWidgetProps): import("react").JSX.Element;
3
- declare function WrappedDataContentWidget(props: DataContentWidgetProps): import("react").JSX.Element;
2
+ declare function DataContentWidget(props: DataContentWidgetProps): React.JSX.Element;
3
+ declare function WrappedDataContentWidget(props: DataContentWidgetProps): React.JSX.Element;
4
4
  export { DataContentWidget, WrappedDataContentWidget };
@@ -13,7 +13,7 @@ declare const meta: {
13
13
  };
14
14
  component: typeof DataContentWidget;
15
15
  argTypes: {
16
- [x: string]: import('storybook/internal/csf').InputType;
16
+ [x: string]: any;
17
17
  };
18
18
  args: {
19
19
  api: string;
@@ -1,5 +1,5 @@
1
1
  export declare const DataContentWidgetStoryArgTypes: {
2
- [x: string]: import('storybook/internal/csf').InputType;
2
+ [x: string]: any;
3
3
  };
4
4
  export declare const DataContentWidgetStoryArgs: {
5
5
  api: string;
@@ -1,4 +1,4 @@
1
1
  import { EntityInfoWidgetProps } from '../../../app';
2
- declare function EntityInfoWidget(props: EntityInfoWidgetProps): import("react").JSX.Element;
3
- declare function WrappedEntitiyInfoWidget(props: EntityInfoWidgetProps): import("react").JSX.Element;
2
+ declare function EntityInfoWidget(props: EntityInfoWidgetProps): React.JSX.Element;
3
+ declare function WrappedEntitiyInfoWidget(props: EntityInfoWidgetProps): React.JSX.Element;
4
4
  export { EntityInfoWidget, WrappedEntitiyInfoWidget };
@@ -1,5 +1,5 @@
1
1
  import { EntityListWidgetProps } from '../../../app';
2
- declare function EntityListWidget(props: EntityListWidgetProps): import("react").JSX.Element;
3
- export declare function WrappedEntityListWidget(props: EntityListWidgetProps): import("react").JSX.Element;
2
+ declare function EntityListWidget(props: EntityListWidgetProps): React.JSX.Element;
3
+ export declare function WrappedEntityListWidget(props: EntityListWidgetProps): React.JSX.Element;
4
4
  export { EntityListWidget };
5
5
  export default WrappedEntityListWidget;
@@ -0,0 +1,61 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ import { EntityProviderWidgetProps } from '../../../app/types';
3
+ /**
4
+ * The widget itself renders nothing - it is a hook. This demo exists only so
5
+ * that Storybook has something to show: it calls the hook and dumps the result.
6
+ * It is intentionally local to this file and not exported from the package.
7
+ */
8
+ declare function EntityProviderDemo(props: EntityProviderWidgetProps): React.JSX.Element;
9
+ declare const meta: {
10
+ title: string;
11
+ component: typeof EntityProviderDemo;
12
+ parameters: {
13
+ layout: string;
14
+ docs: {
15
+ description: {
16
+ component: string;
17
+ };
18
+ };
19
+ };
20
+ argTypes: {
21
+ api: any;
22
+ enabled: {
23
+ required: boolean;
24
+ description: string;
25
+ control: {
26
+ readonly type: "boolean";
27
+ };
28
+ table: {
29
+ defaultValue: {
30
+ summary: string;
31
+ };
32
+ type: {
33
+ summary: string;
34
+ };
35
+ };
36
+ };
37
+ ontologyId: {
38
+ required: boolean;
39
+ description: string;
40
+ table: {
41
+ defaultValue: {
42
+ summary: string;
43
+ };
44
+ type: {
45
+ summary: string;
46
+ };
47
+ };
48
+ };
49
+ };
50
+ args: {
51
+ readonly api: "https://terminology.services.base4nfdi.de/api-gateway/ols4/api/";
52
+ readonly iri: "";
53
+ readonly ontologyId: "";
54
+ readonly enabled: true;
55
+ };
56
+ };
57
+ export default meta;
58
+ type Story = StoryObj<typeof meta>;
59
+ export declare const withOntologyId: Story;
60
+ export declare const notFound: Story;
61
+ export declare const disabled: Story;
@@ -0,0 +1,70 @@
1
+ export declare const EntityProviderWidgetStoryArgTypes: {
2
+ api: any;
3
+ enabled: {
4
+ required: boolean;
5
+ description: string;
6
+ control: {
7
+ readonly type: "boolean";
8
+ };
9
+ table: {
10
+ defaultValue: {
11
+ summary: string;
12
+ };
13
+ type: {
14
+ summary: string;
15
+ };
16
+ };
17
+ };
18
+ ontologyId: {
19
+ required: boolean;
20
+ description: string;
21
+ table: {
22
+ defaultValue: {
23
+ summary: string;
24
+ };
25
+ type: {
26
+ summary: string;
27
+ };
28
+ };
29
+ };
30
+ };
31
+ export declare const EntityProviderWidgetStoryArgs: {
32
+ readonly api: "https://terminology.services.base4nfdi.de/api-gateway/ols4/api/";
33
+ readonly iri: "";
34
+ readonly ontologyId: "";
35
+ readonly enabled: true;
36
+ };
37
+ /**
38
+ * An entity that resolves in voc4cat via the TS4NFDI API Gateway. At the time of writing
39
+ * the gateway serves it through Skosmos, but which provider answers is a
40
+ * property of the API Gateway configuration and may change - the story renders
41
+ * whatever the API reports rather than asserting a specific provider.
42
+ */
43
+ export declare const withOntologyIdArgs: {
44
+ readonly api: "https://terminology.services.base4nfdi.de/api-gateway/ols4/api/";
45
+ readonly ontologyId: "voc4cat";
46
+ readonly iri: "https://w3id.org/nfdi4cat/voc4cat_0000151";
47
+ };
48
+ /**
49
+ * An IRI that does not exist in the requested ontology. The API answers with an
50
+ * empty `elements` array, which is not an error: `provider` stays undefined
51
+ * while `isSuccess` becomes true.
52
+ */
53
+ export declare const notFoundArgs: {
54
+ readonly api: "https://terminology.services.base4nfdi.de/api-gateway/ols4/api/";
55
+ readonly ontologyId: "voc4cat";
56
+ readonly iri: "http://purl.obolibrary.org/obo/NCIT_C2985";
57
+ };
58
+ /**
59
+ * Nothing is fetched while `enabled` is false, so the hook stays idle. Lets an
60
+ * application mount the hook before an IRI has been selected.
61
+ */
62
+ export declare const disabledArgs: {
63
+ readonly api: "https://terminology.services.base4nfdi.de/api-gateway/ols4/api/";
64
+ readonly ontologyId: "voc4cat";
65
+ readonly iri: "https://w3id.org/nfdi4cat/voc4cat_0000151";
66
+ readonly enabled: false;
67
+ };
68
+ export declare const commonEntityProviderWidgetPlay: ({ canvasElement, }: {
69
+ canvasElement: HTMLElement;
70
+ }) => Promise<void>;
@@ -0,0 +1,60 @@
1
+ import { EntityProvider, EntityProviderWidgetProps } from '../../../app/types';
2
+ export type GetEntityProviderParams = Omit<EntityProviderWidgetProps, "enabled">;
3
+ /**
4
+ * Maps the `provider` block of a single entity from an OLS4 `elements` array to
5
+ * an {@link EntityProvider}. Returns undefined if the entity carries no
6
+ * provider information, which is the case for every non-gateway OLS instance.
7
+ */
8
+ export declare function parseEntityProvider(element: any): EntityProvider | undefined;
9
+ /**
10
+ * Queries the `/entities` endpoint and returns the resolved entities together
11
+ * with their parsed providers, keeping both aligned so that the defining
12
+ * ontology can still be identified afterwards.
13
+ */
14
+ declare function fetchEntityProviders(params: GetEntityProviderParams, abortSignal?: AbortSignal): Promise<{
15
+ element: any;
16
+ provider: EntityProvider;
17
+ }[]>;
18
+ /**
19
+ * Returns the provider of the entity in its defining ontology, or the first one
20
+ * if no occurrence is marked as defining. Mirrors the preference rule of
21
+ * `getPreferredOntologyJSON` in `model/ols-model/ModelObjectCreator.ts`.
22
+ */
23
+ declare function pickPreferredProvider(entries: {
24
+ element: any;
25
+ provider: EntityProvider;
26
+ }[]): EntityProvider | undefined;
27
+ /**
28
+ * Fetches provider information for an entity from the `/entities` endpoint of an
29
+ * OLS4 API, without requiring React.
30
+ *
31
+ * As one IRI can resolve in several ontologies, each potentially served by a
32
+ * different provider, this returns one entry per ontology the IRI was found in.
33
+ * Providing an `ontologyId` restricts the result to that single ontology.
34
+ *
35
+ * Returns an empty array if the entity could not be resolved, or if the API
36
+ * reports no provider information (i.e. it is not the TS4NFDI API Gateway).
37
+ * Only genuine request failures reject.
38
+ *
39
+ * @example
40
+ * const providers = await getEntityProviders({
41
+ * ontologyId: "voc4cat",
42
+ * iri: "https://w3id.org/nfdi4cat/voc4cat_0000151",
43
+ * });
44
+ */
45
+ export declare function getEntityProviders(params: GetEntityProviderParams, abortSignal?: AbortSignal): Promise<EntityProvider[]>;
46
+ /**
47
+ * Convenience wrapper around {@link getEntityProviders} returning a single
48
+ * provider: the one of the defining ontology, or of the first occurrence if
49
+ * none is marked as defining. Undefined if the entity could not be resolved or
50
+ * carries no provider information.
51
+ *
52
+ * @example
53
+ * const provider = await getEntityProvider({
54
+ * ontologyId: "voc4cat",
55
+ * iri: "https://w3id.org/nfdi4cat/voc4cat_0000151",
56
+ * });
57
+ * console.log(provider?.name); // "tib"
58
+ */
59
+ export declare function getEntityProvider(params: GetEntityProviderParams, abortSignal?: AbortSignal): Promise<EntityProvider | undefined>;
60
+ export { fetchEntityProviders, pickPreferredProvider };
@@ -0,0 +1,3 @@
1
+ export { getEntityProvider, getEntityProviders, parseEntityProvider, } from './getEntityProvider';
2
+ export type { GetEntityProviderParams } from './getEntityProvider';
3
+ export { useEntityProvider } from './useEntityProvider';
@@ -0,0 +1,21 @@
1
+ import { EntityProviderWidgetProps, UseEntityProviderResult } from '../../../app';
2
+ /**
3
+ * React hook returning information about the terminology provider that specifies
4
+ * an entity, as reported by the `provider` block of the TS4NFDI API Gateway.
5
+ *
6
+ * Deliberately implemented without `react-query`, so that it can be dropped
7
+ * into any React application without having to mount a `QueryClientProvider`.
8
+ * In-flight requests are aborted when the inputs change or the component
9
+ * unmounts.
10
+ *
11
+ * Note that an entity which cannot be resolved is not an error: `provider` is
12
+ * then undefined, `providers` is empty, and `isSuccess` is true.
13
+ *
14
+ * @example
15
+ * const { provider, isLoading } = useEntityProvider({
16
+ * ontologyId: "voc4cat",
17
+ * iri: "https://w3id.org/nfdi4cat/voc4cat_0000151",
18
+ * });
19
+ * if (!isLoading) console.log(provider?.name);
20
+ */
21
+ export declare function useEntityProvider(props: EntityProviderWidgetProps): UseEntityProviderResult;
@@ -12,6 +12,6 @@ import { Thing } from '../../../model/interfaces';
12
12
  * @param onNavigates.onNavigateToDisambiguate function defining the action when clicking on a disambiguation badge
13
13
  */
14
14
  export declare function getSectionListJSX(parentEntity: Thing, array: any[], showBadges: boolean | undefined, onNavigates: OnNavigates): ReactElement;
15
- declare function EntityRelationsWidget(props: EntityRelationsWidgetProps): import("react").JSX.Element;
16
- declare function WrappedEntityRelationsWidget(props: EntityRelationsWidgetProps): import("react").JSX.Element;
15
+ declare function EntityRelationsWidget(props: EntityRelationsWidgetProps): React.JSX.Element;
16
+ declare function WrappedEntityRelationsWidget(props: EntityRelationsWidgetProps): React.JSX.Element;
17
17
  export { EntityRelationsWidget, WrappedEntityRelationsWidget };
@@ -1,4 +1,4 @@
1
1
  import { GraphViewWidgetProps } from '../../../app/types';
2
- declare function GraphViewWidget(props: GraphViewWidgetProps): import("react").JSX.Element;
3
- declare function WrappedGraphViewWidget(props: GraphViewWidgetProps): import("react").JSX.Element;
2
+ declare function GraphViewWidget(props: GraphViewWidgetProps): React.JSX.Element;
3
+ declare function WrappedGraphViewWidget(props: GraphViewWidgetProps): React.JSX.Element;
4
4
  export { GraphViewWidget, WrappedGraphViewWidget };
@@ -12,7 +12,7 @@ declare const meta: {
12
12
  };
13
13
  };
14
14
  argTypes: {
15
- [x: string]: import('storybook/internal/csf').InputType;
15
+ [x: string]: any;
16
16
  };
17
17
  args: {
18
18
  api: string;
@@ -1,5 +1,5 @@
1
1
  export declare const GraphViewWidgetStoryArgTypes: {
2
- [x: string]: import('storybook/internal/csf').InputType;
2
+ [x: string]: any;
3
3
  };
4
4
  export declare const GraphViewWidgetStoryArgs: {
5
5
  api: string;
@@ -1,4 +1,4 @@
1
1
  import { JsonApiWidgetProps } from '../../../app/types';
2
- declare function JsonApiWidget(props: JsonApiWidgetProps): import("react").JSX.Element;
3
- declare function WrappedJsonApiWidget(props: JsonApiWidgetProps): import("react").JSX.Element;
2
+ declare function JsonApiWidget(props: JsonApiWidgetProps): React.JSX.Element;
3
+ declare function WrappedJsonApiWidget(props: JsonApiWidgetProps): React.JSX.Element;
4
4
  export { JsonApiWidget, WrappedJsonApiWidget };
@@ -1,5 +1,5 @@
1
1
  import { MappingListWidgetProps } from '../../../app';
2
- declare function MappingListWidget(props: MappingListWidgetProps): import("react").JSX.Element;
3
- export declare function WrappedMappingListWidget(props: MappingListWidgetProps): import("react").JSX.Element;
2
+ declare function MappingListWidget(props: MappingListWidgetProps): React.JSX.Element;
3
+ export declare function WrappedMappingListWidget(props: MappingListWidgetProps): React.JSX.Element;
4
4
  export { MappingListWidget };
5
5
  export default WrappedMappingListWidget;
@@ -1,4 +1,4 @@
1
1
  import { BreadcrumbWidgetProps } from '../../../../app';
2
- declare function BreadcrumbWidget(props: BreadcrumbWidgetProps): import("react").JSX.Element;
3
- declare function WrappedBreadcrumbWidget(props: BreadcrumbWidgetProps): import("react").JSX.Element;
2
+ declare function BreadcrumbWidget(props: BreadcrumbWidgetProps): React.JSX.Element;
3
+ declare function WrappedBreadcrumbWidget(props: BreadcrumbWidgetProps): React.JSX.Element;
4
4
  export { BreadcrumbWidget, WrappedBreadcrumbWidget };
@@ -1,4 +1,4 @@
1
1
  import { DescriptionWidgetProps } from '../../../../app/types';
2
- declare function DescriptionWidget(props: DescriptionWidgetProps): import("react").JSX.Element;
3
- declare function WrappedDescriptionWidget(props: DescriptionWidgetProps): import("react").JSX.Element;
2
+ declare function DescriptionWidget(props: DescriptionWidgetProps): React.JSX.Element;
3
+ declare function WrappedDescriptionWidget(props: DescriptionWidgetProps): React.JSX.Element;
4
4
  export { DescriptionWidget, WrappedDescriptionWidget };
@@ -1,4 +1,4 @@
1
1
  import { EntityDefinedByWidgetProps } from '../../../../app/types';
2
- declare function EntityDefinedByWidget(props: EntityDefinedByWidgetProps): import("react").JSX.Element;
3
- declare function WrappedEntityDefinedByWidget(props: EntityDefinedByWidgetProps): import("react").JSX.Element;
2
+ declare function EntityDefinedByWidget(props: EntityDefinedByWidgetProps): React.JSX.Element;
3
+ declare function WrappedEntityDefinedByWidget(props: EntityDefinedByWidgetProps): React.JSX.Element;
4
4
  export { EntityDefinedByWidget, WrappedEntityDefinedByWidget };
@@ -1,4 +1,4 @@
1
1
  import { EntityOntoListWidgetProps } from '../../../../app/types';
2
- declare function EntityOntoListWidget(props: EntityOntoListWidgetProps): import("react").JSX.Element;
3
- declare function WrappedEntityOntoListWidget(props: EntityOntoListWidgetProps): import("react").JSX.Element;
2
+ declare function EntityOntoListWidget(props: EntityOntoListWidgetProps): React.JSX.Element;
3
+ declare function WrappedEntityOntoListWidget(props: EntityOntoListWidgetProps): React.JSX.Element;
4
4
  export { EntityOntoListWidget, WrappedEntityOntoListWidget };
@@ -1,4 +1,4 @@
1
1
  import { IriWidgetProps } from '../../../../app/types';
2
- declare function IriWidget(props: IriWidgetProps): import("react").JSX.Element;
3
- declare function WrappedIriWidget(props: IriWidgetProps): import("react").JSX.Element;
2
+ declare function IriWidget(props: IriWidgetProps): React.JSX.Element;
3
+ declare function WrappedIriWidget(props: IriWidgetProps): React.JSX.Element;
4
4
  export { IriWidget, WrappedIriWidget };
@@ -1,4 +1,4 @@
1
1
  import { MathFormulaWidgetProps } from '../../../../app';
2
- declare function MathFormulaWidget(props: MathFormulaWidgetProps): import("react").JSX.Element;
3
- declare function WrappedMathFormulaWidget(props: MathFormulaWidgetProps): import("react").JSX.Element;
2
+ declare function MathFormulaWidget(props: MathFormulaWidgetProps): React.JSX.Element;
3
+ declare function WrappedMathFormulaWidget(props: MathFormulaWidgetProps): React.JSX.Element;
4
4
  export { MathFormulaWidget, WrappedMathFormulaWidget };
@@ -1,4 +1,4 @@
1
1
  import { MetadataWidgetProps } from '../../../app';
2
- declare function MetadataWidget(props: MetadataWidgetProps): import("react").JSX.Element;
3
- declare function WrappedMetadataWidget(props: MetadataWidgetProps): import("react").JSX.Element;
2
+ declare function MetadataWidget(props: MetadataWidgetProps): React.JSX.Element;
3
+ declare function WrappedMetadataWidget(props: MetadataWidgetProps): React.JSX.Element;
4
4
  export { MetadataWidget, WrappedMetadataWidget };
@@ -1,4 +1,4 @@
1
1
  import { AlternativeNameTabWidgetProps } from '../../../../../app/types';
2
- declare function AlternativeNameTabWidget(props: AlternativeNameTabWidgetProps): import("react").JSX.Element;
3
- declare function WrappedAlternativeNameTabWidget(props: AlternativeNameTabWidgetProps): import("react").JSX.Element;
2
+ declare function AlternativeNameTabWidget(props: AlternativeNameTabWidgetProps): React.JSX.Element;
3
+ declare function WrappedAlternativeNameTabWidget(props: AlternativeNameTabWidgetProps): React.JSX.Element;
4
4
  export { AlternativeNameTabWidget, WrappedAlternativeNameTabWidget };
@@ -1,4 +1,4 @@
1
1
  import { CrossRefWidgetProps } from '../../../../../app/types';
2
- declare function CrossRefTabWidget(props: CrossRefWidgetProps): import("react").JSX.Element;
3
- declare function WrappedCrossRefTabWidget(props: CrossRefWidgetProps): import("react").JSX.Element;
2
+ declare function CrossRefTabWidget(props: CrossRefWidgetProps): React.JSX.Element;
3
+ declare function WrappedCrossRefTabWidget(props: CrossRefWidgetProps): React.JSX.Element;
4
4
  export { CrossRefTabWidget, WrappedCrossRefTabWidget };
@@ -1,4 +1,4 @@
1
1
  import { TabWidgetProps } from '../../../../app/types';
2
- declare function TabWidget(props: TabWidgetProps): import("react").JSX.Element;
3
- declare function WrappedTabWidget(props: TabWidgetProps): import("react").JSX.Element;
2
+ declare function TabWidget(props: TabWidgetProps): React.JSX.Element;
3
+ declare function WrappedTabWidget(props: TabWidgetProps): React.JSX.Element;
4
4
  export { TabWidget, WrappedTabWidget };
@@ -1,4 +1,4 @@
1
1
  import { TitleWidgetProps } from '../../../../app/types';
2
- declare function TitleWidget(props: TitleWidgetProps): import("react").JSX.Element;
3
- declare function WrappedTitleWidget(props: TitleWidgetProps): import("react").JSX.Element;
2
+ declare function TitleWidget(props: TitleWidgetProps): React.JSX.Element;
3
+ declare function WrappedTitleWidget(props: TitleWidgetProps): React.JSX.Element;
4
4
  export { TitleWidget, WrappedTitleWidget };
@@ -1,4 +1,4 @@
1
1
  import { OntologyInfoWidgetProps } from '../../../app';
2
- declare function OntologyInfoWidget(props: OntologyInfoWidgetProps): import("react").JSX.Element;
3
- declare function WrappedOntologyInfoWidget(props: OntologyInfoWidgetProps): import("react").JSX.Element;
2
+ declare function OntologyInfoWidget(props: OntologyInfoWidgetProps): React.JSX.Element;
3
+ declare function WrappedOntologyInfoWidget(props: OntologyInfoWidgetProps): React.JSX.Element;
4
4
  export { OntologyInfoWidget, WrappedOntologyInfoWidget };
@@ -16,7 +16,7 @@ declare const meta: {
16
16
  };
17
17
  };
18
18
  argTypes: {
19
- [x: string]: import('storybook/internal/csf').InputType;
19
+ [x: string]: any;
20
20
  };
21
21
  args: {
22
22
  api: string;
@@ -1,5 +1,5 @@
1
1
  export declare const OntologyInfoWidgetStoryArgTypes: {
2
- [x: string]: import('storybook/internal/csf').InputType;
2
+ [x: string]: any;
3
3
  };
4
4
  export declare const OntologyInfoWidgetStoryArgs: {
5
5
  api: string;
@@ -1,4 +1,4 @@
1
1
  import { ResourcesWidgetProps } from '../../../app';
2
- declare function ResourcesWidget(props: ResourcesWidgetProps): import("react").JSX.Element;
3
- declare function WrappedResourcesWidget(props: ResourcesWidgetProps): import("react").JSX.Element;
2
+ declare function ResourcesWidget(props: ResourcesWidgetProps): React.JSX.Element;
3
+ declare function WrappedResourcesWidget(props: ResourcesWidgetProps): React.JSX.Element;
4
4
  export { ResourcesWidget, WrappedResourcesWidget };
@@ -11,7 +11,7 @@ declare const meta: {
11
11
  };
12
12
  };
13
13
  argTypes: {
14
- [x: string]: import('storybook/internal/csf').InputType;
14
+ [x: string]: any;
15
15
  };
16
16
  args: {
17
17
  api: string;
@@ -1,6 +1,6 @@
1
1
  import { OlsResource } from '../../../app/types';
2
2
  export declare const ResourcesWidgetStoryArgTypes: {
3
- [x: string]: import('storybook/internal/csf').InputType;
3
+ [x: string]: any;
4
4
  };
5
5
  export declare const ResourcesWidgetStoryArgs: {
6
6
  api: string;
@@ -1,4 +1,4 @@
1
1
  import { SearchBarWidgetProps } from '../../../app/types';
2
- declare function SearchBarWidget(props: SearchBarWidgetProps): import("react").JSX.Element;
3
- declare function WrappedSearchBarWidget(props: SearchBarWidgetProps): import("react").JSX.Element;
2
+ declare function SearchBarWidget(props: SearchBarWidgetProps): React.JSX.Element;
3
+ declare function WrappedSearchBarWidget(props: SearchBarWidgetProps): React.JSX.Element;
4
4
  export { SearchBarWidget, WrappedSearchBarWidget };
@@ -1,3 +1,3 @@
1
1
  import { MetadataCompactProps } from '../../../app';
2
- declare function MetadataCompact(props: MetadataCompactProps): import("react").JSX.Element;
2
+ declare function MetadataCompact(props: MetadataCompactProps): React.JSX.Element;
3
3
  export { MetadataCompact };
@@ -11,7 +11,7 @@ declare const meta: {
11
11
  };
12
12
  };
13
13
  argTypes: {
14
- [x: string]: import('storybook/internal/csf').InputType;
14
+ [x: string]: any;
15
15
  };
16
16
  args: {
17
17
  api: string;
@@ -1,5 +1,5 @@
1
1
  export declare const SearchResultsListWidgetStoryArgTypes: {
2
- [x: string]: import('storybook/internal/csf').InputType;
2
+ [x: string]: any;
3
3
  };
4
4
  export declare const SearchResultsListWidgetStoryArgs: {
5
5
  api: string;
@@ -1,4 +1,4 @@
1
1
  import { TermDepictionWidgetProps } from '../../../app/types';
2
- declare function TermDepictionWidget(props: TermDepictionWidgetProps): import("react").JSX.Element;
3
- declare function WrappedTermDepictionWidget(props: TermDepictionWidgetProps): import("react").JSX.Element;
2
+ declare function TermDepictionWidget(props: TermDepictionWidgetProps): React.JSX.Element;
3
+ declare function WrappedTermDepictionWidget(props: TermDepictionWidgetProps): React.JSX.Element;
4
4
  export { TermDepictionWidget, WrappedTermDepictionWidget };
@@ -12,7 +12,7 @@ declare const meta: {
12
12
  };
13
13
  };
14
14
  argTypes: {
15
- [x: string]: import('storybook/internal/csf').InputType;
15
+ [x: string]: any;
16
16
  };
17
17
  args: {
18
18
  api: string;
@@ -1,5 +1,5 @@
1
1
  export declare const TermDepictionWidgetStoryArgTypes: {
2
- [x: string]: import('storybook/internal/csf').InputType;
2
+ [x: string]: any;
3
3
  };
4
4
  export declare const TermDepictionWidgetStoryArgs: {
5
5
  api: string;
@@ -2,6 +2,7 @@ export * from './AutocompleteWidget';
2
2
  export * from './DataContentWidget';
3
3
  export * from './EntityInfoWidget';
4
4
  export * from './EntityListWidget';
5
+ export * from './EntityProviderWidget';
5
6
  export * from './EntityRelationsWidget';
6
7
  export * from './GraphViewWidget';
7
8
  export * from './JsonApiWidget';