@dpuse/dpuse-shared 1.0.130 → 1.0.132
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
CHANGED
|
@@ -241,14 +241,14 @@ _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** |
|
|
245
|
-
| src → index.ts + 9 more | `█████████████░░░░░░░` 66.
|
|
246
|
-
| ↳ index.ts | `▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░` 56.9% · 21.
|
|
247
|
-
| ↳ connectorConfig.schema.ts | `▒░░░░░░░░░░░░░░░░░░░` 3.
|
|
244
|
+
| **dist/dpuse-shared.es.js** | 36.9 kB · gzip 9.7 kB · 100.0% of the build |
|
|
245
|
+
| src → index.ts + 9 more | `█████████████░░░░░░░` 66.6% · 24.6 kB |
|
|
246
|
+
| ↳ index.ts | `▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░` 56.9% · 21.0 kB |
|
|
247
|
+
| ↳ connectorConfig.schema.ts | `▒░░░░░░░░░░░░░░░░░░░` 3.4% · 1.2 kB |
|
|
248
248
|
| ↳ componentConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.5% · 936 B |
|
|
249
249
|
| ↳ 7 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 3.8% · 1.4 kB |
|
|
250
|
-
| valibot → dist/index.mjs | `████░░░░░░░░░░░░░░░░`
|
|
251
|
-
| (bundler output, whitespace & JSON) | `███░░░░░░░░░░░░░░░░░` 14.
|
|
250
|
+
| valibot → dist/index.mjs | `████░░░░░░░░░░░░░░░░` 19.0% · 7.0 kB |
|
|
251
|
+
| (bundler output, whitespace & JSON) | `███░░░░░░░░░░░░░░░░░` 14.4% · 5.3 kB |
|
|
252
252
|
|
|
253
253
|
Bars show each row's share of its output file. ↳ rows are part of the row above.
|
|
254
254
|
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -479,7 +479,7 @@ function ce(e, t = "en") {
|
|
|
479
479
|
}
|
|
480
480
|
//#endregion
|
|
481
481
|
//#region src/component/dataView/index.ts
|
|
482
|
-
n({ en: "Data Positioning Events" }), n({ en: "Delimited Text" }), n({ en: "JSON" }), n({ en: "Markdown" }), n({ en: "SPSS" }), n({ en: "Plain Text" }), n({ en: "XLSX" }), n({ en: "XML" });
|
|
482
|
+
n({ en: "Data Positioning Events" }), n({ en: "Delimited Text" }), n({ en: "JSON" }), n({ en: "JSON Lines" }), n({ en: "Markdown" }), n({ en: "SPSS" }), n({ en: "Plain Text" }), n({ en: "XLSX" }), n({ en: "XML" });
|
|
483
483
|
var le = [
|
|
484
484
|
",",
|
|
485
485
|
";",
|
|
@@ -1557,96 +1557,26 @@ function tt(e, t) {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
//#endregion
|
|
1559
1559
|
//#region src/utilities/index.ts
|
|
1560
|
-
var
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
"bz2",
|
|
1564
|
-
"gz",
|
|
1565
|
-
"rar",
|
|
1566
|
-
"tar",
|
|
1567
|
-
"tgz",
|
|
1568
|
-
"xz",
|
|
1569
|
-
"zip"
|
|
1570
|
-
],
|
|
1571
|
-
audio: [
|
|
1572
|
-
"aac",
|
|
1573
|
-
"flac",
|
|
1574
|
-
"m4a",
|
|
1575
|
-
"mp3",
|
|
1576
|
-
"ogg",
|
|
1577
|
-
"wav"
|
|
1578
|
-
],
|
|
1579
|
-
documents: [
|
|
1580
|
-
"doc",
|
|
1581
|
-
"docx",
|
|
1582
|
-
"key",
|
|
1583
|
-
"numbers",
|
|
1584
|
-
"odp",
|
|
1585
|
-
"odt",
|
|
1586
|
-
"pages",
|
|
1587
|
-
"pdf",
|
|
1588
|
-
"ppt",
|
|
1589
|
-
"pptx",
|
|
1590
|
-
"rtf"
|
|
1591
|
-
],
|
|
1592
|
-
images: [
|
|
1593
|
-
"bmp",
|
|
1594
|
-
"gif",
|
|
1595
|
-
"heic",
|
|
1596
|
-
"ico",
|
|
1597
|
-
"jpeg",
|
|
1598
|
-
"jpg",
|
|
1599
|
-
"png",
|
|
1600
|
-
"psd",
|
|
1601
|
-
"svg",
|
|
1602
|
-
"tif",
|
|
1603
|
-
"tiff",
|
|
1604
|
-
"webp"
|
|
1605
|
-
],
|
|
1606
|
-
programs: [
|
|
1607
|
-
"app",
|
|
1608
|
-
"bin",
|
|
1609
|
-
"dll",
|
|
1610
|
-
"dmg",
|
|
1611
|
-
"exe",
|
|
1612
|
-
"iso",
|
|
1613
|
-
"msi",
|
|
1614
|
-
"so"
|
|
1615
|
-
],
|
|
1616
|
-
unreadDataFormats: [
|
|
1617
|
-
"arrow",
|
|
1618
|
-
"avro",
|
|
1619
|
-
"db",
|
|
1620
|
-
"ods",
|
|
1621
|
-
"parquet",
|
|
1622
|
-
"por",
|
|
1623
|
-
"sav",
|
|
1624
|
-
"sqlite",
|
|
1625
|
-
"xls",
|
|
1626
|
-
"xlsm",
|
|
1627
|
-
"xlsx",
|
|
1628
|
-
"xltm",
|
|
1629
|
-
"xltx"
|
|
1630
|
-
],
|
|
1631
|
-
video: [
|
|
1632
|
-
"avi",
|
|
1633
|
-
"m4v",
|
|
1634
|
-
"mkv",
|
|
1635
|
-
"mov",
|
|
1636
|
-
"mp4",
|
|
1637
|
-
"webm",
|
|
1638
|
-
"wmv"
|
|
1639
|
-
]
|
|
1640
|
-
}).flat()), K = /* @__PURE__ */ new Map([
|
|
1560
|
+
var K = /* @__PURE__ */ new Map([
|
|
1561
|
+
["arrow", "application/vnd.apache.arrow.file"],
|
|
1562
|
+
["avro", "application/vnd.apache.avro"],
|
|
1641
1563
|
["bin", "application/octet-stream"],
|
|
1564
|
+
["cfb", "application/x-cfb"],
|
|
1642
1565
|
["csv", "text/csv"],
|
|
1566
|
+
["dat", "application/octet-stream"],
|
|
1643
1567
|
["json", "application/json"],
|
|
1568
|
+
["jsonl", "application/jsonl"],
|
|
1644
1569
|
["md", "text/markdown"],
|
|
1570
|
+
["ods", "application/vnd.oasis.opendocument.spreadsheet"],
|
|
1571
|
+
["parquet", "application/vnd.apache.parquet"],
|
|
1572
|
+
["sav", "application/x-spss-sav"],
|
|
1645
1573
|
["spss", "application/octet-stream"],
|
|
1574
|
+
["sqlite", "application/vnd.sqlite3"],
|
|
1646
1575
|
["tab", "text/tab-separated-values"],
|
|
1647
1576
|
["tsv", "text/tab-separated-values"],
|
|
1648
1577
|
["txt", "text/plain"],
|
|
1649
1578
|
["xls", "application/vnd.ms-excel"],
|
|
1579
|
+
["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
|
|
1650
1580
|
["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
|
|
1651
1581
|
["xml", "application/xml"]
|
|
1652
1582
|
]), q = "en", J = [
|
|
@@ -1655,7 +1585,7 @@ var nt = new Set(Object.values({
|
|
|
1655
1585
|
["minute", 6e4],
|
|
1656
1586
|
["second", 1e3],
|
|
1657
1587
|
["millisecond", 1]
|
|
1658
|
-
],
|
|
1588
|
+
], nt = [
|
|
1659
1589
|
["byte", 1],
|
|
1660
1590
|
["kilobyte", 1024],
|
|
1661
1591
|
["megabyte", 1048576],
|
|
@@ -1672,18 +1602,18 @@ function Z(e, t = 2, n = t, r = q) {
|
|
|
1672
1602
|
useGrouping: !0
|
|
1673
1603
|
}).format(e);
|
|
1674
1604
|
}
|
|
1675
|
-
function
|
|
1605
|
+
function rt(e, t = q) {
|
|
1676
1606
|
return Z(e, 0, 0, t);
|
|
1677
1607
|
}
|
|
1678
|
-
function
|
|
1608
|
+
function it(e, t = 1, n = q) {
|
|
1679
1609
|
return e == null || !Number.isFinite(e) ? "" : $(n, {
|
|
1680
1610
|
maximumFractionDigits: t,
|
|
1681
1611
|
notation: "compact"
|
|
1682
1612
|
}).format(e);
|
|
1683
1613
|
}
|
|
1684
|
-
function
|
|
1614
|
+
function at(e, t = 1, n = q) {
|
|
1685
1615
|
if (e == null || !Number.isFinite(e)) return "";
|
|
1686
|
-
let [r, i] =
|
|
1616
|
+
let [r, i] = nt.find(([, n]) => pt(Math.abs(e) / n, n === 1 ? 0 : t) < 1024) ?? ["terabyte", 1099511627776];
|
|
1687
1617
|
return $(n, {
|
|
1688
1618
|
maximumFractionDigits: i === 1 ? 0 : t,
|
|
1689
1619
|
style: "unit",
|
|
@@ -1691,7 +1621,7 @@ function ot(e, t = 1, n = q) {
|
|
|
1691
1621
|
unitDisplay: i === 1 ? "long" : "short"
|
|
1692
1622
|
}).format(e / i);
|
|
1693
1623
|
}
|
|
1694
|
-
function
|
|
1624
|
+
function ot(e, t = "millisecond", n = q) {
|
|
1695
1625
|
if (e == null || !Number.isFinite(e)) return "";
|
|
1696
1626
|
let r = Math.round(Math.abs(e)), i = J.findIndex(([, e]) => r >= e), a = i === -1 ? J.length - 1 : i, o = J.findIndex(([e]) => e === t), s = J.slice(a, Math.max(o, a) + 1), c = [];
|
|
1697
1627
|
for (let [t, i] of s) {
|
|
@@ -1705,28 +1635,25 @@ function st(e, t = "millisecond", n = q) {
|
|
|
1705
1635
|
unitDisplay: "short"
|
|
1706
1636
|
}).format(o));
|
|
1707
1637
|
}
|
|
1708
|
-
return
|
|
1638
|
+
return ft(n).format(c);
|
|
1709
1639
|
}
|
|
1710
|
-
function
|
|
1640
|
+
function st(e) {
|
|
1711
1641
|
if (!e) return;
|
|
1712
1642
|
let t = Q(e);
|
|
1713
1643
|
return t === void 0 ? e : e.slice(0, t);
|
|
1714
1644
|
}
|
|
1715
|
-
function
|
|
1645
|
+
function ct(e) {
|
|
1716
1646
|
if (!e) return;
|
|
1717
1647
|
let t = Q(e);
|
|
1718
1648
|
return t === void 0 ? void 0 : e.slice(t + 1);
|
|
1719
1649
|
}
|
|
1720
|
-
function
|
|
1721
|
-
return e != null && nt.has(e.toLowerCase());
|
|
1722
|
-
}
|
|
1723
|
-
function dt(e) {
|
|
1650
|
+
function lt(e) {
|
|
1724
1651
|
return e != null && K.has(e.toLowerCase());
|
|
1725
1652
|
}
|
|
1726
|
-
function
|
|
1653
|
+
function ut(e) {
|
|
1727
1654
|
return (e == null ? void 0 : K.get(e.toLowerCase())) ?? "application/octet-stream";
|
|
1728
1655
|
}
|
|
1729
|
-
function
|
|
1656
|
+
function dt(e) {
|
|
1730
1657
|
switch (e) {
|
|
1731
1658
|
case "Edm.Boolean": return "boolean";
|
|
1732
1659
|
case "Edm.Byte":
|
|
@@ -1751,7 +1678,7 @@ function Q(e) {
|
|
|
1751
1678
|
let t = e.lastIndexOf("/") + 1, n = e.lastIndexOf(".");
|
|
1752
1679
|
return n > t && n < e.length - 1 ? n : void 0;
|
|
1753
1680
|
}
|
|
1754
|
-
function
|
|
1681
|
+
function ft(e) {
|
|
1755
1682
|
let t = Y.get(e);
|
|
1756
1683
|
return t || (t = new Intl.ListFormat(e, {
|
|
1757
1684
|
style: "narrow",
|
|
@@ -1762,9 +1689,9 @@ function $(e, t) {
|
|
|
1762
1689
|
let n = `${e}|${JSON.stringify(t)}`, r = X.get(n);
|
|
1763
1690
|
return r || (r = new Intl.NumberFormat(e, t), X.set(n, r)), r;
|
|
1764
1691
|
}
|
|
1765
|
-
function
|
|
1692
|
+
function pt(e, t) {
|
|
1766
1693
|
let n = 10 ** t;
|
|
1767
1694
|
return Math.round(e * n) / n;
|
|
1768
1695
|
}
|
|
1769
1696
|
//#endregion
|
|
1770
|
-
export { I as APIError, F as AppError, R as ConnectorError, e as DEFAULT_LOCALE_ID, U as ENCODING_GROUP_CONFIG_MAP, W as ENCODING_TYPE_CONFIG_MAP, L as EngineError, z as FetchError, le as ORDERED_VALUE_DELIMITER_IDS, t as SUPPORTED_LANGUAGES, Me as buildFetchError, oe as componentInstanceConfigSchema, Ne as concatenateSerialisedErrorMessages, _e as connectorConfigSchema, we as constructConnectorCategoryConfig, Te as constructConnectorItemTypeConfig, Ee as constructConnectorUsageConfig,
|
|
1697
|
+
export { I as APIError, F as AppError, R as ConnectorError, e as DEFAULT_LOCALE_ID, U as ENCODING_GROUP_CONFIG_MAP, W as ENCODING_TYPE_CONFIG_MAP, L as EngineError, z as FetchError, le as ORDERED_VALUE_DELIMITER_IDS, t as SUPPORTED_LANGUAGES, Me as buildFetchError, oe as componentInstanceConfigSchema, Ne as concatenateSerialisedErrorMessages, _e as connectorConfigSchema, we as constructConnectorCategoryConfig, Te as constructConnectorItemTypeConfig, Ee as constructConnectorUsageConfig, dt as convertODataTypeIdToUsageTypeId, ke as cookbookConfigSchema, n as createLabelMap, Ce as determineConnectorUsageId, ct as extractExtensionFromPath, st as extractPathWithoutExtension, Z as formatNumberAsDecimalNumber, ot as formatNumberAsDuration, it as formatNumberAsSize, at as formatNumberAsStorageSize, rt as formatNumberAsWholeNumber, ce as getComponentStatus, De as getConnectorActionsTable, Ze as getEncodingTypeConfigs, lt as hasMimeTypeForExtension, Pe as ignoreErrors, G as isEncodingTypeId, Ge as loadPresenter, qe as loadTool, $e as localiseConfig, et as localiseConfigs, tt as localiseReference, ut as lookupMimeTypeForExtension, B as normalizeToError, Ue as presenterConfigSchema, Xe as resolveDecoderId, r as resolveLabel, Fe as serialiseError, Ie as unserialiseError };
|