@nfdi4plants/arctrl 3.0.1 → 3.1.0

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.
Files changed (80) hide show
  1. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Collections.Generic.js +320 -0
  2. package/dist/ts/ts/ARC.d.ts +3 -3
  3. package/dist/ts/ts/ARC.d.ts.map +1 -1
  4. package/dist/ts/ts/ARC.js +72 -93
  5. package/dist/ts/ts/CWL/Decode.d.ts +13 -10
  6. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  7. package/dist/ts/ts/CWL/Decode.js +91 -46
  8. package/dist/ts/ts/CWL/Encode.d.ts +1 -1
  9. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  10. package/dist/ts/ts/CWL/Encode.js +69 -51
  11. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +6 -3
  12. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  13. package/dist/ts/ts/CWL/ExpressionToolDescription.js +13 -4
  14. package/dist/ts/ts/CWL/OperationDescription.d.ts +6 -3
  15. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  16. package/dist/ts/ts/CWL/OperationDescription.js +13 -4
  17. package/dist/ts/ts/CWL/Requirements.d.ts +6 -5
  18. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  19. package/dist/ts/ts/CWL/Requirements.js +9 -8
  20. package/dist/ts/ts/CWL/ToolDescription.d.ts +6 -3
  21. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  22. package/dist/ts/ts/CWL/ToolDescription.js +13 -4
  23. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +6 -3
  24. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  25. package/dist/ts/ts/CWL/WorkflowDescription.js +13 -4
  26. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +1 -1
  27. package/dist/ts/ts/CWL/WorkflowSteps.js +1 -1
  28. package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
  29. package/dist/ts/ts/Contract/Git.js +1 -1
  30. package/dist/ts/ts/ContractIO/ContractIO.d.ts +3 -3
  31. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  32. package/dist/ts/ts/ContractIO/ContractIO.js +27 -23
  33. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  34. package/dist/ts/ts/Conversion/Basic.js +6 -6
  35. package/dist/ts/ts/Conversion/Workflow.js +3 -3
  36. package/dist/ts/ts/Core/DataContext.d.ts +21 -29
  37. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  38. package/dist/ts/ts/Core/DataContext.js +70 -84
  39. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  40. package/dist/ts/ts/Core/Datamap.js +13 -12
  41. package/dist/ts/ts/Core/OntologyAnnotation.d.ts.map +1 -1
  42. package/dist/ts/ts/Core/OntologyAnnotation.js +76 -2
  43. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +3 -0
  44. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  45. package/dist/ts/ts/Core/Table/ArcTableAux.js +23 -10
  46. package/dist/ts/ts/Core/Table/ArcTables.d.ts +1 -0
  47. package/dist/ts/ts/Core/Table/ArcTables.d.ts.map +1 -1
  48. package/dist/ts/ts/Core/Table/ArcTables.js +7 -3
  49. package/dist/ts/ts/Json/Datamap/DataContext.d.ts.map +1 -1
  50. package/dist/ts/ts/Json/Datamap/DataContext.js +6 -6
  51. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +1 -1
  52. package/dist/ts/ts/ROCrateIO.d.ts +1 -0
  53. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  54. package/dist/ts/ts/ROCrateIO.js +6 -3
  55. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts.map +1 -1
  56. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +1 -2
  57. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts.map +1 -1
  58. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +6 -7
  59. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  60. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +2 -2
  61. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +1 -1
  62. package/dist/ts/ts/Yaml/ValidationPackage.js +5 -5
  63. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +1 -1
  64. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -5
  65. package/dist/ts/ts/Yaml.js +1 -1
  66. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/Decode.fs.js +124 -24
  67. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/Preprocessing.fs.js +66 -24
  68. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/Reader.fs.js +474 -295
  69. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Writer.fs.js +659 -0
  70. package/package.json +1 -1
  71. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.4/Writer.fs.js +0 -391
  72. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/Encode.fs.js +0 -0
  73. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/Escapes.fs.js +0 -0
  74. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/FlowToBlock.fs.js +0 -0
  75. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/Interop/JsInterop.fs.js +0 -0
  76. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/Persil.fs.js +0 -0
  77. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/Regex.fs.js +0 -0
  78. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/RegexActivePatterns.fs.js +0 -0
  79. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/StringBuffer.fs.js +0 -0
  80. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.4 → YAMLicious.1.0.0-alpha.7}/YAMLiciousTypes.fs.js +0 -0
@@ -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;AAMnD,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAW1F,qBAAa,OAAO;;CAGnB;AAED,wBAAgB,mBAAmB,IAAI,QAAQ,CAE9C;AAED,wBAAgB,kCAAkC,IAAI,MAAM,CAK3D;AAED,wBAAgB,uCAAuC,IAAI,MAAM,CAKhE;AAED,wBAAgB,kCAAkC,CAAC,OAAO,EAA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L;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"}
@@ -84,7 +84,7 @@ function ROCrate_getLicense_Z2F770004(license, context) {
84
84
  return new License("fulltext", "", path_1);
85
85
  }
86
86
  }
87
- function ROCrate_encoder_Z7FE34C43(isa, license, fs, ignoreBrokenWR) {
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 encoder(graph);
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,EAAwK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAS9N,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
+ {"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(DataContext__get_Explication(dc_3)), delay(() => append(createTerm(DataContext__get_Unit(dc_3)), delay(() => append(createTerm(DataContext__get_ObjectType(dc_3)), delay(() => append(createText(DataContext__get_Description(dc_3)), delay(() => append(createText(DataContext__get_GeneratedBy(dc_3)), delay(() => append(createText(DataContext__get_Label(dc_3)), delay(() => map((key) => new FsCell(defaultArg(bind((c_2) => c_2.Value, tryFind((c_1) => defaultArg(c_1.Name, "") === key, dc_3.Comments)), "")), commentKeys)))))))))))))));
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,EAAuL,WAAW,EAAyC,MAAM,2BAA2B,CAAC;AAOpR,wBAAgB,2CAA2C,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,MA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AK,WAAW,CAAC,CAAC,CAAC,CA4B3J;AAED,wBAAgB,kCAAkC,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,CA4B1J;AAED,wBAAgB,qCAAqC,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,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
- DataContext__set_Explication_279AAFF2(dc, r(cells_1));
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
- DataContext__set_Unit_279AAFF2(dc, r(cells_1));
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
- DataContext__set_ObjectType_279AAFF2(dc, r(cells_1));
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
- DataContext__set_Description_6DFDD678(dc, Option_fromValueWithDefault("", ActivePattern_freeTextFromFsCells(cells_1)));
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
- DataContext__set_GeneratedBy_6DFDD678(dc, Option_fromValueWithDefault("", ActivePattern_freeTextFromFsCells(cells_1)));
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
- DataContext__set_Label_6DFDD678(dc, Option_fromValueWithDefault("", ActivePattern_freeTextFromFsCells(cells_1)));
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,EAA+B,MAAM,2BAA2B,CAAC;AAIrF,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,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AAO,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 { DataContext_$ctor_Z780A8A2A } from '../../Core/DataContext.js';
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) => DataContext_$ctor_Z780A8A2A(), rangeDouble(0, 1, l - 1)))));
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.4/YAMLiciousTypes.fs.js';
1
+ import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.7/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.4/YAMLiciousTypes.fs.js';
2
+ import { YAMLElement_Nil, YAMLElement_Object, YAMLElement_Mapping, YAMLContent_create_Z1C3A29C9, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.7/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.4/Encode.fs.js';
5
+ import { string, tryInclude } from '../fable_modules/YAMLicious.1.0.0-alpha.7/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.4/Decode.fs.js';
9
- import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.4/Reader.fs.js';
8
+ import { object, string as string$1 } from '../fable_modules/YAMLicious.1.0.0-alpha.7/Decode.fs.js';
9
+ import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.7/Reader.fs.js';
10
10
  import { defaultWhitespace } from './Encode.js';
11
- import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.4/Writer.fs.js';
11
+ import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.7/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.4/YAMLiciousTypes.fs.js';
1
+ import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.7/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.4/YAMLiciousTypes.fs.js';
2
+ import { YAMLElement_Nil, YAMLElement_Object, YAMLElement_Mapping, YAMLContent_create_Z1C3A29C9, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.7/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.4/Encode.fs.js';
5
+ import { tryInclude, resizearray, string } from '../fable_modules/YAMLicious.1.0.0-alpha.7/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.4/Decode.fs.js';
10
- import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.4/Reader.fs.js';
9
+ import { object, resizearray as resizearray$1, string as string$1 } from '../fable_modules/YAMLicious.1.0.0-alpha.7/Decode.fs.js';
10
+ import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.7/Reader.fs.js';
11
11
  import { defaultWhitespace } from './Encode.js';
12
- import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.4/Writer.fs.js';
12
+ import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.7/Writer.fs.js';
13
13
 
14
14
  function ValidationPackagesConfig_encoder(validationpackage) {
15
15
  const objSeq = choose((tupledArg) => {
@@ -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.4/Encode.fs.js';
5
+ import { string, seq } from './fable_modules/YAMLicious.1.0.0-alpha.7/Encode.fs.js';
6
6
 
7
7
  class YamlHelper_ProcessingUnitYAML {
8
8
  constructor() {
@@ -1,7 +1,10 @@
1
1
  import { isString } from './Interop/JsInterop.fs.js';
2
+ import { split, replace, isNullOrWhiteSpace, toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
3
+ import { StringBuilder_$ctor, StringBuilder__Append_244C7CD6, StringBuilder__Append_Z721C83C5 } from '../../../node_modules/@fable-org/fable-library-js/System.Text.js';
4
+ import { item } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
5
+ import { toString, FSharpRef } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
6
+ import { value, some, map as map$3 } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
2
7
  import { tryParse } from '../../../node_modules/@fable-org/fable-library-js/Int32.js';
3
- import { FSharpRef } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
4
- import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
5
8
  import { isEmpty, head, tail, map as map$1, toArray, tryFind, filter, exists, iterate } from '../../../node_modules/@fable-org/fable-library-js/List.js';
6
9
  import { tryParse as tryParse$1 } from '../../../node_modules/@fable-org/fable-library-js/Double.js';
7
10
  import { tryParse as tryParse$2 } from '../../../node_modules/@fable-org/fable-library-js/Boolean.js';
@@ -10,7 +13,6 @@ import { compare, structuralHash, equals } from '../../../node_modules/@fable-or
10
13
  import { Dictionary } from '../../../node_modules/@fable-org/fable-library-js/MutableMap.js';
11
14
  import { minValue, tryParse as tryParse$3 } from '../../../node_modules/@fable-org/fable-library-js/Date.js';
12
15
  import { minValue as minValue$1, tryParse as tryParse$4 } from '../../../node_modules/@fable-org/fable-library-js/DateOffset.js';
13
- import { some, map as map$3, value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
14
16
  import { map as map$2 } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
15
17
  import { addToDict } from '../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
16
18
  import { class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
@@ -19,6 +21,60 @@ import { read as read$1 } from './Reader.fs.js';
19
21
  function Helper_isString(value) {
20
22
  return isString(value);
21
23
  }
24
+ function Helper_foldPlainScalarLines(value) {
25
+ const lines = split(replace(value, "\r\n", "\n"), ["\n"], void 0, 0);
26
+ const isMoreIndented = (line) => {
27
+ if (line.startsWith(" ")) {
28
+ return true;
29
+ } else {
30
+ return line.startsWith(" ");
31
+ }
32
+ };
33
+ const sb = StringBuilder_$ctor();
34
+ for (let i = 0; i <= lines.length - 1; i++) {
35
+ const line_1 = item(i, lines);
36
+ if (isNullOrWhiteSpace(line_1)) {
37
+ StringBuilder__Append_244C7CD6(sb, "\n");
38
+ } else {
39
+ StringBuilder__Append_Z721C83C5(sb, line_1);
40
+ if (i < lines.length - 1) {
41
+ const next = item(i + 1, lines);
42
+ if (isNullOrWhiteSpace(next)) {
43
+ StringBuilder__Append_244C7CD6(sb, "\n");
44
+ } else if (isMoreIndented(line_1) ? true : isMoreIndented(next)) {
45
+ StringBuilder__Append_244C7CD6(sb, "\n");
46
+ } else {
47
+ StringBuilder__Append_244C7CD6(sb, " ");
48
+ }
49
+ }
50
+ }
51
+ }
52
+ return toString(sb);
53
+ }
54
+ function Helper_scalarValue(content) {
55
+ const matchValue = content.Style;
56
+ let matchResult;
57
+ if (matchValue != null) {
58
+ if (value(matchValue).tag === /* Plain */
59
+ 0) {
60
+ if (content.Value.indexOf("\n") >= 0) {
61
+ matchResult = 0;
62
+ } else {
63
+ matchResult = 1;
64
+ }
65
+ } else {
66
+ matchResult = 1;
67
+ }
68
+ } else {
69
+ matchResult = 1;
70
+ }
71
+ switch (matchResult) {
72
+ case 0:
73
+ return Helper_foldPlainScalarLines(content.Value);
74
+ default:
75
+ return content.Value;
76
+ }
77
+ }
22
78
  function int(value) {
23
79
  let matchResult, v;
24
80
  switch (value.tag) {
@@ -52,15 +108,16 @@ function int(value) {
52
108
  }
53
109
  switch (matchResult) {
54
110
  case 0: {
111
+ const scalar = Helper_scalarValue(v);
55
112
  let matchValue;
56
113
  let outArg = 0;
57
- matchValue = [tryParse(v.Value, 511, false, 32, new FSharpRef(() => outArg, (v_1) => {
114
+ matchValue = [tryParse(scalar, 511, false, 32, new FSharpRef(() => outArg, (v_1) => {
58
115
  outArg = v_1 | 0;
59
116
  })), outArg];
60
117
  if (matchValue[0]) {
61
118
  return matchValue[1] | 0;
62
119
  } else {
63
- throw new Error(toText(printf("%s: %A"))("Expected an int")(v.Value) + "\\nParameter name: value");
120
+ throw new Error(toText(printf("%s: %A"))("Expected an int")(scalar) + "\\nParameter name: value");
64
121
  }
65
122
  }
66
123
  default:
@@ -101,15 +158,16 @@ function float(value) {
101
158
  }
102
159
  switch (matchResult) {
103
160
  case 0: {
161
+ const scalar = Helper_scalarValue(v);
104
162
  let matchValue;
105
163
  let outArg = 0;
106
- matchValue = [tryParse$1(v.Value, new FSharpRef(() => outArg, (v_1) => {
164
+ matchValue = [tryParse$1(scalar, new FSharpRef(() => outArg, (v_1) => {
107
165
  outArg = v_1;
108
166
  })), outArg];
109
167
  if (matchValue[0]) {
110
168
  return matchValue[1];
111
169
  } else {
112
- throw new Error(toText(printf("%s: %A"))("Expected an int")(v.Value) + "\\nParameter name: value");
170
+ throw new Error(toText(printf("%s: %A"))("Expected an int")(scalar) + "\\nParameter name: value");
113
171
  }
114
172
  }
115
173
  default:
@@ -153,12 +211,14 @@ function char(value) {
153
211
  }
154
212
  }
155
213
  switch (matchResult) {
156
- case 0:
157
- if (Helper_isString(v.Value)) {
158
- return v.Value[0];
214
+ case 0: {
215
+ const scalar = Helper_scalarValue(v);
216
+ if (Helper_isString(scalar)) {
217
+ return scalar[0];
159
218
  } else {
160
- throw new Error(toText(printf("%s: %A"))("Expected a char")(v.Value) + "\\nParameter name: value");
219
+ throw new Error(toText(printf("%s: %A"))("Expected a char")(scalar) + "\\nParameter name: value");
161
220
  }
221
+ }
162
222
  default:
163
223
  throw new Error(toText(printf("%s: %A"))("Expected a char")(anyElse) + "\\nParameter name: value");
164
224
  }
@@ -201,15 +261,16 @@ function bool(value) {
201
261
  }
202
262
  switch (matchResult) {
203
263
  case 0: {
264
+ const scalar = Helper_scalarValue(v);
204
265
  let matchValue;
205
266
  let outArg = false;
206
- matchValue = [tryParse$2(v.Value, new FSharpRef(() => outArg, (v_1) => {
267
+ matchValue = [tryParse$2(scalar, new FSharpRef(() => outArg, (v_1) => {
207
268
  outArg = v_1;
208
269
  })), outArg];
209
270
  if (matchValue[0]) {
210
271
  return matchValue[1];
211
272
  } else {
212
- throw new Error(toText(printf("%s: %A"))("Expected a bool")(v.Value) + "\\nParameter name: value");
273
+ throw new Error(toText(printf("%s: %A"))("Expected a bool")(scalar) + "\\nParameter name: value");
213
274
  }
214
275
  }
215
276
  default:
@@ -293,15 +354,16 @@ function datetime(value) {
293
354
  }
294
355
  switch (matchResult) {
295
356
  case 0: {
357
+ const scalar = Helper_scalarValue(v);
296
358
  let matchValue;
297
359
  let outArg = minValue();
298
- matchValue = [tryParse$3(v.Value, new FSharpRef(() => outArg, (v_1) => {
360
+ matchValue = [tryParse$3(scalar, new FSharpRef(() => outArg, (v_1) => {
299
361
  outArg = v_1;
300
362
  })), outArg];
301
363
  if (matchValue[0]) {
302
364
  return matchValue[1];
303
365
  } else {
304
- throw new Error(toText(printf("%s: %A"))("Expected a DateTime")(v.Value) + "\\nParameter name: value");
366
+ throw new Error(toText(printf("%s: %A"))("Expected a DateTime")(scalar) + "\\nParameter name: value");
305
367
  }
306
368
  }
307
369
  default:
@@ -346,15 +408,16 @@ function datetimeOffset(value) {
346
408
  }
347
409
  switch (matchResult) {
348
410
  case 0: {
411
+ const scalar = Helper_scalarValue(v);
349
412
  let matchValue;
350
413
  let outArg = minValue$1();
351
- matchValue = [tryParse$4(v.Value, new FSharpRef(() => outArg, (v_1) => {
414
+ matchValue = [tryParse$4(scalar, new FSharpRef(() => outArg, (v_1) => {
352
415
  outArg = v_1;
353
416
  })), outArg];
354
417
  if (matchValue[0]) {
355
418
  return matchValue[1];
356
419
  } else {
357
- throw new Error(toText(printf("%s: %A"))("Expected a DateTimeOffset")(v.Value) + "\\nParameter name: value");
420
+ throw new Error(toText(printf("%s: %A"))("Expected a DateTimeOffset")(scalar) + "\\nParameter name: value");
358
421
  }
359
422
  }
360
423
  default:
@@ -446,7 +509,7 @@ function string(value) {
446
509
  }
447
510
  switch (matchResult) {
448
511
  case 0:
449
- return v.Value;
512
+ return Helper_scalarValue(v);
450
513
  default:
451
514
  throw new Error(toText(printf("%s: %A"))("Expected a string")(anyElse) + "\\nParameter name: value");
452
515
  }
@@ -1441,11 +1504,48 @@ function values(decoder, value) {
1441
1504
  switch (matchResult) {
1442
1505
  case 0:
1443
1506
  return map$1((_arg) => {
1444
- if (_arg.tag === /* Value */
1445
- 1) {
1446
- return decoder(_arg);
1447
- } else {
1448
- throw new Error(toText(printf("%s: %A"))("Expected a values")(_arg) + "\\nParameter name: value");
1507
+ let matchResult_1, element, element_1, anyElse;
1508
+ switch (_arg.tag) {
1509
+ case /* Value */
1510
+ 1: {
1511
+ matchResult_1 = 0;
1512
+ element = _arg;
1513
+ break;
1514
+ }
1515
+ case /* Object */
1516
+ 3: {
1517
+ if (!isEmpty(_arg.fields[0])) {
1518
+ if (head(_arg.fields[0]).tag === /* Value */
1519
+ 1) {
1520
+ if (isEmpty(tail(_arg.fields[0]))) {
1521
+ matchResult_1 = 1;
1522
+ element_1 = _arg;
1523
+ } else {
1524
+ matchResult_1 = 2;
1525
+ anyElse = _arg;
1526
+ }
1527
+ } else {
1528
+ matchResult_1 = 2;
1529
+ anyElse = _arg;
1530
+ }
1531
+ } else {
1532
+ matchResult_1 = 2;
1533
+ anyElse = _arg;
1534
+ }
1535
+ break;
1536
+ }
1537
+ default: {
1538
+ matchResult_1 = 2;
1539
+ anyElse = _arg;
1540
+ }
1541
+ }
1542
+ switch (matchResult_1) {
1543
+ case 0:
1544
+ return decoder(element);
1545
+ case 1:
1546
+ return decoder(element_1);
1547
+ default:
1548
+ throw new Error(toText(printf("%s: %A"))("Expected a values")(anyElse) + "\\nParameter name: value");
1449
1549
  }
1450
1550
  }, v);
1451
1551
  default:
@@ -1600,4 +1700,4 @@ function read(yaml) {
1600
1700
  return read$1(yaml);
1601
1701
  }
1602
1702
 
1603
- export { Getter, Getter_$ctor_D9C929, Getter_$reflection, Helper_isString, array, bool, char, datetime, datetimeOffset, dict, float, int, list, map, object, option, read, resizearray, seq, string, tuple2, tuple3, tuple4, tuple5, tuple6, tuple7, tuple8, values };
1703
+ export { Getter, Getter_$ctor_D9C929, Getter_$reflection, Helper_isString, Helper_scalarValue, array, bool, char, datetime, datetimeOffset, dict, float, int, list, map, object, option, read, resizearray, seq, string, tuple2, tuple3, tuple4, tuple5, tuple6, tuple7, tuple8, values };
@@ -7,7 +7,7 @@ import { StringBuffer_$ctor, StringBuffer__AppendLine_Z721C83C5 } from './String
7
7
  import { getEnumerator, disposeSafe } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
8
8
  import { toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
9
9
  import { pipeline } from './Persil.fs.js';
10
- import { isEmpty, tail, head, cons, takeWhile as takeWhile$1, skipWhile, reverse, empty, ofArray, ofSeq } from '../../../node_modules/@fable-org/fable-library-js/List.js';
10
+ import { isEmpty, tail, head, tryFind, cons, takeWhile as takeWhile$1, skipWhile, reverse, empty, ofArray, ofSeq } from '../../../node_modules/@fable-org/fable-library-js/List.js';
11
11
 
12
12
  function ReadHelpers_indentLevel(line) {
13
13
  return length(takeWhile((c) => c === " ", line.split("")));
@@ -91,32 +91,74 @@ function read(yamlStr) {
91
91
  if (!isEmpty(lines)) {
92
92
  const rest = tail(lines);
93
93
  const line_1 = head(lines);
94
- const isEmptyLine = line_1.trim() === "";
95
- const nextIntendation = (isEmptyLine ? currentIntendation : ReadHelpers_indentLevel(line_1)) | 0;
96
- if (nextIntendation === currentIntendation) {
97
- lines_mut = rest;
98
- currentIntendation_mut = currentIntendation;
99
- acc_mut = cons(PreprocessorElement_Line(isEmptyLine ? "" : stripIndent(currentIntendation, line_1)), acc);
100
- continue loop;
101
- } else {
102
- const lineText_1 = isEmptyLine ? "" : stripIndent(nextIntendation, line_1);
103
- const nextLevelLines = takeWhile$1((l) => {
104
- if (l.trim() === "") {
105
- return true;
94
+ if (line_1.trim() === "") {
95
+ const nextIndentedLine = tryFind((l) => l.trim() !== "", rest);
96
+ let matchResult, nextLine_1;
97
+ if (nextIndentedLine != null) {
98
+ if (ReadHelpers_indentLevel(value(nextIndentedLine)) > currentIntendation) {
99
+ matchResult = 0;
100
+ nextLine_1 = value(nextIndentedLine);
106
101
  } else {
107
- return ReadHelpers_indentLevel(l) > currentIntendation;
102
+ matchResult = 1;
108
103
  }
109
- }, rest);
110
- lines_mut = skipWhile((l_1) => {
111
- if (l_1.trim() === "") {
112
- return true;
113
- } else {
114
- return ReadHelpers_indentLevel(l_1) > currentIntendation;
104
+ } else {
105
+ matchResult = 1;
106
+ }
107
+ switch (matchResult) {
108
+ case 0: {
109
+ const nextIntendation = ReadHelpers_indentLevel(nextLine_1) | 0;
110
+ const nextLevelLines = takeWhile$1((l_1) => {
111
+ if (l_1.trim() === "") {
112
+ return true;
113
+ } else {
114
+ return ReadHelpers_indentLevel(l_1) > currentIntendation;
115
+ }
116
+ }, cons(line_1, rest));
117
+ lines_mut = skipWhile((l_2) => {
118
+ if (l_2.trim() === "") {
119
+ return true;
120
+ } else {
121
+ return ReadHelpers_indentLevel(l_2) > currentIntendation;
122
+ }
123
+ }, rest);
124
+ currentIntendation_mut = currentIntendation;
125
+ acc_mut = cons(PreprocessorElement_Intendation(reverse(loop(nextLevelLines, nextIntendation, empty()))), acc);
126
+ continue loop;
115
127
  }
116
- }, rest);
117
- currentIntendation_mut = currentIntendation;
118
- acc_mut = cons(PreprocessorElement_Intendation(cons(PreprocessorElement_Line(lineText_1), reverse(loop(nextLevelLines, nextIntendation, empty())))), acc);
119
- continue loop;
128
+ default: {
129
+ lines_mut = rest;
130
+ currentIntendation_mut = currentIntendation;
131
+ acc_mut = cons(PreprocessorElement_Line(""), acc);
132
+ continue loop;
133
+ }
134
+ }
135
+ } else {
136
+ const nextIntendation_1 = ReadHelpers_indentLevel(line_1) | 0;
137
+ if (nextIntendation_1 === currentIntendation) {
138
+ lines_mut = rest;
139
+ currentIntendation_mut = currentIntendation;
140
+ acc_mut = cons(PreprocessorElement_Line(stripIndent(currentIntendation, line_1)), acc);
141
+ continue loop;
142
+ } else {
143
+ const lineText_1 = stripIndent(nextIntendation_1, line_1);
144
+ const nextLevelLines_1 = takeWhile$1((l_3) => {
145
+ if (l_3.trim() === "") {
146
+ return true;
147
+ } else {
148
+ return ReadHelpers_indentLevel(l_3) > currentIntendation;
149
+ }
150
+ }, rest);
151
+ lines_mut = skipWhile((l_4) => {
152
+ if (l_4.trim() === "") {
153
+ return true;
154
+ } else {
155
+ return ReadHelpers_indentLevel(l_4) > currentIntendation;
156
+ }
157
+ }, rest);
158
+ currentIntendation_mut = currentIntendation;
159
+ acc_mut = cons(PreprocessorElement_Intendation(cons(PreprocessorElement_Line(lineText_1), reverse(loop(nextLevelLines_1, nextIntendation_1, empty())))), acc);
160
+ continue loop;
161
+ }
120
162
  }
121
163
  } else {
122
164
  return acc;