UNPKG

@nfdi4plants/swate-components

Version:

Customizable React components for ontology annotation, based on Swate and the ARC.

25 lines 1.96 kB
import { FSharpList } from '@fable-org/fable-library-js/List.js'; import { Person } from '../../ARCtrl.Core.3.0.0-beta.12/Person.fs.js'; import { Option } from '@fable-org/fable-library-js/Option.js'; import { Remark, Comment$ } from '../../ARCtrl.Core.3.0.0-beta.12/Comment.fs.js'; import { SparseTable } from './SparseTable.fs.js'; import { int32 } from '@fable-org/fable-library-js/Int32.js'; import { IEnumerator } from '@fable-org/fable-library-js/Util.js'; export declare const lastNameLabel = "Last Name"; export declare const firstNameLabel = "First Name"; export declare const midInitialsLabel = "Mid Initials"; export declare const emailLabel = "Email"; export declare const phoneLabel = "Phone"; export declare const faxLabel = "Fax"; export declare const addressLabel = "Address"; export declare const affiliationLabel = "Affiliation"; export declare const rolesLabel = "Roles"; export declare const rolesTermAccessionNumberLabel = "Roles Term Accession Number"; export declare const rolesTermSourceREFLabel = "Roles Term Source REF"; export declare const labels: FSharpList<string>; export declare function fromString(lastName: Option<string>, firstName: Option<string>, midInitials: Option<string>, email: Option<string>, phone: Option<string>, fax: Option<string>, address: Option<string>, affiliation: Option<string>, role: string, rolesTermAccessionNumber: string, rolesTermSourceREF: string, comments: Comment$[]): Person; export declare function fromSparseTable(matrix: SparseTable): FSharpList<Person>; export declare function toSparseTable(persons: FSharpList<Person>): SparseTable; export declare function fromRows(prefix: Option<string>, lineNumber: int32, rows: IEnumerator<Iterable<[int32, string]>>): [Option<string>, int32, FSharpList<Remark>, FSharpList<Person>]; export declare function toRows(prefix: Option<string>, persons: FSharpList<Person>): Iterable<Iterable<[int32, string]>>; //# sourceMappingURL=Contacts.fs.d.ts.map