@nfdi4plants/arctrl 3.0.0-beta.8 → 3.0.0-beta.9
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/ARC.d.ts +13 -7
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +144 -84
- package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Datamap.js +27 -8
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +5 -5
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +33 -8
- package/dist/ts/ts/Core/DataMap.d.ts +18 -17
- package/dist/ts/ts/Core/DataMap.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataMap.js +82 -64
- package/dist/ts/ts/Json/DataMap/DataMap.d.ts.map +1 -1
- package/dist/ts/ts/Json/DataMap/DataMap.js +3 -3
- package/dist/ts/ts/Spreadsheet/DataMap.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMap.js +2 -2
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
- package/package.json +1 -1
|
@@ -77,6 +77,84 @@ class DataMap {
|
|
|
77
77
|
this.staticHash = 0;
|
|
78
78
|
this["dataContexts@108"] = dataContexts;
|
|
79
79
|
}
|
|
80
|
+
get StaticHash() {
|
|
81
|
+
const this$ = this;
|
|
82
|
+
return this$.staticHash | 0;
|
|
83
|
+
}
|
|
84
|
+
set StaticHash(value) {
|
|
85
|
+
const this$ = this;
|
|
86
|
+
this$.staticHash = value | 0;
|
|
87
|
+
}
|
|
88
|
+
get DataContexts() {
|
|
89
|
+
const this$ = this;
|
|
90
|
+
return this$["dataContexts@108"];
|
|
91
|
+
}
|
|
92
|
+
static init() {
|
|
93
|
+
return new DataMap([]);
|
|
94
|
+
}
|
|
95
|
+
GetExplicationColumn() {
|
|
96
|
+
const this$ = this;
|
|
97
|
+
return DataMapAux_getOntologyColumn(DataContext__get_Explication, this$["dataContexts@108"]);
|
|
98
|
+
}
|
|
99
|
+
SetExplicationColumn(cells) {
|
|
100
|
+
const this$ = this;
|
|
101
|
+
DataMapAux_setOntologyColumn((dc, oa) => {
|
|
102
|
+
DataContext__set_Explication_279AAFF2(dc, oa);
|
|
103
|
+
}, cells, this$["dataContexts@108"]);
|
|
104
|
+
}
|
|
105
|
+
GetUnitColumn() {
|
|
106
|
+
const this$ = this;
|
|
107
|
+
return DataMapAux_getOntologyColumn(DataContext__get_Unit, this$["dataContexts@108"]);
|
|
108
|
+
}
|
|
109
|
+
SetUnitColumn(cells) {
|
|
110
|
+
const this$ = this;
|
|
111
|
+
DataMapAux_setOntologyColumn((dc, oa) => {
|
|
112
|
+
DataContext__set_Unit_279AAFF2(dc, oa);
|
|
113
|
+
}, cells, this$["dataContexts@108"]);
|
|
114
|
+
}
|
|
115
|
+
GetObjectTypeColumn() {
|
|
116
|
+
const this$ = this;
|
|
117
|
+
return DataMapAux_getOntologyColumn(DataContext__get_ObjectType, this$["dataContexts@108"]);
|
|
118
|
+
}
|
|
119
|
+
SetDataTypeColumn(cells) {
|
|
120
|
+
const this$ = this;
|
|
121
|
+
DataMapAux_setOntologyColumn((dc, oa) => {
|
|
122
|
+
DataContext__set_ObjectType_279AAFF2(dc, oa);
|
|
123
|
+
}, cells, this$["dataContexts@108"]);
|
|
124
|
+
}
|
|
125
|
+
GetLabelColumn() {
|
|
126
|
+
const this$ = this;
|
|
127
|
+
return DataMapAux_getStringColumn((dc) => dc.Name, this$["dataContexts@108"]);
|
|
128
|
+
}
|
|
129
|
+
SetLabelColumn(cells) {
|
|
130
|
+
const this$ = this;
|
|
131
|
+
DataMapAux_setStringColumn((dc, s) => {
|
|
132
|
+
dc.Name = s;
|
|
133
|
+
}, cells, this$["dataContexts@108"]);
|
|
134
|
+
}
|
|
135
|
+
GetDescriptionColumn() {
|
|
136
|
+
const this$ = this;
|
|
137
|
+
return DataMapAux_getStringColumn(DataContext__get_Description, this$["dataContexts@108"]);
|
|
138
|
+
}
|
|
139
|
+
SetDescriptionColumn(cells) {
|
|
140
|
+
const this$ = this;
|
|
141
|
+
DataMapAux_setStringColumn((dc, s) => {
|
|
142
|
+
DataContext__set_Description_6DFDD678(dc, s);
|
|
143
|
+
}, cells, this$["dataContexts@108"]);
|
|
144
|
+
}
|
|
145
|
+
GetDataContext(row, SkipValidation) {
|
|
146
|
+
const this$ = this;
|
|
147
|
+
DataMapAux_SanityChecks_rowIndexInBoundaries(row, this$["dataContexts@108"]);
|
|
148
|
+
return this$["dataContexts@108"][row];
|
|
149
|
+
}
|
|
150
|
+
static getDataContext(row, SkipValidation) {
|
|
151
|
+
return (dm) => dm.GetDataContext(row, SkipValidation);
|
|
152
|
+
}
|
|
153
|
+
Copy() {
|
|
154
|
+
let collection;
|
|
155
|
+
const this$ = this;
|
|
156
|
+
return new DataMap((collection = map(DataContext__Copy, this$["dataContexts@108"]), Array.from(collection)));
|
|
157
|
+
}
|
|
80
158
|
Equals(obj) {
|
|
81
159
|
const this$ = this;
|
|
82
160
|
return hash(this$) === hash(obj);
|
|
@@ -85,6 +163,9 @@ class DataMap {
|
|
|
85
163
|
const this$ = this;
|
|
86
164
|
return boxHashSeq(this$["dataContexts@108"]) | 0;
|
|
87
165
|
}
|
|
166
|
+
static get FileName() {
|
|
167
|
+
return "isa.datamap.xlsx";
|
|
168
|
+
}
|
|
88
169
|
}
|
|
89
170
|
function DataMap_$reflection() {
|
|
90
171
|
return class_type("ARCtrl.DataMap", void 0, DataMap);
|
|
@@ -92,68 +173,5 @@ function DataMap_$reflection() {
|
|
|
92
173
|
function DataMap_$ctor_4E3220A7(dataContexts) {
|
|
93
174
|
return new DataMap(dataContexts);
|
|
94
175
|
}
|
|
95
|
-
function DataMap__get_StaticHash(this$) {
|
|
96
|
-
return this$.staticHash;
|
|
97
|
-
}
|
|
98
|
-
function DataMap__set_StaticHash_Z524259A4(this$, value) {
|
|
99
|
-
this$.staticHash = value | 0;
|
|
100
|
-
}
|
|
101
|
-
function DataMap__get_DataContexts(this$) {
|
|
102
|
-
return this$["dataContexts@108"];
|
|
103
|
-
}
|
|
104
|
-
function DataMap_init() {
|
|
105
|
-
return DataMap_$ctor_4E3220A7([]);
|
|
106
|
-
}
|
|
107
|
-
function DataMap__GetExplicationColumn(this$) {
|
|
108
|
-
return DataMapAux_getOntologyColumn(DataContext__get_Explication, this$["dataContexts@108"]);
|
|
109
|
-
}
|
|
110
|
-
function DataMap__SetExplicationColumn_C98E589(this$, cells) {
|
|
111
|
-
DataMapAux_setOntologyColumn((dc, oa) => {
|
|
112
|
-
DataContext__set_Explication_279AAFF2(dc, oa);
|
|
113
|
-
}, cells, this$["dataContexts@108"]);
|
|
114
|
-
}
|
|
115
|
-
function DataMap__GetUnitColumn(this$) {
|
|
116
|
-
return DataMapAux_getOntologyColumn(DataContext__get_Unit, this$["dataContexts@108"]);
|
|
117
|
-
}
|
|
118
|
-
function DataMap__SetUnitColumn_C98E589(this$, cells) {
|
|
119
|
-
DataMapAux_setOntologyColumn((dc, oa) => {
|
|
120
|
-
DataContext__set_Unit_279AAFF2(dc, oa);
|
|
121
|
-
}, cells, this$["dataContexts@108"]);
|
|
122
|
-
}
|
|
123
|
-
function DataMap__GetObjectTypeColumn(this$) {
|
|
124
|
-
return DataMapAux_getOntologyColumn(DataContext__get_ObjectType, this$["dataContexts@108"]);
|
|
125
|
-
}
|
|
126
|
-
function DataMap__SetDataTypeColumn_C98E589(this$, cells) {
|
|
127
|
-
DataMapAux_setOntologyColumn((dc, oa) => {
|
|
128
|
-
DataContext__set_ObjectType_279AAFF2(dc, oa);
|
|
129
|
-
}, cells, this$["dataContexts@108"]);
|
|
130
|
-
}
|
|
131
|
-
function DataMap__GetLabelColumn(this$) {
|
|
132
|
-
return DataMapAux_getStringColumn((dc) => dc.Name, this$["dataContexts@108"]);
|
|
133
|
-
}
|
|
134
|
-
function DataMap__SetLabelColumn_C98E589(this$, cells) {
|
|
135
|
-
DataMapAux_setStringColumn((dc, s) => {
|
|
136
|
-
dc.Name = s;
|
|
137
|
-
}, cells, this$["dataContexts@108"]);
|
|
138
|
-
}
|
|
139
|
-
function DataMap__GetDescriptionColumn(this$) {
|
|
140
|
-
return DataMapAux_getStringColumn(DataContext__get_Description, this$["dataContexts@108"]);
|
|
141
|
-
}
|
|
142
|
-
function DataMap__SetDescriptionColumn_C98E589(this$, cells) {
|
|
143
|
-
DataMapAux_setStringColumn((dc, s) => {
|
|
144
|
-
DataContext__set_Description_6DFDD678(dc, s);
|
|
145
|
-
}, cells, this$["dataContexts@108"]);
|
|
146
|
-
}
|
|
147
|
-
function DataMap__GetDataContext_Z58338566(this$, row, SkipValidation) {
|
|
148
|
-
DataMapAux_SanityChecks_rowIndexInBoundaries(row, this$["dataContexts@108"]);
|
|
149
|
-
return this$["dataContexts@108"][row];
|
|
150
|
-
}
|
|
151
|
-
function DataMap_getDataContext_Z58338566(row, SkipValidation) {
|
|
152
|
-
return (dm) => DataMap__GetDataContext_Z58338566(dm, row, SkipValidation);
|
|
153
|
-
}
|
|
154
|
-
function DataMap__Copy(this$) {
|
|
155
|
-
let collection;
|
|
156
|
-
return DataMap_$ctor_4E3220A7((collection = map(DataContext__Copy, this$["dataContexts@108"]), Array.from(collection)));
|
|
157
|
-
}
|
|
158
176
|
|
|
159
|
-
export { DataMap, DataMapAux_SanityChecks_lengthOfNewColumn, DataMapAux_SanityChecks_rowIndexInBoundaries, DataMapAux_allowedHeaders, DataMapAux_dataHeader, DataMapAux_descriptionHeader, DataMapAux_explication, DataMapAux_explicationHeader, DataMapAux_generatedByHeader, DataMapAux_getOntologyColumn, DataMapAux_getStringColumn, DataMapAux_labelHeader, DataMapAux_objectType, DataMapAux_objectTypeHeader, DataMapAux_setOntologyColumn, DataMapAux_setStringColumn, DataMapAux_unit, DataMapAux_unitHeader, DataMap_$ctor_4E3220A7, DataMap_$reflection
|
|
177
|
+
export { DataMap, DataMapAux_SanityChecks_lengthOfNewColumn, DataMapAux_SanityChecks_rowIndexInBoundaries, DataMapAux_allowedHeaders, DataMapAux_dataHeader, DataMapAux_descriptionHeader, DataMapAux_explication, DataMapAux_explicationHeader, DataMapAux_generatedByHeader, DataMapAux_getOntologyColumn, DataMapAux_getStringColumn, DataMapAux_labelHeader, DataMapAux_objectType, DataMapAux_objectTypeHeader, DataMapAux_setOntologyColumn, DataMapAux_setStringColumn, DataMapAux_unit, DataMapAux_unitHeader, DataMap_$ctor_4E3220A7, DataMap_$reflection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataMap.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/DataMap/DataMap.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,
|
|
1
|
+
{"version":3,"file":"DataMap.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/DataMap/DataMap.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,wBAAgB,OAAO,CAAC,EAAE,EAAE,OAAO,GAAG,UAAU,CAQ/C;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,OAAO,CAGrC,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,EAAE,EAAE,EAAE,OAAO,GAAG,UAAU,CAEnL;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,SAAS,EAAE,oBAAoB,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,CAE7I"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { seq } from '../../fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js';
|
|
2
2
|
import { map } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
3
3
|
import { encoder as encoder$1, decoder as decoder$1 } from './DataContext.js';
|
|
4
|
-
import {
|
|
4
|
+
import { DataMap } from '../../Core/DataMap.js';
|
|
5
5
|
import { object, resizeArray } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
6
6
|
|
|
7
7
|
function encoder(dm) {
|
|
8
|
-
const values_1 = [["dataContexts", seq(map(encoder$1,
|
|
8
|
+
const values_1 = [["dataContexts", seq(map(encoder$1, dm.DataContexts))]];
|
|
9
9
|
return {
|
|
10
10
|
Encode(helpers) {
|
|
11
11
|
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers)], values_1);
|
|
@@ -15,7 +15,7 @@ function encoder(dm) {
|
|
|
15
15
|
}
|
|
16
16
|
const decoder = object((get$) => {
|
|
17
17
|
let arg_1, objectArg;
|
|
18
|
-
return
|
|
18
|
+
return new DataMap((arg_1 = resizeArray(decoder$1), objectArg = get$.Required, objectArg.Field("dataContexts", arg_1)));
|
|
19
19
|
});
|
|
20
20
|
function encoderCompressed(stringTable, oaTable, cellTable, dm) {
|
|
21
21
|
return encoder(dm);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataMap.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Spreadsheet/DataMap.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"DataMap.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Spreadsheet/DataMap.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,+DAA+D,CAAC;AAE3F;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAoBvD;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAKzD"}
|
|
@@ -2,7 +2,7 @@ import { toFail, printf } from '../../node_modules/@fable-org/fable-library-js/S
|
|
|
2
2
|
import { tryPick, forAll } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
3
3
|
import { tryFromFsWorksheet, toFsWorksheet } from './DataMapTable/DataMapTable.js';
|
|
4
4
|
import { value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
5
|
-
import {
|
|
5
|
+
import { DataMap } from '../Core/DataMap.js';
|
|
6
6
|
import { FsWorkbook } from '../fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js';
|
|
7
7
|
|
|
8
8
|
function fromFsWorkbook(doc) {
|
|
@@ -11,7 +11,7 @@ function fromFsWorkbook(doc) {
|
|
|
11
11
|
const dataMapTable = tryPick(tryFromFsWorksheet, worksheets);
|
|
12
12
|
if (dataMapTable == null) {
|
|
13
13
|
if (forAll((sheet) => sheet.CellCollection.Count === 0, worksheets)) {
|
|
14
|
-
return
|
|
14
|
+
return DataMap.init();
|
|
15
15
|
} else {
|
|
16
16
|
throw new Error("No DataMapTable was found in any of the sheets of the workbook");
|
|
17
17
|
}
|
|
@@ -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,
|
|
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,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"}
|
|
@@ -7,7 +7,7 @@ import { DataContext_$ctor_Z780A8A2A } 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';
|
|
10
|
-
import {
|
|
10
|
+
import { DataMap } from '../../Core/DataMap.js';
|
|
11
11
|
import { FsRangeAddress } from '../../fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js';
|
|
12
12
|
import { FsAddress } from '../../fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js';
|
|
13
13
|
import { Dictionary_tryGet } from '../../fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js';
|
|
@@ -38,7 +38,7 @@ function tryFromFsWorksheet(sheet) {
|
|
|
38
38
|
return void 0;
|
|
39
39
|
} else {
|
|
40
40
|
const t = value(matchValue);
|
|
41
|
-
return
|
|
41
|
+
return new DataMap(composeColumns(t.GetColumns(sheet.CellCollection)));
|
|
42
42
|
}
|
|
43
43
|
} catch (err) {
|
|
44
44
|
const arg = sheet.Name;
|
|
@@ -49,10 +49,10 @@ function tryFromFsWorksheet(sheet) {
|
|
|
49
49
|
function toFsWorksheet(table) {
|
|
50
50
|
const stringCount = /* @__PURE__ */ new Map([]);
|
|
51
51
|
const ws = new FsWorksheet("isa_datamap");
|
|
52
|
-
if (
|
|
52
|
+
if (table.DataContexts.length === 0) {
|
|
53
53
|
return ws;
|
|
54
54
|
} else {
|
|
55
|
-
const columns = toFsColumns(
|
|
55
|
+
const columns = toFsColumns(table.DataContexts);
|
|
56
56
|
const maxRow = length(head(columns)) | 0;
|
|
57
57
|
const maxCol = length(columns) | 0;
|
|
58
58
|
const fsTable = ws.Table("datamapTable", new FsRangeAddress(new FsAddress(1, 1), new FsAddress(maxRow, maxCol)));
|