@datapos/datapos-shared 0.3.334 → 0.3.336

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.
@@ -1,97 +1,97 @@
1
- const D = "en-gb";
1
+ import { convertODataTypeIdToUsageTypeId as Ge, extractExtensionFromPath as Ve, extractNameFromPath as He, formatNumberAsDecimalNumber as We, formatNumberAsDuration as $e, formatNumberAsSize as Xe, formatNumberAsStorageSize as Be, formatNumberAsWholeNumber as Je, lookupMimeTypeForExtension as Ke } from "./datapos-shared.es2.js";
2
2
  let j;
3
3
  // @__NO_SIDE_EFFECTS__
4
- function H(e) {
4
+ function G(t) {
5
5
  return {
6
- lang: e?.lang ?? j?.lang,
7
- message: e?.message,
8
- abortEarly: e?.abortEarly ?? j?.abortEarly,
9
- abortPipeEarly: e?.abortPipeEarly ?? j?.abortPipeEarly
6
+ lang: t?.lang ?? j?.lang,
7
+ message: t?.message,
8
+ abortEarly: t?.abortEarly ?? j?.abortEarly,
9
+ abortPipeEarly: t?.abortPipeEarly ?? j?.abortPipeEarly
10
10
  };
11
11
  }
12
- let K;
12
+ let V;
13
13
  // @__NO_SIDE_EFFECTS__
14
- function W(e) {
15
- return K?.get(e);
14
+ function H(t) {
15
+ return V?.get(t);
16
16
  }
17
- let X;
17
+ let W;
18
18
  // @__NO_SIDE_EFFECTS__
19
- function J(e) {
20
- return X?.get(e);
19
+ function $(t) {
20
+ return W?.get(t);
21
21
  }
22
- let q;
22
+ let X;
23
23
  // @__NO_SIDE_EFFECTS__
24
- function Q(e, r) {
25
- return q?.get(e)?.get(r);
24
+ function B(t, n) {
25
+ return X?.get(t)?.get(n);
26
26
  }
27
27
  // @__NO_SIDE_EFFECTS__
28
- function U(e) {
29
- const r = typeof e;
30
- return r === "string" ? `"${e}"` : r === "number" || r === "bigint" || r === "boolean" ? `${e}` : r === "object" || r === "function" ? (e && Object.getPrototypeOf(e)?.constructor?.name) ?? "null" : r;
31
- }
32
- function g(e, r, t, n, s) {
33
- const o = s && "input" in s ? s.input : t.value, i = s?.expected ?? e.expects ?? null, u = s?.received ?? /* @__PURE__ */ U(o), a = {
34
- kind: e.kind,
35
- type: e.type,
28
+ function T(t) {
29
+ const n = typeof t;
30
+ return n === "string" ? `"${t}"` : n === "number" || n === "bigint" || n === "boolean" ? `${t}` : n === "object" || n === "function" ? (t && Object.getPrototypeOf(t)?.constructor?.name) ?? "null" : n;
31
+ }
32
+ function y(t, n, e, r, s) {
33
+ const o = s && "input" in s ? s.input : e.value, i = s?.expected ?? t.expects ?? null, u = s?.received ?? /* @__PURE__ */ T(o), a = {
34
+ kind: t.kind,
35
+ type: t.type,
36
36
  input: o,
37
37
  expected: i,
38
38
  received: u,
39
- message: `Invalid ${r}: ${i ? `Expected ${i} but r` : "R"}eceived ${u}`,
40
- requirement: e.requirement,
39
+ message: `Invalid ${n}: ${i ? `Expected ${i} but r` : "R"}eceived ${u}`,
40
+ requirement: t.requirement,
41
41
  path: s?.path,
42
42
  issues: s?.issues,
43
- lang: n.lang,
44
- abortEarly: n.abortEarly,
45
- abortPipeEarly: n.abortPipeEarly
46
- }, p = e.kind === "schema", d = s?.message ?? e.message ?? /* @__PURE__ */ Q(e.reference, a.lang) ?? (p ? /* @__PURE__ */ J(a.lang) : null) ?? n.message ?? /* @__PURE__ */ W(a.lang);
47
- d !== void 0 && (a.message = typeof d == "function" ? d(a) : d), p && (t.typed = !1), t.issues ? t.issues.push(a) : t.issues = [a];
43
+ lang: r.lang,
44
+ abortEarly: r.abortEarly,
45
+ abortPipeEarly: r.abortPipeEarly
46
+ }, p = t.kind === "schema", d = s?.message ?? t.message ?? /* @__PURE__ */ B(t.reference, a.lang) ?? (p ? /* @__PURE__ */ $(a.lang) : null) ?? r.message ?? /* @__PURE__ */ H(a.lang);
47
+ d !== void 0 && (a.message = typeof d == "function" ? d(a) : d), p && (e.typed = !1), e.issues ? e.issues.push(a) : e.issues = [a];
48
48
  }
49
49
  // @__NO_SIDE_EFFECTS__
50
- function h(e) {
50
+ function g(t) {
51
51
  return {
52
52
  version: 1,
53
53
  vendor: "valibot",
54
- validate(r) {
55
- return e["~run"]({ value: r }, /* @__PURE__ */ H());
54
+ validate(n) {
55
+ return t["~run"]({ value: n }, /* @__PURE__ */ G());
56
56
  }
57
57
  };
58
58
  }
59
59
  // @__NO_SIDE_EFFECTS__
60
- function Y(e, r) {
61
- return Object.hasOwn(e, r) && r !== "__proto__" && r !== "prototype" && r !== "constructor";
60
+ function J(t, n) {
61
+ return Object.hasOwn(t, n) && n !== "__proto__" && n !== "prototype" && n !== "constructor";
62
62
  }
63
63
  // @__NO_SIDE_EFFECTS__
64
- function Z(e, r) {
65
- const t = [...new Set(e)];
66
- return t.length > 1 ? `(${t.join(` ${r} `)})` : t[0] ?? "never";
64
+ function K(t, n) {
65
+ const e = [...new Set(t)];
66
+ return e.length > 1 ? `(${e.join(` ${n} `)})` : e[0] ?? "never";
67
67
  }
68
68
  // @__NO_SIDE_EFFECTS__
69
- function ee(e, r, t) {
70
- return typeof e.fallback == "function" ? e.fallback(r, t) : e.fallback;
69
+ function q(t, n, e) {
70
+ return typeof t.fallback == "function" ? t.fallback(n, e) : t.fallback;
71
71
  }
72
72
  // @__NO_SIDE_EFFECTS__
73
- function A(e, r, t) {
74
- return typeof e.default == "function" ? e.default(r, t) : e.default;
73
+ function w(t, n, e) {
74
+ return typeof t.default == "function" ? t.default(n, e) : t.default;
75
75
  }
76
76
  // @__NO_SIDE_EFFECTS__
77
- function x(e, r) {
77
+ function E(t, n) {
78
78
  return {
79
79
  kind: "schema",
80
80
  type: "array",
81
- reference: x,
81
+ reference: E,
82
82
  expects: "Array",
83
83
  async: !1,
84
- item: e,
85
- message: r,
84
+ item: t,
85
+ message: n,
86
86
  get "~standard"() {
87
- return /* @__PURE__ */ h(this);
87
+ return /* @__PURE__ */ g(this);
88
88
  },
89
- "~run"(t, n) {
90
- const s = t.value;
89
+ "~run"(e, r) {
90
+ const s = e.value;
91
91
  if (Array.isArray(s)) {
92
- t.typed = !0, t.value = [];
92
+ e.typed = !0, e.value = [];
93
93
  for (let o = 0; o < s.length; o++) {
94
- const i = s[o], u = this.item["~run"]({ value: i }, n);
94
+ const i = s[o], u = this.item["~run"]({ value: i }, r);
95
95
  if (u.issues) {
96
96
  const a = {
97
97
  type: "array",
@@ -101,110 +101,110 @@ function x(e, r) {
101
101
  value: i
102
102
  };
103
103
  for (const p of u.issues)
104
- p.path ? p.path.unshift(a) : p.path = [a], t.issues?.push(p);
105
- if (t.issues || (t.issues = u.issues), n.abortEarly) {
106
- t.typed = !1;
104
+ p.path ? p.path.unshift(a) : p.path = [a], e.issues?.push(p);
105
+ if (e.issues || (e.issues = u.issues), r.abortEarly) {
106
+ e.typed = !1;
107
107
  break;
108
108
  }
109
109
  }
110
- u.typed || (t.typed = !1), t.value.push(u.value);
110
+ u.typed || (e.typed = !1), e.value.push(u.value);
111
111
  }
112
- } else g(this, "type", t, n);
113
- return t;
112
+ } else y(this, "type", e, r);
113
+ return e;
114
114
  }
115
115
  };
116
116
  }
117
117
  // @__NO_SIDE_EFFECTS__
118
- function B(e) {
118
+ function _(t) {
119
119
  return {
120
120
  kind: "schema",
121
121
  type: "boolean",
122
- reference: B,
122
+ reference: _,
123
123
  expects: "boolean",
124
124
  async: !1,
125
- message: e,
125
+ message: t,
126
126
  get "~standard"() {
127
- return /* @__PURE__ */ h(this);
127
+ return /* @__PURE__ */ g(this);
128
128
  },
129
- "~run"(r, t) {
130
- return typeof r.value == "boolean" ? r.typed = !0 : g(this, "type", r, t), r;
129
+ "~run"(n, e) {
130
+ return typeof n.value == "boolean" ? n.typed = !0 : y(this, "type", n, e), n;
131
131
  }
132
132
  };
133
133
  }
134
134
  // @__NO_SIDE_EFFECTS__
135
- function w(e, r) {
135
+ function k(t, n) {
136
136
  return {
137
137
  kind: "schema",
138
138
  type: "literal",
139
- reference: w,
140
- expects: /* @__PURE__ */ U(e),
139
+ reference: k,
140
+ expects: /* @__PURE__ */ T(t),
141
141
  async: !1,
142
- literal: e,
143
- message: r,
142
+ literal: t,
143
+ message: n,
144
144
  get "~standard"() {
145
- return /* @__PURE__ */ h(this);
145
+ return /* @__PURE__ */ g(this);
146
146
  },
147
- "~run"(t, n) {
148
- return t.value === this.literal ? t.typed = !0 : g(this, "type", t, n), t;
147
+ "~run"(e, r) {
148
+ return e.value === this.literal ? e.typed = !0 : y(this, "type", e, r), e;
149
149
  }
150
150
  };
151
151
  }
152
152
  // @__NO_SIDE_EFFECTS__
153
- function y(e, r) {
153
+ function m(t, n) {
154
154
  return {
155
155
  kind: "schema",
156
156
  type: "nullable",
157
- reference: y,
158
- expects: `(${e.expects} | null)`,
157
+ reference: m,
158
+ expects: `(${t.expects} | null)`,
159
159
  async: !1,
160
- wrapped: e,
161
- default: r,
160
+ wrapped: t,
161
+ default: n,
162
162
  get "~standard"() {
163
- return /* @__PURE__ */ h(this);
163
+ return /* @__PURE__ */ g(this);
164
164
  },
165
- "~run"(t, n) {
166
- return t.value === null && (this.default !== void 0 && (t.value = /* @__PURE__ */ A(this, t, n)), t.value === null) ? (t.typed = !0, t) : this.wrapped["~run"](t, n);
165
+ "~run"(e, r) {
166
+ return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ w(this, e, r)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, r);
167
167
  }
168
168
  };
169
169
  }
170
170
  // @__NO_SIDE_EFFECTS__
171
- function k(e) {
171
+ function x(t) {
172
172
  return {
173
173
  kind: "schema",
174
174
  type: "number",
175
- reference: k,
175
+ reference: x,
176
176
  expects: "number",
177
177
  async: !1,
178
- message: e,
178
+ message: t,
179
179
  get "~standard"() {
180
- return /* @__PURE__ */ h(this);
180
+ return /* @__PURE__ */ g(this);
181
181
  },
182
- "~run"(r, t) {
183
- return typeof r.value == "number" && !isNaN(r.value) ? r.typed = !0 : g(this, "type", r, t), r;
182
+ "~run"(n, e) {
183
+ return typeof n.value == "number" && !isNaN(n.value) ? n.typed = !0 : y(this, "type", n, e), n;
184
184
  }
185
185
  };
186
186
  }
187
187
  // @__NO_SIDE_EFFECTS__
188
- function b(e, r) {
188
+ function b(t, n) {
189
189
  return {
190
190
  kind: "schema",
191
191
  type: "object",
192
192
  reference: b,
193
193
  expects: "Object",
194
194
  async: !1,
195
- entries: e,
196
- message: r,
195
+ entries: t,
196
+ message: n,
197
197
  get "~standard"() {
198
- return /* @__PURE__ */ h(this);
198
+ return /* @__PURE__ */ g(this);
199
199
  },
200
- "~run"(t, n) {
201
- const s = t.value;
200
+ "~run"(e, r) {
201
+ const s = e.value;
202
202
  if (s && typeof s == "object") {
203
- t.typed = !0, t.value = {};
203
+ e.typed = !0, e.value = {};
204
204
  for (const o in this.entries) {
205
205
  const i = this.entries[o];
206
206
  if (o in s || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
207
- const u = o in s ? s[o] : /* @__PURE__ */ A(i), a = i["~run"]({ value: u }, n);
207
+ const u = o in s ? s[o] : /* @__PURE__ */ w(i), a = i["~run"]({ value: u }, r);
208
208
  if (a.issues) {
209
209
  const p = {
210
210
  type: "object",
@@ -214,15 +214,15 @@ function b(e, r) {
214
214
  value: u
215
215
  };
216
216
  for (const d of a.issues)
217
- d.path ? d.path.unshift(p) : d.path = [p], t.issues?.push(d);
218
- if (t.issues || (t.issues = a.issues), n.abortEarly) {
219
- t.typed = !1;
217
+ d.path ? d.path.unshift(p) : d.path = [p], e.issues?.push(d);
218
+ if (e.issues || (e.issues = a.issues), r.abortEarly) {
219
+ e.typed = !1;
220
220
  break;
221
221
  }
222
222
  }
223
- a.typed || (t.typed = !1), t.value[o] = a.value;
224
- } else if (i.fallback !== void 0) t.value[o] = /* @__PURE__ */ ee(i);
225
- else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (g(this, "key", t, n, {
223
+ a.typed || (e.typed = !1), e.value[o] = a.value;
224
+ } else if (i.fallback !== void 0) e.value[o] = /* @__PURE__ */ q(i);
225
+ else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (y(this, "key", e, r, {
226
226
  input: void 0,
227
227
  expected: `"${o}"`,
228
228
  path: [{
@@ -232,51 +232,51 @@ function b(e, r) {
232
232
  key: o,
233
233
  value: s[o]
234
234
  }]
235
- }), n.abortEarly))
235
+ }), r.abortEarly))
236
236
  break;
237
237
  }
238
- } else g(this, "type", t, n);
239
- return t;
238
+ } else y(this, "type", e, r);
239
+ return e;
240
240
  }
241
241
  };
242
242
  }
243
243
  // @__NO_SIDE_EFFECTS__
244
- function f(e, r) {
244
+ function f(t, n) {
245
245
  return {
246
246
  kind: "schema",
247
247
  type: "optional",
248
248
  reference: f,
249
- expects: `(${e.expects} | undefined)`,
249
+ expects: `(${t.expects} | undefined)`,
250
250
  async: !1,
251
- wrapped: e,
252
- default: r,
251
+ wrapped: t,
252
+ default: n,
253
253
  get "~standard"() {
254
- return /* @__PURE__ */ h(this);
254
+ return /* @__PURE__ */ g(this);
255
255
  },
256
- "~run"(t, n) {
257
- return t.value === void 0 && (this.default !== void 0 && (t.value = /* @__PURE__ */ A(this, t, n)), t.value === void 0) ? (t.typed = !0, t) : this.wrapped["~run"](t, n);
256
+ "~run"(e, r) {
257
+ return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ w(this, e, r)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, r);
258
258
  }
259
259
  };
260
260
  }
261
261
  // @__NO_SIDE_EFFECTS__
262
- function R(e, r, t) {
262
+ function A(t, n, e) {
263
263
  return {
264
264
  kind: "schema",
265
265
  type: "record",
266
- reference: R,
266
+ reference: A,
267
267
  expects: "Object",
268
268
  async: !1,
269
- key: e,
270
- value: r,
271
- message: t,
269
+ key: t,
270
+ value: n,
271
+ message: e,
272
272
  get "~standard"() {
273
- return /* @__PURE__ */ h(this);
273
+ return /* @__PURE__ */ g(this);
274
274
  },
275
- "~run"(n, s) {
276
- const o = n.value;
275
+ "~run"(r, s) {
276
+ const o = r.value;
277
277
  if (o && typeof o == "object") {
278
- n.typed = !0, n.value = {};
279
- for (const i in o) if (/* @__PURE__ */ Y(o, i)) {
278
+ r.typed = !0, r.value = {};
279
+ for (const i in o) if (/* @__PURE__ */ J(o, i)) {
280
280
  const u = o[i], a = this.key["~run"]({ value: i }, s);
281
281
  if (a.issues) {
282
282
  const d = {
@@ -287,9 +287,9 @@ function R(e, r, t) {
287
287
  value: u
288
288
  };
289
289
  for (const S of a.issues)
290
- S.path = [d], n.issues?.push(S);
291
- if (n.issues || (n.issues = a.issues), s.abortEarly) {
292
- n.typed = !1;
290
+ S.path = [d], r.issues?.push(S);
291
+ if (r.issues || (r.issues = a.issues), s.abortEarly) {
292
+ r.typed = !1;
293
293
  break;
294
294
  }
295
295
  }
@@ -303,59 +303,59 @@ function R(e, r, t) {
303
303
  value: u
304
304
  };
305
305
  for (const S of p.issues)
306
- S.path ? S.path.unshift(d) : S.path = [d], n.issues?.push(S);
307
- if (n.issues || (n.issues = p.issues), s.abortEarly) {
308
- n.typed = !1;
306
+ S.path ? S.path.unshift(d) : S.path = [d], r.issues?.push(S);
307
+ if (r.issues || (r.issues = p.issues), s.abortEarly) {
308
+ r.typed = !1;
309
309
  break;
310
310
  }
311
311
  }
312
- (!a.typed || !p.typed) && (n.typed = !1), a.typed && (n.value[a.value] = p.value);
312
+ (!a.typed || !p.typed) && (r.typed = !1), a.typed && (r.value[a.value] = p.value);
313
313
  }
314
- } else g(this, "type", n, s);
315
- return n;
314
+ } else y(this, "type", r, s);
315
+ return r;
316
316
  }
317
317
  };
318
318
  }
319
319
  // @__NO_SIDE_EFFECTS__
320
- function l(e) {
320
+ function l(t) {
321
321
  return {
322
322
  kind: "schema",
323
323
  type: "string",
324
324
  reference: l,
325
325
  expects: "string",
326
326
  async: !1,
327
- message: e,
327
+ message: t,
328
328
  get "~standard"() {
329
- return /* @__PURE__ */ h(this);
329
+ return /* @__PURE__ */ g(this);
330
330
  },
331
- "~run"(r, t) {
332
- return typeof r.value == "string" ? r.typed = !0 : g(this, "type", r, t), r;
331
+ "~run"(n, e) {
332
+ return typeof n.value == "string" ? n.typed = !0 : y(this, "type", n, e), n;
333
333
  }
334
334
  };
335
335
  }
336
336
  // @__NO_SIDE_EFFECTS__
337
- function _(e) {
338
- let r;
339
- if (e) for (const t of e) r ? r.push(...t.issues) : r = t.issues;
340
- return r;
337
+ function P(t) {
338
+ let n;
339
+ if (t) for (const e of t) n ? n.push(...e.issues) : n = e.issues;
340
+ return n;
341
341
  }
342
342
  // @__NO_SIDE_EFFECTS__
343
- function G(e, r) {
343
+ function F(t, n) {
344
344
  return {
345
345
  kind: "schema",
346
346
  type: "union",
347
- reference: G,
348
- expects: /* @__PURE__ */ Z(e.map((t) => t.expects), "|"),
347
+ reference: F,
348
+ expects: /* @__PURE__ */ K(t.map((e) => e.expects), "|"),
349
349
  async: !1,
350
- options: e,
351
- message: r,
350
+ options: t,
351
+ message: n,
352
352
  get "~standard"() {
353
- return /* @__PURE__ */ h(this);
353
+ return /* @__PURE__ */ g(this);
354
354
  },
355
- "~run"(t, n) {
355
+ "~run"(e, r) {
356
356
  let s, o, i;
357
357
  for (const u of this.options) {
358
- const a = u["~run"]({ value: t.value }, n);
358
+ const a = u["~run"]({ value: e.value }, r);
359
359
  if (a.typed) if (a.issues) o ? o.push(a) : o = [a];
360
360
  else {
361
361
  s = a;
@@ -366,26 +366,26 @@ function G(e, r) {
366
366
  if (s) return s;
367
367
  if (o) {
368
368
  if (o.length === 1) return o[0];
369
- g(this, "type", t, n, { issues: /* @__PURE__ */ _(o) }), t.typed = !0;
369
+ y(this, "type", e, r, { issues: /* @__PURE__ */ P(o) }), e.typed = !0;
370
370
  } else {
371
371
  if (i?.length === 1) return i[0];
372
- g(this, "type", t, n, { issues: /* @__PURE__ */ _(i) });
372
+ y(this, "type", e, r, { issues: /* @__PURE__ */ P(i) });
373
373
  }
374
- return t;
374
+ return e;
375
375
  }
376
376
  };
377
377
  }
378
- const v = (e) => /* @__PURE__ */ G(e.map((r) => /* @__PURE__ */ w(r))), te = /* @__PURE__ */ b({
378
+ const h = (t) => /* @__PURE__ */ F(t.map((n) => /* @__PURE__ */ k(n))), Q = /* @__PURE__ */ b({
379
379
  "en-au": /* @__PURE__ */ l(),
380
380
  "en-gb": /* @__PURE__ */ l(),
381
381
  "en-us": /* @__PURE__ */ l(),
382
382
  "es-es": /* @__PURE__ */ l()
383
- }), C = /* @__PURE__ */ b({
383
+ }), M = /* @__PURE__ */ b({
384
384
  "en-au": /* @__PURE__ */ f(/* @__PURE__ */ l()),
385
385
  "en-gb": /* @__PURE__ */ f(/* @__PURE__ */ l()),
386
386
  "en-us": /* @__PURE__ */ f(/* @__PURE__ */ l()),
387
387
  "es-es": /* @__PURE__ */ f(/* @__PURE__ */ l())
388
- }), re = v(["amber", "green", "red", "other"]), ne = v([
388
+ }), Y = h(["amber", "green", "red", "other"]), Z = h([
389
389
  "alpha",
390
390
  "beta",
391
391
  "generalAvailability",
@@ -395,7 +395,7 @@ const v = (e) => /* @__PURE__ */ G(e.map((r) => /* @__PURE__ */ w(r))), te = /*
395
395
  "releaseCandidate",
396
396
  "unavailable",
397
397
  "underReview"
398
- ]), se = v([
398
+ ]), ee = h([
399
399
  "app",
400
400
  "connector",
401
401
  "connectorConnection",
@@ -420,61 +420,61 @@ const v = (e) => /* @__PURE__ */ G(e.map((r) => /* @__PURE__ */ w(r))), te = /*
420
420
  "presenterPresentation",
421
421
  "tool"
422
422
  ]);
423
- v(["app", "engine", "connector", "context", "presenter", "tool"]);
424
- const oe = /* @__PURE__ */ b({
423
+ h(["app", "engine", "connector", "context", "presenter", "tool"]);
424
+ const te = /* @__PURE__ */ b({
425
425
  id: /* @__PURE__ */ l(),
426
- color: re,
426
+ color: Y,
427
427
  label: /* @__PURE__ */ l()
428
- }), T = {
428
+ }), R = {
429
429
  id: /* @__PURE__ */ l(),
430
- label: C,
431
- description: C,
432
- firstCreatedAt: /* @__PURE__ */ f(/* @__PURE__ */ k()),
433
- icon: /* @__PURE__ */ y(/* @__PURE__ */ l()),
434
- iconDark: /* @__PURE__ */ y(/* @__PURE__ */ l()),
435
- lastUpdatedAt: /* @__PURE__ */ y(/* @__PURE__ */ k()),
436
- status: /* @__PURE__ */ y(oe),
437
- statusId: ne
438
- }, Se = /* @__PURE__ */ b({
439
- ...T,
440
- typeId: se
441
- }), $ = {
442
- ...T,
430
+ label: M,
431
+ description: M,
432
+ firstCreatedAt: /* @__PURE__ */ f(/* @__PURE__ */ x()),
433
+ icon: /* @__PURE__ */ m(/* @__PURE__ */ l()),
434
+ iconDark: /* @__PURE__ */ m(/* @__PURE__ */ l()),
435
+ lastUpdatedAt: /* @__PURE__ */ m(/* @__PURE__ */ x()),
436
+ status: /* @__PURE__ */ m(te),
437
+ statusId: Z
438
+ }, he = /* @__PURE__ */ b({
439
+ ...R,
440
+ typeId: ee
441
+ }), N = {
442
+ ...R,
443
443
  version: /* @__PURE__ */ l()
444
- }, P = /* @__PURE__ */ b({
444
+ }, U = /* @__PURE__ */ b({
445
445
  id: /* @__PURE__ */ l(),
446
- label: C,
447
- description: C,
448
- icon: /* @__PURE__ */ y(/* @__PURE__ */ l()),
449
- iconDark: /* @__PURE__ */ y(/* @__PURE__ */ l()),
450
- order: /* @__PURE__ */ k(),
446
+ label: M,
447
+ description: M,
448
+ icon: /* @__PURE__ */ m(/* @__PURE__ */ l()),
449
+ iconDark: /* @__PURE__ */ m(/* @__PURE__ */ l()),
450
+ order: /* @__PURE__ */ x(),
451
451
  path: /* @__PURE__ */ l()
452
- }), E = (e) => {
453
- const r = Object.entries(e).filter((t) => typeof t[1] == "string");
454
- return new Map(r);
455
- }, ie = (e, r, t = D) => {
456
- const n = e.get(r);
457
- if (n !== void 0) return n;
458
- if (t !== r)
459
- return e.get(t);
460
- }, ae = [
461
- { id: "alpha", color: "red", labels: E({ "en-gb": "alpha" }) },
462
- { id: "beta", color: "amber", labels: E({ "en-gb": "beta" }) },
463
- { id: "generalAvailability", color: "green", labels: E({ "en-gb": "" }) },
464
- { id: "notApplicable", color: "green", labels: E({ "en-gb": "not-applicable" }) },
465
- { id: "preAlpha", color: "red", labels: E({ "en-gb": "pre-alpha" }) },
466
- { id: "proposed", color: "other", labels: E({ "en-gb": "proposed" }) },
467
- { id: "releaseCandidate", color: "green", labels: E({ "en-gb": "release-candidate" }) },
468
- { id: "unavailable", color: "other", labels: E({ "en-gb": "unavailable" }) },
469
- { id: "underReview", color: "other", labels: E({ "en-gb": "under-review" }) }
470
- ], ke = (e, r = D) => {
471
- const t = ae.find((n) => n.id === e);
472
- if (t) {
473
- const n = ie(t.labels, r);
474
- return { id: t.id, color: t.color, label: n ?? t.id };
452
+ }), v = (t) => {
453
+ const n = Object.entries(t).filter((e) => typeof e[1] == "string");
454
+ return new Map(n);
455
+ }, ne = (t, n, e = O) => {
456
+ const r = t.get(n);
457
+ if (r !== void 0) return r;
458
+ if (e !== n)
459
+ return t.get(e);
460
+ }, re = [
461
+ { id: "alpha", color: "red", labels: v({ "en-gb": "alpha" }) },
462
+ { id: "beta", color: "amber", labels: v({ "en-gb": "beta" }) },
463
+ { id: "generalAvailability", color: "green", labels: v({ "en-gb": "" }) },
464
+ { id: "notApplicable", color: "green", labels: v({ "en-gb": "not-applicable" }) },
465
+ { id: "preAlpha", color: "red", labels: v({ "en-gb": "pre-alpha" }) },
466
+ { id: "proposed", color: "other", labels: v({ "en-gb": "proposed" }) },
467
+ { id: "releaseCandidate", color: "green", labels: v({ "en-gb": "release-candidate" }) },
468
+ { id: "unavailable", color: "other", labels: v({ "en-gb": "unavailable" }) },
469
+ { id: "underReview", color: "other", labels: v({ "en-gb": "under-review" }) }
470
+ ], ve = (t, n = O) => {
471
+ const e = re.find((r) => r.id === t);
472
+ if (e) {
473
+ const r = ne(e.labels, n);
474
+ return { id: e.id, color: e.color, label: r ?? e.id };
475
475
  }
476
- return { id: e, color: "other", label: e };
477
- }, le = v(["apiKey", "disabled", "oAuth2", "none"]), ce = v(["application", "curatedDataset", "database", "fileStore"]), ue = v([
476
+ return { id: t, color: "other", label: t };
477
+ }, se = h(["apiKey", "disabled", "oAuth2", "none"]), oe = h(["application", "curatedDataset", "database", "fileStore"]), ie = h([
478
478
  "abortOperation",
479
479
  "authenticateConnection",
480
480
  "createObject",
@@ -489,258 +489,155 @@ const oe = /* @__PURE__ */ b({
489
489
  "retrieveChunks",
490
490
  "retrieveRecords",
491
491
  "upsertRecords"
492
- ]), pe = v(["bidirectional", "destination", "source", "unknown"]), de = /* @__PURE__ */ b({
493
- authMethodId: le,
494
- activeConnectionCount: /* @__PURE__ */ f(/* @__PURE__ */ k()),
495
- canDescribe: /* @__PURE__ */ f(/* @__PURE__ */ B()),
492
+ ]), ae = h(["bidirectional", "destination", "source", "unknown"]), le = /* @__PURE__ */ b({
493
+ authMethodId: se,
494
+ activeConnectionCount: /* @__PURE__ */ f(/* @__PURE__ */ x()),
495
+ canDescribe: /* @__PURE__ */ f(/* @__PURE__ */ _()),
496
496
  id: /* @__PURE__ */ f(/* @__PURE__ */ l()),
497
- label: /* @__PURE__ */ f(te),
498
- maxConnectionCount: /* @__PURE__ */ f(/* @__PURE__ */ k()),
499
- params: /* @__PURE__ */ f(/* @__PURE__ */ x(/* @__PURE__ */ R(/* @__PURE__ */ l(), /* @__PURE__ */ l())))
500
- }), De = /* @__PURE__ */ b({
501
- ...$,
502
- typeId: /* @__PURE__ */ w("connector"),
503
- category: /* @__PURE__ */ y(/* @__PURE__ */ b({ id: /* @__PURE__ */ l(), label: /* @__PURE__ */ l() })),
504
- categoryId: ce,
505
- implementations: /* @__PURE__ */ R(/* @__PURE__ */ l(), de),
506
- operations: /* @__PURE__ */ x(ue),
507
- usageId: pe,
508
- vendorAccountURL: /* @__PURE__ */ y(/* @__PURE__ */ l()),
509
- vendorDocumentationURL: /* @__PURE__ */ y(/* @__PURE__ */ l()),
510
- vendorHomeURL: /* @__PURE__ */ y(/* @__PURE__ */ l())
511
- }), we = ["createObject", "dropObject", "removeRecords", "upsertRecords"], Ie = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"], O = (e) => {
512
- const r = Object.entries(e).filter((t) => typeof t[1] == "string");
513
- return new Map(r);
497
+ label: /* @__PURE__ */ f(Q),
498
+ maxConnectionCount: /* @__PURE__ */ f(/* @__PURE__ */ x()),
499
+ params: /* @__PURE__ */ f(/* @__PURE__ */ E(/* @__PURE__ */ A(/* @__PURE__ */ l(), /* @__PURE__ */ l())))
500
+ }), Ee = /* @__PURE__ */ b({
501
+ ...N,
502
+ typeId: /* @__PURE__ */ k("connector"),
503
+ category: /* @__PURE__ */ m(/* @__PURE__ */ b({ id: /* @__PURE__ */ l(), label: /* @__PURE__ */ l() })),
504
+ categoryId: oe,
505
+ implementations: /* @__PURE__ */ A(/* @__PURE__ */ l(), le),
506
+ operations: /* @__PURE__ */ E(ie),
507
+ usageId: ae,
508
+ vendorAccountURL: /* @__PURE__ */ m(/* @__PURE__ */ l()),
509
+ vendorDocumentationURL: /* @__PURE__ */ m(/* @__PURE__ */ l()),
510
+ vendorHomeURL: /* @__PURE__ */ m(/* @__PURE__ */ l())
511
+ }), Se = ["createObject", "dropObject", "removeRecords", "upsertRecords"], xe = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"], D = (t) => {
512
+ const n = Object.entries(t).filter((e) => typeof e[1] == "string");
513
+ return new Map(n);
514
514
  };
515
- O({ "en-gb": "Application" }), O({ "en-gb": "Curated Dataset" }), O({ "en-gb": "Database" }), O({ "en-gb": "File Store" });
516
- const fe = v(["list"]), me = /* @__PURE__ */ b({
517
- ...T,
518
- typeId: /* @__PURE__ */ w("contextModelGroup"),
519
- modelRefs: /* @__PURE__ */ x(P),
520
- order: /* @__PURE__ */ k()
521
- }), Oe = /* @__PURE__ */ b({
522
- ...$,
523
- typeId: /* @__PURE__ */ w("context"),
524
- models: /* @__PURE__ */ x(me),
525
- operations: /* @__PURE__ */ x(fe)
515
+ D({ "en-gb": "Application" }), D({ "en-gb": "Curated Dataset" }), D({ "en-gb": "Database" }), D({ "en-gb": "File Store" });
516
+ const ce = h(["list"]), ue = /* @__PURE__ */ b({
517
+ ...R,
518
+ typeId: /* @__PURE__ */ k("contextModelGroup"),
519
+ modelRefs: /* @__PURE__ */ E(U),
520
+ order: /* @__PURE__ */ x()
521
+ }), ke = /* @__PURE__ */ b({
522
+ ...N,
523
+ typeId: /* @__PURE__ */ k("context"),
524
+ models: /* @__PURE__ */ E(ue),
525
+ operations: /* @__PURE__ */ E(ce)
526
526
  });
527
- class F extends Error {
527
+ class I extends Error {
528
528
  locator;
529
- constructor(r, t, n) {
530
- super(r, n), this.name = "DataPosError", this.locator = t;
529
+ constructor(n, e, r) {
530
+ super(n, r), this.name = "DataPosError", this.locator = e;
531
531
  }
532
532
  }
533
- class I extends F {
534
- constructor(r, t, n) {
535
- super(r, t, n), this.name = "ApplicationError";
533
+ class C extends I {
534
+ constructor(n, e, r) {
535
+ super(n, e, r), this.name = "ApplicationError";
536
536
  }
537
537
  }
538
- class Ce extends I {
539
- constructor(r, t, n) {
540
- super(r, t, n), this.name = "APIError";
538
+ class Ce extends C {
539
+ constructor(n, e, r) {
540
+ super(n, e, r), this.name = "APIError";
541
541
  }
542
542
  }
543
- class Me extends I {
544
- constructor(r, t, n) {
545
- super(r, t, n), this.name = "EngineError";
543
+ class Oe extends C {
544
+ constructor(n, e, r) {
545
+ super(n, e, r), this.name = "EngineError";
546
546
  }
547
547
  }
548
- class z extends I {
548
+ class z extends C {
549
549
  body;
550
- constructor(r, t, n, s) {
551
- super(r, t, s), this.name = "FetchError", this.body = n;
550
+ constructor(n, e, r, s) {
551
+ super(n, e, s), this.name = "FetchError", this.body = r;
552
552
  }
553
553
  }
554
- class be extends I {
554
+ class pe extends C {
555
555
  componentName;
556
556
  info;
557
- constructor(r, t, n, s, o) {
558
- super(r, t, o), this.name = "VueHandledError", this.info = n, this.componentName = s;
557
+ constructor(n, e, r, s, o) {
558
+ super(n, e, o), this.name = "VueHandledError", this.info = r, this.componentName = s;
559
559
  }
560
560
  }
561
- class Ne extends I {
562
- constructor(r, t, n) {
563
- super(r, t, n), this.name = "WindowHandledRuntimeError";
561
+ class De extends C {
562
+ constructor(n, e, r) {
563
+ super(n, e, r), this.name = "WindowHandledRuntimeError";
564
564
  }
565
565
  }
566
- class je extends I {
567
- constructor(r, t, n) {
568
- super(r, t, n), this.name = "WindowHandledPromiseRejectionError";
566
+ class Me extends C {
567
+ constructor(n, e, r) {
568
+ super(n, e, r), this.name = "WindowHandledPromiseRejectionError";
569
569
  }
570
570
  }
571
- class Ae extends F {
572
- constructor(r, t, n) {
573
- super(r, t, n), this.name = "OperationalError";
571
+ class je extends I {
572
+ constructor(n, e, r) {
573
+ super(n, e, r), this.name = "OperationalError";
574
574
  }
575
575
  }
576
- async function Re(e, r, t) {
577
- const n = ` - ${e.statusText}`, s = `${r} Response status '${e.status}${e.statusText ? n : ""}' received.`, o = await e.text();
578
- return new z(s, t, o);
576
+ async function we(t, n, e) {
577
+ const r = ` - ${t.statusText}`, s = `${n} Response status '${t.status}${t.statusText ? r : ""}' received.`, o = await t.text();
578
+ return new z(s, e, o);
579
579
  }
580
- function Te(e) {
581
- return e.map((r) => r.message).join(" ");
580
+ function Ae(t) {
581
+ return t.map((n) => n.message).join(" ");
582
582
  }
583
- function $e(e) {
584
- if (e instanceof Error) return e;
585
- if (typeof e == "string") return new Error(e);
586
- if (typeof e == "number" || typeof e == "boolean" || typeof e == "bigint") return new Error(String(e));
587
- if (typeof e == "symbol") return new Error(e.description ?? "Unknown error");
588
- if (e && typeof e == "object")
583
+ function Re(t) {
584
+ if (t instanceof Error) return t;
585
+ if (typeof t == "string") return new Error(t);
586
+ if (typeof t == "number" || typeof t == "boolean" || typeof t == "bigint") return new Error(String(t));
587
+ if (typeof t == "symbol") return new Error(t.description ?? "Unknown error");
588
+ if (t && typeof t == "object")
589
589
  try {
590
- return new Error(JSON.stringify(e));
590
+ return new Error(JSON.stringify(t));
591
591
  } catch {
592
592
  return new Error("Unknown error");
593
593
  }
594
594
  return new Error("Unknown error");
595
595
  }
596
- function Fe(e) {
597
- const r = /* @__PURE__ */ new Set(), t = [];
598
- let n = e;
599
- for (; n && !r.has(n); ) {
600
- r.add(n);
596
+ function Ne(t) {
597
+ const n = /* @__PURE__ */ new Set(), e = [];
598
+ let r = t;
599
+ for (; r && !n.has(r); ) {
600
+ n.add(r);
601
601
  let s;
602
- if (n instanceof z)
603
- s = { body: n.body, locator: n.locator, message: n.message, name: n.name, stack: n.stack }, n = n.cause;
604
- else if (n instanceof be)
605
- s = { componentName: n.componentName, info: n.info, locator: n.locator, message: n.message, name: n.name, stack: n.stack }, n = n.cause;
606
- else if (n instanceof F)
607
- s = { locator: n.locator, message: n.message, name: n.name, stack: n.stack }, n = n.cause;
608
- else if (n instanceof Error) {
609
- const o = n;
610
- s = { locator: "", message: o.message, name: o.name, stack: o.stack }, n = o.cause;
602
+ if (r instanceof z)
603
+ s = { body: r.body, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
604
+ else if (r instanceof pe)
605
+ s = { componentName: r.componentName, info: r.info, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
606
+ else if (r instanceof I)
607
+ s = { locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
608
+ else if (r instanceof Error) {
609
+ const o = r;
610
+ s = { locator: "", message: o.message, name: o.name, stack: o.stack }, r = o.cause;
611
611
  } else
612
- s = { locator: "", message: String(n), name: "Error" }, n = void 0;
613
- /(?:\.{3}|[.!?])$/.test(s.message) || (s.message += "."), t.push(s);
612
+ s = { locator: "", message: String(r), name: "Error" }, r = void 0;
613
+ /(?:\.{3}|[.!?])$/.test(s.message) || (s.message += "."), e.push(s);
614
614
  }
615
- return t;
615
+ return e;
616
616
  }
617
- const ye = v(["list", "render", "setColorMode"]), Le = /* @__PURE__ */ b({
618
- ...$,
619
- typeId: /* @__PURE__ */ w("presenter"),
620
- presentations: /* @__PURE__ */ x(P),
621
- operations: /* @__PURE__ */ x(ye)
617
+ const de = h(["list", "render", "setColorMode"]), Ie = /* @__PURE__ */ b({
618
+ ...N,
619
+ typeId: /* @__PURE__ */ k("presenter"),
620
+ presentations: /* @__PURE__ */ E(U),
621
+ operations: /* @__PURE__ */ E(de)
622
622
  });
623
- function _e() {
624
- return { render: ge };
625
- }
626
- function ge(e, r, t) {
627
- t.textContent = "Cytoscape.js diagram goes here...";
628
- }
629
- function Ue() {
630
- return { render: he };
631
- }
632
- function he(e, r) {
633
- console.log(1111, e), console.log(2222, r), console.log(3333, r.childNodes), console.log(4444, r.children);
634
- }
635
- const V = "en-US", M = /* @__PURE__ */ new Map();
636
- function Be(e) {
637
- switch (e) {
638
- case "Edm.Binary":
639
- return "unknown";
640
- // Binary...
641
- case "Edm.Boolean":
642
- return "boolean";
643
- case "Edm.Byte":
644
- return "wholeNumber";
645
- case "Edm.DateTime":
646
- return "moment";
647
- // DateTime...
648
- case "Edm.DateTimeOffset":
649
- return "moment";
650
- // DateTimeOffset...
651
- case "Edm.Decimal":
652
- return "decimalNumber";
653
- case "Edm.Double":
654
- return "decimalNumber";
655
- case "Edm.Guid":
656
- return "string";
657
- case "Edm.Int16":
658
- return "wholeNumber";
659
- case "Edm.Int32":
660
- return "wholeNumber";
661
- case "Edm.Int64":
662
- return "wholeNumber";
663
- case "Edm.SByte":
664
- return "wholeNumber";
665
- case "Edm.Single":
666
- return "decimalNumber";
667
- case "Edm.String":
668
- return "string";
669
- case "Edm.Time":
670
- return "momentTime";
671
- // Time...
672
- default:
673
- return "unknown";
674
- }
623
+ function Le() {
624
+ return { render: fe };
675
625
  }
676
- function Ge(e) {
677
- if (e) {
678
- const r = e.lastIndexOf("/"), t = e.lastIndexOf(".", r === -1 ? e.length : r);
679
- return t === -1 ? e : e.slice(0, Math.max(0, t));
680
- }
626
+ function fe(t, n, e) {
627
+ e.textContent = "Cytoscape.js diagram goes here...";
681
628
  }
682
- function Pe(e) {
683
- if (e) {
684
- const r = e.lastIndexOf(".");
685
- if (r !== -1) return e.slice(Math.max(0, r + 1));
686
- }
629
+ function Pe() {
630
+ return { render: be };
687
631
  }
688
- function m(e, r = 2, t = r, n = V) {
689
- if (e == null) return "";
690
- const s = `${n}decimal${r}.${t}`;
691
- let o = M.get(s);
692
- return o || (o = new Intl.NumberFormat(n, {
693
- localeMatcher: "best fit",
694
- maximumFractionDigits: r,
695
- minimumFractionDigits: t,
696
- minimumIntegerDigits: 1,
697
- style: "decimal",
698
- useGrouping: !0
699
- }), M.set(s, o)), o.format(e);
700
- }
701
- function ze(e) {
702
- return e == null ? "" : e < 1e3 ? N(e) : e < 1e6 ? `${m(e / 1e3, 2, 0)}K` : e < 1e9 ? `${m(e / 1e6, 2, 0)}M` : e < 1e12 ? `${m(e / 1e9, 2, 0)}B` : `${m(e / 1e12, 2, 0)}T`;
703
- }
704
- function Ve(e) {
705
- return e == null ? "" : e === 1 ? "1 byte" : e < 1024 ? `${N(e)} bytes` : e < 1048576 ? `${m(e / 1024, 2, 0)} KB` : e < 1073741824 ? `${m(e / 1048576, 2, 0)} MB` : e < 1099511627776 ? `${m(e / 1073741824, 2, 0)} GB` : `${m(e / 1099511627776, 2, 0)} TB`;
706
- }
707
- function He(e) {
708
- return e == null ? "" : e < 1e3 ? `${N(e)} ms` : e === 1e3 ? `${N(e)} sec` : e < 6e4 ? `${m(e / 1e3, 2, 0)} secs` : e === 6e4 ? "1 min" : e < 36e5 ? `${m(e / 6e4, 2, 0)} mins` : e === 36e5 ? "1 hr" : e < 864e5 ? `${m(e / 36e5, 2, 0)} hrs` : e === 864e5 ? "1 day" : `${m(e / 864e5, 2, 0)} days`;
709
- }
710
- function N(e, r = V) {
711
- if (e == null) return "";
712
- const t = `${r}decimal0.0`;
713
- let n = M.get(t);
714
- return n || (n = new Intl.NumberFormat(r, {
715
- localeMatcher: "best fit",
716
- maximumFractionDigits: 0,
717
- minimumFractionDigits: 0,
718
- minimumIntegerDigits: 1,
719
- style: "decimal",
720
- useGrouping: !0
721
- }), M.set(t, n)), n.format(e);
722
- }
723
- function Ke(e) {
724
- switch (e) {
725
- case "csv":
726
- return "text/csv";
727
- case "tab":
728
- case "tsv":
729
- return "text/tab-separated-values";
730
- case "xls":
731
- return "application/vnd.ms-excel";
732
- case "xlsx":
733
- return "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
734
- default:
735
- return "application/octet-stream";
736
- }
632
+ function be(t, n) {
633
+ console.log(1111, t), console.log(2222, n), console.log(3333, n.childNodes), console.log(4444, n.children);
737
634
  }
738
- const c = (e) => new Map(Object.entries(e)), L = (e, r, t = D) => {
739
- const n = e.get(r);
740
- if (n !== void 0) return n;
741
- if (t !== r)
742
- return e.get(t);
743
- }, ve = [
635
+ const c = (t) => new Map(Object.entries(t)), L = (t, n, e = O) => {
636
+ const r = t.get(n);
637
+ if (r !== void 0) return r;
638
+ if (e !== n)
639
+ return t.get(e);
640
+ }, me = [
744
641
  { id: "dtv", labels: c({ "en-gb": "Delimited Text" }) },
745
642
  { id: "e/e", labels: c({ "en-gb": "Entity/Event" }) },
746
643
  { id: "jsonArray", labels: c({ "en-gb": "JSON Array" }) },
@@ -748,27 +645,27 @@ const c = (e) => new Map(Object.entries(e)), L = (e, r, t = D) => {
748
645
  { id: "xls", labels: c({ "en-gb": "XLS" }) },
749
646
  { id: "xlsx", labels: c({ "en-gb": "XLSX" }) },
750
647
  { id: "xml", labels: c({ "en-gb": "XML" }) }
751
- ], We = (e = D) => {
752
- const r = [];
753
- for (const t of ve) {
754
- const n = L(t.labels, e);
755
- r.push({ id: t.id, label: n ?? t.id });
648
+ ], Te = (t = O) => {
649
+ const n = [];
650
+ for (const e of me) {
651
+ const r = L(e.labels, t);
652
+ n.push({ id: e.id, label: r ?? e.id });
756
653
  }
757
- return r;
758
- }, Ee = [
654
+ return n;
655
+ }, ye = [
759
656
  { id: `
760
657
  `, labels: c({ "en-gb": "Newline" }) },
761
658
  { id: "\r", labels: c({ "en-gb": "Carriage Return" }) },
762
659
  { id: `\r
763
660
  `, labels: c({ "en-gb": "Carriage Return/Newline" }) }
764
- ], Xe = (e = D) => {
765
- const r = [];
766
- for (const t of Ee) {
767
- const n = L(t.labels, e);
768
- r.push({ id: t.id, label: n ?? t.id });
661
+ ], _e = (t = O) => {
662
+ const n = [];
663
+ for (const e of ye) {
664
+ const r = L(e.labels, t);
665
+ n.push({ id: e.id, label: r ?? e.id });
769
666
  }
770
- return r;
771
- }, xe = [
667
+ return n;
668
+ }, ge = [
772
669
  { id: ":", labels: c({ "en-gb": "Colon" }) },
773
670
  { id: ",", labels: c({ "en-gb": "Comma" }) },
774
671
  { id: "!", labels: c({ "en-gb": "Exclamation Mark" }) },
@@ -780,47 +677,47 @@ const c = (e) => new Map(Object.entries(e)), L = (e, r, t = D) => {
780
677
  { id: "_", labels: c({ "en-gb": "Underscore" }) },
781
678
  { id: "0x1F", labels: c({ "en-gb": "Unit Separator" }) },
782
679
  { id: "|", labels: c({ "en-gb": "Vertical Bar" }) }
783
- ], Je = (e = D) => {
784
- const r = [];
785
- for (const t of xe) {
786
- const n = L(t.labels, e);
787
- r.push({ id: t.id, label: n ?? t.id });
680
+ ], Fe = (t = O) => {
681
+ const n = [];
682
+ for (const e of ge) {
683
+ const r = L(e.labels, t);
684
+ n.push({ id: e.id, label: r ?? e.id });
788
685
  }
789
- return r;
790
- };
686
+ return n;
687
+ }, O = "en-gb";
791
688
  export {
792
689
  Ce as APIError,
793
- I as ApplicationError,
794
- we as CONNECTOR_DESTINATION_OPERATIONS,
795
- Ie as CONNECTOR_SOURCE_OPERATIONS,
796
- D as DEFAULT_LOCALE_CODE,
797
- Me as EngineError,
690
+ C as ApplicationError,
691
+ Se as CONNECTOR_DESTINATION_OPERATIONS,
692
+ xe as CONNECTOR_SOURCE_OPERATIONS,
693
+ O as DEFAULT_LOCALE_CODE,
694
+ Oe as EngineError,
798
695
  z as FetchError,
799
- Ae as OperationalError,
800
- be as VueError,
801
- je as WindowPromiseRejectionError,
802
- Ne as WindowRuntimeError,
803
- Re as buildFetchError,
804
- Se as componentConfigSchema,
805
- Te as concatenateSerialisedErrorMessages,
806
- De as connectorConfigSchema,
807
- Oe as contextConfigSchema,
808
- Be as convertODataTypeIdToUsageTypeId,
809
- Pe as extractExtensionFromPath,
810
- Ge as extractNameFromPath,
811
- m as formatNumberAsDecimalNumber,
812
- He as formatNumberAsDuration,
813
- ze as formatNumberAsSize,
814
- Ve as formatNumberAsStorageSize,
815
- N as formatNumberAsWholeNumber,
816
- ke as getComponentStatus,
817
- We as getDataFormats,
818
- Xe as getRecordDelimiters,
819
- Je as getValueDelimiters,
696
+ je as OperationalError,
697
+ pe as VueError,
698
+ Me as WindowPromiseRejectionError,
699
+ De as WindowRuntimeError,
700
+ we as buildFetchError,
701
+ he as componentConfigSchema,
702
+ Ae as concatenateSerialisedErrorMessages,
703
+ Ee as connectorConfigSchema,
704
+ ke as contextConfigSchema,
705
+ Ge as convertODataTypeIdToUsageTypeId,
706
+ Ve as extractExtensionFromPath,
707
+ He as extractNameFromPath,
708
+ We as formatNumberAsDecimalNumber,
709
+ $e as formatNumberAsDuration,
710
+ Xe as formatNumberAsSize,
711
+ Be as formatNumberAsStorageSize,
712
+ Je as formatNumberAsWholeNumber,
713
+ ve as getComponentStatus,
714
+ Te as getDataFormats,
715
+ _e as getRecordDelimiters,
716
+ Fe as getValueDelimiters,
820
717
  Ke as lookupMimeTypeForExtension,
821
- $e as normalizeToError,
822
- Le as presenterConfigSchema,
823
- Fe as serialiseError,
824
- _e as useCytoscapeJS,
825
- Ue as useDataTable
718
+ Re as normalizeToError,
719
+ Ie as presenterConfigSchema,
720
+ Ne as serialiseError,
721
+ Le as useCytoscapeJS,
722
+ Pe as useDataTable
826
723
  };