@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.
29 lines (28 loc) • 993 B
TypeScript
import { FunctionalComponent } from '../../stencil-public-runtime';
import { GenericIdentifierType } from '../../utils/GenericIdentifierType';
export declare class ISBNType extends GenericIdentifierType {
private static readonly PREFIX_REGEX;
private static readonly NOISE_REGEX;
private static readonly ISBN10_FORMAT;
private static readonly ISBN13_FORMAT;
private normalizedIsbn;
private bookData;
get data(): string;
getSettingsKey(): string;
quickCheck(): boolean;
hasMeaningfulInformation(): Promise<boolean>;
init(data?: string): Promise<void>;
isResolvable(): boolean;
renderPreview(): FunctionalComponent;
renderBody(): FunctionalComponent | undefined;
private normalizeInput;
private isValid;
private isValidIsbn10;
private isValidIsbn13;
private hasUsefulBookMetadata;
private loadFromCache;
private populateItems;
private populateActions;
private extractSummary;
private extractText;
}