@nfdi4plants/arctrl 3.0.1 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/ts/CWL/Decode.d.ts +2 -2
- package/dist/ts/ts/CWL/Decode.js +2 -2
- package/dist/ts/ts/CWL/Encode.d.ts +1 -1
- package/dist/ts/ts/CWL/Encode.js +3 -3
- package/dist/ts/ts/CWL/Requirements.d.ts +1 -1
- package/dist/ts/ts/CWL/Requirements.js +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +1 -1
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Basic.js +6 -6
- package/dist/ts/ts/Conversion/Workflow.js +3 -3
- package/dist/ts/ts/Core/DataContext.d.ts +21 -29
- package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataContext.js +70 -84
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +9 -10
- package/dist/ts/ts/Json/Datamap/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/Datamap/DataContext.js +6 -6
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +1 -1
- package/dist/ts/ts/ROCrateIO.d.ts +1 -0
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +6 -3
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +1 -2
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +6 -7
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +2 -2
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +5 -5
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -5
- package/dist/ts/ts/Yaml.js +1 -1
- package/package.json +1 -1
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Decode.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Encode.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Escapes.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/FlowToBlock.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Interop/JsInterop.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Persil.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Preprocessing.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Reader.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Regex.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/RegexActivePatterns.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/StringBuffer.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Writer.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/YAMLiciousTypes.fs.js +0 -0
|
@@ -2,8 +2,8 @@ import { IMap } from '@fable-org/fable-library-js/Util.js';
|
|
|
2
2
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
3
3
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
4
4
|
import { FSharpList } from '@fable-org/fable-library-js/List.js';
|
|
5
|
-
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
6
|
-
import { IGetters } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
5
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
6
|
+
import { IGetters } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Decode.fs.js';
|
|
7
7
|
import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
8
8
|
import { SchemaDefRequirementType, SoftwarePackage, InputEnumSchema, InputRecordSchema, InputRecordField, InputArraySchema, CWLType_$union, SchemaSaladString_$union } from './CWLTypes.js';
|
|
9
9
|
import { CWLOutput, OutputBinding } from './Outputs.js';
|
package/dist/ts/ts/CWL/Decode.js
CHANGED
|
@@ -5,8 +5,8 @@ import { trimEnd, replace, join, trimStart, toText, interpolate, printf, substri
|
|
|
5
5
|
import { value, map as map$1, unwrap, defaultArg, some, bind } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
6
6
|
import { item } from '../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
7
7
|
import { choose, isEmpty, head, tail, iterate, map, empty, exists, tryPick, cons, singleton as singleton$1, ofArray, tryHead } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
8
|
-
import { YAMLElement_Mapping, YAMLElement_Sequence, YAMLElement_Object, YAMLContent_create_Z1C3A29C9, YAMLElement_Value } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
9
|
-
import { read, object, string, bool, resizearray, int } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
8
|
+
import { YAMLElement_Mapping, YAMLElement_Sequence, YAMLElement_Object, YAMLContent_create_Z1C3A29C9, YAMLElement_Value } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
9
|
+
import { read, object, string, bool, resizearray, int } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Decode.fs.js';
|
|
10
10
|
import { setProperty, setOptionalProperty } from '../fable_modules/DynamicObj.7.1.0/DynObj.fs.js';
|
|
11
11
|
import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
12
12
|
import { SchemaSaladString_Literal, SchemaSaladString_Import, SchemaSaladString_Include, SchemaSaladStringModule_toDirectiveString, CWLType_Dirent, DirentInstance, DirectoryInstance_$ctor, FileInstance_$ctor, CWLType_Null, CWLType_Stdout, CWLType_Boolean, CWLType_Double, CWLType_Float, CWLType_Long, CWLType_Int, CWLType_String, CWLType_Directory, CWLType_File, CWLType_Array, InputArraySchema, InputRecordField, InputRecordSchema, InputEnumSchema, CWLType_Union, CWLType_Record, CWLType_Enum, SoftwarePackage, SchemaDefRequirementType } from './CWLTypes.js';
|
|
@@ -2,7 +2,7 @@ import { FSharpChoice$2_$union } from '@fable-org/fable-library-js/Choice.js';
|
|
|
2
2
|
import { SchemaDefRequirementType, InputEnumSchema, InputRecordSchema, InputRecordField, SoftwarePackage, SchemaSaladString_$union, CWLType_$union, InputArraySchema } from './CWLTypes.js';
|
|
3
3
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
4
4
|
import { FSharpList } from '@fable-org/fable-library-js/List.js';
|
|
5
|
-
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
5
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
6
6
|
import { HintEntry_$union, Requirement_$union, EnvironmentDef } from './Requirements.js';
|
|
7
7
|
import { CWLOutput, OutputBinding } from './Outputs.js';
|
|
8
8
|
import { CWLInput, InputBinding } from './Inputs.js';
|
package/dist/ts/ts/CWL/Encode.js
CHANGED
|
@@ -2,14 +2,14 @@ import { FSharpChoice$2_Choice1Of2, FSharpChoice$2_Choice2Of2 } from '../../node
|
|
|
2
2
|
import { map, value, bind, filter } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
3
3
|
import { toList, map as map$2, choose as choose$1, fold, delay, append as append$1, singleton as singleton$1, empty as empty$1 } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
4
4
|
import { isEmpty, head, tail, map as map$1, singleton, ofArray, empty, append, ofSeq, choose, exists, cons, filter as filter$1, contains, tryFind, reverse, length } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
5
|
-
import { YAMLElement_Value, YAMLContent_create_Z1C3A29C9, YAMLElement_Object, YAMLElement_Mapping, ScalarStyle_Block, BlockScalarStyle_Literal, ChompingMode_Clip, ScalarStyle_DoubleQuoted, YAMLElement_Sequence, YAMLElement, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
5
|
+
import { YAMLElement_Value, YAMLContent_create_Z1C3A29C9, YAMLElement_Object, YAMLElement_Mapping, ScalarStyle_Block, BlockScalarStyle_Literal, ChompingMode_Clip, ScalarStyle_DoubleQuoted, YAMLElement_Sequence, YAMLElement, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
6
6
|
import { trimEnd, replace, toText, interpolate, trimStart, join, split } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
7
|
-
import { string, int, float } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
7
|
+
import { string, int, float } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Encode.fs.js';
|
|
8
8
|
import { LoadListingEnum_get_toCwlString } from './Requirements.js';
|
|
9
9
|
import { int64ToString, stringHash, comparePrimitives } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
10
10
|
import { WorkflowStepRunOps_tryGetOperation, WorkflowStepRunOps_tryGetExpressionTool, WorkflowStepRunOps_tryGetWorkflow, WorkflowStepRunOps_tryGetTool } from './CWLProcessingUnit.js';
|
|
11
11
|
import { toString } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
12
|
-
import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
12
|
+
import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Writer.fs.js';
|
|
13
13
|
import { ofList, FSharpSet__Contains } from '../../node_modules/@fable-org/fable-library-js/Set.js';
|
|
14
14
|
|
|
15
15
|
function $007CPrimitiveType$007CComplexType$007C(t) {
|
|
@@ -6,7 +6,7 @@ import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
|
6
6
|
import { int64 } from '@fable-org/fable-library-js/BigInt.js';
|
|
7
7
|
import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
8
8
|
import { float64, int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
9
|
-
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
9
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
10
10
|
export declare class DockerRequirement extends Record implements IEquatable<DockerRequirement>, IComparable<DockerRequirement> {
|
|
11
11
|
readonly DockerPull: Option<string>;
|
|
12
12
|
readonly DockerFile: Option<SchemaSaladString_$union>;
|
|
@@ -6,7 +6,7 @@ import { record_type, option_type, string_type, union_type, bool_type, int64_typ
|
|
|
6
6
|
import { toInt64, fromInt32 } from '../../node_modules/@fable-org/fable-library-js/BigInt.js';
|
|
7
7
|
import { setOptionalProperty } from '../fable_modules/DynamicObj.7.1.0/DynObj.fs.js';
|
|
8
8
|
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
9
|
-
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
9
|
+
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
10
10
|
import { map } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
11
11
|
|
|
12
12
|
class DockerRequirement extends Record {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { Record, Union } from '@fable-org/fable-library-js/Types.js';
|
|
3
3
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
4
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
5
5
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
6
6
|
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
7
7
|
import { HintEntry_$union, Requirement_$union } from './Requirements.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { unwrap, toArray } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { Union, Record } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
3
3
|
import { union_type, record_type, string_type, option_type, array_type, bool_type, obj_type, class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
4
|
+
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
5
5
|
import { setItem } from '../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
6
6
|
import { filter, iterate, tryFindIndex } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
7
7
|
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Basic.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Conversion/Basic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAmD,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEhH,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAS,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAInE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAA0F,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAG9J,OAAO,EAAoP,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAG5T,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"Basic.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Conversion/Basic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAmD,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEhH,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAS,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAInE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAA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,CAAC,EAAE,SAAS,GAAG,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAc1I;AAED;;;;;;GAMG;AACH,wBAAgB,4CAA4C,CAAC,EAAE,EAAE,kBAAkB,GAAG,MAAM,CAQ3F;AAED;;;;;;GAMG;AACH,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAahG"}
|
|
@@ -16,8 +16,8 @@ import { LDFile } from '../ROCrate/LDTypes/File.js';
|
|
|
16
16
|
import { LDDataset } from '../ROCrate/LDTypes/Dataset.js';
|
|
17
17
|
import { map as map$1 } from '../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
18
18
|
import { combine } from '../FileSystem/Path.js';
|
|
19
|
-
import { DataContext__get_Explication, DataContext__get_Unit, DataContext__get_ObjectType, DataContext__get_GeneratedBy, DataContext__get_Description, DataContext__get_Label, DataContext_$ctor_Z780A8A2A } from '../Core/DataContext.js';
|
|
20
19
|
import { toString } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
20
|
+
import { DataContext } from '../Core/DataContext.js';
|
|
21
21
|
import { LDSample } from '../ROCrate/LDTypes/Sample.js';
|
|
22
22
|
import { Value_Name, Value_Ontology } from '../Core/Value.js';
|
|
23
23
|
import { ActivePatterns_$007CRegex$007C_$007C } from '../Core/Helper/Regex.js';
|
|
@@ -210,14 +210,14 @@ function BaseTypes_composeFragmentDescriptor_Z4C0BEF62(dc) {
|
|
|
210
210
|
throw new Error("RO-Crate parsing of DataContext failed: Cannot create a fragment descriptor without a name.");
|
|
211
211
|
}
|
|
212
212
|
const id = LDPropertyValue.genIdFragmentDescriptor(dc.NameText);
|
|
213
|
-
const patternInput = defaultArg(map((e) => [e.Name, Option_fromValueWithDefault("", e.TermAccessionAndOntobeeUrlIfShort)],
|
|
214
|
-
const patternInput_1 = defaultArg(map((u) => [u.Name, Option_fromValueWithDefault("", u.TermAccessionAndOntobeeUrlIfShort)],
|
|
213
|
+
const patternInput = defaultArg(map((e) => [e.Name, Option_fromValueWithDefault("", e.TermAccessionAndOntobeeUrlIfShort)], dc.Explication), [void 0, void 0]);
|
|
214
|
+
const patternInput_1 = defaultArg(map((u) => [u.Name, Option_fromValueWithDefault("", u.TermAccessionAndOntobeeUrlIfShort)], dc.Unit), [void 0, void 0]);
|
|
215
215
|
const disambiguatingDescriptions = Option_fromSeq(ResizeArray_map(toString, dc.Comments));
|
|
216
216
|
const dataFragment = BaseTypes_composeFile_6CE21C7D(dc);
|
|
217
|
-
const pattern = map(BaseTypes_composeDefinedTerm_ZDED3A0F,
|
|
217
|
+
const pattern = map(BaseTypes_composeDefinedTerm_ZDED3A0F, dc.ObjectType);
|
|
218
218
|
dataFragment.SetProperty(LDFile.about, new LDRef(id));
|
|
219
219
|
dataFragment.SetOptionalProperty(LDFile.pattern, pattern);
|
|
220
|
-
return LDPropertyValue.createFragmentDescriptor(dc.NameText, unwrap(patternInput[0]), void 0, unwrap(patternInput_1[1]), unwrap(patternInput_1[0]), unwrap(patternInput[1]), unwrap(
|
|
220
|
+
return LDPropertyValue.createFragmentDescriptor(dc.NameText, unwrap(patternInput[0]), void 0, unwrap(patternInput_1[1]), unwrap(patternInput_1[0]), unwrap(patternInput[1]), unwrap(dc.GeneratedBy), unwrap(dc.Description), unwrap(dc.Label), unwrap(disambiguatingDescriptions), dataFragment);
|
|
221
221
|
}
|
|
222
222
|
function BaseTypes_decomposeFragmentDescriptor_Z6839B9E8(fd, graph, context) {
|
|
223
223
|
const file = LDPropertyValue.tryGetSubjectOf(fd, unwrap(graph), unwrap(context));
|
|
@@ -235,7 +235,7 @@ function BaseTypes_decomposeFragmentDescriptor_Z6839B9E8(fd, graph, context) {
|
|
|
235
235
|
const unit = BaseTypes_tryOntologyTermFromNameAndID_40457300(unwrap(LDPropertyValue.tryGetUnitTextAsString(fd)), unwrap(LDPropertyValue.tryGetUnitCodeAsString(fd)));
|
|
236
236
|
const generatedBy = LDPropertyValue.tryGetMeasurementMethodAsString(fd);
|
|
237
237
|
const description = LDPropertyValue.tryGetDescriptionAsString(fd);
|
|
238
|
-
return
|
|
238
|
+
return new DataContext(void 0, name, void 0, unwrap(format), unwrap(selectorFormat), unwrap(explication), unwrap(unit), unwrap(objectType), unwrap(LDPropertyValue.tryGetAlternateNameAsString(fd)), unwrap(description), unwrap(generatedBy), ResizeArray_map((s) => Comment$.fromString(s), LDPropertyValue.getDisambiguatingDescriptionsAsString(fd)));
|
|
239
239
|
}
|
|
240
240
|
function BaseTypes_composeProcessInput(header, value, fs) {
|
|
241
241
|
if (header.tag === /* Input */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
2
2
|
import { isComplexType, cwlTypeToYamlString, writeYaml, encodeCWLType } from '../CWL/Encode.js';
|
|
3
|
-
import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
4
|
-
import { YAMLElement_Sequence, YAMLElement_Comment } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
5
|
-
import { object } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
3
|
+
import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Reader.fs.js';
|
|
4
|
+
import { YAMLElement_Sequence, YAMLElement_Comment } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
5
|
+
import { object } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Decode.fs.js';
|
|
6
6
|
import { Decode_cwlTypeDecoder$0027, Decode_cwlTypeStringMatcher } from '../CWL/Decode.js';
|
|
7
7
|
import { isEmpty, head, tail } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
8
8
|
import { value, defaultArg, unwrap, bind, map } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
2
|
+
import { OntologyAnnotation } from './OntologyAnnotation.js';
|
|
3
|
+
import { Data } from './Data.js';
|
|
4
|
+
import { Value_$union } from './Value.js';
|
|
1
5
|
import { DataFile_$union } from './DataFile.js';
|
|
2
6
|
import { Comment$ } from './Comment.js';
|
|
3
|
-
import { OntologyAnnotation } from './OntologyAnnotation.js';
|
|
4
7
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
5
|
-
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
6
|
-
import { Value_$union } from './Value.js';
|
|
7
|
-
import { Data } from './Data.js';
|
|
8
8
|
import { IISAPrintable } from './Helper/Printer.js';
|
|
9
|
-
import { IPropertyValue } from './IPropertyValue.js';
|
|
10
9
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
11
|
-
export declare class DataContext extends Data implements IISAPrintable
|
|
10
|
+
export declare class DataContext extends Data implements IISAPrintable {
|
|
12
11
|
_explication: Option<OntologyAnnotation>;
|
|
13
12
|
_unit: Option<OntologyAnnotation>;
|
|
14
13
|
_objectType: Option<OntologyAnnotation>;
|
|
@@ -16,32 +15,25 @@ export declare class DataContext extends Data implements IISAPrintable, IPropert
|
|
|
16
15
|
_description: Option<string>;
|
|
17
16
|
_generatedBy: Option<string>;
|
|
18
17
|
constructor(id?: string, name?: string, dataType?: DataFile_$union, format?: string, selectorFormat?: string, explication?: OntologyAnnotation, unit?: OntologyAnnotation, objectType?: OntologyAnnotation, label?: string, description?: string, generatedBy?: string, comments?: Comment$[]);
|
|
18
|
+
get Explication(): OntologyAnnotation | undefined;
|
|
19
|
+
set Explication(explication: Option<OntologyAnnotation>);
|
|
20
|
+
get Unit(): OntologyAnnotation | undefined;
|
|
21
|
+
set Unit(unit: Option<OntologyAnnotation>);
|
|
22
|
+
get ObjectType(): OntologyAnnotation | undefined;
|
|
23
|
+
set ObjectType(objectType: Option<OntologyAnnotation>);
|
|
24
|
+
get Label(): string | undefined;
|
|
25
|
+
set Label(label: Option<string>);
|
|
26
|
+
get Description(): string | undefined;
|
|
27
|
+
set Description(description: Option<string>);
|
|
28
|
+
get GeneratedBy(): string | undefined;
|
|
29
|
+
set GeneratedBy(generatedBy: Option<string>);
|
|
30
|
+
AsData(): Data;
|
|
31
|
+
static fromData(data: Data, explication?: OntologyAnnotation, unit?: OntologyAnnotation, objectType?: OntologyAnnotation, label?: string, description?: string, generatedBy?: string): DataContext;
|
|
32
|
+
static createAsPV(alternateName: Option<string>, measurementMethod: Option<string>, description: Option<string>, category: Option<OntologyAnnotation>, value: Option<Value_$union>, unit: Option<OntologyAnnotation>): DataContext;
|
|
33
|
+
Copy(): DataContext;
|
|
19
34
|
GetHashCode(): int32;
|
|
20
35
|
Equals(obj: any): boolean;
|
|
21
|
-
AlternateName(): Option<string>;
|
|
22
|
-
MeasurementMethod(): Option<string>;
|
|
23
|
-
GetCategory(): Option<OntologyAnnotation>;
|
|
24
|
-
GetValue(): Option<Value_$union>;
|
|
25
|
-
GetUnit(): Option<OntologyAnnotation>;
|
|
26
|
-
GetAdditionalType(): string;
|
|
27
|
-
Description(): Option<string>;
|
|
28
36
|
}
|
|
29
37
|
export declare function DataContext_$reflection(): TypeInfo;
|
|
30
38
|
export declare function DataContext_$ctor_Z780A8A2A(id?: string, name?: string, dataType?: DataFile_$union, format?: string, selectorFormat?: string, explication?: OntologyAnnotation, unit?: OntologyAnnotation, objectType?: OntologyAnnotation, label?: string, description?: string, generatedBy?: string, comments?: Comment$[]): DataContext;
|
|
31
|
-
export declare function DataContext__get_Explication(this$: DataContext): Option<OntologyAnnotation>;
|
|
32
|
-
export declare function DataContext__set_Explication_279AAFF2(this$: DataContext, explication: Option<OntologyAnnotation>): void;
|
|
33
|
-
export declare function DataContext__get_Unit(this$: DataContext): Option<OntologyAnnotation>;
|
|
34
|
-
export declare function DataContext__set_Unit_279AAFF2(this$: DataContext, unit: Option<OntologyAnnotation>): void;
|
|
35
|
-
export declare function DataContext__get_ObjectType(this$: DataContext): Option<OntologyAnnotation>;
|
|
36
|
-
export declare function DataContext__set_ObjectType_279AAFF2(this$: DataContext, objectType: Option<OntologyAnnotation>): void;
|
|
37
|
-
export declare function DataContext__get_Label(this$: DataContext): Option<string>;
|
|
38
|
-
export declare function DataContext__set_Label_6DFDD678(this$: DataContext, label: Option<string>): void;
|
|
39
|
-
export declare function DataContext__get_Description(this$: DataContext): Option<string>;
|
|
40
|
-
export declare function DataContext__set_Description_6DFDD678(this$: DataContext, description: Option<string>): void;
|
|
41
|
-
export declare function DataContext__get_GeneratedBy(this$: DataContext): Option<string>;
|
|
42
|
-
export declare function DataContext__set_GeneratedBy_6DFDD678(this$: DataContext, generatedBy: Option<string>): void;
|
|
43
|
-
export declare function DataContext__AsData(this$: DataContext): Data;
|
|
44
|
-
export declare function DataContext_fromData_Z7B4D7BF5(data: Data, explication?: OntologyAnnotation, unit?: OntologyAnnotation, objectType?: OntologyAnnotation, label?: string, description?: string, generatedBy?: string): DataContext;
|
|
45
|
-
export declare function DataContext_createAsPV(alternateName: Option<string>, measurementMethod: Option<string>, description: Option<string>, category: Option<OntologyAnnotation>, value: Option<Value_$union>, unit: Option<OntologyAnnotation>): DataContext;
|
|
46
|
-
export declare function DataContext__Copy(this$: DataContext): DataContext;
|
|
47
39
|
//# sourceMappingURL=DataContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Core/DataContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Core/DataContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAU,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAoB,IAAI,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,YAAY,EAAoB,MAAM,YAAY,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,QAAQ,EA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AAE,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,kBAAkB,EAAE,UAAU,CAAC,EAAE,kBAAkB,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,EAAE,GAAG,WAAW,CAE1U"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { unwrap, value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { OntologyAnnotation } from './OntologyAnnotation.js';
|
|
3
|
-
import { unwrap, map, value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
4
|
-
import { Value_Ontology } from './Value.js';
|
|
5
3
|
import { Data, Data_$reflection } from './Data.js';
|
|
4
|
+
import { boxHashArray, boxHashOption, boxHashSeq, hash } from './Helper/HashCodes.js';
|
|
6
5
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
7
6
|
|
|
8
7
|
class DataContext extends Data {
|
|
@@ -15,40 +14,89 @@ class DataContext extends Data {
|
|
|
15
14
|
this._description = description;
|
|
16
15
|
this._generatedBy = generatedBy;
|
|
17
16
|
}
|
|
18
|
-
|
|
17
|
+
get Explication() {
|
|
19
18
|
const this$ = this;
|
|
20
|
-
return
|
|
19
|
+
return unwrap(this$._explication);
|
|
21
20
|
}
|
|
22
|
-
|
|
21
|
+
set Explication(explication) {
|
|
23
22
|
const this$ = this;
|
|
24
|
-
|
|
23
|
+
this$._explication = explication;
|
|
25
24
|
}
|
|
26
|
-
|
|
25
|
+
get Unit() {
|
|
27
26
|
const this$ = this;
|
|
28
|
-
return
|
|
27
|
+
return unwrap(this$._unit);
|
|
29
28
|
}
|
|
30
|
-
|
|
29
|
+
set Unit(unit) {
|
|
31
30
|
const this$ = this;
|
|
32
|
-
|
|
31
|
+
this$._unit = unit;
|
|
33
32
|
}
|
|
34
|
-
|
|
33
|
+
get ObjectType() {
|
|
35
34
|
const this$ = this;
|
|
36
|
-
return
|
|
35
|
+
return unwrap(this$._objectType);
|
|
37
36
|
}
|
|
38
|
-
|
|
37
|
+
set ObjectType(objectType) {
|
|
39
38
|
const this$ = this;
|
|
40
|
-
|
|
39
|
+
this$._objectType = objectType;
|
|
41
40
|
}
|
|
42
|
-
|
|
41
|
+
get Label() {
|
|
43
42
|
const this$ = this;
|
|
44
|
-
return
|
|
43
|
+
return unwrap(this$._label);
|
|
45
44
|
}
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
set Label(label) {
|
|
46
|
+
const this$ = this;
|
|
47
|
+
this$._label = label;
|
|
48
48
|
}
|
|
49
|
-
Description() {
|
|
49
|
+
get Description() {
|
|
50
|
+
const this$ = this;
|
|
51
|
+
return unwrap(this$._description);
|
|
52
|
+
}
|
|
53
|
+
set Description(description) {
|
|
54
|
+
const this$ = this;
|
|
55
|
+
this$._description = description;
|
|
56
|
+
}
|
|
57
|
+
get GeneratedBy() {
|
|
58
|
+
const this$ = this;
|
|
59
|
+
return unwrap(this$._generatedBy);
|
|
60
|
+
}
|
|
61
|
+
set GeneratedBy(generatedBy) {
|
|
62
|
+
const this$ = this;
|
|
63
|
+
this$._generatedBy = generatedBy;
|
|
64
|
+
}
|
|
65
|
+
AsData() {
|
|
66
|
+
const this$ = this;
|
|
67
|
+
return new Data(unwrap(this$.ID), unwrap(this$.Name), unwrap(this$.DataType), unwrap(this$.Format), unwrap(this$.SelectorFormat), this$.Comments);
|
|
68
|
+
}
|
|
69
|
+
static fromData(data, explication, unit, objectType, label, description, generatedBy) {
|
|
70
|
+
return new DataContext(unwrap(data.ID), unwrap(data.Name), unwrap(data.DataType), unwrap(data.Format), unwrap(data.SelectorFormat), unwrap(explication), unwrap(unit), unwrap(objectType), unwrap(label), unwrap(description), unwrap(generatedBy), data.Comments);
|
|
71
|
+
}
|
|
72
|
+
static createAsPV(alternateName, measurementMethod, description, category, value$1, unit) {
|
|
73
|
+
let oa, v;
|
|
74
|
+
return new DataContext(void 0, void 0, void 0, void 0, void 0, unwrap(category), unwrap(unit), unwrap(value$1 == null ? void 0 : value(value$1).tag === /* Ontology */
|
|
75
|
+
0 ? (oa = value(value$1).fields[0], oa) : (v = value(value$1), new OntologyAnnotation(v.Text))), unwrap(alternateName), unwrap(description), unwrap(measurementMethod));
|
|
76
|
+
}
|
|
77
|
+
Copy() {
|
|
78
|
+
const this$ = this;
|
|
79
|
+
const copy = new DataContext();
|
|
80
|
+
copy.ID = this$.ID;
|
|
81
|
+
copy.Name = this$.Name;
|
|
82
|
+
copy.DataType = this$.DataType;
|
|
83
|
+
copy.Format = this$.Format;
|
|
84
|
+
copy.SelectorFormat = this$.SelectorFormat;
|
|
85
|
+
copy.Explication = this$.Explication;
|
|
86
|
+
copy.Unit = this$.Unit;
|
|
87
|
+
copy.ObjectType = this$.ObjectType;
|
|
88
|
+
copy.Description = this$.Description;
|
|
89
|
+
copy.GeneratedBy = this$.GeneratedBy;
|
|
90
|
+
copy.Comments = this$.Comments;
|
|
91
|
+
return copy;
|
|
92
|
+
}
|
|
93
|
+
GetHashCode() {
|
|
50
94
|
const this$ = this;
|
|
51
|
-
return
|
|
95
|
+
return boxHashArray([boxHashOption(this$.ID), boxHashOption(this$.Name), boxHashOption(this$.DataType), boxHashOption(this$.Format), boxHashOption(this$.SelectorFormat), boxHashSeq(this$.Comments), boxHashOption(this$.Explication), boxHashOption(this$.Unit), boxHashOption(this$.ObjectType), boxHashOption(this$.Label), boxHashOption(this$.Description), boxHashOption(this$.GeneratedBy)]) | 0;
|
|
96
|
+
}
|
|
97
|
+
Equals(obj) {
|
|
98
|
+
const this$ = this;
|
|
99
|
+
return hash(this$) === hash(obj);
|
|
52
100
|
}
|
|
53
101
|
}
|
|
54
102
|
function DataContext_$reflection() {
|
|
@@ -57,67 +105,5 @@ function DataContext_$reflection() {
|
|
|
57
105
|
function DataContext_$ctor_Z780A8A2A(id, name, dataType, format, selectorFormat, explication, unit, objectType, label, description, generatedBy, comments) {
|
|
58
106
|
return new DataContext(id, name, dataType, format, selectorFormat, explication, unit, objectType, label, description, generatedBy, comments);
|
|
59
107
|
}
|
|
60
|
-
function DataContext__get_Explication(this$) {
|
|
61
|
-
return this$._explication;
|
|
62
|
-
}
|
|
63
|
-
function DataContext__set_Explication_279AAFF2(this$, explication) {
|
|
64
|
-
this$._explication = explication;
|
|
65
|
-
}
|
|
66
|
-
function DataContext__get_Unit(this$) {
|
|
67
|
-
return this$._unit;
|
|
68
|
-
}
|
|
69
|
-
function DataContext__set_Unit_279AAFF2(this$, unit) {
|
|
70
|
-
this$._unit = unit;
|
|
71
|
-
}
|
|
72
|
-
function DataContext__get_ObjectType(this$) {
|
|
73
|
-
return this$._objectType;
|
|
74
|
-
}
|
|
75
|
-
function DataContext__set_ObjectType_279AAFF2(this$, objectType) {
|
|
76
|
-
this$._objectType = objectType;
|
|
77
|
-
}
|
|
78
|
-
function DataContext__get_Label(this$) {
|
|
79
|
-
return this$._label;
|
|
80
|
-
}
|
|
81
|
-
function DataContext__set_Label_6DFDD678(this$, label) {
|
|
82
|
-
this$._label = label;
|
|
83
|
-
}
|
|
84
|
-
function DataContext__get_Description(this$) {
|
|
85
|
-
return this$._description;
|
|
86
|
-
}
|
|
87
|
-
function DataContext__set_Description_6DFDD678(this$, description) {
|
|
88
|
-
this$._description = description;
|
|
89
|
-
}
|
|
90
|
-
function DataContext__get_GeneratedBy(this$) {
|
|
91
|
-
return this$._generatedBy;
|
|
92
|
-
}
|
|
93
|
-
function DataContext__set_GeneratedBy_6DFDD678(this$, generatedBy) {
|
|
94
|
-
this$._generatedBy = generatedBy;
|
|
95
|
-
}
|
|
96
|
-
function DataContext__AsData(this$) {
|
|
97
|
-
return new Data(unwrap(this$.ID), unwrap(this$.Name), unwrap(this$.DataType), unwrap(this$.Format), unwrap(this$.SelectorFormat), this$.Comments);
|
|
98
|
-
}
|
|
99
|
-
function DataContext_fromData_Z7B4D7BF5(data, explication, unit, objectType, label, description, generatedBy) {
|
|
100
|
-
return DataContext_$ctor_Z780A8A2A(unwrap(data.ID), unwrap(data.Name), unwrap(data.DataType), unwrap(data.Format), unwrap(data.SelectorFormat), unwrap(explication), unwrap(unit), unwrap(objectType), unwrap(label), unwrap(description), unwrap(generatedBy), data.Comments);
|
|
101
|
-
}
|
|
102
|
-
function DataContext_createAsPV(alternateName, measurementMethod, description, category, value$1, unit) {
|
|
103
|
-
let oa, v;
|
|
104
|
-
return DataContext_$ctor_Z780A8A2A(void 0, void 0, void 0, void 0, void 0, unwrap(category), unwrap(unit), unwrap(value$1 == null ? void 0 : value(value$1).tag === /* Ontology */
|
|
105
|
-
0 ? (oa = value(value$1).fields[0], oa) : (v = value(value$1), new OntologyAnnotation(v.Text))), unwrap(alternateName), unwrap(description), unwrap(measurementMethod));
|
|
106
|
-
}
|
|
107
|
-
function DataContext__Copy(this$) {
|
|
108
|
-
const copy = DataContext_$ctor_Z780A8A2A();
|
|
109
|
-
copy.ID = this$.ID;
|
|
110
|
-
copy.Name = this$.Name;
|
|
111
|
-
copy.DataType = this$.DataType;
|
|
112
|
-
copy.Format = this$.Format;
|
|
113
|
-
copy.SelectorFormat = this$.SelectorFormat;
|
|
114
|
-
DataContext__set_Explication_279AAFF2(copy, DataContext__get_Explication(this$));
|
|
115
|
-
DataContext__set_Unit_279AAFF2(copy, DataContext__get_Unit(this$));
|
|
116
|
-
DataContext__set_ObjectType_279AAFF2(copy, DataContext__get_ObjectType(this$));
|
|
117
|
-
DataContext__set_Description_6DFDD678(copy, DataContext__get_Description(this$));
|
|
118
|
-
DataContext__set_GeneratedBy_6DFDD678(copy, DataContext__get_GeneratedBy(this$));
|
|
119
|
-
copy.Comments = this$.Comments;
|
|
120
|
-
return copy;
|
|
121
|
-
}
|
|
122
108
|
|
|
123
|
-
export { DataContext, DataContext_$ctor_Z780A8A2A, DataContext_$reflection
|
|
109
|
+
export { DataContext, DataContext_$ctor_Z780A8A2A, DataContext_$reflection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Datamap.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Core/Datamap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuD,sBAAsB,EAAsC,MAAM,4BAA4B,CAAC;AAC7J,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAW,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EAAoB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAA0B,oBAAoB,EAAqC,MAAM,0BAA0B,CAAC;AAC3H,OAAO,
|
|
1
|
+
{"version":3,"file":"Datamap.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Core/Datamap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuD,sBAAsB,EAAsC,MAAM,4BAA4B,CAAC;AAC7J,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAW,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EAAoB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAA0B,oBAAoB,EAAqC,MAAM,0BAA0B,CAAC;AAC3H,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,eAAO,MAAM,qBAAqB,EAAE,sBAA6D,CAAC;AAElG,eAAO,MAAM,sBAAsB,EAAE,kBAAkH,CAAC;AAExJ,eAAO,MAAM,4BAA4B,EAAE,sBAA0E,CAAC;AAEtH,eAAO,MAAM,eAAe,EAAE,kBAAsG,CAAC;AAErI,eAAO,MAAM,qBAAqB,EAAE,sBAAmE,CAAC;AAExG,eAAO,MAAM,qBAAqB,EAAE,kBAA8G,CAAC;AAE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AY,EAAE,WAAW,EAAE,GAAG,OAAO,CAE3E"}
|
|
@@ -4,7 +4,6 @@ import { ofArray } from '../../node_modules/@fable-org/fable-library-js/List.js'
|
|
|
4
4
|
import { map, iterateIndexed } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
5
5
|
import { value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
6
6
|
import { CompositeCell, CompositeCell_Term, CompositeCell_FreeText } from './Table/CompositeCell.js';
|
|
7
|
-
import { DataContext__get_Explication, DataContext__set_Explication_279AAFF2, DataContext__get_Unit, DataContext__set_Unit_279AAFF2, DataContext__get_ObjectType, DataContext__set_ObjectType_279AAFF2, DataContext__get_Description, DataContext__set_Description_6DFDD678, DataContext__Copy } from './DataContext.js';
|
|
8
7
|
import { hash, boxHashSeq } from './Helper/HashCodes.js';
|
|
9
8
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
10
9
|
|
|
@@ -94,32 +93,32 @@ class Datamap {
|
|
|
94
93
|
}
|
|
95
94
|
GetExplicationColumn() {
|
|
96
95
|
const this$ = this;
|
|
97
|
-
return DatamapAux_getOntologyColumn(
|
|
96
|
+
return DatamapAux_getOntologyColumn((dc) => dc.Explication, this$["dataContexts@108"]);
|
|
98
97
|
}
|
|
99
98
|
SetExplicationColumn(cells) {
|
|
100
99
|
const this$ = this;
|
|
101
100
|
DatamapAux_setOntologyColumn((dc, oa) => {
|
|
102
|
-
|
|
101
|
+
dc.Explication = oa;
|
|
103
102
|
}, cells, this$["dataContexts@108"]);
|
|
104
103
|
}
|
|
105
104
|
GetUnitColumn() {
|
|
106
105
|
const this$ = this;
|
|
107
|
-
return DatamapAux_getOntologyColumn(
|
|
106
|
+
return DatamapAux_getOntologyColumn((dc) => dc.Unit, this$["dataContexts@108"]);
|
|
108
107
|
}
|
|
109
108
|
SetUnitColumn(cells) {
|
|
110
109
|
const this$ = this;
|
|
111
110
|
DatamapAux_setOntologyColumn((dc, oa) => {
|
|
112
|
-
|
|
111
|
+
dc.Unit = oa;
|
|
113
112
|
}, cells, this$["dataContexts@108"]);
|
|
114
113
|
}
|
|
115
114
|
GetObjectTypeColumn() {
|
|
116
115
|
const this$ = this;
|
|
117
|
-
return DatamapAux_getOntologyColumn(
|
|
116
|
+
return DatamapAux_getOntologyColumn((dc) => dc.ObjectType, this$["dataContexts@108"]);
|
|
118
117
|
}
|
|
119
118
|
SetDataTypeColumn(cells) {
|
|
120
119
|
const this$ = this;
|
|
121
120
|
DatamapAux_setOntologyColumn((dc, oa) => {
|
|
122
|
-
|
|
121
|
+
dc.ObjectType = oa;
|
|
123
122
|
}, cells, this$["dataContexts@108"]);
|
|
124
123
|
}
|
|
125
124
|
GetLabelColumn() {
|
|
@@ -134,12 +133,12 @@ class Datamap {
|
|
|
134
133
|
}
|
|
135
134
|
GetDescriptionColumn() {
|
|
136
135
|
const this$ = this;
|
|
137
|
-
return DatamapAux_getStringColumn(
|
|
136
|
+
return DatamapAux_getStringColumn((dc) => dc.Description, this$["dataContexts@108"]);
|
|
138
137
|
}
|
|
139
138
|
SetDescriptionColumn(cells) {
|
|
140
139
|
const this$ = this;
|
|
141
140
|
DatamapAux_setStringColumn((dc, s) => {
|
|
142
|
-
|
|
141
|
+
dc.Description = s;
|
|
143
142
|
}, cells, this$["dataContexts@108"]);
|
|
144
143
|
}
|
|
145
144
|
GetDataContext(row, SkipValidation) {
|
|
@@ -153,7 +152,7 @@ class Datamap {
|
|
|
153
152
|
Copy() {
|
|
154
153
|
let collection;
|
|
155
154
|
const this$ = this;
|
|
156
|
-
return new Datamap((collection = map(
|
|
155
|
+
return new Datamap((collection = map((dc) => dc.Copy(), this$["dataContexts@108"]), Array.from(collection)));
|
|
157
156
|
}
|
|
158
157
|
Equals(obj) {
|
|
159
158
|
const this$ = this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Datamap/DataContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Datamap/DataContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAMjH,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAIxD,wBAAgB,OAAO,CAAC,EAAE,EAAE,WAAW,GAAG,UAAU,CAoBnD;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAMzC,CAAC"}
|
|
@@ -3,24 +3,24 @@ import { map, unwrap } from '../../../node_modules/@fable-org/fable-library-js/O
|
|
|
3
3
|
import { encoder as encoder$1, decoder as decoder$1 } from '../Data.js';
|
|
4
4
|
import { tryInclude } from '../Encode.js';
|
|
5
5
|
import { OntologyAnnotation_encoder, OntologyAnnotation_decoder } from '../OntologyAnnotation.js';
|
|
6
|
-
import { DataContext__get_Explication, DataContext__get_Unit, DataContext__get_ObjectType, DataContext__get_Description, DataContext__get_GeneratedBy, DataContext__get_Label, DataContext_$ctor_Z780A8A2A } from '../../Core/DataContext.js';
|
|
7
6
|
import { map as map$1 } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
7
|
+
import { DataContext } from '../../Core/DataContext.js';
|
|
8
8
|
import { object, string } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
9
9
|
|
|
10
10
|
function encoder(dc) {
|
|
11
|
-
const values_1 = choose((tupledArg) => map((v_1) => [tupledArg[0], v_1], tupledArg[1]), ofArray([["data", encoder$1(dc)], tryInclude("explication", OntologyAnnotation_encoder,
|
|
11
|
+
const values_1 = choose((tupledArg) => map((v_1) => [tupledArg[0], v_1], tupledArg[1]), ofArray([["data", encoder$1(dc)], tryInclude("explication", OntologyAnnotation_encoder, dc.Explication), tryInclude("unit", OntologyAnnotation_encoder, dc.Unit), tryInclude("objectType", OntologyAnnotation_encoder, dc.ObjectType), tryInclude("description", (value) => ({
|
|
12
12
|
Encode(helpers) {
|
|
13
13
|
return helpers.encodeString(value);
|
|
14
14
|
}
|
|
15
|
-
}),
|
|
15
|
+
}), dc.Description), tryInclude("generatedBy", (value_2) => ({
|
|
16
16
|
Encode(helpers_1) {
|
|
17
17
|
return helpers_1.encodeString(value_2);
|
|
18
18
|
}
|
|
19
|
-
}),
|
|
19
|
+
}), dc.GeneratedBy), tryInclude("label", (value_4) => ({
|
|
20
20
|
Encode(helpers_2) {
|
|
21
21
|
return helpers_2.encodeString(value_4);
|
|
22
22
|
}
|
|
23
|
-
}),
|
|
23
|
+
}), dc.Label)]));
|
|
24
24
|
return {
|
|
25
25
|
Encode(helpers_3) {
|
|
26
26
|
const arg = map$1((tupledArg_1) => [tupledArg_1[0], tupledArg_1[1].Encode(helpers_3)], values_1);
|
|
@@ -33,7 +33,7 @@ const decoder = object((get$) => {
|
|
|
33
33
|
let data;
|
|
34
34
|
const objectArg = get$.Required;
|
|
35
35
|
data = objectArg.Field("data", decoder$1);
|
|
36
|
-
return
|
|
36
|
+
return new DataContext(unwrap(data.ID), unwrap(data.Name), unwrap(data.DataType), unwrap(data.Format), unwrap(data.SelectorFormat), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("explication", OntologyAnnotation_decoder))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("unit", OntologyAnnotation_decoder))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("objectType", OntologyAnnotation_decoder))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("label", string))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("description", string))), unwrap((objectArg_6 = get$.Optional, objectArg_6.Field("generatedBy", string))), data.Comments);
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
export { decoder, encoder };
|
|
@@ -35,7 +35,7 @@ class LDDataset {
|
|
|
35
35
|
return "http://schema.org/datePublished";
|
|
36
36
|
}
|
|
37
37
|
static get sdDatePublished() {
|
|
38
|
-
return "http://schema.org/
|
|
38
|
+
return "http://schema.org/sdDatePublished";
|
|
39
39
|
}
|
|
40
40
|
static get license() {
|
|
41
41
|
return "http://schema.org/license";
|
|
@@ -14,6 +14,7 @@ export declare function ROCrate_get_metadataFileDescriptor(): LDNode;
|
|
|
14
14
|
export declare function ROCrate_get_metadataFileDescriptorWfRun(): LDNode;
|
|
15
15
|
export declare function ROCrate_createLicenseNode_29619109(license: Option<License>): LDNode;
|
|
16
16
|
export declare function ROCrate_getLicense_Z2F770004(license: LDNode, context?: LDContext): Option<License>;
|
|
17
|
+
export declare function ROCrate_getAsGraph_Z7FE34C43(isa: ArcInvestigation, license?: License, fs?: FileSystem, ignoreBrokenWR?: boolean): LDGraph;
|
|
17
18
|
export declare function ROCrate_encoder_Z7FE34C43(isa: ArcInvestigation, license?: License, fs?: FileSystem, ignoreBrokenWR?: boolean): IEncodable;
|
|
18
19
|
/**
|
|
19
20
|
* Returns ArcInvestigation, list of file Ids, and optional License
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ROCrateIO.d.ts","sourceRoot":"","sources":["../../../src/ARCtrl/ts/ROCrateIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAA2D,OAAO,EAAS,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGxH,OAAO,EAA4B,MAAM,EAAoB,MAAM,uCAAuC,CAAC;AAC3G,OAAO,EAAsB,OAAO,EAAE,MAAM,cAAc,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ROCrateIO.d.ts","sourceRoot":"","sources":["../../../src/ARCtrl/ts/ROCrateIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAA2D,OAAO,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EAAE,WAAW,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAexL;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAqBjH;AAED,wBAAgB,sCAAsC,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAqBjI;AAED,wBAAgB,6BAA6B,IAAI,SAAS,CAAC,gBAAgB,CAAC,CAE3E"}
|
package/dist/ts/ts/ROCrateIO.js
CHANGED
|
@@ -84,7 +84,7 @@ function ROCrate_getLicense_Z2F770004(license, context) {
|
|
|
84
84
|
return new License("fulltext", "", path_1);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function ROCrate_getAsGraph_Z7FE34C43(isa, license, fs, ignoreBrokenWR) {
|
|
88
88
|
const license_1 = ROCrate_createLicenseNode_29619109(license);
|
|
89
89
|
const isa_1 = ARCtrl_ArcInvestigation__ArcInvestigation_ToROCrateInvestigation_Z7960E96B(isa, unwrap(fs), unwrap(ignoreBrokenWR));
|
|
90
90
|
LDDataset.setSDDatePublishedAsDateTime(isa_1, now());
|
|
@@ -94,7 +94,10 @@ function ROCrate_encoder_Z7FE34C43(isa, license, fs, ignoreBrokenWR) {
|
|
|
94
94
|
graph.SetContext(context);
|
|
95
95
|
graph.AddNode(ROCrate_get_metadataFileDescriptor());
|
|
96
96
|
graph.Compact_InPlace();
|
|
97
|
-
return
|
|
97
|
+
return graph;
|
|
98
|
+
}
|
|
99
|
+
function ROCrate_encoder_Z7FE34C43(isa, license, fs, ignoreBrokenWR) {
|
|
100
|
+
return encoder(ROCrate_getAsGraph_Z7FE34C43(isa, unwrap(license), unwrap(fs), unwrap(ignoreBrokenWR)));
|
|
98
101
|
}
|
|
99
102
|
function ROCrate_get_decoder() {
|
|
100
103
|
return map((graph) => {
|
|
@@ -177,4 +180,4 @@ function ROCrate_get_decoderDeprecated() {
|
|
|
177
180
|
return map((ldnode) => ARCtrl_ArcInvestigation__ArcInvestigation_fromROCrateInvestigation_Static_Z6839B9E8(exactlyOne(LDDataset.getAbouts(ldnode)), void 0, initV1_1()), decoder$1);
|
|
178
181
|
}
|
|
179
182
|
|
|
180
|
-
export { ROCrate, ROCrate_$reflection, ROCrate_createLicenseNode_29619109, ROCrate_encoder_Z7FE34C43, ROCrate_getLicense_Z2F770004, ROCrate_get_decoder, ROCrate_get_decoderDeprecated, ROCrate_get_metadataFileDescriptor, ROCrate_get_metadataFileDescriptorWfRun, ROCrate_packDatasetAsCrate_Z2DB026F7, ROCrate_writeRunAsCrate_5E53831D, ROCrate_writeWorkflowAsCrate_Z4A0538D9 };
|
|
183
|
+
export { ROCrate, ROCrate_$reflection, ROCrate_createLicenseNode_29619109, ROCrate_encoder_Z7FE34C43, ROCrate_getAsGraph_Z7FE34C43, ROCrate_getLicense_Z2F770004, ROCrate_get_decoder, ROCrate_get_decoderDeprecated, ROCrate_get_metadataFileDescriptor, ROCrate_get_metadataFileDescriptorWfRun, ROCrate_packDatasetAsCrate_Z2DB026F7, ROCrate_writeRunAsCrate_5E53831D, ROCrate_writeWorkflowAsCrate_Z4A0538D9 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatamapColumn.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Spreadsheet/DatamapTable/DatamapColumn.ts"],"names":[],"mappings":"AACA,OAAO,EAAiC,UAAU,EAAO,MAAM,qCAAqC,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,gEAAgE,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,oEAAoE,CAAC;AAC5F,OAAO,
|
|
1
|
+
{"version":3,"file":"DatamapColumn.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Spreadsheet/DatamapTable/DatamapColumn.ts"],"names":[],"mappings":"AACA,OAAO,EAAiC,UAAU,EAAO,MAAM,qCAAqC,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,gEAAgE,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,oEAAoE,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AASxD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAG,WAAW,EAAE,CAMhG;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAuB7E"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { fromFsCells, toFsCells } from './DatamapHeader.js';
|
|
2
2
|
import { map, ofArray, singleton, transpose } from '../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
3
3
|
import { FsCell } from '../../fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js';
|
|
4
|
-
import { DataContext__get_Explication, DataContext__get_Unit, DataContext__get_ObjectType, DataContext__get_Description, DataContext__get_GeneratedBy, DataContext__get_Label } from '../../Core/DataContext.js';
|
|
5
4
|
import { toList, collect, map as map$1, delay, append, singleton as singleton$1, tryFind } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
6
5
|
import { distinct } from '../../../node_modules/@fable-org/fable-library-js/Seq2.js';
|
|
7
6
|
import { defaultArg, value, bind } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
@@ -33,7 +32,7 @@ function toFsColumns(dc) {
|
|
|
33
32
|
const dc_3 = dc_4;
|
|
34
33
|
return toList(delay(() => {
|
|
35
34
|
let dc_2;
|
|
36
|
-
return append((dc_2 = dc_3, ofArray([new FsCell(defaultArg(dc_2.Name, "")), new FsCell(defaultArg(dc_2.Format, "")), new FsCell(defaultArg(dc_2.SelectorFormat, ""))])), delay(() => append(createTerm(
|
|
35
|
+
return append((dc_2 = dc_3, ofArray([new FsCell(defaultArg(dc_2.Name, "")), new FsCell(defaultArg(dc_2.Format, "")), new FsCell(defaultArg(dc_2.SelectorFormat, ""))])), delay(() => append(createTerm(dc_3.Explication), delay(() => append(createTerm(dc_3.Unit), delay(() => append(createTerm(dc_3.ObjectType), delay(() => append(createText(dc_3.Description), delay(() => append(createText(dc_3.GeneratedBy), delay(() => append(createText(dc_3.Label), delay(() => map((key) => new FsCell(defaultArg(bind((c_2) => c_2.Value, tryFind((c_1) => defaultArg(c_1.Name, "") === key, dc_3.Comments)), "")), commentKeys)))))))))))))));
|
|
37
36
|
}));
|
|
38
37
|
}, dc))))));
|
|
39
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatamapHeader.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Spreadsheet/DatamapTable/DatamapHeader.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,UAAU,EAAO,MAAM,qCAAqC,CAAC;AAC/G,OAAO,EAAE,MAAM,EAAE,MAAM,oEAAoE,CAAC;AAC5F,OAAO,EAAiB,MAAM,EAAgB,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,
|
|
1
|
+
{"version":3,"file":"DatamapHeader.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Spreadsheet/DatamapTable/DatamapHeader.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,UAAU,EAAO,MAAM,qCAAqC,CAAC;AAC/G,OAAO,EAAE,MAAM,EAAE,MAAM,oEAAoE,CAAC;AAC5F,OAAO,EAAiB,MAAM,EAAgB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C,CA+B7J;AAED,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,WAAW,KAAK,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC,CAyB9J;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,WAAW,KAAK,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK,WAAW,CAAC,CAAC,CA8E3H;AAED,wBAAgB,SAAS,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,CAE7E"}
|
|
@@ -3,7 +3,6 @@ import { FsCell } from '../../fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/Fs
|
|
|
3
3
|
import { map as map$1, unwrap, value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
4
4
|
import { OntologyAnnotation } from '../../Core/OntologyAnnotation.js';
|
|
5
5
|
import { Data } from '../../Core/Data.js';
|
|
6
|
-
import { DataContext__set_Explication_279AAFF2, DataContext__set_Unit_279AAFF2, DataContext__set_ObjectType_279AAFF2, DataContext__set_Description_6DFDD678, DataContext__set_GeneratedBy_6DFDD678, DataContext__set_Label_6DFDD678 } from '../../Core/DataContext.js';
|
|
7
6
|
import { Option_fromValueWithDefault } from '../../Core/Helper/Collections.js';
|
|
8
7
|
import { Comment$ } from '../../Core/Comment.js';
|
|
9
8
|
import { ActivePatterns_$007CComment$007C_$007C } from '../../Core/Helper/Regex.js';
|
|
@@ -152,7 +151,7 @@ function ActivePattern_$007CExplication$007C_$007C(cells) {
|
|
|
152
151
|
if (activePatternResult != null) {
|
|
153
152
|
const r = value(activePatternResult);
|
|
154
153
|
return (dc) => (cells_1) => {
|
|
155
|
-
|
|
154
|
+
dc.Explication = r(cells_1);
|
|
156
155
|
return dc;
|
|
157
156
|
};
|
|
158
157
|
} else {
|
|
@@ -164,7 +163,7 @@ function ActivePattern_$007CUnit$007C_$007C(cells) {
|
|
|
164
163
|
if (activePatternResult != null) {
|
|
165
164
|
const r = value(activePatternResult);
|
|
166
165
|
return (dc) => (cells_1) => {
|
|
167
|
-
|
|
166
|
+
dc.Unit = r(cells_1);
|
|
168
167
|
return dc;
|
|
169
168
|
};
|
|
170
169
|
} else {
|
|
@@ -176,7 +175,7 @@ function ActivePattern_$007CObjectType$007C_$007C(cells) {
|
|
|
176
175
|
if (activePatternResult != null) {
|
|
177
176
|
const r = value(activePatternResult);
|
|
178
177
|
return (dc) => (cells_1) => {
|
|
179
|
-
|
|
178
|
+
dc.ObjectType = r(cells_1);
|
|
180
179
|
return dc;
|
|
181
180
|
};
|
|
182
181
|
} else {
|
|
@@ -202,7 +201,7 @@ function ActivePattern_$007CDescription$007C_$007C(cells) {
|
|
|
202
201
|
switch (matchResult) {
|
|
203
202
|
case 0:
|
|
204
203
|
return (dc) => (cells_1) => {
|
|
205
|
-
|
|
204
|
+
dc.Description = Option_fromValueWithDefault("", ActivePattern_freeTextFromFsCells(cells_1));
|
|
206
205
|
return dc;
|
|
207
206
|
};
|
|
208
207
|
default:
|
|
@@ -228,7 +227,7 @@ function ActivePattern_$007CGeneratedBy$007C_$007C(cells) {
|
|
|
228
227
|
switch (matchResult) {
|
|
229
228
|
case 0:
|
|
230
229
|
return (dc) => (cells_1) => {
|
|
231
|
-
|
|
230
|
+
dc.GeneratedBy = Option_fromValueWithDefault("", ActivePattern_freeTextFromFsCells(cells_1));
|
|
232
231
|
return dc;
|
|
233
232
|
};
|
|
234
233
|
default:
|
|
@@ -254,7 +253,7 @@ function ActivePattern_$007CLabel$007C_$007C(cells) {
|
|
|
254
253
|
switch (matchResult) {
|
|
255
254
|
case 0:
|
|
256
255
|
return (dc) => (cells_1) => {
|
|
257
|
-
|
|
256
|
+
dc.Label = Option_fromValueWithDefault("", ActivePattern_freeTextFromFsCells(cells_1));
|
|
258
257
|
return dc;
|
|
259
258
|
};
|
|
260
259
|
default:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatamapTable.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Spreadsheet/DatamapTable/DatamapTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiD,UAAU,EAAW,MAAM,qCAAqC,CAAC;AAEzH,OAAO,EAAE,QAAQ,EAAE,MAAM,gEAAgE,CAAC;AAE1F,OAAO,EAAE,OAAO,EAAE,MAAM,sEAAsE,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAC;AAChG,OAAO,EAAoB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"DatamapTable.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Spreadsheet/DatamapTable/DatamapTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiD,UAAU,EAAW,MAAM,qCAAqC,CAAC;AAEzH,OAAO,EAAE,QAAQ,EAAE,MAAM,gEAAgE,CAAC;AAE1F,OAAO,EAAE,OAAO,EAAE,MAAM,sEAAsE,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAC;AAChG,OAAO,EAAoB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAIxD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,MAAM,CAAgG,CAAC;AAEpJ,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAKpG;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,CAEnE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,GAAG,WAAW,EAAE,CAOzE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,CAgBtE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAqCzD"}
|
|
@@ -3,7 +3,7 @@ import { Aux_List_groupWhen } from '../AnnotationTable/ArcTable.js';
|
|
|
3
3
|
import { tryFind, item, toArray, delay, map, toList } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
4
4
|
import { FsWorksheet } from '../../fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js';
|
|
5
5
|
import { value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
6
|
-
import {
|
|
6
|
+
import { DataContext } from '../../Core/DataContext.js';
|
|
7
7
|
import { rangeDouble } from '../../../node_modules/@fable-org/fable-library-js/Range.js';
|
|
8
8
|
import { setFromFsColumns, toFsColumns } from './DatamapColumn.js';
|
|
9
9
|
import { toFail, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
@@ -25,7 +25,7 @@ function tryDatamapTable(sheet) {
|
|
|
25
25
|
}
|
|
26
26
|
function composeColumns(columns) {
|
|
27
27
|
const l = item(0, columns).MaxRowIndex - 1 | 0;
|
|
28
|
-
const dc = Array.from(toArray(delay(() => map((i) =>
|
|
28
|
+
const dc = Array.from(toArray(delay(() => map((i) => new DataContext(), rangeDouble(0, 1, l - 1)))));
|
|
29
29
|
iterate((arg) => {
|
|
30
30
|
setFromFsColumns(dc, arg);
|
|
31
31
|
}, groupColumnsByHeader(toList(columns)));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
1
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
2
2
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
3
3
|
import { ValidationPackage } from '../ValidationPackages/ValidationPackage.js';
|
|
4
4
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { choose, ofArray } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
2
|
-
import { YAMLElement_Nil, YAMLElement_Object, YAMLElement_Mapping, YAMLContent_create_Z1C3A29C9, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
2
|
+
import { YAMLElement_Nil, YAMLElement_Object, YAMLElement_Mapping, YAMLContent_create_Z1C3A29C9, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
3
3
|
import { equals } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
4
4
|
import { unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
5
|
-
import { string, tryInclude } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
5
|
+
import { string, tryInclude } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Encode.fs.js';
|
|
6
6
|
import { toList, delay, collect, singleton } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
7
7
|
import { ValidationPackage } from '../ValidationPackages/ValidationPackage.js';
|
|
8
|
-
import { object, string as string$1 } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
9
|
-
import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
8
|
+
import { object, string as string$1 } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Decode.fs.js';
|
|
9
|
+
import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Reader.fs.js';
|
|
10
10
|
import { defaultWhitespace } from './Encode.js';
|
|
11
|
-
import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
11
|
+
import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Writer.fs.js';
|
|
12
12
|
|
|
13
13
|
function ValidationPackage_encoder(validationpackage) {
|
|
14
14
|
const objSeq = choose((tupledArg) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
1
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
2
2
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
3
3
|
import { ValidationPackagesConfig } from '../ValidationPackages/ValidationPackagesConfig.js';
|
|
4
4
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { choose, ofArray } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
2
|
-
import { YAMLElement_Nil, YAMLElement_Object, YAMLElement_Mapping, YAMLContent_create_Z1C3A29C9, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
2
|
+
import { YAMLElement_Nil, YAMLElement_Object, YAMLElement_Mapping, YAMLContent_create_Z1C3A29C9, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.5/YAMLiciousTypes.fs.js';
|
|
3
3
|
import { equals } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
4
4
|
import { unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
5
|
-
import { tryInclude, resizearray, string } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
5
|
+
import { tryInclude, resizearray, string } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Encode.fs.js';
|
|
6
6
|
import { ValidationPackage_encoder, ValidationPackage_decoder } from './ValidationPackage.js';
|
|
7
7
|
import { toList, delay, collect, singleton } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
8
8
|
import { ValidationPackagesConfig } from '../ValidationPackages/ValidationPackagesConfig.js';
|
|
9
|
-
import { object, resizearray as resizearray$1, string as string$1 } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
10
|
-
import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
9
|
+
import { object, resizearray as resizearray$1, string as string$1 } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Decode.fs.js';
|
|
10
|
+
import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Reader.fs.js';
|
|
11
11
|
import { defaultWhitespace } from './Encode.js';
|
|
12
|
-
import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
12
|
+
import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.5/Writer.fs.js';
|
|
13
13
|
|
|
14
14
|
function ValidationPackagesConfig_encoder(validationpackage) {
|
|
15
15
|
const objSeq = choose((tupledArg) => {
|
package/dist/ts/ts/Yaml.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Decode_decodeCWLProcessingUnit, DecodeParameters_decodeYAMLParameterFil
|
|
|
2
2
|
import { encodeProcessingUnit, writeYaml, yMap } from './CWL/Encode.js';
|
|
3
3
|
import { class_type } from '../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
4
|
import { toList, map } from '../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
5
|
-
import { string, seq } from './fable_modules/YAMLicious.1.0.0-alpha.
|
|
5
|
+
import { string, seq } from './fable_modules/YAMLicious.1.0.0-alpha.5/Encode.fs.js';
|
|
6
6
|
|
|
7
7
|
class YamlHelper_ProcessingUnitYAML {
|
|
8
8
|
constructor() {
|
package/package.json
CHANGED
/package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Decode.fs.js
RENAMED
|
File without changes
|
/package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Encode.fs.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Persil.fs.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Reader.fs.js
RENAMED
|
File without changes
|
/package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Regex.fs.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.5}/Writer.fs.js
RENAMED
|
File without changes
|
|
File without changes
|