feat: Complex Excel Uploads #71
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "issue69"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +370,4 @@
this.xlmapRules.forEach((rule) => {
let sheetName = rule.XLMAP_SHEET
if (sheetName.startsWith('/')) {
Can you add some comments?
@ -0,0 +409,4 @@
const key = keys[j]
const val = row[key]
extractedData.push({
Can you add some comments? (eg. why we add +1 on index)
@ -0,0 +431,4 @@
public getCellAddress(rule: string, arrayOfObjects: any[]) {
if (rule.startsWith('ABSOLUTE ')) {
rule = rule.replace('ABSOLUTE ', '')
Can you add some comments? (eg. why do we remove it from rule string)
@ -0,0 +502,4 @@
}
}
const temp = XLSX.utils.decode_cell(cellAddress)
Can you add some comments? (eg. what's happening with encoding/decoding cells)
@ -0,0 +515,4 @@
return rule
}
public getFinishingCell(
Can you add some comments? (above function)
@ -0,0 +368,4 @@
public extractData(wb: XLSX.WorkBook) {
const extractedData: XLUploadEntry[] = []
this.xlmapRules.forEach((rule) => {
Can we make search functions to be in separate files inside a xlmap-route/utils or so, and add some tests for them?