UNPKG

@kit-data-manager/pid-component

Version:

The PID-Component is a web component that can be used to evaluate and display FAIR Digital Objects, PIDs, ORCiDs, and possibly other identifiers in a user-friendly way. It is easily extensible to support other identifier types.

18 lines (17 loc) 571 B
import { Creator } from './DataCite/DataCiteInfo'; export declare enum CitationStyle { APA = "APA", CHICAGO = "Chicago", IEEE = "IEEE", HARVARD = "Harvard", ANGLIA_RUSKIN = "Anglia Ruskin" } export declare function formatCitationPreview(title: string, creators: Creator[], year?: string, style?: CitationStyle): { citation: string; tooltip: string; }; export declare function getDefaultCitationStyle(): CitationStyle; export declare function getCitationStyleFromSettings(settings?: { name: string; value: unknown; }[]): CitationStyle;