@dpuse/dpuse-shared 1.0.147 → 1.0.149

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.
@@ -75,19 +75,34 @@ function d(e) {
75
75
  }, e;
76
76
  }
77
77
  /* @__NO_SIDE_EFFECTS__ */
78
+ function f(e, t) {
79
+ return {
80
+ kind: "validation",
81
+ type: "min_length",
82
+ reference: f,
83
+ async: !1,
84
+ expects: `>=${e}`,
85
+ requirement: e,
86
+ message: t,
87
+ "~run"(e, t) {
88
+ return e.typed && e.value.length < this.requirement && s(this, "length", e, t, { received: `${e.value.length}` }), e;
89
+ }
90
+ };
91
+ }
92
+ /* @__NO_SIDE_EFFECTS__ */
78
93
  function ee(e, t, n) {
79
94
  return typeof e.fallback == "function" ? e.fallback(t, n) : e.fallback;
80
95
  }
81
96
  /* @__NO_SIDE_EFFECTS__ */
82
- function f(e, t, n) {
97
+ function p(e, t, n) {
83
98
  return typeof e.default == "function" ? e.default(t, n) : e.default;
84
99
  }
85
100
  /* @__NO_SIDE_EFFECTS__ */
86
- function p(e, t) {
101
+ function m(e, t) {
87
102
  return d({
88
103
  kind: "schema",
89
104
  type: "array",
90
- reference: p,
105
+ reference: m,
91
106
  expects: "Array",
92
107
  async: !1,
93
108
  item: e,
@@ -120,11 +135,11 @@ function p(e, t) {
120
135
  });
121
136
  }
122
137
  /* @__NO_SIDE_EFFECTS__ */
123
- function m(e) {
138
+ function h(e) {
124
139
  return d({
125
140
  kind: "schema",
126
141
  type: "boolean",
127
- reference: m,
142
+ reference: h,
128
143
  expects: "boolean",
129
144
  async: !1,
130
145
  message: e,
@@ -134,11 +149,11 @@ function m(e) {
134
149
  });
135
150
  }
136
151
  /* @__NO_SIDE_EFFECTS__ */
137
- function h(e, t) {
152
+ function g(e, t) {
138
153
  return d({
139
154
  kind: "schema",
140
155
  type: "literal",
141
- reference: h,
156
+ reference: g,
142
157
  expects: /* @__PURE__ */ o(e),
143
158
  async: !1,
144
159
  literal: e,
@@ -149,26 +164,26 @@ function h(e, t) {
149
164
  });
150
165
  }
151
166
  /* @__NO_SIDE_EFFECTS__ */
152
- function g(e, t) {
167
+ function _(e, t) {
153
168
  return d({
154
169
  kind: "schema",
155
170
  type: "nullable",
156
- reference: g,
171
+ reference: _,
157
172
  expects: `(${e.expects} | null)`,
158
173
  async: !1,
159
174
  wrapped: e,
160
175
  default: t,
161
176
  "~run"(e, t) {
162
- return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ f(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
177
+ return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ p(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
163
178
  }
164
179
  });
165
180
  }
166
181
  /* @__NO_SIDE_EFFECTS__ */
167
- function _(e) {
182
+ function v(e) {
168
183
  return d({
169
184
  kind: "schema",
170
185
  type: "number",
171
- reference: _,
186
+ reference: v,
172
187
  expects: "number",
173
188
  async: !1,
174
189
  message: e,
@@ -178,26 +193,26 @@ function _(e) {
178
193
  });
179
194
  }
180
195
  /* @__NO_SIDE_EFFECTS__ */
181
- function v(e, t) {
196
+ function y(e, t) {
182
197
  return d({
183
198
  kind: "schema",
184
199
  type: "optional",
185
- reference: v,
200
+ reference: y,
186
201
  expects: `(${e.expects} | undefined)`,
187
202
  async: !1,
188
203
  wrapped: e,
189
204
  default: t,
190
205
  "~run"(e, t) {
191
- return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ f(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
206
+ return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ p(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
192
207
  }
193
208
  });
194
209
  }
195
210
  /* @__NO_SIDE_EFFECTS__ */
196
- function y(e, t, n) {
211
+ function b(e, t, n) {
197
212
  return d({
198
213
  kind: "schema",
199
214
  type: "record",
200
- reference: y,
215
+ reference: b,
201
216
  expects: "Object",
202
217
  async: !1,
203
218
  key: e,
@@ -246,11 +261,11 @@ function y(e, t, n) {
246
261
  });
247
262
  }
248
263
  /* @__NO_SIDE_EFFECTS__ */
249
- function b(e, t) {
264
+ function x(e, t) {
250
265
  return d({
251
266
  kind: "schema",
252
267
  type: "strict_object",
253
- reference: b,
268
+ reference: x,
254
269
  expects: "Object",
255
270
  async: !1,
256
271
  entries: e,
@@ -262,7 +277,7 @@ function b(e, t) {
262
277
  for (let r in this.entries) {
263
278
  let i = this.entries[r];
264
279
  if (r in n || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
265
- let a = r in n ? n[r] : /* @__PURE__ */ f(i), o = i["~run"]({ value: a }, t);
280
+ let a = r in n ? n[r] : /* @__PURE__ */ p(i), o = i["~run"]({ value: a }, t);
266
281
  if (o.issues) {
267
282
  let i = {
268
283
  type: "object",
@@ -313,11 +328,11 @@ function b(e, t) {
313
328
  });
314
329
  }
315
330
  /* @__NO_SIDE_EFFECTS__ */
316
- function x(e) {
331
+ function S(e) {
317
332
  return d({
318
333
  kind: "schema",
319
334
  type: "string",
320
- reference: x,
335
+ reference: S,
321
336
  expects: "string",
322
337
  async: !1,
323
338
  message: e,
@@ -327,18 +342,18 @@ function x(e) {
327
342
  });
328
343
  }
329
344
  /* @__NO_SIDE_EFFECTS__ */
330
- function S(e) {
345
+ function C(e) {
331
346
  let t;
332
347
  if (e) for (let n of e) if (t) for (let e of n.issues) t.push(e);
333
348
  else t = n.issues;
334
349
  return t;
335
350
  }
336
351
  /* @__NO_SIDE_EFFECTS__ */
337
- function C(e, t) {
352
+ function w(e, t) {
338
353
  return d({
339
354
  kind: "schema",
340
355
  type: "union",
341
- reference: C,
356
+ reference: w,
342
357
  expects: /* @__PURE__ */ u(e.map((e) => e.expects), "|"),
343
358
  async: !1,
344
359
  options: e,
@@ -358,31 +373,48 @@ function C(e, t) {
358
373
  if (n) return n;
359
374
  if (r) {
360
375
  if (r.length === 1) return r[0];
361
- s(this, "type", e, t, { issues: /* @__PURE__ */ S(r) }), e.typed = !0;
376
+ s(this, "type", e, t, { issues: /* @__PURE__ */ C(r) }), e.typed = !0;
362
377
  } else if (i?.length === 1) return i[0];
363
- else s(this, "type", e, t, { issues: /* @__PURE__ */ S(i) });
378
+ else s(this, "type", e, t, { issues: /* @__PURE__ */ C(i) });
364
379
  return e;
365
380
  }
366
381
  });
367
382
  }
383
+ /* @__NO_SIDE_EFFECTS__ */
384
+ function te(...e) {
385
+ return d({
386
+ ...e[0],
387
+ pipe: e,
388
+ "~run"(t, n) {
389
+ for (let r of e) if (r.kind !== "metadata") {
390
+ if (t.issues && (r.kind === "schema" || r.kind === "transformation")) {
391
+ t.typed = !1;
392
+ break;
393
+ }
394
+ (!t.issues || !n.abortEarly && !n.abortPipeEarly) && (t = r["~run"](t, n));
395
+ }
396
+ return t;
397
+ }
398
+ });
399
+ }
368
400
  //#endregion
369
401
  //#region src/locale/locale.schema.ts
370
- var w = /* @__PURE__ */ b({
371
- en: /* @__PURE__ */ x(),
372
- es: /* @__PURE__ */ x()
373
- }), te = {
374
- id: /* @__PURE__ */ x(),
375
- label: /* @__PURE__ */ b({
376
- en: /* @__PURE__ */ v(/* @__PURE__ */ x()),
377
- es: /* @__PURE__ */ v(/* @__PURE__ */ x())
402
+ var T = /* @__PURE__ */ x({
403
+ en: /* @__PURE__ */ S(),
404
+ es: /* @__PURE__ */ S()
405
+ }), ne = {
406
+ id: /* @__PURE__ */ S(),
407
+ label: /* @__PURE__ */ x({
408
+ en: /* @__PURE__ */ y(/* @__PURE__ */ S()),
409
+ es: /* @__PURE__ */ y(/* @__PURE__ */ S())
378
410
  }),
379
- description: /* @__PURE__ */ b({
380
- en: /* @__PURE__ */ v(/* @__PURE__ */ x()),
381
- es: /* @__PURE__ */ v(/* @__PURE__ */ x())
411
+ description: /* @__PURE__ */ x({
412
+ en: /* @__PURE__ */ y(/* @__PURE__ */ S()),
413
+ es: /* @__PURE__ */ y(/* @__PURE__ */ S())
382
414
  }),
383
- icon: /* @__PURE__ */ g(/* @__PURE__ */ x()),
384
- iconDark: /* @__PURE__ */ g(/* @__PURE__ */ x())
385
- }, T = (e) => /* @__PURE__ */ C(e.map((e) => /* @__PURE__ */ h(e))), ne = T([
415
+ icon: /* @__PURE__ */ _(/* @__PURE__ */ S()),
416
+ iconDark: /* @__PURE__ */ _(/* @__PURE__ */ S())
417
+ }, E = (e) => /* @__PURE__ */ w(e.map((e) => /* @__PURE__ */ g(e))), re = E([
386
418
  "app",
387
419
  "connector",
388
420
  "connectorConnection",
@@ -404,32 +436,32 @@ var w = /* @__PURE__ */ b({
404
436
  "presenter",
405
437
  "presenterPresentation",
406
438
  "tool"
407
- ]), re = T([
439
+ ]), ie = E([
408
440
  "danger",
409
441
  "success",
410
442
  "warning"
411
- ]), ie = T([
443
+ ]), ae = E([
412
444
  "alpha",
413
445
  "beta",
414
446
  "releaseCandidate",
415
447
  "generalAvailability"
416
- ]), ae = /* @__PURE__ */ b({
417
- color: re,
418
- label: /* @__PURE__ */ x()
419
- }), E = {
420
- ...te,
421
- typeId: ne
422
- }, D = /* @__PURE__ */ b({
423
- ...E,
424
- order: /* @__PURE__ */ _(),
425
- path: /* @__PURE__ */ x()
426
- }), O = {
427
- ...E,
428
- firstCreatedAt: /* @__PURE__ */ g(/* @__PURE__ */ _()),
429
- lastUpdatedAt: /* @__PURE__ */ g(/* @__PURE__ */ _()),
430
- status: /* @__PURE__ */ g(ae),
431
- statusId: /* @__PURE__ */ g(ie)
432
- }, oe = /* @__PURE__ */ b({ ...O }), se = [
448
+ ]), oe = /* @__PURE__ */ x({
449
+ color: ie,
450
+ label: /* @__PURE__ */ S()
451
+ }), D = {
452
+ ...ne,
453
+ typeId: re
454
+ }, O = /* @__PURE__ */ x({
455
+ ...D,
456
+ order: /* @__PURE__ */ v(),
457
+ path: /* @__PURE__ */ S()
458
+ }), k = {
459
+ ...D,
460
+ firstCreatedAt: /* @__PURE__ */ _(/* @__PURE__ */ v()),
461
+ lastUpdatedAt: /* @__PURE__ */ _(/* @__PURE__ */ v()),
462
+ status: /* @__PURE__ */ _(oe),
463
+ statusId: /* @__PURE__ */ _(ae)
464
+ }, se = /* @__PURE__ */ x({ ...k }), ce = [
433
465
  {
434
466
  id: "alpha",
435
467
  color: "danger",
@@ -463,8 +495,8 @@ var w = /* @__PURE__ */ b({
463
495
  }
464
496
  }
465
497
  ];
466
- function ce(e, t = "en") {
467
- let n = se.find((t) => t.id === e);
498
+ function le(e, t = "en") {
499
+ let n = ce.find((t) => t.id === e);
468
500
  if (n) {
469
501
  let e = n.labels[t] ?? n.labels.en ?? n.id;
470
502
  return {
@@ -479,7 +511,7 @@ function ce(e, t = "en") {
479
511
  }
480
512
  //#endregion
481
513
  //#region src/component/dataView/dataFormatIcons.ts
482
- var le = {
514
+ var ue = {
483
515
  arrow: {
484
516
  icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1350 1181.25\"><polygon fill=\"#000\" points=\"168.75,168.75 590.62,590.62 168.75,1012.5 168.75,843.75 421.88,590.62 168.75,337.5\"/><polygon fill=\"#000\" points=\"464.06,168.75 885.94,590.62 464.06,1012.5 464.06,843.75 717.19,590.62 464.06,337.5\"/><polygon fill=\"#000\" points=\"759.38,168.75 1181.25,590.62 759.38,1012.5 759.38,843.75 1012.5,590.62 759.38,337.5\"/></svg>",
485
517
  iconDark: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1350 1181.25\"><polygon fill=\"#fff\" points=\"168.75,168.75 590.62,590.62 168.75,1012.5 168.75,843.75 421.88,590.62 168.75,337.5\"/><polygon fill=\"#fff\" points=\"464.06,168.75 885.94,590.62 464.06,1012.5 464.06,843.75 717.19,590.62 464.06,337.5\"/><polygon fill=\"#fff\" points=\"759.38,168.75 1181.25,590.62 759.38,1012.5 759.38,843.75 1012.5,590.62 759.38,337.5\"/></svg>"
@@ -532,7 +564,7 @@ var le = {
532
564
  //#endregion
533
565
  //#region src/component/dataView/index.ts
534
566
  n({ en: "Arrow" }), n({ en: "Avro" }), n({ en: "Delimited text (CSV, TSV…)" }), n({ en: "JSON" }), n({ en: "JSON Lines (JSONL)" }), n({ en: "Markdown (MD)" }), n({ en: "OpenDocument spreadsheet (ODS)" }), n({ en: "Parquet" }), n({ en: "SPSS (SAV)" }), n({ en: "SQLite" }), n({ en: "Excel (XLSX, XLSM)" }), n({ en: "XML" });
535
- var ue = [
567
+ var de = [
536
568
  ",",
537
569
  ";",
538
570
  " ",
@@ -544,7 +576,7 @@ var ue = [
544
576
  "0x1F",
545
577
  "0x1E"
546
578
  ];
547
- n({ en: "Newline" }), n({ en: "Carriage Return" }), n({ en: "Carriage Return/Newline" }), n({ en: "Colon" }), n({ en: "Comma" }), n({ en: "Exclamation Mark" }), n({ en: "Record Separator" }), n({ en: "Semicolon" }), n({ en: "Space" }), n({ en: "Tab" }), n({ en: "Underscore" }), n({ en: "Unit Separator" }), n({ en: "Vertical Bar" }), T([
579
+ n({ en: "Newline" }), n({ en: "Carriage Return" }), n({ en: "Carriage Return/Newline" }), n({ en: "Colon" }), n({ en: "Comma" }), n({ en: "Exclamation Mark" }), n({ en: "Record Separator" }), n({ en: "Semicolon" }), n({ en: "Space" }), n({ en: "Tab" }), n({ en: "Underscore" }), n({ en: "Unit Separator" }), n({ en: "Vertical Bar" }), E([
548
580
  "app",
549
581
  "engine",
550
582
  "connector",
@@ -554,17 +586,17 @@ n({ en: "Newline" }), n({ en: "Carriage Return" }), n({ en: "Carriage Return/New
554
586
  ]);
555
587
  //#endregion
556
588
  //#region src/component/module/moduleConfig.schema.ts
557
- var k = {
558
- ...O,
559
- vendorAccountURL: /* @__PURE__ */ g(/* @__PURE__ */ x()),
560
- vendorDocumentationURL: /* @__PURE__ */ g(/* @__PURE__ */ x()),
561
- vendorHomeURL: /* @__PURE__ */ g(/* @__PURE__ */ x()),
562
- version: /* @__PURE__ */ x()
589
+ var A = {
590
+ ...k,
591
+ vendorAccountURL: /* @__PURE__ */ _(/* @__PURE__ */ S()),
592
+ vendorDocumentationURL: /* @__PURE__ */ _(/* @__PURE__ */ S()),
593
+ vendorHomeURL: /* @__PURE__ */ _(/* @__PURE__ */ S()),
594
+ version: /* @__PURE__ */ S()
563
595
  };
564
- ({ ...k });
596
+ ({ ...A });
565
597
  //#endregion
566
598
  //#region src/component/module/connector/connectorConfig.schema.ts
567
- var de = T([
599
+ var fe = E([
568
600
  "abortOperation",
569
601
  "auditObjectContent",
570
602
  "createObject",
@@ -580,44 +612,44 @@ var de = T([
580
612
  "retrieveChunks",
581
613
  "retrieveRecords",
582
614
  "upsertRecords"
583
- ]), fe = T([
615
+ ]), pe = E([
584
616
  "application",
585
617
  "curatedDataset",
586
618
  "database",
587
619
  "fileStore"
588
- ]), pe = /* @__PURE__ */ b({ label: w }), me = T([
620
+ ]), me = /* @__PURE__ */ x({ label: T }), he = E([
589
621
  "apiEndpoint",
590
622
  "file",
591
623
  "table"
592
- ]), he = T([
624
+ ]), ge = E([
593
625
  "bidirectional",
594
626
  "destination",
595
627
  "source",
596
628
  "unknown"
597
- ]), ge = /* @__PURE__ */ b({ label: w }), _e = /* @__PURE__ */ b({
598
- authMethodId: T([
629
+ ]), _e = /* @__PURE__ */ x({ label: T }), ve = /* @__PURE__ */ x({
630
+ authMethodId: E([
599
631
  "apiKey",
600
632
  "disabled",
601
633
  "oAuth2",
602
634
  "none"
603
635
  ]),
604
- activeConnectionCount: /* @__PURE__ */ v(/* @__PURE__ */ _()),
605
- canDescribe: /* @__PURE__ */ v(/* @__PURE__ */ m()),
606
- id: /* @__PURE__ */ v(/* @__PURE__ */ x()),
607
- label: /* @__PURE__ */ v(w),
608
- maxConnectionCount: /* @__PURE__ */ g(/* @__PURE__ */ _()),
609
- params: /* @__PURE__ */ v(/* @__PURE__ */ p(/* @__PURE__ */ y(/* @__PURE__ */ x(), /* @__PURE__ */ x())))
610
- }), ve = /* @__PURE__ */ b({
611
- ...k,
612
- typeId: /* @__PURE__ */ h("connector"),
613
- actionNames: /* @__PURE__ */ p(de),
614
- category: /* @__PURE__ */ g(pe),
615
- categoryId: fe,
616
- implementations: /* @__PURE__ */ y(/* @__PURE__ */ x(), _e),
617
- itemTypeId: me,
618
- usage: /* @__PURE__ */ g(ge),
619
- usageId: /* @__PURE__ */ g(he)
620
- }), ye = [
636
+ activeConnectionCount: /* @__PURE__ */ y(/* @__PURE__ */ v()),
637
+ canDescribe: /* @__PURE__ */ y(/* @__PURE__ */ h()),
638
+ id: /* @__PURE__ */ y(/* @__PURE__ */ S()),
639
+ label: /* @__PURE__ */ y(T),
640
+ maxConnectionCount: /* @__PURE__ */ _(/* @__PURE__ */ v()),
641
+ params: /* @__PURE__ */ y(/* @__PURE__ */ m(/* @__PURE__ */ b(/* @__PURE__ */ S(), /* @__PURE__ */ S())))
642
+ }), ye = /* @__PURE__ */ x({
643
+ ...A,
644
+ typeId: /* @__PURE__ */ g("connector"),
645
+ actionNames: /* @__PURE__ */ m(fe),
646
+ category: /* @__PURE__ */ _(me),
647
+ categoryId: pe,
648
+ implementations: /* @__PURE__ */ b(/* @__PURE__ */ S(), ve),
649
+ itemTypeId: he,
650
+ usage: /* @__PURE__ */ _(_e),
651
+ usageId: /* @__PURE__ */ _(ge)
652
+ }), be = [
621
653
  {
622
654
  id: "application",
623
655
  label: {
@@ -646,7 +678,7 @@ var de = T([
646
678
  es: "Almacén de Archivos"
647
679
  }
648
680
  }
649
- ], be = [
681
+ ], xe = [
650
682
  {
651
683
  id: "apiEndpoint",
652
684
  label: {
@@ -668,7 +700,7 @@ var de = T([
668
700
  es: "Tabla"
669
701
  }
670
702
  }
671
- ], A = {
703
+ ], j = {
672
704
  abortOperation: "Abort Operation",
673
705
  auditObjectContent: "Audit Object Content",
674
706
  createObject: "Create Object",
@@ -684,7 +716,7 @@ var de = T([
684
716
  retrieveChunks: "Retrieve Chunks",
685
717
  retrieveRecords: "Retrieve Records",
686
718
  upsertRecords: "Upsert Records"
687
- }, xe = [
719
+ }, Se = [
688
720
  {
689
721
  id: "bidirectional",
690
722
  label: {
@@ -713,12 +745,12 @@ var de = T([
713
745
  es: "Desconocido"
714
746
  }
715
747
  }
716
- ], Se = /* @__PURE__ */ new Set([
748
+ ], Ce = /* @__PURE__ */ new Set([
717
749
  "createObject",
718
750
  "dropObject",
719
751
  "removeRecords",
720
752
  "upsertRecords"
721
- ]), Ce = /* @__PURE__ */ new Set([
753
+ ]), we = /* @__PURE__ */ new Set([
722
754
  "auditObjectContent",
723
755
  "findObject",
724
756
  "getInfo",
@@ -729,13 +761,13 @@ var de = T([
729
761
  "retrieveChunks",
730
762
  "retrieveRecords"
731
763
  ]);
732
- function we(e) {
764
+ function Te(e) {
733
765
  let t = !1, n = !1;
734
- for (let r of e) Ce.has(r) && (t = !0), Se.has(r) && (n = !0);
766
+ for (let r of e) we.has(r) && (t = !0), Ce.has(r) && (n = !0);
735
767
  return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "unknown";
736
768
  }
737
- var Te = (e, t = "en") => {
738
- let i = ye.find((t) => t.id === e);
769
+ var Ee = (e, t = "en") => {
770
+ let i = be.find((t) => t.id === e);
739
771
  return i ? {
740
772
  label: r(n(i.label), t) ?? i.id,
741
773
  description: ""
@@ -743,8 +775,8 @@ var Te = (e, t = "en") => {
743
775
  label: e,
744
776
  description: ""
745
777
  };
746
- }, Ee = (e, t = "en") => {
747
- let i = be.find((t) => t.id === e);
778
+ }, De = (e, t = "en") => {
779
+ let i = xe.find((t) => t.id === e);
748
780
  return i ? {
749
781
  label: r(n(i.label), t) ?? i.id,
750
782
  description: ""
@@ -752,8 +784,8 @@ var Te = (e, t = "en") => {
752
784
  label: e,
753
785
  description: ""
754
786
  };
755
- }, De = (e, t = "en") => {
756
- let i = xe.find((t) => t.id === e);
787
+ }, Oe = (e, t = "en") => {
788
+ let i = Se.find((t) => t.id === e);
757
789
  return i ? {
758
790
  label: r(n(i.label), t) ?? i.id,
759
791
  description: ""
@@ -762,70 +794,70 @@ var Te = (e, t = "en") => {
762
794
  description: ""
763
795
  };
764
796
  };
765
- function Oe(e) {
797
+ function ke(e) {
766
798
  let t = new Set(e), n = "|Action|Supported|\n";
767
799
  n += "|:----|:-------:|\n";
768
- for (let e of Object.keys(A)) n += `| ${A[e]} | ${t.has(e) ? "✓" : ""} |\n`;
800
+ for (let e of Object.keys(j)) n += `| ${j[e]} | ${t.has(e) ? "✓" : ""} |\n`;
769
801
  return n;
770
802
  }
771
803
  //#endregion
772
804
  //#region src/component/module/cookbook/cookbookConfig.schema.ts
773
- var ke = T(["list"]), Ae = /* @__PURE__ */ b({
774
- ...k,
775
- typeId: /* @__PURE__ */ h("cookbook"),
776
- actionNames: /* @__PURE__ */ p(ke),
777
- recipes: /* @__PURE__ */ p(D)
778
- }), j = 2048, M = "[REDACTED]", je = 10, N = /api[-_]?key|authori[sz]ation|cookie|credential|passw(?:or)?d|private[-_]?key|secret|token/i, Me = [
779
- [/\b(Bearer|Basic) +[\w.~+/=-]+/gi, (e, t) => `${t} ${M}`],
780
- [/(?<![\w-])([\w-]+)(["']?[ \t]*[:=][ \t]*["']?)([^\s"'&,;}?#]+)/g, (e, t, n, r) => N.test(t) && !/^(?:Basic|Bearer)$/i.test(r) ? `${t}${n}${M}` : e],
781
- [/\beyJ[\w-]+\.[\w-]+\.[\w-]*/g, () => M],
782
- [/\b(?:sk-|xaat-|xapt-|sl\.)[\w-]{16,}/g, () => M],
783
- [/(?<![\w.+-])[\w.+-]+@[\w-]+\.[\w.-]+/g, () => M]
784
- ], P = class extends Error {
805
+ var Ae = E(["list"]), je = /* @__PURE__ */ x({
806
+ ...A,
807
+ typeId: /* @__PURE__ */ g("cookbook"),
808
+ actionNames: /* @__PURE__ */ m(Ae),
809
+ recipes: /* @__PURE__ */ m(O)
810
+ }), M = 2048, N = "[REDACTED]", Me = 10, P = /api[-_]?key|authori[sz]ation|cookie|credential|passw(?:or)?d|private[-_]?key|secret|token/i, Ne = [
811
+ [/\b(Bearer|Basic) +[\w.~+/=-]+/gi, (e, t) => `${t} ${N}`],
812
+ [/(?<![\w-])([\w-]+)(["']?[ \t]*[:=][ \t]*["']?)([^\s"'&,;}?#]+)/g, (e, t, n, r) => P.test(t) && !/^(?:Basic|Bearer)$/i.test(r) ? `${t}${n}${N}` : e],
813
+ [/\beyJ[\w-]+\.[\w-]+\.[\w-]*/g, () => N],
814
+ [/\b(?:sk-|xaat-|xapt-|sl\.)[\w-]{16,}/g, () => N],
815
+ [/(?<![\w.+-])[\w.+-]+@[\w-]+\.[\w.-]+/g, () => N]
816
+ ], F = class extends Error {
785
817
  data;
786
818
  locator;
787
819
  constructor(e, t, n, r) {
788
820
  super(e, r), this.name = "DPUseError", this.data = n, this.locator = t;
789
821
  }
790
- }, F = class extends P {
822
+ }, I = class extends F {
791
823
  constructor(e, t, n, r) {
792
824
  super(e, t, n, r), this.name = "AppError";
793
825
  }
794
- }, I = class extends P {
826
+ }, L = class extends F {
795
827
  constructor(e, t, n, r) {
796
828
  super(e, t, n, r), this.name = "APIError";
797
829
  }
798
- }, L = class extends P {
830
+ }, R = class extends F {
799
831
  constructor(e, t, n, r) {
800
832
  super(e, t, n, r), this.name = "EngineError";
801
833
  }
802
- }, R = class extends P {
834
+ }, z = class extends F {
803
835
  constructor(e, t, n, r) {
804
836
  super(e, t, n, r), this.name = "ConnectorError";
805
837
  }
806
- }, z = class extends P {
838
+ }, B = class extends F {
807
839
  constructor(e, t, n, r) {
808
840
  super(e, t, n, r), this.name = "FetchError";
809
841
  }
810
842
  };
811
- async function Ne(e, t, n) {
843
+ async function Pe(e, t, n) {
812
844
  let r = ` - ${e.statusText}`, i = `${t} Response status '${String(e.status)}${e.statusText ? r : ""}' received.`, a;
813
845
  try {
814
846
  a = await e.text();
815
847
  } catch (e) {
816
- a = `<body unavailable: ${B(e).message}>`;
848
+ a = `<body unavailable: ${V(e).message}>`;
817
849
  }
818
- return new z(i, n, { body: Ve(a) });
850
+ return new B(i, n, { body: He(a) });
819
851
  }
820
- function Pe(e) {
852
+ function Fe(e) {
821
853
  return e.map((e) => e.message).join(" ");
822
854
  }
823
- function Fe(e) {
855
+ function Ie(e) {
824
856
  try {
825
857
  e();
826
858
  } catch {}
827
859
  }
828
- function B(e) {
860
+ function V(e) {
829
861
  if (e instanceof Error) return e;
830
862
  if (typeof e == "string") return Error(e);
831
863
  if (typeof e == "number" || typeof e == "boolean" || typeof e == "bigint") return Error(String(e));
@@ -837,24 +869,24 @@ function B(e) {
837
869
  }
838
870
  return /* @__PURE__ */ Error("Unknown error");
839
871
  }
840
- function Ie(e) {
841
- let t = /* @__PURE__ */ new Set(), n = [], r = B(e);
872
+ function Le(e) {
873
+ let t = /* @__PURE__ */ new Set(), n = [], r = V(e);
842
874
  for (; r != null && !t.has(r);) {
843
875
  t.add(r);
844
- let [e, i] = He(r), a = Be(e);
876
+ let [e, i] = Ue(r), a = Ve(e);
845
877
  /(?:\.{3}|[.!?])$/.test(a.message) || (a.message += "."), n.push(a), r = i;
846
878
  }
847
879
  return n;
848
880
  }
849
- function Le(e) {
881
+ function Re(e) {
850
882
  let t;
851
883
  for (let n of e.toReversed()) {
852
- let e = ze(n, t);
884
+ let e = Be(n, t);
853
885
  n.stack !== void 0 && (e.stack = n.stack), t = e;
854
886
  }
855
887
  return t ?? /* @__PURE__ */ Error("No error to unserialise.");
856
888
  }
857
- function Re(e) {
889
+ function ze(e) {
858
890
  let t;
859
891
  try {
860
892
  t = JSON.stringify(e);
@@ -863,13 +895,13 @@ function Re(e) {
863
895
  }
864
896
  return t === "" && (t = "Unknown error"), t;
865
897
  }
866
- function ze(e, t) {
898
+ function Be(e, t) {
867
899
  switch (e.name) {
868
- case "APIError": return new I(e.message, e.locator, e.data, { cause: t });
869
- case "AppError": return new F(e.message, e.locator, e.data, { cause: t });
870
- case "ConnectorError": return new R(e.message, e.locator, e.data, { cause: t });
871
- case "EngineError": return new L(e.message, e.locator, e.data, { cause: t });
872
- case "FetchError": return new z(e.message, e.locator, e.data, { cause: t });
900
+ case "APIError": return new L(e.message, e.locator, e.data, { cause: t });
901
+ case "AppError": return new I(e.message, e.locator, e.data, { cause: t });
902
+ case "ConnectorError": return new z(e.message, e.locator, e.data, { cause: t });
903
+ case "EngineError": return new R(e.message, e.locator, e.data, { cause: t });
904
+ case "FetchError": return new B(e.message, e.locator, e.data, { cause: t });
873
905
  default: {
874
906
  let n = e.name;
875
907
  return new class extends Error {
@@ -878,29 +910,29 @@ function ze(e, t) {
878
910
  }
879
911
  }
880
912
  }
881
- function Be(e) {
913
+ function Ve(e) {
882
914
  let { data: t, message: n, stack: r } = e;
883
915
  return {
884
916
  ...e,
885
- data: t === void 0 ? void 0 : H(t, /* @__PURE__ */ new WeakSet(), 0),
886
- message: V(n),
887
- stack: r === void 0 ? void 0 : V(r)
917
+ data: t === void 0 ? void 0 : U(t, /* @__PURE__ */ new WeakSet(), 0),
918
+ message: H(n),
919
+ stack: r === void 0 ? void 0 : H(r)
888
920
  };
889
921
  }
890
- function V(e) {
922
+ function H(e) {
891
923
  let t = e;
892
- for (let [e, n] of Me) t = t.replaceAll(e, (e, ...t) => n(e, ...t));
924
+ for (let [e, n] of Ne) t = t.replaceAll(e, (e, ...t) => n(e, ...t));
893
925
  return t;
894
926
  }
895
- function H(e, t, n) {
896
- return typeof e == "string" ? V(e) : typeof e != "object" || !e ? e : n >= je ? M : t.has(e) ? "[Circular]" : (t.add(e), Array.isArray(e) ? e.map((e) => H(e, t, n + 1)) : Object.fromEntries(Object.entries(e).map(([e, r]) => [e, r != null && N.test(e) ? M : H(r, t, n + 1)])));
897
- }
898
- function Ve(e) {
899
- if (e != null && e !== "") return e.length > j ? `${e.slice(0, j)}... [truncated]` : e;
927
+ function U(e, t, n) {
928
+ return typeof e == "string" ? H(e) : typeof e != "object" || !e ? e : n >= Me ? N : t.has(e) ? "[Circular]" : (t.add(e), Array.isArray(e) ? e.map((e) => U(e, t, n + 1)) : Object.fromEntries(Object.entries(e).map(([e, r]) => [e, r != null && P.test(e) ? N : U(r, t, n + 1)])));
900
929
  }
901
930
  function He(e) {
902
- let t = e.cause == null ? null : B(e.cause);
903
- if (e instanceof P) return [{
931
+ if (e != null && e !== "") return e.length > M ? `${e.slice(0, M)}... [truncated]` : e;
932
+ }
933
+ function Ue(e) {
934
+ let t = e.cause == null ? null : V(e.cause);
935
+ if (e instanceof F) return [{
904
936
  data: e.data,
905
937
  locator: e.locator,
906
938
  message: e.message,
@@ -917,25 +949,25 @@ function He(e) {
917
949
  }, t] : [{
918
950
  data: n,
919
951
  locator: "",
920
- message: Re(e),
952
+ message: ze(e),
921
953
  name: "Error",
922
954
  stack: void 0
923
955
  }, null];
924
956
  }
925
957
  //#endregion
926
958
  //#region src/component/module/presenter/presenterConfig.schema.ts
927
- var Ue = T([
959
+ var We = E([
928
960
  "list",
929
961
  "render",
930
962
  "setColorMode"
931
- ]), We = /* @__PURE__ */ b({
932
- ...k,
933
- typeId: /* @__PURE__ */ h("presenter"),
934
- actionNames: /* @__PURE__ */ p(Ue),
935
- presentations: /* @__PURE__ */ p(D)
936
- }), Ge = "https://engine-eu.dpuse.app/presenters";
937
- async function Ke(e, t, n, r) {
938
- let i = e.id, a = `${Ge}/${i.split("-").slice(2).join("-")}_v${e.version}/${i}.es.js`;
963
+ ]), Ge = /* @__PURE__ */ x({
964
+ ...A,
965
+ typeId: /* @__PURE__ */ g("presenter"),
966
+ actionNames: /* @__PURE__ */ m(We),
967
+ presentations: /* @__PURE__ */ m(O)
968
+ }), Ke = "https://engine-eu.dpuse.app/presenters";
969
+ async function qe(e, t, n, r) {
970
+ let i = e.id, a = `${Ke}/${i.split("-").slice(2).join("-")}_v${e.version}/${i}.es.js`;
939
971
  try {
940
972
  return new (await (import(
941
973
  /* @vite-ignore */
@@ -947,22 +979,38 @@ async function Ke(e, t, n, r) {
947
979
  url: a,
948
980
  version: e.version
949
981
  };
950
- throw new F(`Failed to load presenter '${i}' v${e.version}.`, "dpuse-shared.component.module.presenter.loadPresenter", n, { cause: t });
982
+ throw new I(`Failed to load presenter '${i}' v${e.version}.`, "dpuse-shared.component.module.presenter.loadPresenter", n, { cause: t });
951
983
  }
952
984
  }
953
- //#endregion
954
- //#region src/component/module/tool/index.ts
955
- var qe = "https://engine-eu.dpuse.app/tools";
956
- async function Je(e, t) {
985
+ var Je = /* @__PURE__ */ x({ dataFormatIds: /* @__PURE__ */ te(/* @__PURE__ */ m(E([
986
+ "arrow",
987
+ "avro",
988
+ "dtv",
989
+ "json",
990
+ "jsonl",
991
+ "markdown",
992
+ "ods",
993
+ "parquet",
994
+ "sav",
995
+ "sqlite",
996
+ "xlsx",
997
+ "xml"
998
+ ])), /* @__PURE__ */ f(1)) }), Ye = /* @__PURE__ */ m(/* @__PURE__ */ S()), Xe = /* @__PURE__ */ x({
999
+ ...A,
1000
+ typeId: /* @__PURE__ */ g("tool"),
1001
+ actionNames: /* @__PURE__ */ y(Ye),
1002
+ parser: /* @__PURE__ */ y(Je)
1003
+ }), Ze = "https://engine-eu.dpuse.app/tools";
1004
+ async function Qe(e, t) {
957
1005
  let n = `dpuse-tool-${t}`, r = e.find((e) => e.id === n);
958
1006
  if (!r) {
959
1007
  let r = {
960
1008
  availableToolIds: e.map((e) => e.id),
961
1009
  toolName: n
962
1010
  };
963
- throw new F(`Tool '${t}' not found.`, "dpuse-shared.component.module.tool.loadTool", r);
1011
+ throw new I(`Tool '${t}' not found.`, "dpuse-shared.component.module.tool.loadTool", r);
964
1012
  }
965
- let i = `${qe}/${t}_v${r.version}/${n}.es.js`;
1013
+ let i = `${Ze}/${t}_v${r.version}/${n}.es.js`;
966
1014
  try {
967
1015
  return new (await (import(
968
1016
  /* @vite-ignore */
@@ -974,12 +1022,12 @@ async function Je(e, t) {
974
1022
  url: i,
975
1023
  version: r.version
976
1024
  };
977
- throw new F(`Failed to load tool '${n}' v${r.version}.`, "dpuse-shared.component.module.tool.loadTool", t, { cause: e });
1025
+ throw new I(`Failed to load tool '${n}' v${r.version}.`, "dpuse-shared.component.module.tool.loadTool", t, { cause: e });
978
1026
  }
979
1027
  }
980
1028
  //#endregion
981
1029
  //#region src/encoding/index.ts
982
- var Ye = {
1030
+ var $e = {
983
1031
  arabic: {
984
1032
  id: "arabic",
985
1033
  label: {
@@ -1127,7 +1175,7 @@ var Ye = {
1127
1175
  es: "Occidental"
1128
1176
  }
1129
1177
  }
1130
- }, Xe = {
1178
+ }, et = {
1131
1179
  ascii: {
1132
1180
  id: "ascii",
1133
1181
  groupId: null,
@@ -1558,16 +1606,16 @@ var Ye = {
1558
1606
  groupId: "baltic",
1559
1607
  decoderId: "windows-1257"
1560
1608
  }
1561
- }, U = Ye, W = Xe;
1562
- function G(e) {
1563
- return Object.hasOwn(W, e);
1609
+ }, W = $e, G = et;
1610
+ function K(e) {
1611
+ return Object.hasOwn(G, e);
1564
1612
  }
1565
- function Ze(e) {
1566
- return G(e) ? W[e].decoderId ?? e : e;
1613
+ function tt(e) {
1614
+ return K(e) ? G[e].decoderId ?? e : e;
1567
1615
  }
1568
- function Qe(e = "en") {
1569
- return Array.from(Object.values(W), ({ decoderId: t, groupId: n, id: r }) => {
1570
- let i = n == null ? "" : $e(n, e);
1616
+ function nt(e = "en") {
1617
+ return Array.from(Object.values(G), ({ decoderId: t, groupId: n, id: r }) => {
1618
+ let i = n == null ? "" : rt(n, e);
1571
1619
  return {
1572
1620
  id: r,
1573
1621
  groupLabel: i,
@@ -1577,13 +1625,13 @@ function Qe(e = "en") {
1577
1625
  };
1578
1626
  }).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.label.localeCompare(n.label, e));
1579
1627
  }
1580
- function $e(e, t) {
1581
- let n = U[e].label;
1628
+ function rt(e, t) {
1629
+ let n = W[e].label;
1582
1630
  return n[t] ?? n.en ?? e;
1583
1631
  }
1584
1632
  //#endregion
1585
1633
  //#region src/locale/index.ts
1586
- function et(e, t) {
1634
+ function it(e, t) {
1587
1635
  return {
1588
1636
  ...e,
1589
1637
  label: e.label[t] ?? e.id,
@@ -1591,7 +1639,7 @@ function et(e, t) {
1591
1639
  verb: e.verb?.[t] ?? void 0
1592
1640
  };
1593
1641
  }
1594
- function tt(e, t, n = !1) {
1642
+ function at(e, t, n = !1) {
1595
1643
  let r = e.map((e) => ({
1596
1644
  ...e,
1597
1645
  label: e.label[t] ?? e.id,
@@ -1600,7 +1648,7 @@ function tt(e, t, n = !1) {
1600
1648
  }));
1601
1649
  return n ? r.toSorted((e, t) => e.label.localeCompare(t.label) || e.id.localeCompare(t.id)) : r;
1602
1650
  }
1603
- function nt(e, t) {
1651
+ function ot(e, t) {
1604
1652
  return {
1605
1653
  ...e,
1606
1654
  label: e.label[t] ?? e.id,
@@ -1609,7 +1657,7 @@ function nt(e, t) {
1609
1657
  }
1610
1658
  //#endregion
1611
1659
  //#region src/utilities/index.ts
1612
- var K = /* @__PURE__ */ new Map([
1660
+ var q = /* @__PURE__ */ new Map([
1613
1661
  ["arrow", "application/vnd.apache.arrow.file"],
1614
1662
  ["avro", "application/vnd.apache.avro"],
1615
1663
  ["bin", "application/octet-stream"],
@@ -1630,20 +1678,20 @@ var K = /* @__PURE__ */ new Map([
1630
1678
  ["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
1631
1679
  ["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
1632
1680
  ["xml", "application/xml"]
1633
- ]), q = "en", J = [
1681
+ ]), J = "en", Y = [
1634
1682
  ["day", 864e5],
1635
1683
  ["hour", 36e5],
1636
1684
  ["minute", 6e4],
1637
1685
  ["second", 1e3],
1638
1686
  ["millisecond", 1]
1639
- ], rt = [
1687
+ ], st = [
1640
1688
  ["byte", 1],
1641
1689
  ["kilobyte", 1024],
1642
1690
  ["megabyte", 1048576],
1643
1691
  ["gigabyte", 1073741824],
1644
1692
  ["terabyte", 1099511627776]
1645
- ], Y = /* @__PURE__ */ new Map(), X = /* @__PURE__ */ new Map();
1646
- function Z(e, t = 2, n = t, r = q) {
1693
+ ], X = /* @__PURE__ */ new Map(), Z = /* @__PURE__ */ new Map();
1694
+ function Q(e, t = 2, n = t, r = J) {
1647
1695
  return e == null ? "" : $(r, {
1648
1696
  localeMatcher: "best fit",
1649
1697
  maximumFractionDigits: t,
@@ -1653,18 +1701,18 @@ function Z(e, t = 2, n = t, r = q) {
1653
1701
  useGrouping: !0
1654
1702
  }).format(e);
1655
1703
  }
1656
- function it(e, t = q) {
1657
- return Z(e, 0, 0, t);
1704
+ function ct(e, t = J) {
1705
+ return Q(e, 0, 0, t);
1658
1706
  }
1659
- function at(e, t = 1, n = q) {
1707
+ function lt(e, t = 1, n = J) {
1660
1708
  return e == null || !Number.isFinite(e) ? "" : $(n, {
1661
1709
  maximumFractionDigits: t,
1662
1710
  notation: "compact"
1663
1711
  }).format(e);
1664
1712
  }
1665
- function ot(e, t = 1, n = q) {
1713
+ function ut(e, t = 1, n = J) {
1666
1714
  if (e == null || !Number.isFinite(e)) return "";
1667
- let [r, i] = rt.find(([, n]) => mt(Math.abs(e) / n, n === 1 ? 0 : t) < 1024) ?? ["terabyte", 1099511627776];
1715
+ let [r, i] = st.find(([, n]) => yt(Math.abs(e) / n, n === 1 ? 0 : t) < 1024) ?? ["terabyte", 1099511627776];
1668
1716
  return $(n, {
1669
1717
  maximumFractionDigits: i === 1 ? 0 : t,
1670
1718
  style: "unit",
@@ -1672,9 +1720,9 @@ function ot(e, t = 1, n = q) {
1672
1720
  unitDisplay: i === 1 ? "long" : "short"
1673
1721
  }).format(e / i);
1674
1722
  }
1675
- function st(e, t = "millisecond", n = q) {
1723
+ function dt(e, t = "millisecond", n = J) {
1676
1724
  if (e == null || !Number.isFinite(e)) return "";
1677
- 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 = [];
1725
+ let r = Math.round(Math.abs(e)), i = Y.findIndex(([, e]) => r >= e), a = i === -1 ? Y.length - 1 : i, o = Y.findIndex(([e]) => e === t), s = Y.slice(a, Math.max(o, a) + 1), c = [];
1678
1726
  for (let [t, i] of s) {
1679
1727
  let a = Math.floor(r / i);
1680
1728
  if (a === 0 && c.length > 0) continue;
@@ -1686,25 +1734,25 @@ function st(e, t = "millisecond", n = q) {
1686
1734
  unitDisplay: "short"
1687
1735
  }).format(o));
1688
1736
  }
1689
- return pt(n).format(c);
1737
+ return vt(n).format(c);
1690
1738
  }
1691
- function ct(e) {
1739
+ function ft(e) {
1692
1740
  if (!e) return;
1693
- let t = Q(e);
1741
+ let t = _t(e);
1694
1742
  return t === void 0 ? e : e.slice(0, t);
1695
1743
  }
1696
- function lt(e) {
1744
+ function pt(e) {
1697
1745
  if (!e) return;
1698
- let t = Q(e);
1746
+ let t = _t(e);
1699
1747
  return t === void 0 ? void 0 : e.slice(t + 1);
1700
1748
  }
1701
- function ut(e) {
1702
- return e != null && K.has(e.toLowerCase());
1749
+ function mt(e) {
1750
+ return e != null && q.has(e.toLowerCase());
1703
1751
  }
1704
- function dt(e) {
1705
- return (e == null ? void 0 : K.get(e.toLowerCase())) ?? "application/octet-stream";
1752
+ function ht(e) {
1753
+ return (e == null ? void 0 : q.get(e.toLowerCase())) ?? "application/octet-stream";
1706
1754
  }
1707
- function ft(e) {
1755
+ function gt(e) {
1708
1756
  switch (e) {
1709
1757
  case "Edm.Boolean": return "boolean";
1710
1758
  case "Edm.Byte":
@@ -1725,24 +1773,24 @@ function ft(e) {
1725
1773
  default: return "unknown";
1726
1774
  }
1727
1775
  }
1728
- function Q(e) {
1776
+ function _t(e) {
1729
1777
  let t = e.lastIndexOf("/") + 1, n = e.lastIndexOf(".");
1730
1778
  return n > t && n < e.length - 1 ? n : void 0;
1731
1779
  }
1732
- function pt(e) {
1733
- let t = Y.get(e);
1780
+ function vt(e) {
1781
+ let t = X.get(e);
1734
1782
  return t || (t = new Intl.ListFormat(e, {
1735
1783
  style: "narrow",
1736
1784
  type: "unit"
1737
- }), Y.set(e, t)), t;
1785
+ }), X.set(e, t)), t;
1738
1786
  }
1739
1787
  function $(e, t) {
1740
- let n = `${e}|${JSON.stringify(t)}`, r = X.get(n);
1741
- return r || (r = new Intl.NumberFormat(e, t), X.set(n, r)), r;
1788
+ let n = `${e}|${JSON.stringify(t)}`, r = Z.get(n);
1789
+ return r || (r = new Intl.NumberFormat(e, t), Z.set(n, r)), r;
1742
1790
  }
1743
- function mt(e, t) {
1791
+ function yt(e, t) {
1744
1792
  let n = 10 ** t;
1745
1793
  return Math.round(e * n) / n;
1746
1794
  }
1747
1795
  //#endregion
1748
- export { I as APIError, F as AppError, R as ConnectorError, le as DATA_FORMAT_ICON_CONFIGS, e as DEFAULT_LOCALE_ID, U as ENCODING_GROUP_CONFIG_MAP, W as ENCODING_TYPE_CONFIG_MAP, L as EngineError, z as FetchError, ue as ORDERED_VALUE_DELIMITER_IDS, t as SUPPORTED_LANGUAGES, Ne as buildFetchError, oe as componentInstanceConfigSchema, Pe as concatenateSerialisedErrorMessages, ve as connectorConfigSchema, Te as constructConnectorCategoryConfig, Ee as constructConnectorItemTypeConfig, De as constructConnectorUsageConfig, ft as convertODataTypeIdToUsageTypeId, Ae as cookbookConfigSchema, n as createLabelMap, we as determineConnectorUsageId, lt as extractExtensionFromPath, ct as extractPathWithoutExtension, Z as formatNumberAsDecimalNumber, st as formatNumberAsDuration, at as formatNumberAsSize, ot as formatNumberAsStorageSize, it as formatNumberAsWholeNumber, ce as getComponentStatus, Oe as getConnectorActionsTable, Qe as getEncodingTypeConfigs, ut as hasMimeTypeForExtension, Fe as ignoreErrors, G as isEncodingTypeId, Ke as loadPresenter, Je as loadTool, et as localiseConfig, tt as localiseConfigs, nt as localiseReference, dt as lookupMimeTypeForExtension, B as normalizeToError, We as presenterConfigSchema, Ze as resolveDecoderId, r as resolveLabel, Ie as serialiseError, Le as unserialiseError };
1796
+ export { L as APIError, I as AppError, z as ConnectorError, ue as DATA_FORMAT_ICON_CONFIGS, e as DEFAULT_LOCALE_ID, W as ENCODING_GROUP_CONFIG_MAP, G as ENCODING_TYPE_CONFIG_MAP, R as EngineError, B as FetchError, de as ORDERED_VALUE_DELIMITER_IDS, t as SUPPORTED_LANGUAGES, Pe as buildFetchError, se as componentInstanceConfigSchema, Fe as concatenateSerialisedErrorMessages, ye as connectorConfigSchema, Ee as constructConnectorCategoryConfig, De as constructConnectorItemTypeConfig, Oe as constructConnectorUsageConfig, gt as convertODataTypeIdToUsageTypeId, je as cookbookConfigSchema, n as createLabelMap, Te as determineConnectorUsageId, pt as extractExtensionFromPath, ft as extractPathWithoutExtension, Q as formatNumberAsDecimalNumber, dt as formatNumberAsDuration, lt as formatNumberAsSize, ut as formatNumberAsStorageSize, ct as formatNumberAsWholeNumber, le as getComponentStatus, ke as getConnectorActionsTable, nt as getEncodingTypeConfigs, mt as hasMimeTypeForExtension, Ie as ignoreErrors, K as isEncodingTypeId, qe as loadPresenter, Qe as loadTool, it as localiseConfig, at as localiseConfigs, ot as localiseReference, ht as lookupMimeTypeForExtension, V as normalizeToError, Ge as presenterConfigSchema, tt as resolveDecoderId, r as resolveLabel, Le as serialiseError, Xe as toolConfigSchema, Re as unserialiseError };