bt-core-app 1.4.564 → 1.4.565
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/bt-core-app.js +9 -9
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -10156,16 +10156,16 @@ function ak(e) {
|
|
|
10156
10156
|
csvInd: void 0
|
|
10157
10157
|
}));
|
|
10158
10158
|
const p = d[0].split(",");
|
|
10159
|
-
m.forEach((T) => {
|
|
10159
|
+
if (m.forEach((T) => {
|
|
10160
10160
|
T.csvInd = p.findIndex((w) => w == T.headerName || w == T.propName || Vo(w) == Vo(T.headerName) || Vo(w) == Vo(T.propName));
|
|
10161
|
-
}), m = m.filter((T) => T.csvInd != null && T.csvInd > -1), console.log(m), d.
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10161
|
+
}), m = m.filter((T) => T.csvInd != null && T.csvInd > -1), console.log(m), d.length > 1)
|
|
10162
|
+
for (var v = 1; v < d.length; v++) {
|
|
10163
|
+
const T = {};
|
|
10164
|
+
var g = d[v].split(",");
|
|
10165
|
+
m.forEach((w) => {
|
|
10166
|
+
g.length > w.csvInd - 1 && (T[w.propName] = g[w.csvInd]);
|
|
10167
|
+
}), f.push(T);
|
|
10168
|
+
}
|
|
10169
10169
|
}
|
|
10170
10170
|
}
|
|
10171
10171
|
(e == null ? void 0 : e.onImport) != null && e.onImport(f), t.value = void 0;
|
package/package.json
CHANGED