@dpuse/dpuse-shared 1.0.177 → 1.0.179
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/README.md +4 -4
- package/dist/dpuse-shared.es.js +13 -8
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/component/dataView/index.d.ts +2 -1
- package/dist/types/src/component/module/connector/index.d.ts +6 -3
- package/dist/types/src/component/module/connector/objectParsing.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -241,11 +241,11 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
241
241
|
|
|
242
242
|
| Chunk/Module/File | Composition |
|
|
243
243
|
| :-------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
|
|
244
|
-
| **dist/dpuse-shared.es.js** | 63.
|
|
245
|
-
| src → index.ts + 13 more | `████████████████░░░░` 77.7% · 49.
|
|
246
|
-
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 34.
|
|
244
|
+
| **dist/dpuse-shared.es.js** | 63.3 kB · gzip 18.1 kB · 100.0% of the build |
|
|
245
|
+
| src → index.ts + 13 more | `████████████████░░░░` 77.7% · 49.2 kB |
|
|
246
|
+
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 34.4% · 21.8 kB |
|
|
247
247
|
| ↳ dataFormatIcons.ts | `▒▒▒▒▒░░░░░░░░░░░░░░░` 26.6% · 16.8 kB |
|
|
248
|
-
| ↳ objectParsing.ts | `▒▒░░░░░░░░░░░░░░░░░░` 7.
|
|
248
|
+
| ↳ objectParsing.ts | `▒▒░░░░░░░░░░░░░░░░░░` 7.9% · 5.0 kB |
|
|
249
249
|
| ↳ delimitedText.ts | `▒░░░░░░░░░░░░░░░░░░░` 2.5% · 1.6 kB |
|
|
250
250
|
| ↳ connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.1% · 1.3 kB |
|
|
251
251
|
| ↳ 9 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 4.3% · 2.7 kB |
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -1536,6 +1536,7 @@ async function et(e) {
|
|
|
1536
1536
|
contentAuditConfig: Y({
|
|
1537
1537
|
asAt: t,
|
|
1538
1538
|
columns: [],
|
|
1539
|
+
hasHeaders: !1,
|
|
1539
1540
|
isComplete: !0,
|
|
1540
1541
|
recordCount: 0,
|
|
1541
1542
|
size: u,
|
|
@@ -1566,6 +1567,7 @@ async function et(e) {
|
|
|
1566
1567
|
contentAuditConfig: Y({
|
|
1567
1568
|
asAt: t,
|
|
1568
1569
|
columns: [],
|
|
1570
|
+
hasHeaders: !1,
|
|
1569
1571
|
isComplete: n.isComplete,
|
|
1570
1572
|
recordCount: 0,
|
|
1571
1573
|
size: u,
|
|
@@ -1600,6 +1602,7 @@ async function et(e) {
|
|
|
1600
1602
|
contentAuditConfig: Y({
|
|
1601
1603
|
asAt: t,
|
|
1602
1604
|
columns: _.columnConfigs,
|
|
1605
|
+
hasHeaders: _.hasHeaderRow,
|
|
1603
1606
|
isComplete: n.isComplete,
|
|
1604
1607
|
recordCount: Math.max(0, g.parsedRecords.length - +!!_.hasHeaderRow),
|
|
1605
1608
|
size: u,
|
|
@@ -1642,34 +1645,36 @@ async function nt(e) {
|
|
|
1642
1645
|
valueDelimiterId: r.valueDelimiterId
|
|
1643
1646
|
}, (e, t) => {
|
|
1644
1647
|
l.auditRecords(t), n(t.length, f.byteCount());
|
|
1645
|
-
});
|
|
1648
|
+
}), { columnConfigs: m, hasHeaders: h } = l.completeAudit();
|
|
1646
1649
|
return {
|
|
1647
1650
|
asAt: s,
|
|
1648
1651
|
byteCount: f.byteCount(),
|
|
1649
|
-
columns:
|
|
1652
|
+
columns: m,
|
|
1650
1653
|
commentLineCount: p.commentLineCount,
|
|
1651
1654
|
duration: performance.now() - c,
|
|
1652
1655
|
emptyLineCount: p.emptyLineCount,
|
|
1656
|
+
hasHeaders: h,
|
|
1653
1657
|
invalidFieldLengthCount: p.nonUniformRecordCount,
|
|
1654
1658
|
isComplete: f.isComplete(),
|
|
1655
1659
|
lineCount: p.lineCount,
|
|
1656
|
-
recordCount: Math.max(0, p.recordCount - +!!
|
|
1660
|
+
recordCount: Math.max(0, p.recordCount - +!!h),
|
|
1657
1661
|
sourceWaitDuration: d.waitDuration()
|
|
1658
1662
|
};
|
|
1659
1663
|
}
|
|
1660
1664
|
function Y(e) {
|
|
1661
|
-
let { asAt: t, columns: n,
|
|
1665
|
+
let { asAt: t, columns: n, hasHeaders: r, isComplete: i, recordCount: a, size: o, startedAt: s } = e;
|
|
1662
1666
|
return {
|
|
1663
1667
|
asAt: t,
|
|
1664
|
-
byteCount:
|
|
1668
|
+
byteCount: o,
|
|
1665
1669
|
columns: n,
|
|
1666
1670
|
commentLineCount: void 0,
|
|
1667
|
-
duration: performance.now() -
|
|
1671
|
+
duration: performance.now() - s,
|
|
1668
1672
|
emptyLineCount: void 0,
|
|
1673
|
+
hasHeaders: r,
|
|
1669
1674
|
invalidFieldLengthCount: void 0,
|
|
1670
|
-
isComplete:
|
|
1675
|
+
isComplete: i,
|
|
1671
1676
|
lineCount: void 0,
|
|
1672
|
-
recordCount:
|
|
1677
|
+
recordCount: a,
|
|
1673
1678
|
sourceWaitDuration: void 0
|
|
1674
1679
|
};
|
|
1675
1680
|
}
|