@cj-tech-master/excelts 4.0.1-canary.20260104072032.0453bbe → 4.0.1
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.
|
@@ -173,14 +173,7 @@ class Table {
|
|
|
173
173
|
const r = worksheet.getRow(row + count++);
|
|
174
174
|
data.forEach((value, j) => {
|
|
175
175
|
const cell = r.getCell(col + j);
|
|
176
|
-
|
|
177
|
-
cell.value =
|
|
178
|
-
typeof formula === "string"
|
|
179
|
-
? {
|
|
180
|
-
...value,
|
|
181
|
-
formula: formula.replace(/(^|[^A-Za-z0-9_])\[@\[?([^\[\]]+?)\]?\]/g, `$1${table.name}[[#This Row],[$2]]`)
|
|
182
|
-
}
|
|
183
|
-
: value;
|
|
176
|
+
cell.value = value;
|
|
184
177
|
assignStyle(cell, table.columns[j].style);
|
|
185
178
|
});
|
|
186
179
|
});
|
|
@@ -176,14 +176,7 @@ class Table {
|
|
|
176
176
|
const r = worksheet.getRow(row + count++);
|
|
177
177
|
data.forEach((value, j) => {
|
|
178
178
|
const cell = r.getCell(col + j);
|
|
179
|
-
|
|
180
|
-
cell.value =
|
|
181
|
-
typeof formula === "string"
|
|
182
|
-
? {
|
|
183
|
-
...value,
|
|
184
|
-
formula: formula.replace(/(^|[^A-Za-z0-9_])\[@\[?([^\[\]]+?)\]?\]/g, `$1${table.name}[[#This Row],[$2]]`)
|
|
185
|
-
}
|
|
186
|
-
: value;
|
|
179
|
+
cell.value = value;
|
|
187
180
|
assignStyle(cell, table.columns[j].style);
|
|
188
181
|
});
|
|
189
182
|
});
|
|
@@ -173,14 +173,7 @@ class Table {
|
|
|
173
173
|
const r = worksheet.getRow(row + count++);
|
|
174
174
|
data.forEach((value, j) => {
|
|
175
175
|
const cell = r.getCell(col + j);
|
|
176
|
-
|
|
177
|
-
cell.value =
|
|
178
|
-
typeof formula === "string"
|
|
179
|
-
? {
|
|
180
|
-
...value,
|
|
181
|
-
formula: formula.replace(/(^|[^A-Za-z0-9_])\[@\[?([^\[\]]+?)\]?\]/g, `$1${table.name}[[#This Row],[$2]]`)
|
|
182
|
-
}
|
|
183
|
-
: value;
|
|
176
|
+
cell.value = value;
|
|
184
177
|
assignStyle(cell, table.columns[j].style);
|
|
185
178
|
});
|
|
186
179
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @cj-tech-master/excelts v4.0.1
|
|
2
|
+
* @cj-tech-master/excelts v4.0.1
|
|
3
3
|
* TypeScript Excel Workbook Manager - Read and Write xlsx and csv Files.
|
|
4
4
|
* (c) 2026 cjnoname
|
|
5
5
|
* Released under the MIT License
|
|
@@ -2395,11 +2395,7 @@ var ExcelTS = (function(exports) {
|
|
|
2395
2395
|
const r = worksheet.getRow(row + count++);
|
|
2396
2396
|
data.forEach((value, j) => {
|
|
2397
2397
|
const cell = r.getCell(col + j);
|
|
2398
|
-
|
|
2399
|
-
cell.value = typeof formula === "string" ? {
|
|
2400
|
-
...value,
|
|
2401
|
-
formula: formula.replace(/(^|[^A-Za-z0-9_])\[@\[?([^\[\]]+?)\]?\]/g, `$1${table.name}[[#This Row],[$2]]`)
|
|
2402
|
-
} : value;
|
|
2398
|
+
cell.value = value;
|
|
2403
2399
|
assignStyle(cell, table.columns[j].style);
|
|
2404
2400
|
});
|
|
2405
2401
|
});
|