@dpuse/dpuse-shared 1.0.209 → 1.0.211
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 +8 -8
- package/dist/dpuse-shared.es.js +341 -306
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/component/dataView/index.d.ts +17 -3
- package/dist/types/src/component/module/connector/connectorConfig.schema.d.ts +2 -2
- package/dist/types/src/component/module/connector/index.d.ts +23 -25
- package/dist/types/src/component/module/connector/objectParsing.d.ts +4 -6
- package/dist/types/src/component/module/connector/storeValues.d.ts +4 -0
- package/dist/types/src/component/module/tool/filePreviewer.d.ts +2 -5
- package/dist/types/src/component/module/tool/index.d.ts +2 -2
- package/dist/types/src/component/module/tool/parser.d.ts +9 -2
- package/package.json +2 -2
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -449,7 +449,7 @@ function te(...e) {
|
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
451
|
/* @__NO_SIDE_EFFECTS__ */
|
|
452
|
-
function
|
|
452
|
+
function ne(e, t, n) {
|
|
453
453
|
let r = e["~run"]({ value: t }, /* @__PURE__ */ a(n));
|
|
454
454
|
return {
|
|
455
455
|
typed: r.typed,
|
|
@@ -459,10 +459,10 @@ function E(e, t, n) {
|
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
461
|
// src/locale/locale.schema.ts
|
|
462
|
-
var
|
|
462
|
+
var E = /* @__PURE__ */ C({
|
|
463
463
|
en: /* @__PURE__ */ w(),
|
|
464
464
|
es: /* @__PURE__ */ w()
|
|
465
|
-
}),
|
|
465
|
+
}), re = {
|
|
466
466
|
id: /* @__PURE__ */ w(),
|
|
467
467
|
label: /* @__PURE__ */ C({
|
|
468
468
|
en: /* @__PURE__ */ x(/* @__PURE__ */ w()),
|
|
@@ -474,7 +474,7 @@ var D = /* @__PURE__ */ C({
|
|
|
474
474
|
}),
|
|
475
475
|
icon: /* @__PURE__ */ y(/* @__PURE__ */ w()),
|
|
476
476
|
iconDark: /* @__PURE__ */ y(/* @__PURE__ */ w())
|
|
477
|
-
},
|
|
477
|
+
}, D = (e) => /* @__PURE__ */ ee(e.map((e) => /* @__PURE__ */ _(e))), ie = D([
|
|
478
478
|
"app",
|
|
479
479
|
"connector",
|
|
480
480
|
"connectorConnection",
|
|
@@ -496,32 +496,32 @@ var D = /* @__PURE__ */ C({
|
|
|
496
496
|
"presenter",
|
|
497
497
|
"presenterPresentation",
|
|
498
498
|
"tool"
|
|
499
|
-
]),
|
|
499
|
+
]), ae = D([
|
|
500
500
|
"danger",
|
|
501
501
|
"success",
|
|
502
502
|
"warning"
|
|
503
|
-
]),
|
|
503
|
+
]), oe = D([
|
|
504
504
|
"alpha",
|
|
505
505
|
"beta",
|
|
506
506
|
"releaseCandidate",
|
|
507
507
|
"generalAvailability"
|
|
508
|
-
]),
|
|
509
|
-
color:
|
|
508
|
+
]), se = /* @__PURE__ */ C({
|
|
509
|
+
color: ae,
|
|
510
510
|
label: /* @__PURE__ */ w()
|
|
511
|
-
}),
|
|
512
|
-
...
|
|
513
|
-
typeId:
|
|
514
|
-
},
|
|
515
|
-
...
|
|
511
|
+
}), O = {
|
|
512
|
+
...re,
|
|
513
|
+
typeId: ie
|
|
514
|
+
}, k = /* @__PURE__ */ C({
|
|
515
|
+
...O,
|
|
516
516
|
order: /* @__PURE__ */ b(),
|
|
517
517
|
path: /* @__PURE__ */ w()
|
|
518
|
-
}),
|
|
519
|
-
...
|
|
518
|
+
}), ce = {
|
|
519
|
+
...O,
|
|
520
520
|
firstCreatedAt: /* @__PURE__ */ y(/* @__PURE__ */ b()),
|
|
521
521
|
lastUpdatedAt: /* @__PURE__ */ y(/* @__PURE__ */ b()),
|
|
522
|
-
status: /* @__PURE__ */ y(
|
|
523
|
-
statusId: /* @__PURE__ */ y(
|
|
524
|
-
},
|
|
522
|
+
status: /* @__PURE__ */ y(se),
|
|
523
|
+
statusId: /* @__PURE__ */ y(oe)
|
|
524
|
+
}, le = /* @__PURE__ */ C({ ...ce }), ue = [
|
|
525
525
|
{
|
|
526
526
|
id: "alpha",
|
|
527
527
|
color: "danger",
|
|
@@ -555,8 +555,8 @@ var D = /* @__PURE__ */ C({
|
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
];
|
|
558
|
-
function
|
|
559
|
-
let n =
|
|
558
|
+
function de(e, t = "en") {
|
|
559
|
+
let n = ue.find((t) => t.id === e);
|
|
560
560
|
if (n) {
|
|
561
561
|
let e = n.labels[t] ?? n.labels.en ?? n.id;
|
|
562
562
|
return {
|
|
@@ -570,7 +570,7 @@ function fe(e, t = "en") {
|
|
|
570
570
|
};
|
|
571
571
|
}
|
|
572
572
|
// src/component/dataView/index.ts
|
|
573
|
-
var
|
|
573
|
+
var fe = [
|
|
574
574
|
{
|
|
575
575
|
id: "arrow",
|
|
576
576
|
isTable: !1,
|
|
@@ -649,7 +649,7 @@ var pe = [
|
|
|
649
649
|
isText: !1,
|
|
650
650
|
supportId: "unsupported"
|
|
651
651
|
}
|
|
652
|
-
],
|
|
652
|
+
], A = [
|
|
653
653
|
{
|
|
654
654
|
id: ",",
|
|
655
655
|
character: ","
|
|
@@ -690,7 +690,7 @@ var pe = [
|
|
|
690
690
|
id: "0x1E",
|
|
691
691
|
character: ""
|
|
692
692
|
}
|
|
693
|
-
],
|
|
693
|
+
], pe = [
|
|
694
694
|
{
|
|
695
695
|
id: "string",
|
|
696
696
|
defaultSubtypeId: "plain",
|
|
@@ -747,11 +747,11 @@ var pe = [
|
|
|
747
747
|
isChoosable: !1,
|
|
748
748
|
subtypeIds: []
|
|
749
749
|
}
|
|
750
|
-
],
|
|
751
|
-
function
|
|
752
|
-
return
|
|
750
|
+
], me = [",", "."];
|
|
751
|
+
function he(e) {
|
|
752
|
+
return A.find(({ id: t }) => t === e)?.character ?? e;
|
|
753
753
|
}
|
|
754
|
-
|
|
754
|
+
D([
|
|
755
755
|
"app",
|
|
756
756
|
"engine",
|
|
757
757
|
"connector",
|
|
@@ -760,16 +760,16 @@ O([
|
|
|
760
760
|
"tool"
|
|
761
761
|
]);
|
|
762
762
|
// src/component/module/moduleConfig.schema.ts
|
|
763
|
-
var
|
|
764
|
-
...
|
|
763
|
+
var j = {
|
|
764
|
+
...ce,
|
|
765
765
|
vendorAccountURL: /* @__PURE__ */ y(/* @__PURE__ */ w()),
|
|
766
766
|
vendorDocumentationURL: /* @__PURE__ */ y(/* @__PURE__ */ w()),
|
|
767
767
|
vendorHomeURL: /* @__PURE__ */ y(/* @__PURE__ */ w()),
|
|
768
768
|
version: /* @__PURE__ */ w()
|
|
769
769
|
};
|
|
770
|
-
({ ...
|
|
770
|
+
({ ...j });
|
|
771
771
|
// src/component/module/connector/connectorConfig.schema.ts
|
|
772
|
-
var
|
|
772
|
+
var ge = D([
|
|
773
773
|
"abortOperation",
|
|
774
774
|
"auditObjectContent",
|
|
775
775
|
"closeStore",
|
|
@@ -786,25 +786,24 @@ var _e = O([
|
|
|
786
786
|
"previewObject",
|
|
787
787
|
"queryRecords",
|
|
788
788
|
"removeRecords",
|
|
789
|
-
"retrieveChunks",
|
|
790
789
|
"retrieveRecords",
|
|
791
790
|
"upsertRecords"
|
|
792
|
-
]),
|
|
791
|
+
]), _e = D([
|
|
793
792
|
"application",
|
|
794
793
|
"curatedDataset",
|
|
795
794
|
"database",
|
|
796
795
|
"fileStore"
|
|
797
|
-
]),
|
|
796
|
+
]), ve = /* @__PURE__ */ C({ label: E }), ye = D([
|
|
798
797
|
"apiEndpoint",
|
|
799
798
|
"file",
|
|
800
799
|
"table"
|
|
801
|
-
]),
|
|
800
|
+
]), be = D([
|
|
802
801
|
"bidirectional",
|
|
803
802
|
"destination",
|
|
804
803
|
"source",
|
|
805
804
|
"unknown"
|
|
806
|
-
]),
|
|
807
|
-
authMethodId:
|
|
805
|
+
]), xe = /* @__PURE__ */ C({ label: E }), Se = /* @__PURE__ */ C({
|
|
806
|
+
authMethodId: D([
|
|
808
807
|
"apiKey",
|
|
809
808
|
"disabled",
|
|
810
809
|
"oAuth2",
|
|
@@ -813,20 +812,20 @@ var _e = O([
|
|
|
813
812
|
activeConnectionCount: /* @__PURE__ */ x(/* @__PURE__ */ b()),
|
|
814
813
|
canDescribe: /* @__PURE__ */ x(/* @__PURE__ */ g()),
|
|
815
814
|
id: /* @__PURE__ */ x(/* @__PURE__ */ w()),
|
|
816
|
-
label: /* @__PURE__ */ x(
|
|
815
|
+
label: /* @__PURE__ */ x(E),
|
|
817
816
|
maxConnectionCount: /* @__PURE__ */ y(/* @__PURE__ */ b()),
|
|
818
817
|
params: /* @__PURE__ */ x(/* @__PURE__ */ h(/* @__PURE__ */ S(/* @__PURE__ */ w(), /* @__PURE__ */ w())))
|
|
819
|
-
}),
|
|
820
|
-
...
|
|
818
|
+
}), Ce = /* @__PURE__ */ C({
|
|
819
|
+
...j,
|
|
821
820
|
typeId: /* @__PURE__ */ _("connector"),
|
|
822
|
-
actionNames: /* @__PURE__ */ h(
|
|
823
|
-
category: /* @__PURE__ */ y(
|
|
824
|
-
categoryId:
|
|
825
|
-
implementations: /* @__PURE__ */ S(/* @__PURE__ */ w(),
|
|
826
|
-
itemTypeId:
|
|
827
|
-
usage: /* @__PURE__ */ y(
|
|
828
|
-
usageId: /* @__PURE__ */ y(
|
|
829
|
-
}),
|
|
821
|
+
actionNames: /* @__PURE__ */ h(ge),
|
|
822
|
+
category: /* @__PURE__ */ y(ve),
|
|
823
|
+
categoryId: _e,
|
|
824
|
+
implementations: /* @__PURE__ */ S(/* @__PURE__ */ w(), Se),
|
|
825
|
+
itemTypeId: ye,
|
|
826
|
+
usage: /* @__PURE__ */ y(xe),
|
|
827
|
+
usageId: /* @__PURE__ */ y(be)
|
|
828
|
+
}), we = {
|
|
830
829
|
arabic: {
|
|
831
830
|
id: "arabic",
|
|
832
831
|
label: {
|
|
@@ -981,7 +980,7 @@ var _e = O([
|
|
|
981
980
|
es: "Occidental"
|
|
982
981
|
}
|
|
983
982
|
}
|
|
984
|
-
},
|
|
983
|
+
}, Te = {
|
|
985
984
|
"armscii-8": {
|
|
986
985
|
id: "armscii-8",
|
|
987
986
|
groupId: "armenian",
|
|
@@ -1773,7 +1772,7 @@ var _e = O([
|
|
|
1773
1772
|
textDecoderId: "windows-1257",
|
|
1774
1773
|
iconvLiteDecoderId: "windows1257"
|
|
1775
1774
|
}
|
|
1776
|
-
},
|
|
1775
|
+
}, Ee = we, M = Te;
|
|
1777
1776
|
function De(e) {
|
|
1778
1777
|
return Object.hasOwn(M, e);
|
|
1779
1778
|
}
|
|
@@ -1795,61 +1794,61 @@ function ke(e = "en") {
|
|
|
1795
1794
|
}).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.id.localeCompare(n.id, e, { numeric: !0 }));
|
|
1796
1795
|
}
|
|
1797
1796
|
function Ae(e, t) {
|
|
1798
|
-
let n =
|
|
1797
|
+
let n = Ee[e].label;
|
|
1799
1798
|
return n[t] ?? n.en ?? e;
|
|
1800
1799
|
}
|
|
1801
1800
|
// src/errors/index.ts
|
|
1802
|
-
var je = 2048, N = "[REDACTED]", Me = 10,
|
|
1801
|
+
var je = 2048, N = "[REDACTED]", Me = 10, Ne = /api[-_]?key|authori[sz]ation|cookie|credential|passw(?:or)?d|private[-_]?key|secret|token/i, Pe = [
|
|
1803
1802
|
[/\b(Bearer|Basic) +[\w.~+/=-]+/gi, (e, t) => `${t} ${N}`],
|
|
1804
|
-
[/(?<![\w-])([\w-]+)(["']?[ \t]*[:=][ \t]*["']?)([^\s"'&,;}?#]+)/g, (e, t, n, r) =>
|
|
1803
|
+
[/(?<![\w-])([\w-]+)(["']?[ \t]*[:=][ \t]*["']?)([^\s"'&,;}?#]+)/g, (e, t, n, r) => Ne.test(t) && !/^(?:Basic|Bearer)$/i.test(r) ? `${t}${n}${N}` : e],
|
|
1805
1804
|
[/\beyJ[\w-]+\.[\w-]+\.[\w-]*/g, () => N],
|
|
1806
1805
|
[/\b(?:sk-|xaat-|xapt-|sl\.)[\w-]{16,}/g, () => N],
|
|
1807
1806
|
[/(?<![\w.+-])[\w.+-]+@[\w-]+\.[\w.-]+/g, () => N]
|
|
1808
|
-
],
|
|
1807
|
+
], P = class extends Error {
|
|
1809
1808
|
data;
|
|
1810
1809
|
locator;
|
|
1811
1810
|
constructor(e, t, n, r) {
|
|
1812
1811
|
super(e, r), this.name = "DPUseError", this.data = n, this.locator = t;
|
|
1813
1812
|
}
|
|
1814
|
-
},
|
|
1813
|
+
}, F = class extends P {
|
|
1815
1814
|
constructor(e, t, n, r) {
|
|
1816
1815
|
super(e, t, n, r), this.name = "AppError";
|
|
1817
1816
|
}
|
|
1818
|
-
},
|
|
1817
|
+
}, I = class extends P {
|
|
1819
1818
|
constructor(e, t, n, r) {
|
|
1820
1819
|
super(e, t, n, r), this.name = "APIError";
|
|
1821
1820
|
}
|
|
1822
|
-
},
|
|
1821
|
+
}, L = class extends P {
|
|
1823
1822
|
constructor(e, t, n, r) {
|
|
1824
1823
|
super(e, t, n, r), this.name = "EngineError";
|
|
1825
1824
|
}
|
|
1826
|
-
},
|
|
1825
|
+
}, Fe = class extends P {
|
|
1827
1826
|
constructor(e, t, n, r) {
|
|
1828
1827
|
super(e, t, n, r), this.name = "ConnectorError";
|
|
1829
1828
|
}
|
|
1830
|
-
},
|
|
1829
|
+
}, R = class extends P {
|
|
1831
1830
|
constructor(e, t, n, r) {
|
|
1832
1831
|
super(e, t, n, r), this.name = "FetchError";
|
|
1833
1832
|
}
|
|
1834
1833
|
};
|
|
1835
|
-
async function
|
|
1834
|
+
async function Ie(e, t, n) {
|
|
1836
1835
|
let r = ` - ${e.statusText}`, i = `${t} Response status '${String(e.status)}${e.statusText ? r : ""}' received.`, a;
|
|
1837
1836
|
try {
|
|
1838
1837
|
a = await e.text();
|
|
1839
1838
|
} catch (e) {
|
|
1840
|
-
a = `<body unavailable: ${
|
|
1839
|
+
a = `<body unavailable: ${z(e).message}>`;
|
|
1841
1840
|
}
|
|
1842
|
-
return new
|
|
1841
|
+
return new R(i, n, { body: We(a) });
|
|
1843
1842
|
}
|
|
1844
|
-
function
|
|
1843
|
+
function Le(e) {
|
|
1845
1844
|
return e.map((e) => e.message).join(" ");
|
|
1846
1845
|
}
|
|
1847
|
-
function
|
|
1846
|
+
function Re(e) {
|
|
1848
1847
|
try {
|
|
1849
1848
|
e();
|
|
1850
1849
|
} catch {}
|
|
1851
1850
|
}
|
|
1852
|
-
function
|
|
1851
|
+
function z(e) {
|
|
1853
1852
|
if (e instanceof Error) return e;
|
|
1854
1853
|
if (typeof e == "string") return Error(e);
|
|
1855
1854
|
if (typeof e == "number" || typeof e == "boolean" || typeof e == "bigint") return Error(String(e));
|
|
@@ -1861,24 +1860,24 @@ function R(e) {
|
|
|
1861
1860
|
}
|
|
1862
1861
|
return /* @__PURE__ */ Error("Unknown error");
|
|
1863
1862
|
}
|
|
1864
|
-
function
|
|
1865
|
-
let t = /* @__PURE__ */ new Set(), n = [], r =
|
|
1863
|
+
function ze(e) {
|
|
1864
|
+
let t = /* @__PURE__ */ new Set(), n = [], r = z(e);
|
|
1866
1865
|
for (; r != null && !t.has(r);) {
|
|
1867
1866
|
t.add(r);
|
|
1868
|
-
let [e, i] =
|
|
1867
|
+
let [e, i] = Ge(r), a = Ue(e);
|
|
1869
1868
|
/(?:\.{3}|[.!?])$/.test(a.message) || (a.message += "."), n.push(a), r = i;
|
|
1870
1869
|
}
|
|
1871
1870
|
return n;
|
|
1872
1871
|
}
|
|
1873
|
-
function
|
|
1872
|
+
function Be(e) {
|
|
1874
1873
|
let t;
|
|
1875
1874
|
for (let n of e.toReversed()) {
|
|
1876
|
-
let e =
|
|
1875
|
+
let e = He(n, t);
|
|
1877
1876
|
n.stack !== void 0 && (e.stack = n.stack), t = e;
|
|
1878
1877
|
}
|
|
1879
1878
|
return t ?? /* @__PURE__ */ Error("No error to unserialise.");
|
|
1880
1879
|
}
|
|
1881
|
-
function
|
|
1880
|
+
function Ve(e) {
|
|
1882
1881
|
let t;
|
|
1883
1882
|
try {
|
|
1884
1883
|
t = JSON.stringify(e);
|
|
@@ -1887,13 +1886,13 @@ function He(e) {
|
|
|
1887
1886
|
}
|
|
1888
1887
|
return t === "" && (t = "Unknown error"), t;
|
|
1889
1888
|
}
|
|
1890
|
-
function
|
|
1889
|
+
function He(e, t) {
|
|
1891
1890
|
switch (e.name) {
|
|
1892
|
-
case "APIError": return new
|
|
1893
|
-
case "AppError": return new
|
|
1894
|
-
case "ConnectorError": return new
|
|
1895
|
-
case "EngineError": return new
|
|
1896
|
-
case "FetchError": return new
|
|
1891
|
+
case "APIError": return new I(e.message, e.locator, e.data, { cause: t });
|
|
1892
|
+
case "AppError": return new F(e.message, e.locator, e.data, { cause: t });
|
|
1893
|
+
case "ConnectorError": return new Fe(e.message, e.locator, e.data, { cause: t });
|
|
1894
|
+
case "EngineError": return new L(e.message, e.locator, e.data, { cause: t });
|
|
1895
|
+
case "FetchError": return new R(e.message, e.locator, e.data, { cause: t });
|
|
1897
1896
|
default: {
|
|
1898
1897
|
let n = e.name;
|
|
1899
1898
|
return new class extends Error {
|
|
@@ -1902,29 +1901,29 @@ function Ue(e, t) {
|
|
|
1902
1901
|
}
|
|
1903
1902
|
}
|
|
1904
1903
|
}
|
|
1905
|
-
function
|
|
1904
|
+
function Ue(e) {
|
|
1906
1905
|
let { data: t, message: n, stack: r } = e;
|
|
1907
1906
|
return {
|
|
1908
1907
|
...e,
|
|
1909
|
-
data: t === void 0 ? void 0 :
|
|
1910
|
-
message:
|
|
1911
|
-
stack: r === void 0 ? void 0 :
|
|
1908
|
+
data: t === void 0 ? void 0 : V(t, /* @__PURE__ */ new WeakSet(), 0),
|
|
1909
|
+
message: B(n),
|
|
1910
|
+
stack: r === void 0 ? void 0 : B(r)
|
|
1912
1911
|
};
|
|
1913
1912
|
}
|
|
1914
|
-
function
|
|
1913
|
+
function B(e) {
|
|
1915
1914
|
let t = e;
|
|
1916
|
-
for (let [e, n] of
|
|
1915
|
+
for (let [e, n] of Pe) t = t.replaceAll(e, (e, ...t) => n(e, ...t));
|
|
1917
1916
|
return t;
|
|
1918
1917
|
}
|
|
1919
|
-
function
|
|
1920
|
-
return typeof e == "string" ?
|
|
1918
|
+
function V(e, t, n) {
|
|
1919
|
+
return typeof e == "string" ? B(e) : typeof e != "object" || !e ? e : n >= Me ? N : t.has(e) ? "[Circular]" : (t.add(e), Array.isArray(e) ? e.map((e) => V(e, t, n + 1)) : Object.fromEntries(Object.entries(e).map(([e, r]) => [e, r != null && Ne.test(e) ? N : V(r, t, n + 1)])));
|
|
1921
1920
|
}
|
|
1922
|
-
function
|
|
1921
|
+
function We(e) {
|
|
1923
1922
|
if (e != null && e !== "") return e.length > je ? `${e.slice(0, je)}... [truncated]` : e;
|
|
1924
1923
|
}
|
|
1925
|
-
function
|
|
1926
|
-
let t = e.cause == null ? null :
|
|
1927
|
-
if (e instanceof
|
|
1924
|
+
function Ge(e) {
|
|
1925
|
+
let t = e.cause == null ? null : z(e.cause);
|
|
1926
|
+
if (e instanceof P) return [{
|
|
1928
1927
|
data: e.data,
|
|
1929
1928
|
locator: e.locator,
|
|
1930
1929
|
message: e.message,
|
|
@@ -1941,12 +1940,12 @@ function Ke(e) {
|
|
|
1941
1940
|
}, t] : [{
|
|
1942
1941
|
data: n,
|
|
1943
1942
|
locator: "",
|
|
1944
|
-
message:
|
|
1943
|
+
message: Ve(e),
|
|
1945
1944
|
name: "Error",
|
|
1946
1945
|
stack: void 0
|
|
1947
1946
|
}, null];
|
|
1948
1947
|
}
|
|
1949
|
-
var
|
|
1948
|
+
var Ke = /* @__PURE__ */ C({ dataFormatIds: /* @__PURE__ */ te(/* @__PURE__ */ h(D([
|
|
1950
1949
|
"arrow",
|
|
1951
1950
|
"avro",
|
|
1952
1951
|
"dtv",
|
|
@@ -1959,15 +1958,15 @@ var qe = /* @__PURE__ */ C({ dataFormatIds: /* @__PURE__ */ te(/* @__PURE__ */ h
|
|
|
1959
1958
|
"sqlite",
|
|
1960
1959
|
"xlsx",
|
|
1961
1960
|
"xml"
|
|
1962
|
-
])), /* @__PURE__ */ f(1)) }),
|
|
1963
|
-
...
|
|
1961
|
+
])), /* @__PURE__ */ f(1)) }), qe = /* @__PURE__ */ h(/* @__PURE__ */ w()), Je = /* @__PURE__ */ C({
|
|
1962
|
+
...j,
|
|
1964
1963
|
typeId: /* @__PURE__ */ _("tool"),
|
|
1965
|
-
actionNames: /* @__PURE__ */ x(
|
|
1966
|
-
parser: /* @__PURE__ */ x(
|
|
1964
|
+
actionNames: /* @__PURE__ */ x(qe),
|
|
1965
|
+
parser: /* @__PURE__ */ x(Ke)
|
|
1967
1966
|
});
|
|
1968
1967
|
// src/component/module/tool/delimitedText.ts
|
|
1969
|
-
async function
|
|
1970
|
-
let r =
|
|
1968
|
+
async function Ye(e, t, n) {
|
|
1969
|
+
let r = Xe(e), { issues: i, parsedRecords: a, valueDelimiterId: o } = await Ze(e, t.valueDelimiterIds, t.isComplete, n);
|
|
1971
1970
|
return {
|
|
1972
1971
|
issues: i,
|
|
1973
1972
|
parsedRecords: a,
|
|
@@ -1975,16 +1974,16 @@ async function Xe(e, t, n) {
|
|
|
1975
1974
|
valueDelimiterId: o
|
|
1976
1975
|
};
|
|
1977
1976
|
}
|
|
1978
|
-
function
|
|
1977
|
+
function Xe(e) {
|
|
1979
1978
|
let t = (e.match(/\r\n/g) ?? []).length, n = (e.match(/(?<!\r)\n/g) ?? []).length, r = (e.match(/\r(?!\n)/g) ?? []).length;
|
|
1980
1979
|
return t >= n && t >= r ? "\r\n" : n >= t && n >= r ? "\n" : r >= t && r >= n ? "\r" : "\n";
|
|
1981
1980
|
}
|
|
1982
|
-
async function
|
|
1981
|
+
async function Ze(e, t, n, r) {
|
|
1983
1982
|
let i, a, o, s = [], c, l = !1;
|
|
1984
1983
|
for (let u of t) {
|
|
1985
1984
|
let { issues: t, records: d } = await r(e, u, n);
|
|
1986
1985
|
if (t.length > 0) {
|
|
1987
|
-
c =
|
|
1986
|
+
c = Qe(c, {
|
|
1988
1987
|
delimiter: u,
|
|
1989
1988
|
issues: t,
|
|
1990
1989
|
records: d
|
|
@@ -1992,7 +1991,7 @@ async function Qe(e, t, n, r) {
|
|
|
1992
1991
|
continue;
|
|
1993
1992
|
}
|
|
1994
1993
|
if (l = !0, d.length === 0) continue;
|
|
1995
|
-
let { averageValueCount: f, sumOfValueCountDiffs: p } =
|
|
1994
|
+
let { averageValueCount: f, sumOfValueCountDiffs: p } = $e(d);
|
|
1996
1995
|
(a === void 0 || a <= 1 || p <= (o ?? 0)) && (a === void 0 || f > a) && (i = u, a = f, o = p, s = d);
|
|
1997
1996
|
}
|
|
1998
1997
|
if (!l && c != null) {
|
|
@@ -2000,19 +1999,19 @@ async function Qe(e, t, n, r) {
|
|
|
2000
1999
|
return {
|
|
2001
2000
|
issues: t,
|
|
2002
2001
|
parsedRecords: n,
|
|
2003
|
-
valueDelimiterId:
|
|
2002
|
+
valueDelimiterId: H(n) ? e : void 0
|
|
2004
2003
|
};
|
|
2005
2004
|
}
|
|
2006
2005
|
return {
|
|
2007
2006
|
issues: [],
|
|
2008
2007
|
parsedRecords: s,
|
|
2009
|
-
valueDelimiterId: i != null &&
|
|
2008
|
+
valueDelimiterId: i != null && H(s) ? i : void 0
|
|
2010
2009
|
};
|
|
2011
2010
|
}
|
|
2012
|
-
function
|
|
2011
|
+
function Qe(e, t) {
|
|
2013
2012
|
return e == null || t.issues.length < e.issues.length ? t : e;
|
|
2014
2013
|
}
|
|
2015
|
-
function
|
|
2014
|
+
function $e(e) {
|
|
2016
2015
|
let t = 0, n = 0, r;
|
|
2017
2016
|
for (let i of e) r != null && (n += Math.abs(i.length - r)), r = i.length, t += i.length;
|
|
2018
2017
|
return {
|
|
@@ -2020,39 +2019,39 @@ function et(e) {
|
|
|
2020
2019
|
sumOfValueCountDiffs: n
|
|
2021
2020
|
};
|
|
2022
2021
|
}
|
|
2023
|
-
function
|
|
2022
|
+
function H(e) {
|
|
2024
2023
|
let t = /* @__PURE__ */ new Map();
|
|
2025
2024
|
for (let n of e) t.set(n.length, (t.get(n.length) ?? 0) + 1);
|
|
2026
2025
|
let [n = 0, r = 0] = [...t].toSorted((e, t) => t[1] - e[1])[0] ?? [];
|
|
2027
2026
|
return n > 1 && r * 2 > e.length;
|
|
2028
2027
|
}
|
|
2029
2028
|
// src/component/module/tool/index.ts
|
|
2030
|
-
var
|
|
2031
|
-
function
|
|
2029
|
+
var et = "https://engine-eu.dpuse.app/tools", tt = { dtv: "dpuse-tool-rust-csv-core-parser" }, U = "dpuse-tool-";
|
|
2030
|
+
function W(e, t) {
|
|
2032
2031
|
return e.filter((e) => e.parser?.dataFormatIds.some((e) => e === t) === !0).toSorted((e, t) => e.id.localeCompare(t.id, "en"));
|
|
2033
2032
|
}
|
|
2034
|
-
function
|
|
2035
|
-
let r =
|
|
2033
|
+
function G(e, t, n) {
|
|
2034
|
+
let r = W(e, t), [i] = r;
|
|
2036
2035
|
if (i === void 0) {
|
|
2037
2036
|
let n = {
|
|
2038
2037
|
availableToolIds: e.map((e) => e.id),
|
|
2039
2038
|
dataFormatId: t
|
|
2040
2039
|
};
|
|
2041
|
-
throw new
|
|
2040
|
+
throw new F(`No tool reads the '${t}' data format.`, "dpuse-shared.component.module.tool.resolveParserToolConfig", n);
|
|
2042
2041
|
}
|
|
2043
|
-
let a =
|
|
2042
|
+
let a = tt[t];
|
|
2044
2043
|
return r.find((e) => e.id === n) ?? r.find((e) => e.id === a) ?? i;
|
|
2045
2044
|
}
|
|
2046
|
-
async function
|
|
2047
|
-
let n = `${
|
|
2045
|
+
async function K(e, t) {
|
|
2046
|
+
let n = `${U}${t}`, r = e.find((e) => e.id === n);
|
|
2048
2047
|
if (!r) {
|
|
2049
2048
|
let r = {
|
|
2050
2049
|
availableToolIds: e.map((e) => e.id),
|
|
2051
2050
|
toolName: n
|
|
2052
2051
|
};
|
|
2053
|
-
throw new
|
|
2052
|
+
throw new F(`Tool '${t}' not found.`, "dpuse-shared.component.module.tool.loadTool", r);
|
|
2054
2053
|
}
|
|
2055
|
-
let i = `${
|
|
2054
|
+
let i = `${et}/${t}_v${r.version}/${n}.es.js`;
|
|
2056
2055
|
try {
|
|
2057
2056
|
return new (await (import(
|
|
2058
2057
|
/* @vite-ignore */
|
|
@@ -2064,23 +2063,31 @@ async function rt(e, t) {
|
|
|
2064
2063
|
url: i,
|
|
2065
2064
|
version: r.version
|
|
2066
2065
|
};
|
|
2067
|
-
throw new
|
|
2066
|
+
throw new F(`Failed to load tool '${n}' v${r.version}.`, "dpuse-shared.component.module.tool.loadTool", t, { cause: e });
|
|
2068
2067
|
}
|
|
2069
2068
|
}
|
|
2070
2069
|
// src/component/module/connector/objectParsing.ts
|
|
2071
|
-
var
|
|
2072
|
-
async function
|
|
2073
|
-
let { asAt: t, declaredColumnConfigs: n, declaredReadingConfig: r, filePreview: i, inferDataTypes: a,
|
|
2074
|
-
|
|
2075
|
-
|
|
2070
|
+
var nt = "\n", q = ",", rt = 13, J = 10, it = 34, Y = 1048576;
|
|
2071
|
+
async function at(e) {
|
|
2072
|
+
let { asAt: t, declaredColumnConfigs: n, declaredReadingConfig: r, filePreview: i, inferDataTypes: a, readingChoiceConfig: o, startedAt: s, toolConfigs: c } = e, { isComplete: l, text: u } = i, d = r != null, f = i.bytes.length, p = {
|
|
2073
|
+
decodedEncodingId: i.decodedEncodingId,
|
|
2074
|
+
replacementCharacterCount: i.replacementCharacterCount
|
|
2075
|
+
}, m = i.encodingCandidates, h = {
|
|
2076
|
+
encodingConfidenceLevel: i.encodingConfidenceLevel,
|
|
2077
|
+
encodingId: r?.encodingId ?? i.encodingId,
|
|
2078
|
+
encodingSourceId: r?.encodingId == null ? i.encodingSourceId : void 0
|
|
2079
|
+
};
|
|
2080
|
+
if (f === 0) return {
|
|
2081
|
+
contentAuditConfig: lt({
|
|
2076
2082
|
asAt: t,
|
|
2077
2083
|
columns: [],
|
|
2078
2084
|
isComplete: !0,
|
|
2079
2085
|
recordCount: 0,
|
|
2080
|
-
size:
|
|
2086
|
+
size: f,
|
|
2081
2087
|
startedAt: s
|
|
2082
2088
|
}),
|
|
2083
2089
|
sampleConfig: {
|
|
2090
|
+
...p,
|
|
2084
2091
|
issues: [{
|
|
2085
2092
|
endLineNumber: void 0,
|
|
2086
2093
|
fieldNumber: void 0,
|
|
@@ -2091,132 +2098,134 @@ async function st(e) {
|
|
|
2091
2098
|
severityId: "info",
|
|
2092
2099
|
value: void 0
|
|
2093
2100
|
}],
|
|
2101
|
+
dataFormatId: "dtv",
|
|
2102
|
+
hasHeaders: !1,
|
|
2094
2103
|
parsedRecords: [],
|
|
2104
|
+
parserId: void 0,
|
|
2105
|
+
recordDelimiterId: nt,
|
|
2095
2106
|
size: 0,
|
|
2096
|
-
text: void 0
|
|
2107
|
+
text: void 0,
|
|
2108
|
+
valueDelimiterId: q
|
|
2097
2109
|
},
|
|
2098
2110
|
readingConfig: {
|
|
2099
2111
|
dataFormatId: "dtv",
|
|
2100
|
-
|
|
2101
|
-
|
|
2112
|
+
dataFormatSourceId: void 0,
|
|
2113
|
+
...h,
|
|
2102
2114
|
fileType: void 0,
|
|
2103
2115
|
hasHeaders: !1,
|
|
2104
|
-
isDeclared:
|
|
2116
|
+
isDeclared: d,
|
|
2105
2117
|
parserId: void 0,
|
|
2106
|
-
recordDelimiterId:
|
|
2107
|
-
valueDelimiterId:
|
|
2108
|
-
}
|
|
2109
|
-
};
|
|
2110
|
-
if (l == null || u == null || U(c, l).length === 0) return {
|
|
2111
|
-
contentAuditConfig: J({
|
|
2112
|
-
asAt: t,
|
|
2113
|
-
columns: [],
|
|
2114
|
-
isComplete: i.isComplete,
|
|
2115
|
-
recordCount: 0,
|
|
2116
|
-
size: p,
|
|
2117
|
-
startedAt: s
|
|
2118
|
-
}),
|
|
2119
|
-
sampleConfig: {
|
|
2120
|
-
issues: [],
|
|
2121
|
-
parsedRecords: [],
|
|
2122
|
-
size: p,
|
|
2123
|
-
text: u
|
|
2118
|
+
recordDelimiterId: nt,
|
|
2119
|
+
valueDelimiterId: q
|
|
2124
2120
|
},
|
|
2125
|
-
|
|
2126
|
-
dataFormatId: l ?? "unknown",
|
|
2127
|
-
dataFormatSourceId: i.dataFormatSourceId,
|
|
2128
|
-
encodingConfidenceLevel: i.encodingConfidenceLevel,
|
|
2129
|
-
encodingId: i.encodingId,
|
|
2130
|
-
encodingSourceId: i.encodingSourceId,
|
|
2131
|
-
fileType: i.fileTypeConfig,
|
|
2132
|
-
hasHeaders: void 0,
|
|
2133
|
-
isDeclared: f,
|
|
2134
|
-
parserId: void 0,
|
|
2135
|
-
recordDelimiterId: void 0,
|
|
2136
|
-
replacementCharacterCount: i.replacementCharacterCount,
|
|
2137
|
-
valueDelimiterId: void 0
|
|
2138
|
-
},
|
|
2139
|
-
encodingCandidates: i.encodingCandidates
|
|
2121
|
+
encodingCandidates: m
|
|
2140
2122
|
};
|
|
2141
|
-
let
|
|
2142
|
-
dataFormatId:
|
|
2143
|
-
isComplete:
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2123
|
+
let g = r?.dataFormatId ?? i.dataFormatId, _ = r?.valueDelimiterId, v = await pt({
|
|
2124
|
+
dataFormatId: g,
|
|
2125
|
+
isComplete: l,
|
|
2126
|
+
parserId: void 0,
|
|
2127
|
+
text: u,
|
|
2128
|
+
toolConfigs: c,
|
|
2129
|
+
valueDelimiterId: _
|
|
2130
|
+
}), y = o?.dataFormatId ?? g, b = o?.dataFormatId != null || o?.parserId != null || o?.valueDelimiterId != null, x = b ? await pt({
|
|
2131
|
+
dataFormatId: y,
|
|
2132
|
+
isComplete: l,
|
|
2133
|
+
parserId: o.parserId,
|
|
2134
|
+
text: u,
|
|
2135
|
+
toolConfigs: c,
|
|
2136
|
+
valueDelimiterId: _ ?? o.valueDelimiterId
|
|
2137
|
+
}) : v, S = x?.parseTextResult.parsedRecords ?? [], C = x == null ? void 0 : a(S, r?.hasHeaders, n), w = b && v != null ? a(v.parseTextResult.parsedRecords, r?.hasHeaders, n) : C;
|
|
2150
2138
|
return {
|
|
2151
|
-
contentAuditConfig:
|
|
2139
|
+
contentAuditConfig: lt({
|
|
2152
2140
|
asAt: t,
|
|
2153
|
-
columns:
|
|
2154
|
-
isComplete:
|
|
2155
|
-
recordCount: Math.max(0,
|
|
2156
|
-
size:
|
|
2141
|
+
columns: C?.columnConfigs ?? [],
|
|
2142
|
+
isComplete: l,
|
|
2143
|
+
recordCount: Math.max(0, S.length - +(C?.hasHeaders === !0)),
|
|
2144
|
+
size: f,
|
|
2157
2145
|
startedAt: s
|
|
2158
2146
|
}),
|
|
2159
2147
|
sampleConfig: {
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2148
|
+
...p,
|
|
2149
|
+
dataFormatId: y ?? "unknown",
|
|
2150
|
+
hasHeaders: C?.hasHeaders,
|
|
2151
|
+
issues: x?.parseTextResult.issues ?? [],
|
|
2152
|
+
parsedRecords: S,
|
|
2153
|
+
parserId: x?.parserId,
|
|
2154
|
+
recordDelimiterId: x?.parseTextResult.recordDelimiterId,
|
|
2155
|
+
size: f,
|
|
2156
|
+
text: u,
|
|
2157
|
+
valueDelimiterId: x?.valueDelimiterId
|
|
2164
2158
|
},
|
|
2165
2159
|
readingConfig: {
|
|
2166
|
-
dataFormatId:
|
|
2167
|
-
dataFormatSourceId: i.dataFormatSourceId,
|
|
2168
|
-
|
|
2169
|
-
encodingId: i.encodingId,
|
|
2170
|
-
encodingSourceId: i.encodingSourceId,
|
|
2160
|
+
dataFormatId: g ?? "unknown",
|
|
2161
|
+
dataFormatSourceId: r == null ? i.dataFormatSourceId : void 0,
|
|
2162
|
+
...h,
|
|
2171
2163
|
fileType: i.fileTypeConfig,
|
|
2172
|
-
hasHeaders:
|
|
2173
|
-
isDeclared:
|
|
2174
|
-
parserId:
|
|
2175
|
-
recordDelimiterId:
|
|
2176
|
-
|
|
2177
|
-
valueDelimiterId: v ? d ?? y.valueDelimiterId ?? G : y.valueDelimiterId
|
|
2164
|
+
hasHeaders: w?.hasHeaders,
|
|
2165
|
+
isDeclared: d,
|
|
2166
|
+
parserId: v?.parserId,
|
|
2167
|
+
recordDelimiterId: v?.parseTextResult.recordDelimiterId,
|
|
2168
|
+
valueDelimiterId: v?.valueDelimiterId
|
|
2178
2169
|
},
|
|
2179
|
-
encodingCandidates:
|
|
2170
|
+
encodingCandidates: m
|
|
2180
2171
|
};
|
|
2181
2172
|
}
|
|
2182
|
-
async function
|
|
2183
|
-
let {
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
}
|
|
2191
|
-
}
|
|
2192
|
-
async function
|
|
2193
|
-
let { constructColumnAuditor: t, declaredColumnConfigs: n, onProgress: r, options: i, signal: a, stream: o, toolConfigs: s } = e, c = Date.now(),
|
|
2173
|
+
async function* ot(e) {
|
|
2174
|
+
let { options: t, signal: n, stream: r, toolConfigs: i } = e, { encodingId: a, valueDelimiterId: o } = ct(t), { parser: s } = await X(i, t.dataFormatId, t.parserId), { recordCount: c } = yield* s.parseStream(r, {
|
|
2175
|
+
abortSignal: n,
|
|
2176
|
+
chunkSize: t.chunkSize,
|
|
2177
|
+
dataFormatId: t.dataFormatId,
|
|
2178
|
+
encodingId: a,
|
|
2179
|
+
valueDelimiterId: o
|
|
2180
|
+
});
|
|
2181
|
+
return { recordCount: c };
|
|
2182
|
+
}
|
|
2183
|
+
async function st(e) {
|
|
2184
|
+
let { constructColumnAuditor: t, declaredColumnConfigs: n, onProgress: r, options: i, signal: a, stream: o, toolConfigs: s } = e, { encodingId: c, valueDelimiterId: l } = ct(i), u = Date.now(), d = performance.now(), f = t(i.hasHeaders, n), { parser: p } = await X(s, i.dataFormatId, i.parserId), m = ft(o), h = ut(m.stream, {
|
|
2185
|
+
byteLimit: i.byteLimit,
|
|
2186
|
+
encodingId: c,
|
|
2187
|
+
stopSignal: i.stopSignal
|
|
2188
|
+
}), g = p.parseStream(h.stream, {
|
|
2194
2189
|
abortSignal: a,
|
|
2195
2190
|
chunkSize: i.chunkSize,
|
|
2196
2191
|
dataFormatId: i.dataFormatId,
|
|
2197
|
-
encodingId:
|
|
2198
|
-
valueDelimiterId:
|
|
2199
|
-
},
|
|
2200
|
-
|
|
2201
|
-
|
|
2192
|
+
encodingId: c,
|
|
2193
|
+
valueDelimiterId: l
|
|
2194
|
+
}), _ = await g.next();
|
|
2195
|
+
for (; _.done !== !0;) {
|
|
2196
|
+
try {
|
|
2197
|
+
f.auditRecords(_.value.records), r(_.value.records.length, h.byteCount());
|
|
2198
|
+
} catch (e) {
|
|
2199
|
+
throw await g.throw(e), e;
|
|
2200
|
+
}
|
|
2201
|
+
_ = await g.next();
|
|
2202
|
+
}
|
|
2203
|
+
let v = _.value, { columnConfigs: y, hasHeaders: b } = f.completeAudit();
|
|
2202
2204
|
return {
|
|
2203
2205
|
contentAuditConfig: {
|
|
2204
|
-
asAt:
|
|
2205
|
-
byteCount:
|
|
2206
|
-
columns:
|
|
2207
|
-
commentLineCount:
|
|
2208
|
-
duration: performance.now() -
|
|
2209
|
-
emptyLineCount:
|
|
2210
|
-
invalidFieldLengthCount:
|
|
2211
|
-
isComplete:
|
|
2212
|
-
lineCount:
|
|
2213
|
-
recordCount: Math.max(0,
|
|
2214
|
-
sourceWaitDuration:
|
|
2206
|
+
asAt: u,
|
|
2207
|
+
byteCount: h.byteCount(),
|
|
2208
|
+
columns: y,
|
|
2209
|
+
commentLineCount: v.commentLineCount,
|
|
2210
|
+
duration: performance.now() - d,
|
|
2211
|
+
emptyLineCount: v.emptyLineCount,
|
|
2212
|
+
invalidFieldLengthCount: v.nonUniformRecordCount,
|
|
2213
|
+
isComplete: h.isComplete(),
|
|
2214
|
+
lineCount: v.lineCount,
|
|
2215
|
+
recordCount: Math.max(0, v.recordCount - +!!b),
|
|
2216
|
+
sourceWaitDuration: m.waitDuration()
|
|
2215
2217
|
},
|
|
2216
|
-
hasHeaders:
|
|
2218
|
+
hasHeaders: b
|
|
2217
2219
|
};
|
|
2218
2220
|
}
|
|
2219
|
-
function
|
|
2221
|
+
function ct(e) {
|
|
2222
|
+
if (e.encodingId == null || e.valueDelimiterId == null) throw Error(`'${e.path}' has no encoding or value delimiter, which a parser needs to read it.`);
|
|
2223
|
+
return {
|
|
2224
|
+
encodingId: e.encodingId,
|
|
2225
|
+
valueDelimiterId: e.valueDelimiterId
|
|
2226
|
+
};
|
|
2227
|
+
}
|
|
2228
|
+
function lt(e) {
|
|
2220
2229
|
let { asAt: t, columns: n, isComplete: r, recordCount: i, size: a, startedAt: o } = e;
|
|
2221
2230
|
return {
|
|
2222
2231
|
asAt: t,
|
|
@@ -2248,8 +2257,8 @@ function ut(e, t) {
|
|
|
2248
2257
|
}
|
|
2249
2258
|
s = t.value;
|
|
2250
2259
|
}
|
|
2251
|
-
let c = s.subarray(0,
|
|
2252
|
-
o = s.length >
|
|
2260
|
+
let c = s.subarray(0, Y);
|
|
2261
|
+
o = s.length > Y ? s.subarray(Y) : void 0;
|
|
2253
2262
|
let l = t.stopSignal?.aborted === !0 ? i : t.byteLimit ?? Infinity, u = r(c, i, l - i);
|
|
2254
2263
|
u == null ? (i += c.length, e.enqueue(c)) : (i += u, o = void 0, e.enqueue(c.subarray(0, u)), e.close(), await n.cancel());
|
|
2255
2264
|
},
|
|
@@ -2264,9 +2273,9 @@ function dt(e) {
|
|
|
2264
2273
|
return (e, t, o) => {
|
|
2265
2274
|
for (let s = 0; s < e.length; s++) {
|
|
2266
2275
|
let c = e[s];
|
|
2267
|
-
if ((c ===
|
|
2268
|
-
if (c ===
|
|
2269
|
-
else if (!a && s >= o && (c ===
|
|
2276
|
+
if ((c === it || c === J || c === rt) && (!n || (t + s) % 2 === i && e[s + 1 - 2 * i] === 0)) {
|
|
2277
|
+
if (c === it) a = !a;
|
|
2278
|
+
else if (!a && s >= o && (c === J || e[s + r] !== J)) return s + r - i;
|
|
2270
2279
|
}
|
|
2271
2280
|
}
|
|
2272
2281
|
};
|
|
@@ -2286,23 +2295,51 @@ function ft(e) {
|
|
|
2286
2295
|
waitDuration: () => n
|
|
2287
2296
|
};
|
|
2288
2297
|
}
|
|
2289
|
-
async function
|
|
2290
|
-
let r
|
|
2298
|
+
async function pt(e) {
|
|
2299
|
+
let { dataFormatId: t, isComplete: n, parserId: r, text: i, toolConfigs: a, valueDelimiterId: o } = e;
|
|
2300
|
+
if (t == null || i == null || W(a, t).length === 0) return;
|
|
2301
|
+
let { parser: s, parserId: c } = await X(a, t, r), l = o == null ? A.map(({ id: e }) => e) : [o], u = await s.parseText(i, {
|
|
2302
|
+
dataFormatId: t,
|
|
2303
|
+
isComplete: n,
|
|
2304
|
+
valueDelimiterIds: l
|
|
2305
|
+
}), d = t === "dtv", f = d && o == null && u.valueDelimiterId == null ? await s.parseText(i, {
|
|
2306
|
+
dataFormatId: t,
|
|
2307
|
+
isComplete: n,
|
|
2308
|
+
valueDelimiterIds: [q]
|
|
2309
|
+
}) : u;
|
|
2291
2310
|
return {
|
|
2292
|
-
|
|
2311
|
+
parserId: c,
|
|
2312
|
+
parseTextResult: f,
|
|
2313
|
+
valueDelimiterId: d ? o ?? f.valueDelimiterId ?? q : f.valueDelimiterId
|
|
2314
|
+
};
|
|
2315
|
+
}
|
|
2316
|
+
async function X(e, t, n) {
|
|
2317
|
+
let r = G(e, t, n);
|
|
2318
|
+
return {
|
|
2319
|
+
parser: await K(e, r.id.slice(U.length)),
|
|
2293
2320
|
parserId: r.id
|
|
2294
2321
|
};
|
|
2295
2322
|
}
|
|
2296
|
-
|
|
2323
|
+
// src/component/module/connector/storeValues.ts
|
|
2324
|
+
function mt(e) {
|
|
2325
|
+
return e.map((e) => ({
|
|
2326
|
+
value: ht(e),
|
|
2327
|
+
valueWasQuoted: !1
|
|
2328
|
+
}));
|
|
2329
|
+
}
|
|
2330
|
+
function ht(e) {
|
|
2331
|
+
return e == null ? null : e instanceof Date ? e.toISOString() : String(e);
|
|
2332
|
+
}
|
|
2333
|
+
var gt = /* @__PURE__ */ v({ fields: /* @__PURE__ */ h(/* @__PURE__ */ v({
|
|
2297
2334
|
format: /* @__PURE__ */ x(/* @__PURE__ */ w()),
|
|
2298
2335
|
name: /* @__PURE__ */ w(),
|
|
2299
2336
|
title: /* @__PURE__ */ x(/* @__PURE__ */ w()),
|
|
2300
2337
|
type: /* @__PURE__ */ x(/* @__PURE__ */ w())
|
|
2301
|
-
})) }),
|
|
2338
|
+
})) }), _t = /* @__PURE__ */ v({
|
|
2302
2339
|
delimiter: /* @__PURE__ */ x(/* @__PURE__ */ w()),
|
|
2303
2340
|
header: /* @__PURE__ */ x(/* @__PURE__ */ g()),
|
|
2304
2341
|
headerRows: /* @__PURE__ */ x(/* @__PURE__ */ h(/* @__PURE__ */ b()))
|
|
2305
|
-
}),
|
|
2342
|
+
}), vt = {
|
|
2306
2343
|
boolean: {
|
|
2307
2344
|
dataSubtypeId: void 0,
|
|
2308
2345
|
dataTypeId: "boolean"
|
|
@@ -2335,18 +2372,18 @@ var pt = /* @__PURE__ */ v({ fields: /* @__PURE__ */ h(/* @__PURE__ */ v({
|
|
|
2335
2372
|
dataSubtypeId: "integer",
|
|
2336
2373
|
dataTypeId: "numeric"
|
|
2337
2374
|
}
|
|
2338
|
-
},
|
|
2375
|
+
}, yt = {
|
|
2339
2376
|
email: "email",
|
|
2340
2377
|
uri: "url",
|
|
2341
2378
|
uuid: "uuid"
|
|
2342
2379
|
};
|
|
2343
|
-
function
|
|
2344
|
-
let t = /* @__PURE__ */
|
|
2345
|
-
if (!t.success) throw new
|
|
2346
|
-
let n = /* @__PURE__ */
|
|
2347
|
-
if (!n.success) throw new
|
|
2380
|
+
function bt(e) {
|
|
2381
|
+
let t = /* @__PURE__ */ ne(gt, e.schema);
|
|
2382
|
+
if (!t.success) throw new F("The table schema is not valid.", "dpuse-shared.component.module.connector.tableSchema.readTableSchema");
|
|
2383
|
+
let n = /* @__PURE__ */ ne(_t, e.dialect ?? {});
|
|
2384
|
+
if (!n.success) throw new F("The table dialect is not valid.", "dpuse-shared.component.module.connector.tableSchema.readTableSchema");
|
|
2348
2385
|
let r = t.output.fields.map((e) => {
|
|
2349
|
-
let t =
|
|
2386
|
+
let t = xt(e.type, e.format);
|
|
2350
2387
|
return {
|
|
2351
2388
|
name: e.name,
|
|
2352
2389
|
label: e.title,
|
|
@@ -2360,22 +2397,22 @@ function _t(e) {
|
|
|
2360
2397
|
dataFormatId: "dtv",
|
|
2361
2398
|
encodingId: e.encoding?.toLowerCase(),
|
|
2362
2399
|
hasHeaders: a && o.length > 0,
|
|
2363
|
-
valueDelimiterId:
|
|
2400
|
+
valueDelimiterId: A.find(({ character: e }) => e === i)?.id
|
|
2364
2401
|
}
|
|
2365
2402
|
};
|
|
2366
2403
|
}
|
|
2367
|
-
function
|
|
2368
|
-
let n = e == null ? void 0 :
|
|
2404
|
+
function xt(e, t) {
|
|
2405
|
+
let n = e == null ? void 0 : vt[e];
|
|
2369
2406
|
return n == null ? {
|
|
2370
2407
|
dataSubtypeId: void 0,
|
|
2371
2408
|
dataTypeId: void 0
|
|
2372
2409
|
} : t == null || n.dataTypeId !== "string" ? n : {
|
|
2373
|
-
dataSubtypeId:
|
|
2410
|
+
dataSubtypeId: yt[t] ?? "plain",
|
|
2374
2411
|
dataTypeId: "string"
|
|
2375
2412
|
};
|
|
2376
2413
|
}
|
|
2377
2414
|
// src/component/module/connector/index.ts
|
|
2378
|
-
var
|
|
2415
|
+
var St = [
|
|
2379
2416
|
{
|
|
2380
2417
|
id: "application",
|
|
2381
2418
|
label: {
|
|
@@ -2404,7 +2441,7 @@ var yt = [
|
|
|
2404
2441
|
es: "Almacén de Archivos"
|
|
2405
2442
|
}
|
|
2406
2443
|
}
|
|
2407
|
-
],
|
|
2444
|
+
], Ct = [
|
|
2408
2445
|
{
|
|
2409
2446
|
id: "apiEndpoint",
|
|
2410
2447
|
label: {
|
|
@@ -2426,7 +2463,7 @@ var yt = [
|
|
|
2426
2463
|
es: "Tabla"
|
|
2427
2464
|
}
|
|
2428
2465
|
}
|
|
2429
|
-
],
|
|
2466
|
+
], wt = {
|
|
2430
2467
|
abortOperation: "Abort Operation",
|
|
2431
2468
|
auditObjectContent: "Audit Object Content",
|
|
2432
2469
|
closeStore: "Close Store",
|
|
@@ -2443,10 +2480,9 @@ var yt = [
|
|
|
2443
2480
|
previewObject: "Preview Object",
|
|
2444
2481
|
queryRecords: "Query Records",
|
|
2445
2482
|
removeRecords: "Remove Records",
|
|
2446
|
-
retrieveChunks: "Retrieve Chunks",
|
|
2447
2483
|
retrieveRecords: "Retrieve Records",
|
|
2448
2484
|
upsertRecords: "Upsert Records"
|
|
2449
|
-
},
|
|
2485
|
+
}, Tt = [
|
|
2450
2486
|
{
|
|
2451
2487
|
id: "bidirectional",
|
|
2452
2488
|
label: {
|
|
@@ -2475,13 +2511,13 @@ var yt = [
|
|
|
2475
2511
|
es: "Desconocido"
|
|
2476
2512
|
}
|
|
2477
2513
|
}
|
|
2478
|
-
],
|
|
2514
|
+
], Et = /* @__PURE__ */ new Set([
|
|
2479
2515
|
"createObject",
|
|
2480
2516
|
"dropObject",
|
|
2481
2517
|
"loadObjectRecords",
|
|
2482
2518
|
"removeRecords",
|
|
2483
2519
|
"upsertRecords"
|
|
2484
|
-
]),
|
|
2520
|
+
]), Dt = /* @__PURE__ */ new Set([
|
|
2485
2521
|
"auditObjectContent",
|
|
2486
2522
|
"findObject",
|
|
2487
2523
|
"getInfo",
|
|
@@ -2490,16 +2526,15 @@ var yt = [
|
|
|
2490
2526
|
"listNodes",
|
|
2491
2527
|
"previewObject",
|
|
2492
2528
|
"queryRecords",
|
|
2493
|
-
"retrieveChunks",
|
|
2494
2529
|
"retrieveRecords"
|
|
2495
2530
|
]);
|
|
2496
|
-
function
|
|
2531
|
+
function Ot(e) {
|
|
2497
2532
|
let t = !1, n = !1;
|
|
2498
|
-
for (let r of e)
|
|
2533
|
+
for (let r of e) Dt.has(r) && (t = !0), Et.has(r) && (n = !0);
|
|
2499
2534
|
return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "unknown";
|
|
2500
2535
|
}
|
|
2501
|
-
var
|
|
2502
|
-
let i =
|
|
2536
|
+
var kt = (e, t = "en") => {
|
|
2537
|
+
let i = St.find((t) => t.id === e);
|
|
2503
2538
|
return i ? {
|
|
2504
2539
|
label: r(n(i.label), t) ?? i.id,
|
|
2505
2540
|
description: ""
|
|
@@ -2507,8 +2542,8 @@ var Et = (e, t = "en") => {
|
|
|
2507
2542
|
label: e,
|
|
2508
2543
|
description: ""
|
|
2509
2544
|
};
|
|
2510
|
-
},
|
|
2511
|
-
let i =
|
|
2545
|
+
}, At = (e, t = "en") => {
|
|
2546
|
+
let i = Ct.find((t) => t.id === e);
|
|
2512
2547
|
return i ? {
|
|
2513
2548
|
label: r(n(i.label), t) ?? i.id,
|
|
2514
2549
|
description: ""
|
|
@@ -2516,8 +2551,8 @@ var Et = (e, t = "en") => {
|
|
|
2516
2551
|
label: e,
|
|
2517
2552
|
description: ""
|
|
2518
2553
|
};
|
|
2519
|
-
},
|
|
2520
|
-
let i =
|
|
2554
|
+
}, jt = (e, t = "en") => {
|
|
2555
|
+
let i = Tt.find((t) => t.id === e);
|
|
2521
2556
|
return i ? {
|
|
2522
2557
|
label: r(n(i.label), t) ?? i.id,
|
|
2523
2558
|
description: ""
|
|
@@ -2526,30 +2561,30 @@ var Et = (e, t = "en") => {
|
|
|
2526
2561
|
description: ""
|
|
2527
2562
|
};
|
|
2528
2563
|
};
|
|
2529
|
-
function
|
|
2564
|
+
function Mt(e) {
|
|
2530
2565
|
let t = new Set(e), n = "|Action|Supported|\n";
|
|
2531
2566
|
n += "|:----|:-------:|\n";
|
|
2532
|
-
for (let e of Object.keys(
|
|
2567
|
+
for (let e of Object.keys(wt)) n += `| ${wt[e]} | ${t.has(e) ? "✓" : ""} |\n`;
|
|
2533
2568
|
return n;
|
|
2534
2569
|
}
|
|
2535
2570
|
// src/component/module/cookbook/cookbookConfig.schema.ts
|
|
2536
|
-
var
|
|
2537
|
-
...
|
|
2571
|
+
var Nt = D(["list"]), Pt = /* @__PURE__ */ C({
|
|
2572
|
+
...j,
|
|
2538
2573
|
typeId: /* @__PURE__ */ _("cookbook"),
|
|
2539
|
-
actionNames: /* @__PURE__ */ h(
|
|
2540
|
-
recipes: /* @__PURE__ */ h(
|
|
2541
|
-
}),
|
|
2574
|
+
actionNames: /* @__PURE__ */ h(Nt),
|
|
2575
|
+
recipes: /* @__PURE__ */ h(k)
|
|
2576
|
+
}), Ft = D([
|
|
2542
2577
|
"list",
|
|
2543
2578
|
"render",
|
|
2544
2579
|
"setColorMode"
|
|
2545
|
-
]),
|
|
2546
|
-
...
|
|
2580
|
+
]), It = /* @__PURE__ */ C({
|
|
2581
|
+
...j,
|
|
2547
2582
|
typeId: /* @__PURE__ */ _("presenter"),
|
|
2548
|
-
actionNames: /* @__PURE__ */ h(
|
|
2549
|
-
presentations: /* @__PURE__ */ h(
|
|
2550
|
-
}),
|
|
2551
|
-
async function
|
|
2552
|
-
let i = e.id, a = `${
|
|
2583
|
+
actionNames: /* @__PURE__ */ h(Ft),
|
|
2584
|
+
presentations: /* @__PURE__ */ h(k)
|
|
2585
|
+
}), Lt = "https://engine-eu.dpuse.app/presenters";
|
|
2586
|
+
async function Rt(e, t, n, r) {
|
|
2587
|
+
let i = e.id, a = `${Lt}/${i.split("-").slice(2).join("-")}_v${e.version}/${i}.es.js`;
|
|
2553
2588
|
try {
|
|
2554
2589
|
return new (await (import(
|
|
2555
2590
|
/* @vite-ignore */
|
|
@@ -2561,11 +2596,11 @@ async function Ft(e, t, n, r) {
|
|
|
2561
2596
|
url: a,
|
|
2562
2597
|
version: e.version
|
|
2563
2598
|
};
|
|
2564
|
-
throw new
|
|
2599
|
+
throw new F(`Failed to load presenter '${i}' v${e.version}.`, "dpuse-shared.component.module.presenter.loadPresenter", n, { cause: t });
|
|
2565
2600
|
}
|
|
2566
2601
|
}
|
|
2567
2602
|
// src/locale/index.ts
|
|
2568
|
-
function
|
|
2603
|
+
function zt(e, t) {
|
|
2569
2604
|
return {
|
|
2570
2605
|
...e,
|
|
2571
2606
|
label: e.label[t] ?? e.id,
|
|
@@ -2573,7 +2608,7 @@ function It(e, t) {
|
|
|
2573
2608
|
verb: e.verb?.[t] ?? void 0
|
|
2574
2609
|
};
|
|
2575
2610
|
}
|
|
2576
|
-
function
|
|
2611
|
+
function Bt(e, t, n = !1) {
|
|
2577
2612
|
let r = e.map((e) => ({
|
|
2578
2613
|
...e,
|
|
2579
2614
|
label: e.label[t] ?? e.id,
|
|
@@ -2582,7 +2617,7 @@ function Lt(e, t, n = !1) {
|
|
|
2582
2617
|
}));
|
|
2583
2618
|
return n ? r.toSorted((e, t) => e.label.localeCompare(t.label) || e.id.localeCompare(t.id)) : r;
|
|
2584
2619
|
}
|
|
2585
|
-
function
|
|
2620
|
+
function Vt(e, t) {
|
|
2586
2621
|
return {
|
|
2587
2622
|
...e,
|
|
2588
2623
|
label: e.label[t] ?? e.id,
|
|
@@ -2590,7 +2625,7 @@ function Rt(e, t) {
|
|
|
2590
2625
|
};
|
|
2591
2626
|
}
|
|
2592
2627
|
// src/utilities/index.ts
|
|
2593
|
-
var
|
|
2628
|
+
var Ht = /* @__PURE__ */ new Map([
|
|
2594
2629
|
["arrow", "application/vnd.apache.arrow.file"],
|
|
2595
2630
|
["avro", "application/vnd.apache.avro"],
|
|
2596
2631
|
["bin", "application/octet-stream"],
|
|
@@ -2611,20 +2646,20 @@ var zt = /* @__PURE__ */ new Map([
|
|
|
2611
2646
|
["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
|
|
2612
2647
|
["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
|
|
2613
2648
|
["xml", "application/xml"]
|
|
2614
|
-
]),
|
|
2649
|
+
]), Z = "en", Q = [
|
|
2615
2650
|
["day", 864e5],
|
|
2616
2651
|
["hour", 36e5],
|
|
2617
2652
|
["minute", 6e4],
|
|
2618
2653
|
["second", 1e3],
|
|
2619
2654
|
["millisecond", 1]
|
|
2620
|
-
],
|
|
2655
|
+
], Ut = [
|
|
2621
2656
|
["byte", 1],
|
|
2622
2657
|
["kilobyte", 1024],
|
|
2623
2658
|
["megabyte", 1048576],
|
|
2624
2659
|
["gigabyte", 1073741824],
|
|
2625
2660
|
["terabyte", 1099511627776]
|
|
2626
|
-
],
|
|
2627
|
-
function
|
|
2661
|
+
], Wt = /* @__PURE__ */ new Map(), Gt = /* @__PURE__ */ new Map();
|
|
2662
|
+
function Kt(e, t = 2, n = t, r = Z) {
|
|
2628
2663
|
return e == null ? "" : $(r, {
|
|
2629
2664
|
localeMatcher: "best fit",
|
|
2630
2665
|
maximumFractionDigits: t,
|
|
@@ -2634,18 +2669,18 @@ function Ht(e, t = 2, n = t, r = X) {
|
|
|
2634
2669
|
useGrouping: !0
|
|
2635
2670
|
}).format(e);
|
|
2636
2671
|
}
|
|
2637
|
-
function
|
|
2638
|
-
return
|
|
2672
|
+
function qt(e, t = Z) {
|
|
2673
|
+
return Kt(e, 0, 0, t);
|
|
2639
2674
|
}
|
|
2640
|
-
function
|
|
2675
|
+
function Jt(e, t = 1, n = Z) {
|
|
2641
2676
|
return e == null || !Number.isFinite(e) ? "" : $(n, {
|
|
2642
2677
|
maximumFractionDigits: t,
|
|
2643
2678
|
notation: "compact"
|
|
2644
2679
|
}).format(e);
|
|
2645
2680
|
}
|
|
2646
|
-
function
|
|
2681
|
+
function Yt(e, t = 1, n = Z) {
|
|
2647
2682
|
if (e == null || !Number.isFinite(e)) return "";
|
|
2648
|
-
let [r, i] =
|
|
2683
|
+
let [r, i] = Ut.find(([, n]) => an(Math.abs(e) / n, n === 1 ? 0 : t) < 1024) ?? ["terabyte", 1099511627776];
|
|
2649
2684
|
return $(n, {
|
|
2650
2685
|
maximumFractionDigits: i === 1 ? 0 : t,
|
|
2651
2686
|
style: "unit",
|
|
@@ -2653,9 +2688,9 @@ function Gt(e, t = 1, n = X) {
|
|
|
2653
2688
|
unitDisplay: i === 1 ? "long" : "short"
|
|
2654
2689
|
}).format(e / i);
|
|
2655
2690
|
}
|
|
2656
|
-
function
|
|
2691
|
+
function Xt(e, t = "millisecond", n = Z) {
|
|
2657
2692
|
if (e == null || !Number.isFinite(e)) return "";
|
|
2658
|
-
let r = Math.round(Math.abs(e)), i =
|
|
2693
|
+
let r = Math.round(Math.abs(e)), i = Q.findIndex(([, e]) => r >= e), a = i === -1 ? Q.length - 1 : i, o = Q.findIndex(([e]) => e === t), s = Q.slice(a, Math.max(o, a) + 1), c = [];
|
|
2659
2694
|
for (let [t, i] of s) {
|
|
2660
2695
|
let a = Math.floor(r / i);
|
|
2661
2696
|
if (a === 0 && c.length > 0) continue;
|
|
@@ -2667,25 +2702,25 @@ function Kt(e, t = "millisecond", n = X) {
|
|
|
2667
2702
|
unitDisplay: "short"
|
|
2668
2703
|
}).format(o));
|
|
2669
2704
|
}
|
|
2670
|
-
return
|
|
2705
|
+
return rn(n).format(c);
|
|
2671
2706
|
}
|
|
2672
|
-
function
|
|
2707
|
+
function Zt(e) {
|
|
2673
2708
|
if (!e) return;
|
|
2674
|
-
let t =
|
|
2709
|
+
let t = nn(e);
|
|
2675
2710
|
return t === void 0 ? e : e.slice(0, t);
|
|
2676
2711
|
}
|
|
2677
|
-
function
|
|
2712
|
+
function Qt(e) {
|
|
2678
2713
|
if (!e) return;
|
|
2679
|
-
let t =
|
|
2714
|
+
let t = nn(e);
|
|
2680
2715
|
return t === void 0 ? void 0 : e.slice(t + 1);
|
|
2681
2716
|
}
|
|
2682
|
-
function
|
|
2683
|
-
return e != null &&
|
|
2717
|
+
function $t(e) {
|
|
2718
|
+
return e != null && Ht.has(e.toLowerCase());
|
|
2684
2719
|
}
|
|
2685
|
-
function
|
|
2686
|
-
return (e == null ? void 0 :
|
|
2720
|
+
function en(e) {
|
|
2721
|
+
return (e == null ? void 0 : Ht.get(e.toLowerCase())) ?? "application/octet-stream";
|
|
2687
2722
|
}
|
|
2688
|
-
function
|
|
2723
|
+
function tn(e) {
|
|
2689
2724
|
switch (e) {
|
|
2690
2725
|
case "Edm.Boolean": return "boolean";
|
|
2691
2726
|
case "Edm.Byte":
|
|
@@ -2706,23 +2741,23 @@ function Zt(e) {
|
|
|
2706
2741
|
default: return "unknown";
|
|
2707
2742
|
}
|
|
2708
2743
|
}
|
|
2709
|
-
function
|
|
2744
|
+
function nn(e) {
|
|
2710
2745
|
let t = e.lastIndexOf("/") + 1, n = e.lastIndexOf(".");
|
|
2711
2746
|
return n > t && n < e.length - 1 ? n : void 0;
|
|
2712
2747
|
}
|
|
2713
|
-
function
|
|
2714
|
-
let t =
|
|
2748
|
+
function rn(e) {
|
|
2749
|
+
let t = Wt.get(e);
|
|
2715
2750
|
return t || (t = new Intl.ListFormat(e, {
|
|
2716
2751
|
style: "narrow",
|
|
2717
2752
|
type: "unit"
|
|
2718
|
-
}),
|
|
2753
|
+
}), Wt.set(e, t)), t;
|
|
2719
2754
|
}
|
|
2720
2755
|
function $(e, t) {
|
|
2721
|
-
let n = `${e}|${JSON.stringify(t)}`, r =
|
|
2722
|
-
return r || (r = new Intl.NumberFormat(e, t),
|
|
2756
|
+
let n = `${e}|${JSON.stringify(t)}`, r = Gt.get(n);
|
|
2757
|
+
return r || (r = new Intl.NumberFormat(e, t), Gt.set(n, r)), r;
|
|
2723
2758
|
}
|
|
2724
|
-
function
|
|
2759
|
+
function an(e, t) {
|
|
2725
2760
|
let n = 10 ** t;
|
|
2726
2761
|
return Math.round(e * n) / n;
|
|
2727
2762
|
}
|
|
2728
|
-
export {
|
|
2763
|
+
export { I as APIError, F as AppError, Fe as ConnectorError, fe as DATA_FORMAT_CONFIGS, pe as DATA_TYPE_CONFIGS, me as DECIMAL_SEPARATOR_IDS, e as DEFAULT_LOCALE_ID, Ee as ENCODING_GROUP_CONFIG_MAP, M as ENCODING_TYPE_CONFIG_MAP, L as EngineError, R as FetchError, t as SUPPORTED_LANGUAGES, U as TOOL_NAME_PREFIX, A as VALUE_DELIMITER_CONFIGS, st as auditObjectContentWithParser, Ie as buildFetchError, at as buildPreviewObjectResult, le as componentInstanceConfigSchema, Le as concatenateSerialisedErrorMessages, Ce as connectorConfigSchema, kt as constructConnectorCategoryConfig, At as constructConnectorItemTypeConfig, jt as constructConnectorUsageConfig, tn as convertODataTypeIdToUsageTypeId, mt as convertStoreRecordToParsedRecord, ht as convertStoreValueToText, Pt as cookbookConfigSchema, n as createLabelMap, Ot as determineConnectorUsageId, Qt as extractExtensionFromPath, Zt as extractPathWithoutExtension, Kt as formatNumberAsDecimalNumber, Xt as formatNumberAsDuration, Jt as formatNumberAsSize, Yt as formatNumberAsStorageSize, qt as formatNumberAsWholeNumber, de as getComponentStatus, Mt as getConnectorActionsTable, ke as getEncodingTypeConfigs, he as getValueDelimiterCharacter, $t as hasMimeTypeForExtension, Re as ignoreErrors, De as isEncodingTypeId, W as listParserToolConfigs, Rt as loadPresenter, K as loadTool, zt as localiseConfig, Bt as localiseConfigs, Vt as localiseReference, en as lookupMimeTypeForExtension, z as normalizeToError, Ye as parseDelimitedText, It as presenterConfigSchema, bt as readTableSchema, Oe as resolveDecoderId, r as resolveLabel, G as resolveParserToolConfig, ot as retrieveRecordsWithParser, ze as serialiseError, Je as toolConfigSchema, Be as unserialiseError };
|