UNPKG

@nfdi4plants/swate-components

Version:

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

24 lines 1.82 kB
import { CompositeHeader_$union } from '../../ARCtrl.Core.3.0.0-beta.12/Table/CompositeHeader.fs.js'; import { CompositeCell_$union } from '../../ARCtrl.Core.3.0.0-beta.12/Table/CompositeCell.fs.js'; import { int32 } from '@fable-org/fable-library-js/Int32.js'; import { CompositeColumn } from '../../ARCtrl.Core.3.0.0-beta.12/Table/CompositeColumn.fs.js'; import { FsCell } from '../../FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js'; import { FsColumn } from '../../FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js'; import { FSharpList } from '@fable-org/fable-library-js/List.js'; import { IMap } from '@fable-org/fable-library-js/Util.js'; import { ColumnValueRefs_$union } from '../../ARCtrl.Core.3.0.0-beta.12/Table/ArcTableAux.fs.js'; /** * Checks if the column header is a deprecated IO Header. If so, fixes it. * * The old format of IO Headers was only the type of IO so, e.g. "Source Name" or "Raw Data File". * * A "Source Name" column will now be mapped to the propper "Input [Source Name]", and all other IO types will be mapped to "Output [<IO Type>]". */ export declare function fixDeprecatedIOHeader(stringCellCol: string[]): string[]; export declare function fromStringCellColumns(columns: string[][]): CompositeColumn; export declare function stringCellColumnsOfFsColumns(columns: FsColumn[]): string[][]; export declare function fromFsColumns(columns: FsColumn[]): CompositeColumn; export declare function toStringCellColumns(column: CompositeColumn): FSharpList<FSharpList<string>>; export declare function toFsColumns(column: CompositeColumn): FSharpList<FSharpList<FsCell>>; export declare function ColumnValueRefs_fromStringCellColumns(valueMap: IMap<int32, CompositeCell_$union>, columns: string[][]): [CompositeHeader_$union, ColumnValueRefs_$union]; //# sourceMappingURL=CompositeColumn.fs.d.ts.map