@datapos/datapos-shared 0.3.317 → 0.3.319

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