@dpuse/dpuse-shared 1.0.164 → 1.0.165
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 +5 -5
- package/dist/dpuse-shared.es.js +76 -75
- package/dist/dpuse-shared.es.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -241,16 +241,16 @@ _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** | 61.
|
|
245
|
-
| src → index.ts + 13 more | `███████████████░░░░░` 77.
|
|
246
|
-
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 35.
|
|
247
|
-
| ↳ dataFormatIcons.ts |
|
|
244
|
+
| **dist/dpuse-shared.es.js** | 61.2 kB · gzip 17.4 kB · 100.0% of the build |
|
|
245
|
+
| src → index.ts + 13 more | `███████████████░░░░░` 77.4% · 47.4 kB |
|
|
246
|
+
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 35.6% · 21.8 kB |
|
|
247
|
+
| ↳ dataFormatIcons.ts | `▒▒▒▒▒░░░░░░░░░░░░░░░` 27.5% · 16.8 kB |
|
|
248
248
|
| ↳ objectParsing.ts | `▒░░░░░░░░░░░░░░░░░░░` 5.2% · 3.2 kB |
|
|
249
249
|
| ↳ delimitedText.ts | `▒░░░░░░░░░░░░░░░░░░░` 2.6% · 1.6 kB |
|
|
250
250
|
| ↳ connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.1% · 1.3 kB |
|
|
251
251
|
| ↳ 9 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 4.4% · 2.7 kB |
|
|
252
252
|
| valibot → dist/index.mjs | `██░░░░░░░░░░░░░░░░░░` 12.4% · 7.6 kB |
|
|
253
|
-
| (bundler output, whitespace & JSON) | `██░░░░░░░░░░░░░░░░░░` 10.
|
|
253
|
+
| (bundler output, whitespace & JSON) | `██░░░░░░░░░░░░░░░░░░` 10.2% · 6.3 kB |
|
|
254
254
|
|
|
255
255
|
Bars show each row's share of its output file. ↳ rows are part of the row above.
|
|
256
256
|
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -883,7 +883,7 @@ function W(e) {
|
|
|
883
883
|
}
|
|
884
884
|
//#endregion
|
|
885
885
|
//#region src/component/module/tool/index.ts
|
|
886
|
-
var ze = "https://engine-eu.dpuse.app/tools", G = "dpuse-tool-";
|
|
886
|
+
var ze = "https://engine-eu.dpuse.app/tools", Be = { dtv: "dpuse-tool-rust-csv-core-parser" }, G = "dpuse-tool-";
|
|
887
887
|
function K(e, t) {
|
|
888
888
|
return e.filter((e) => e.parser?.dataFormatIds.some((e) => e === t) === !0).toSorted((e, t) => e.id.localeCompare(t.id, "en"));
|
|
889
889
|
}
|
|
@@ -896,9 +896,10 @@ function q(e, t, n) {
|
|
|
896
896
|
};
|
|
897
897
|
throw new I(`No tool reads the '${t}' data format.`, "dpuse-shared.component.module.tool.resolveParserToolConfig", n);
|
|
898
898
|
}
|
|
899
|
-
|
|
899
|
+
let a = Be[t];
|
|
900
|
+
return r.find((e) => e.id === n) ?? r.find((e) => e.id === a) ?? i;
|
|
900
901
|
}
|
|
901
|
-
async function
|
|
902
|
+
async function Ve(e, t) {
|
|
902
903
|
let n = `${G}${t}`, r = e.find((e) => e.id === n);
|
|
903
904
|
if (!r) {
|
|
904
905
|
let r = {
|
|
@@ -924,8 +925,8 @@ async function Be(e, t) {
|
|
|
924
925
|
}
|
|
925
926
|
//#endregion
|
|
926
927
|
//#region src/component/module/connector/objectParsing.ts
|
|
927
|
-
var
|
|
928
|
-
async function
|
|
928
|
+
var He = "\n", J = ",";
|
|
929
|
+
async function Ue(e) {
|
|
929
930
|
let { asAt: t, filePreview: n, inferDataTypes: r, parserId: i, startedAt: a, toolConfigs: o } = e, { dataFormatId: s, text: c } = n, l = n.bytes.length;
|
|
930
931
|
if (l === 0) return {
|
|
931
932
|
asAt: t,
|
|
@@ -936,7 +937,7 @@ async function He(e) {
|
|
|
936
937
|
encodingConfidenceLevel: void 0,
|
|
937
938
|
fileType: void 0,
|
|
938
939
|
hasHeaders: !1,
|
|
939
|
-
recordDelimiterId:
|
|
940
|
+
recordDelimiterId: He,
|
|
940
941
|
parsedRecords: [],
|
|
941
942
|
issues: [{
|
|
942
943
|
id: "empty",
|
|
@@ -991,7 +992,7 @@ async function He(e) {
|
|
|
991
992
|
valueDelimiterId: p ? m.valueDelimiterId ?? J : m.valueDelimiterId
|
|
992
993
|
};
|
|
993
994
|
}
|
|
994
|
-
async function
|
|
995
|
+
async function We(e) {
|
|
995
996
|
let { chunk: t, options: n, signal: r, stream: i, toolConfigs: a } = e, { parser: o } = await Y(a, n.dataFormatId, n.parserId);
|
|
996
997
|
return await o.parseStream(i, {
|
|
997
998
|
abortSignal: r,
|
|
@@ -1001,8 +1002,8 @@ async function Ue(e) {
|
|
|
1001
1002
|
valueDelimiterId: n.valueDelimiterId
|
|
1002
1003
|
}, t);
|
|
1003
1004
|
}
|
|
1004
|
-
async function
|
|
1005
|
-
let { constructColumnAuditor: t, onProgress: n, options: r, signal: i, stream: a, toolConfigs: o } = e, s = Date.now(), c = performance.now(), l = t(r.hasHeaders), { parser: u } = await Y(o, r.dataFormatId, r.parserId), d =
|
|
1005
|
+
async function Ge(e) {
|
|
1006
|
+
let { constructColumnAuditor: t, onProgress: n, options: r, signal: i, stream: a, toolConfigs: o } = e, s = Date.now(), c = performance.now(), l = t(r.hasHeaders), { parser: u } = await Y(o, r.dataFormatId, r.parserId), d = Ke(a), f = await u.parseStream(d.stream, {
|
|
1006
1007
|
abortSignal: i,
|
|
1007
1008
|
chunkSize: r.chunkSize,
|
|
1008
1009
|
dataFormatId: r.dataFormatId,
|
|
@@ -1023,7 +1024,7 @@ async function We(e) {
|
|
|
1023
1024
|
sourceWaitDuration: d.waitDuration()
|
|
1024
1025
|
};
|
|
1025
1026
|
}
|
|
1026
|
-
function
|
|
1027
|
+
function Ke(e) {
|
|
1027
1028
|
let t = e.getReader(), n = 0;
|
|
1028
1029
|
return {
|
|
1029
1030
|
stream: new ReadableStream({
|
|
@@ -1041,13 +1042,13 @@ function Ge(e) {
|
|
|
1041
1042
|
async function Y(e, t, n) {
|
|
1042
1043
|
let r = q(e, t, n);
|
|
1043
1044
|
return {
|
|
1044
|
-
parser: await
|
|
1045
|
+
parser: await Ve(e, r.id.slice(G.length)),
|
|
1045
1046
|
parserId: r.id
|
|
1046
1047
|
};
|
|
1047
1048
|
}
|
|
1048
1049
|
//#endregion
|
|
1049
1050
|
//#region src/component/module/connector/index.ts
|
|
1050
|
-
var
|
|
1051
|
+
var qe = [
|
|
1051
1052
|
{
|
|
1052
1053
|
id: "application",
|
|
1053
1054
|
label: {
|
|
@@ -1076,7 +1077,7 @@ var Ke = [
|
|
|
1076
1077
|
es: "Almacén de Archivos"
|
|
1077
1078
|
}
|
|
1078
1079
|
}
|
|
1079
|
-
],
|
|
1080
|
+
], Je = [
|
|
1080
1081
|
{
|
|
1081
1082
|
id: "apiEndpoint",
|
|
1082
1083
|
label: {
|
|
@@ -1098,7 +1099,7 @@ var Ke = [
|
|
|
1098
1099
|
es: "Tabla"
|
|
1099
1100
|
}
|
|
1100
1101
|
}
|
|
1101
|
-
],
|
|
1102
|
+
], Ye = {
|
|
1102
1103
|
abortOperation: "Abort Operation",
|
|
1103
1104
|
auditObjectContent: "Audit Object Content",
|
|
1104
1105
|
closeStore: "Close Store",
|
|
@@ -1118,7 +1119,7 @@ var Ke = [
|
|
|
1118
1119
|
retrieveChunks: "Retrieve Chunks",
|
|
1119
1120
|
retrieveRecords: "Retrieve Records",
|
|
1120
1121
|
upsertRecords: "Upsert Records"
|
|
1121
|
-
},
|
|
1122
|
+
}, Xe = [
|
|
1122
1123
|
{
|
|
1123
1124
|
id: "bidirectional",
|
|
1124
1125
|
label: {
|
|
@@ -1147,13 +1148,13 @@ var Ke = [
|
|
|
1147
1148
|
es: "Desconocido"
|
|
1148
1149
|
}
|
|
1149
1150
|
}
|
|
1150
|
-
],
|
|
1151
|
+
], Ze = /* @__PURE__ */ new Set([
|
|
1151
1152
|
"createObject",
|
|
1152
1153
|
"dropObject",
|
|
1153
1154
|
"loadObjectRecords",
|
|
1154
1155
|
"removeRecords",
|
|
1155
1156
|
"upsertRecords"
|
|
1156
|
-
]),
|
|
1157
|
+
]), Qe = /* @__PURE__ */ new Set([
|
|
1157
1158
|
"auditObjectContent",
|
|
1158
1159
|
"findObject",
|
|
1159
1160
|
"getInfo",
|
|
@@ -1165,13 +1166,13 @@ var Ke = [
|
|
|
1165
1166
|
"retrieveChunks",
|
|
1166
1167
|
"retrieveRecords"
|
|
1167
1168
|
]);
|
|
1168
|
-
function
|
|
1169
|
+
function $e(e) {
|
|
1169
1170
|
let t = !1, n = !1;
|
|
1170
|
-
for (let r of e)
|
|
1171
|
+
for (let r of e) Qe.has(r) && (t = !0), Ze.has(r) && (n = !0);
|
|
1171
1172
|
return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "unknown";
|
|
1172
1173
|
}
|
|
1173
|
-
var
|
|
1174
|
-
let i =
|
|
1174
|
+
var et = (e, t = "en") => {
|
|
1175
|
+
let i = qe.find((t) => t.id === e);
|
|
1175
1176
|
return i ? {
|
|
1176
1177
|
label: r(n(i.label), t) ?? i.id,
|
|
1177
1178
|
description: ""
|
|
@@ -1179,8 +1180,8 @@ var $e = (e, t = "en") => {
|
|
|
1179
1180
|
label: e,
|
|
1180
1181
|
description: ""
|
|
1181
1182
|
};
|
|
1182
|
-
},
|
|
1183
|
-
let i =
|
|
1183
|
+
}, tt = (e, t = "en") => {
|
|
1184
|
+
let i = Je.find((t) => t.id === e);
|
|
1184
1185
|
return i ? {
|
|
1185
1186
|
label: r(n(i.label), t) ?? i.id,
|
|
1186
1187
|
description: ""
|
|
@@ -1188,8 +1189,8 @@ var $e = (e, t = "en") => {
|
|
|
1188
1189
|
label: e,
|
|
1189
1190
|
description: ""
|
|
1190
1191
|
};
|
|
1191
|
-
},
|
|
1192
|
-
let i =
|
|
1192
|
+
}, nt = (e, t = "en") => {
|
|
1193
|
+
let i = Xe.find((t) => t.id === e);
|
|
1193
1194
|
return i ? {
|
|
1194
1195
|
label: r(n(i.label), t) ?? i.id,
|
|
1195
1196
|
description: ""
|
|
@@ -1198,31 +1199,31 @@ var $e = (e, t = "en") => {
|
|
|
1198
1199
|
description: ""
|
|
1199
1200
|
};
|
|
1200
1201
|
};
|
|
1201
|
-
function
|
|
1202
|
+
function rt(e) {
|
|
1202
1203
|
let t = new Set(e), n = "|Action|Supported|\n";
|
|
1203
1204
|
n += "|:----|:-------:|\n";
|
|
1204
|
-
for (let e of Object.keys(
|
|
1205
|
+
for (let e of Object.keys(Ye)) n += `| ${Ye[e]} | ${t.has(e) ? "✓" : ""} |\n`;
|
|
1205
1206
|
return n;
|
|
1206
1207
|
}
|
|
1207
1208
|
//#endregion
|
|
1208
1209
|
//#region src/component/module/cookbook/cookbookConfig.schema.ts
|
|
1209
|
-
var
|
|
1210
|
+
var it = E(["list"]), at = /* @__PURE__ */ x({
|
|
1210
1211
|
...j,
|
|
1211
1212
|
typeId: /* @__PURE__ */ g("cookbook"),
|
|
1212
|
-
actionNames: /* @__PURE__ */ h(
|
|
1213
|
+
actionNames: /* @__PURE__ */ h(it),
|
|
1213
1214
|
recipes: /* @__PURE__ */ h(O)
|
|
1214
|
-
}),
|
|
1215
|
+
}), ot = E([
|
|
1215
1216
|
"list",
|
|
1216
1217
|
"render",
|
|
1217
1218
|
"setColorMode"
|
|
1218
|
-
]),
|
|
1219
|
+
]), st = /* @__PURE__ */ x({
|
|
1219
1220
|
...j,
|
|
1220
1221
|
typeId: /* @__PURE__ */ g("presenter"),
|
|
1221
|
-
actionNames: /* @__PURE__ */ h(
|
|
1222
|
+
actionNames: /* @__PURE__ */ h(ot),
|
|
1222
1223
|
presentations: /* @__PURE__ */ h(O)
|
|
1223
|
-
}),
|
|
1224
|
-
async function
|
|
1225
|
-
let i = e.id, a = `${
|
|
1224
|
+
}), ct = "https://engine-eu.dpuse.app/presenters";
|
|
1225
|
+
async function lt(e, t, n, r) {
|
|
1226
|
+
let i = e.id, a = `${ct}/${i.split("-").slice(2).join("-")}_v${e.version}/${i}.es.js`;
|
|
1226
1227
|
try {
|
|
1227
1228
|
return new (await (import(
|
|
1228
1229
|
/* @vite-ignore */
|
|
@@ -1239,7 +1240,7 @@ async function ct(e, t, n, r) {
|
|
|
1239
1240
|
}
|
|
1240
1241
|
//#endregion
|
|
1241
1242
|
//#region src/encoding/index.ts
|
|
1242
|
-
var
|
|
1243
|
+
var ut = {
|
|
1243
1244
|
arabic: {
|
|
1244
1245
|
id: "arabic",
|
|
1245
1246
|
label: {
|
|
@@ -1387,7 +1388,7 @@ var lt = {
|
|
|
1387
1388
|
es: "Occidental"
|
|
1388
1389
|
}
|
|
1389
1390
|
}
|
|
1390
|
-
},
|
|
1391
|
+
}, dt = {
|
|
1391
1392
|
ascii: {
|
|
1392
1393
|
id: "ascii",
|
|
1393
1394
|
groupId: null,
|
|
@@ -1818,16 +1819,16 @@ var lt = {
|
|
|
1818
1819
|
groupId: "baltic",
|
|
1819
1820
|
decoderId: "windows-1257"
|
|
1820
1821
|
}
|
|
1821
|
-
},
|
|
1822
|
-
function
|
|
1822
|
+
}, ft = ut, X = dt;
|
|
1823
|
+
function pt(e) {
|
|
1823
1824
|
return Object.hasOwn(X, e);
|
|
1824
1825
|
}
|
|
1825
|
-
function
|
|
1826
|
-
return
|
|
1826
|
+
function mt(e) {
|
|
1827
|
+
return pt(e) ? X[e].decoderId ?? e : e;
|
|
1827
1828
|
}
|
|
1828
|
-
function
|
|
1829
|
+
function ht(e = "en") {
|
|
1829
1830
|
return Array.from(Object.values(X), ({ decoderId: t, groupId: n, id: r }) => {
|
|
1830
|
-
let i = n == null ? "" :
|
|
1831
|
+
let i = n == null ? "" : gt(n, e);
|
|
1831
1832
|
return {
|
|
1832
1833
|
id: r,
|
|
1833
1834
|
groupLabel: i,
|
|
@@ -1837,13 +1838,13 @@ function mt(e = "en") {
|
|
|
1837
1838
|
};
|
|
1838
1839
|
}).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.label.localeCompare(n.label, e));
|
|
1839
1840
|
}
|
|
1840
|
-
function
|
|
1841
|
-
let n =
|
|
1841
|
+
function gt(e, t) {
|
|
1842
|
+
let n = ft[e].label;
|
|
1842
1843
|
return n[t] ?? n.en ?? e;
|
|
1843
1844
|
}
|
|
1844
1845
|
//#endregion
|
|
1845
1846
|
//#region src/locale/index.ts
|
|
1846
|
-
function
|
|
1847
|
+
function _t(e, t) {
|
|
1847
1848
|
return {
|
|
1848
1849
|
...e,
|
|
1849
1850
|
label: e.label[t] ?? e.id,
|
|
@@ -1851,7 +1852,7 @@ function gt(e, t) {
|
|
|
1851
1852
|
verb: e.verb?.[t] ?? void 0
|
|
1852
1853
|
};
|
|
1853
1854
|
}
|
|
1854
|
-
function
|
|
1855
|
+
function vt(e, t, n = !1) {
|
|
1855
1856
|
let r = e.map((e) => ({
|
|
1856
1857
|
...e,
|
|
1857
1858
|
label: e.label[t] ?? e.id,
|
|
@@ -1860,7 +1861,7 @@ function _t(e, t, n = !1) {
|
|
|
1860
1861
|
}));
|
|
1861
1862
|
return n ? r.toSorted((e, t) => e.label.localeCompare(t.label) || e.id.localeCompare(t.id)) : r;
|
|
1862
1863
|
}
|
|
1863
|
-
function
|
|
1864
|
+
function yt(e, t) {
|
|
1864
1865
|
return {
|
|
1865
1866
|
...e,
|
|
1866
1867
|
label: e.label[t] ?? e.id,
|
|
@@ -1869,7 +1870,7 @@ function vt(e, t) {
|
|
|
1869
1870
|
}
|
|
1870
1871
|
//#endregion
|
|
1871
1872
|
//#region src/utilities/index.ts
|
|
1872
|
-
var
|
|
1873
|
+
var bt = /* @__PURE__ */ new Map([
|
|
1873
1874
|
["arrow", "application/vnd.apache.arrow.file"],
|
|
1874
1875
|
["avro", "application/vnd.apache.avro"],
|
|
1875
1876
|
["bin", "application/octet-stream"],
|
|
@@ -1896,14 +1897,14 @@ var yt = /* @__PURE__ */ new Map([
|
|
|
1896
1897
|
["minute", 6e4],
|
|
1897
1898
|
["second", 1e3],
|
|
1898
1899
|
["millisecond", 1]
|
|
1899
|
-
],
|
|
1900
|
+
], xt = [
|
|
1900
1901
|
["byte", 1],
|
|
1901
1902
|
["kilobyte", 1024],
|
|
1902
1903
|
["megabyte", 1048576],
|
|
1903
1904
|
["gigabyte", 1073741824],
|
|
1904
1905
|
["terabyte", 1099511627776]
|
|
1905
|
-
],
|
|
1906
|
-
function
|
|
1906
|
+
], St = /* @__PURE__ */ new Map(), Ct = /* @__PURE__ */ new Map();
|
|
1907
|
+
function wt(e, t = 2, n = t, r = Z) {
|
|
1907
1908
|
return e == null ? "" : $(r, {
|
|
1908
1909
|
localeMatcher: "best fit",
|
|
1909
1910
|
maximumFractionDigits: t,
|
|
@@ -1913,18 +1914,18 @@ function Ct(e, t = 2, n = t, r = Z) {
|
|
|
1913
1914
|
useGrouping: !0
|
|
1914
1915
|
}).format(e);
|
|
1915
1916
|
}
|
|
1916
|
-
function
|
|
1917
|
-
return
|
|
1917
|
+
function Tt(e, t = Z) {
|
|
1918
|
+
return wt(e, 0, 0, t);
|
|
1918
1919
|
}
|
|
1919
|
-
function
|
|
1920
|
+
function Et(e, t = 1, n = Z) {
|
|
1920
1921
|
return e == null || !Number.isFinite(e) ? "" : $(n, {
|
|
1921
1922
|
maximumFractionDigits: t,
|
|
1922
1923
|
notation: "compact"
|
|
1923
1924
|
}).format(e);
|
|
1924
1925
|
}
|
|
1925
|
-
function
|
|
1926
|
+
function Dt(e, t = 1, n = Z) {
|
|
1926
1927
|
if (e == null || !Number.isFinite(e)) return "";
|
|
1927
|
-
let [r, i] =
|
|
1928
|
+
let [r, i] = xt.find(([, n]) => It(Math.abs(e) / n, n === 1 ? 0 : t) < 1024) ?? ["terabyte", 1099511627776];
|
|
1928
1929
|
return $(n, {
|
|
1929
1930
|
maximumFractionDigits: i === 1 ? 0 : t,
|
|
1930
1931
|
style: "unit",
|
|
@@ -1932,7 +1933,7 @@ function Et(e, t = 1, n = Z) {
|
|
|
1932
1933
|
unitDisplay: i === 1 ? "long" : "short"
|
|
1933
1934
|
}).format(e / i);
|
|
1934
1935
|
}
|
|
1935
|
-
function
|
|
1936
|
+
function Ot(e, t = "millisecond", n = Z) {
|
|
1936
1937
|
if (e == null || !Number.isFinite(e)) return "";
|
|
1937
1938
|
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 = [];
|
|
1938
1939
|
for (let [t, i] of s) {
|
|
@@ -1946,25 +1947,25 @@ function Dt(e, t = "millisecond", n = Z) {
|
|
|
1946
1947
|
unitDisplay: "short"
|
|
1947
1948
|
}).format(o));
|
|
1948
1949
|
}
|
|
1949
|
-
return
|
|
1950
|
+
return Ft(n).format(c);
|
|
1950
1951
|
}
|
|
1951
|
-
function
|
|
1952
|
+
function kt(e) {
|
|
1952
1953
|
if (!e) return;
|
|
1953
|
-
let t =
|
|
1954
|
+
let t = Pt(e);
|
|
1954
1955
|
return t === void 0 ? e : e.slice(0, t);
|
|
1955
1956
|
}
|
|
1956
|
-
function
|
|
1957
|
+
function At(e) {
|
|
1957
1958
|
if (!e) return;
|
|
1958
|
-
let t =
|
|
1959
|
+
let t = Pt(e);
|
|
1959
1960
|
return t === void 0 ? void 0 : e.slice(t + 1);
|
|
1960
1961
|
}
|
|
1961
|
-
function At(e) {
|
|
1962
|
-
return e != null && yt.has(e.toLowerCase());
|
|
1963
|
-
}
|
|
1964
1962
|
function jt(e) {
|
|
1965
|
-
return
|
|
1963
|
+
return e != null && bt.has(e.toLowerCase());
|
|
1966
1964
|
}
|
|
1967
1965
|
function Mt(e) {
|
|
1966
|
+
return (e == null ? void 0 : bt.get(e.toLowerCase())) ?? "application/octet-stream";
|
|
1967
|
+
}
|
|
1968
|
+
function Nt(e) {
|
|
1968
1969
|
switch (e) {
|
|
1969
1970
|
case "Edm.Boolean": return "boolean";
|
|
1970
1971
|
case "Edm.Byte":
|
|
@@ -1985,24 +1986,24 @@ function Mt(e) {
|
|
|
1985
1986
|
default: return "unknown";
|
|
1986
1987
|
}
|
|
1987
1988
|
}
|
|
1988
|
-
function
|
|
1989
|
+
function Pt(e) {
|
|
1989
1990
|
let t = e.lastIndexOf("/") + 1, n = e.lastIndexOf(".");
|
|
1990
1991
|
return n > t && n < e.length - 1 ? n : void 0;
|
|
1991
1992
|
}
|
|
1992
|
-
function
|
|
1993
|
-
let t =
|
|
1993
|
+
function Ft(e) {
|
|
1994
|
+
let t = St.get(e);
|
|
1994
1995
|
return t || (t = new Intl.ListFormat(e, {
|
|
1995
1996
|
style: "narrow",
|
|
1996
1997
|
type: "unit"
|
|
1997
|
-
}),
|
|
1998
|
+
}), St.set(e, t)), t;
|
|
1998
1999
|
}
|
|
1999
2000
|
function $(e, t) {
|
|
2000
|
-
let n = `${e}|${JSON.stringify(t)}`, r =
|
|
2001
|
-
return r || (r = new Intl.NumberFormat(e, t),
|
|
2001
|
+
let n = `${e}|${JSON.stringify(t)}`, r = Ct.get(n);
|
|
2002
|
+
return r || (r = new Intl.NumberFormat(e, t), Ct.set(n, r)), r;
|
|
2002
2003
|
}
|
|
2003
|
-
function
|
|
2004
|
+
function It(e, t) {
|
|
2004
2005
|
let n = 10 ** t;
|
|
2005
2006
|
return Math.round(e * n) / n;
|
|
2006
2007
|
}
|
|
2007
2008
|
//#endregion
|
|
2008
|
-
export { L as APIError, I as AppError, z as ConnectorError, ue as DATA_FORMAT_ICON_CONFIGS, e as DEFAULT_LOCALE_ID,
|
|
2009
|
+
export { L as APIError, I as AppError, z as ConnectorError, ue as DATA_FORMAT_ICON_CONFIGS, e as DEFAULT_LOCALE_ID, ft as ENCODING_GROUP_CONFIG_MAP, X as ENCODING_TYPE_CONFIG_MAP, R as EngineError, B as FetchError, A as ORDERED_VALUE_DELIMITER_IDS, t as SUPPORTED_LANGUAGES, G as TOOL_NAME_PREFIX, Ge as auditObjectContentWithParser, xe as buildFetchError, Ue as buildPreviewConfig, se as componentInstanceConfigSchema, Se as concatenateSerialisedErrorMessages, ve as connectorConfigSchema, et as constructConnectorCategoryConfig, tt as constructConnectorItemTypeConfig, nt as constructConnectorUsageConfig, Nt as convertODataTypeIdToUsageTypeId, at as cookbookConfigSchema, n as createLabelMap, $e as determineConnectorUsageId, At as extractExtensionFromPath, kt as extractPathWithoutExtension, wt as formatNumberAsDecimalNumber, Ot as formatNumberAsDuration, Et as formatNumberAsSize, Dt as formatNumberAsStorageSize, Tt as formatNumberAsWholeNumber, le as getComponentStatus, rt as getConnectorActionsTable, ht as getEncodingTypeConfigs, jt as hasMimeTypeForExtension, Ce as ignoreErrors, pt as isEncodingTypeId, K as listParserToolConfigs, lt as loadPresenter, Ve as loadTool, _t as localiseConfig, vt as localiseConfigs, yt as localiseReference, Mt as lookupMimeTypeForExtension, V as normalizeToError, Pe as parseDelimitedText, st as presenterConfigSchema, mt as resolveDecoderId, r as resolveLabel, q as resolveParserToolConfig, We as retrieveRecordsWithParser, we as serialiseError, Ne as toolConfigSchema, Te as unserialiseError };
|