@nfdi4plants/swate-components
Version:
Customizable React components for ontology annotation, based on Swate and the ARC.
37 lines • 3.44 kB
TypeScript
import { int32 } from '@fable-org/fable-library-js/Int32.js';
import { Option } from '@fable-org/fable-library-js/Option.js';
import { IEnumerator, IEquatable, IMap } from '@fable-org/fable-library-js/Util.js';
import { FsRow } from '../../FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js';
import { RowElement_$union } from '../../FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js';
import { FSharpList } from '@fable-org/fable-library-js/List.js';
import { FsWorksheet } from '../../FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js';
import { Record } from '@fable-org/fable-library-js/Types.js';
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
import { Comment$, Remark } from '../../ARCtrl.Core.3.0.0-beta.12/Comment.fs.js';
export declare function SparseRowModule_fromValues(v: Iterable<string>): Iterable<[int32, string]>;
export declare function SparseRowModule_getValues(i: Iterable<[int32, string]>): Iterable<string>;
export declare function SparseRowModule_fromAllValues(v: Iterable<Option<string>>): Iterable<[int32, string]>;
export declare function SparseRowModule_getAllValues(i: Iterable<[int32, string]>): Iterable<Option<string>>;
export declare function SparseRowModule_fromFsRow(r: FsRow): Iterable<[int32, string]>;
export declare function SparseRowModule_tryGetValueAt(i: int32, vs: Iterable<[int32, string]>): Option<string>;
export declare function SparseRowModule_toDSLRow(vs: Iterable<[int32, string]>): FSharpList<RowElement_$union>;
export declare function SparseRowModule_readFromSheet(sheet: FsWorksheet): Iterable<Iterable<[int32, string]>>;
export declare function SparseRowModule_writeToSheet(rowI: int32, row: Iterable<[int32, string]>, sheet: FsWorksheet): void;
export declare class SparseTable extends Record implements IEquatable<SparseTable> {
readonly Matrix: IMap<[string, int32], string>;
readonly Keys: FSharpList<string>;
readonly CommentKeys: FSharpList<string>;
readonly ColumnCount: int32;
constructor(Matrix: IMap<[string, int32], string>, Keys: FSharpList<string>, CommentKeys: FSharpList<string>, ColumnCount: int32);
}
export declare function SparseTable_$reflection(): TypeInfo;
export declare function SparseTable__TryGetValue_11FD62A8(this$: SparseTable, key: [string, int32]): Option<string>;
export declare function SparseTable__TryGetValueDefault_5BAE6133(this$: SparseTable, defaultValue: string, key: [string, int32]): string;
export declare function SparseTable_Create_Z2192E64B(matrix?: IMap<[string, int32], string>, keys?: FSharpList<string>, commentKeys?: FSharpList<string>, length?: int32): SparseTable;
export declare function SparseTable_AddRow(key: string, values: Iterable<[int32, string]>, matrix: SparseTable): SparseTable;
export declare function SparseTable_AddEmptyComment(key: string, matrix: SparseTable): SparseTable;
export declare function SparseTable_AddComment(key: string, values: Iterable<[int32, string]>, matrix: SparseTable): SparseTable;
export declare function SparseTable_FromRows_Z5579EC29(en: IEnumerator<Iterable<[int32, string]>>, labels: FSharpList<string>, lineNumber: int32, prefix?: string): [Option<string>, int32, FSharpList<Remark>, SparseTable];
export declare function SparseTable_ToRows_759CAFC1(matrix: SparseTable, prefix?: string): Iterable<Iterable<[int32, string]>>;
export declare function SparseTable_GetEmptyComments_3ECCA699(matrix: SparseTable): Comment$[];
//# sourceMappingURL=SparseTable.fs.d.ts.map