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.

28 lines (27 loc) 851 B
import { FunctionalComponent } from '../stencil-public-runtime'; import { FoldableItem } from './FoldableItem'; import { FoldableAction } from './FoldableAction'; export declare abstract class GenericIdentifierType { private readonly _value; constructor(value: string); private _settings; get settings(): { name: string; value: any; }[]; set settings(value: { name: string; value: any; }[]); private _items; get items(): FoldableItem[]; private _actions; get actions(): FoldableAction[]; get value(): string; get data(): any; abstract init(data?: any): Promise<void>; abstract hasCorrectFormat(): boolean; abstract getSettingsKey(): string; abstract renderPreview(): FunctionalComponent<any>; renderBody(): FunctionalComponent<any> | undefined; }