@datapos/datapos-shared 0.3.317 → 0.3.325
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -11
- package/README.pdf +0 -0
- package/dist/datapos-shared.es.js +357 -330
- package/dist/types/src/component/componentConfig.schema.d.ts +2 -2
- package/dist/types/src/component/connector/connection.d.ts +5 -6
- package/dist/types/src/component/connector/connectorConfig.schema.d.ts +4 -0
- package/dist/types/src/component/connector/index.d.ts +22 -15
- package/dist/types/src/component/context/contextConfig.schema.d.ts +4 -0
- package/dist/types/src/component/context/index.d.ts +12 -12
- package/dist/types/src/component/dataView/OLD_ContentAuditColumn.d.ts +2 -2
- package/dist/types/src/component/dataView/index.d.ts +9 -11
- package/dist/types/src/component/index.d.ts +10 -24
- package/dist/types/src/component/presenter/index.d.ts +3 -3
- package/dist/types/src/component/presenter/presentation.d.ts +3 -3
- package/dist/types/src/component/presenter/presenterConfig.schema.d.ts +4 -0
- package/dist/types/src/engine/index.d.ts +4 -4
- package/dist/types/src/index.d.ts +37 -29
- package/package.json +7 -4
- package/dist/types/src/timestamp.d.ts +0 -4
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
let
|
|
1
|
+
let j;
|
|
2
2
|
// @__NO_SIDE_EFFECTS__
|
|
3
|
-
function
|
|
3
|
+
function H(e) {
|
|
4
4
|
return {
|
|
5
|
-
lang: e?.lang ??
|
|
5
|
+
lang: e?.lang ?? j?.lang,
|
|
6
6
|
message: e?.message,
|
|
7
|
-
abortEarly: e?.abortEarly ??
|
|
8
|
-
abortPipeEarly: e?.abortPipeEarly ??
|
|
7
|
+
abortEarly: e?.abortEarly ?? j?.abortEarly,
|
|
8
|
+
abortPipeEarly: e?.abortPipeEarly ?? j?.abortPipeEarly
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
let
|
|
11
|
+
let K;
|
|
12
12
|
// @__NO_SIDE_EFFECTS__
|
|
13
|
-
function
|
|
14
|
-
return
|
|
13
|
+
function W(e) {
|
|
14
|
+
return K?.get(e);
|
|
15
15
|
}
|
|
16
|
-
let
|
|
16
|
+
let X;
|
|
17
17
|
// @__NO_SIDE_EFFECTS__
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function J(e) {
|
|
19
|
+
return X?.get(e);
|
|
20
20
|
}
|
|
21
|
-
let
|
|
21
|
+
let q;
|
|
22
22
|
// @__NO_SIDE_EFFECTS__
|
|
23
|
-
function
|
|
24
|
-
return
|
|
23
|
+
function Q(e, r) {
|
|
24
|
+
return q?.get(e)?.get(r);
|
|
25
25
|
}
|
|
26
26
|
// @__NO_SIDE_EFFECTS__
|
|
27
|
-
function
|
|
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
|
|
32
|
-
const
|
|
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:
|
|
35
|
+
input: o,
|
|
36
36
|
expected: i,
|
|
37
|
-
received:
|
|
38
|
-
message: `Invalid ${r}: ${i ? `Expected ${i} but r` : "R"}eceived ${
|
|
37
|
+
received: u,
|
|
38
|
+
message: `Invalid ${r}: ${i ? `Expected ${i} but r` : "R"}eceived ${u}`,
|
|
39
39
|
requirement: e.requirement,
|
|
40
|
-
path:
|
|
41
|
-
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
|
-
},
|
|
46
|
-
|
|
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
|
|
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__ */
|
|
54
|
+
return e["~run"]({ value: r }, /* @__PURE__ */ H());
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
// @__NO_SIDE_EFFECTS__
|
|
59
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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
|
|
76
|
+
function x(e, r) {
|
|
77
77
|
return {
|
|
78
78
|
kind: "schema",
|
|
79
79
|
type: "array",
|
|
80
|
-
reference:
|
|
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__ */
|
|
86
|
+
return /* @__PURE__ */ h(this);
|
|
87
87
|
},
|
|
88
88
|
"~run"(t, n) {
|
|
89
|
-
const
|
|
90
|
-
if (Array.isArray(
|
|
89
|
+
const s = t.value;
|
|
90
|
+
if (Array.isArray(s)) {
|
|
91
91
|
t.typed = !0, t.value = [];
|
|
92
|
-
for (let
|
|
93
|
-
const i = o
|
|
94
|
-
if (
|
|
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:
|
|
99
|
-
key:
|
|
98
|
+
input: s,
|
|
99
|
+
key: o,
|
|
100
100
|
value: i
|
|
101
101
|
};
|
|
102
|
-
for (const
|
|
103
|
-
|
|
104
|
-
if (t.issues || (t.issues =
|
|
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
|
-
|
|
109
|
+
u.typed || (t.typed = !1), t.value.push(u.value);
|
|
110
110
|
}
|
|
111
|
-
} else
|
|
111
|
+
} else g(this, "type", t, n);
|
|
112
112
|
return t;
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
// @__NO_SIDE_EFFECTS__
|
|
117
|
-
function
|
|
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__ */
|
|
126
|
+
return /* @__PURE__ */ h(this);
|
|
127
127
|
},
|
|
128
128
|
"~run"(r, t) {
|
|
129
|
-
return typeof r.value == "boolean" ? r.typed = !0 :
|
|
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__ */
|
|
139
|
+
expects: /* @__PURE__ */ U(e),
|
|
140
140
|
async: !1,
|
|
141
141
|
literal: e,
|
|
142
142
|
message: r,
|
|
143
143
|
get "~standard"() {
|
|
144
|
-
return /* @__PURE__ */
|
|
144
|
+
return /* @__PURE__ */ h(this);
|
|
145
145
|
},
|
|
146
146
|
"~run"(t, n) {
|
|
147
|
-
return t.value === this.literal ? t.typed = !0 :
|
|
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
|
|
152
|
+
function y(e, r) {
|
|
153
153
|
return {
|
|
154
154
|
kind: "schema",
|
|
155
155
|
type: "nullable",
|
|
156
|
-
reference:
|
|
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__ */
|
|
162
|
+
return /* @__PURE__ */ h(this);
|
|
163
163
|
},
|
|
164
164
|
"~run"(t, n) {
|
|
165
|
-
return t.value === null && (this.default !== void 0 && (t.value = /* @__PURE__ */
|
|
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
|
|
170
|
+
function D(e) {
|
|
171
171
|
return {
|
|
172
172
|
kind: "schema",
|
|
173
173
|
type: "number",
|
|
174
|
-
reference:
|
|
174
|
+
reference: D,
|
|
175
175
|
expects: "number",
|
|
176
176
|
async: !1,
|
|
177
177
|
message: e,
|
|
178
178
|
get "~standard"() {
|
|
179
|
-
return /* @__PURE__ */
|
|
179
|
+
return /* @__PURE__ */ h(this);
|
|
180
180
|
},
|
|
181
181
|
"~run"(r, t) {
|
|
182
|
-
return typeof r.value == "number" && !isNaN(r.value) ? r.typed = !0 :
|
|
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
|
|
187
|
+
function b(e, r) {
|
|
188
188
|
return {
|
|
189
189
|
kind: "schema",
|
|
190
190
|
type: "object",
|
|
191
|
-
reference:
|
|
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__ */
|
|
197
|
+
return /* @__PURE__ */ h(this);
|
|
198
198
|
},
|
|
199
199
|
"~run"(t, n) {
|
|
200
|
-
const
|
|
201
|
-
if (
|
|
200
|
+
const s = t.value;
|
|
201
|
+
if (s && typeof s == "object") {
|
|
202
202
|
t.typed = !0, t.value = {};
|
|
203
|
-
for (const
|
|
204
|
-
const i = this.entries[
|
|
205
|
-
if (
|
|
206
|
-
const
|
|
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
|
|
208
|
+
const p = {
|
|
209
209
|
type: "object",
|
|
210
210
|
origin: "value",
|
|
211
|
-
input:
|
|
212
|
-
key:
|
|
213
|
-
value:
|
|
211
|
+
input: s,
|
|
212
|
+
key: o,
|
|
213
|
+
value: u
|
|
214
214
|
};
|
|
215
|
-
for (const
|
|
216
|
-
|
|
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[
|
|
223
|
-
} else if (i.fallback !== void 0) t.value[
|
|
224
|
-
else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (
|
|
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: `"${
|
|
226
|
+
expected: `"${o}"`,
|
|
227
227
|
path: [{
|
|
228
228
|
type: "object",
|
|
229
229
|
origin: "key",
|
|
230
|
-
input:
|
|
231
|
-
key:
|
|
232
|
-
value: o
|
|
230
|
+
input: s,
|
|
231
|
+
key: o,
|
|
232
|
+
value: s[o]
|
|
233
233
|
}]
|
|
234
234
|
}), n.abortEarly))
|
|
235
235
|
break;
|
|
236
236
|
}
|
|
237
|
-
} else
|
|
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__ */
|
|
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__ */
|
|
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
|
|
261
|
+
function R(e, r, t) {
|
|
262
262
|
return {
|
|
263
263
|
kind: "schema",
|
|
264
264
|
type: "record",
|
|
265
|
-
reference:
|
|
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__ */
|
|
272
|
+
return /* @__PURE__ */ h(this);
|
|
273
273
|
},
|
|
274
|
-
"~run"(n,
|
|
275
|
-
const
|
|
276
|
-
if (
|
|
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
|
|
279
|
-
const
|
|
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
|
|
281
|
+
const d = {
|
|
282
282
|
type: "object",
|
|
283
283
|
origin: "key",
|
|
284
|
-
input:
|
|
284
|
+
input: o,
|
|
285
285
|
key: i,
|
|
286
|
-
value:
|
|
286
|
+
value: u
|
|
287
287
|
};
|
|
288
|
-
for (const
|
|
289
|
-
|
|
290
|
-
if (n.issues || (n.issues = a.issues),
|
|
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
|
|
296
|
-
if (
|
|
297
|
-
const
|
|
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:
|
|
300
|
+
input: o,
|
|
301
301
|
key: i,
|
|
302
|
-
value:
|
|
302
|
+
value: u
|
|
303
303
|
};
|
|
304
|
-
for (const
|
|
305
|
-
|
|
306
|
-
if (n.issues || (n.issues =
|
|
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 || !
|
|
311
|
+
(!a.typed || !p.typed) && (n.typed = !1), a.typed && (n.value[a.value] = p.value);
|
|
312
312
|
}
|
|
313
|
-
} else
|
|
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__ */
|
|
328
|
+
return /* @__PURE__ */ h(this);
|
|
329
329
|
},
|
|
330
330
|
"~run"(r, t) {
|
|
331
|
-
return typeof r.value == "string" ? r.typed = !0 :
|
|
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
|
|
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
|
|
342
|
+
function G(e, r) {
|
|
343
343
|
return {
|
|
344
344
|
kind: "schema",
|
|
345
345
|
type: "union",
|
|
346
|
-
reference:
|
|
347
|
-
expects: /* @__PURE__ */
|
|
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__ */
|
|
352
|
+
return /* @__PURE__ */ h(this);
|
|
353
353
|
},
|
|
354
354
|
"~run"(t, n) {
|
|
355
|
-
let
|
|
356
|
-
for (const
|
|
357
|
-
const a =
|
|
358
|
-
if (a.typed) if (a.issues)
|
|
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
|
-
|
|
360
|
+
s = a;
|
|
361
361
|
break;
|
|
362
362
|
}
|
|
363
363
|
else i ? i.push(a) : i = [a];
|
|
364
364
|
}
|
|
365
|
-
if (
|
|
366
|
-
if (
|
|
367
|
-
if (
|
|
368
|
-
|
|
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
|
-
|
|
371
|
+
g(this, "type", t, n, { issues: /* @__PURE__ */ _(i) });
|
|
372
372
|
}
|
|
373
373
|
return t;
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
|
-
const
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
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
|
-
]),
|
|
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
|
-
|
|
423
|
-
const
|
|
422
|
+
v(["app", "engine", "connector", "context", "presenter", "tool"]);
|
|
423
|
+
const oe = /* @__PURE__ */ b({
|
|
424
424
|
id: /* @__PURE__ */ l(),
|
|
425
|
-
color:
|
|
425
|
+
color: re,
|
|
426
426
|
label: /* @__PURE__ */ l()
|
|
427
|
-
}),
|
|
427
|
+
}), T = {
|
|
428
428
|
id: /* @__PURE__ */ l(),
|
|
429
|
-
label:
|
|
430
|
-
description:
|
|
431
|
-
firstCreatedAt: /* @__PURE__ */ f(/* @__PURE__ */
|
|
432
|
-
icon: /* @__PURE__ */
|
|
433
|
-
iconDark: /* @__PURE__ */
|
|
434
|
-
lastUpdatedAt: /* @__PURE__ */
|
|
435
|
-
status: /* @__PURE__ */
|
|
436
|
-
statusId:
|
|
437
|
-
},
|
|
438
|
-
...
|
|
439
|
-
typeId:
|
|
440
|
-
}),
|
|
441
|
-
...
|
|
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
|
-
},
|
|
443
|
+
}, P = /* @__PURE__ */ b({
|
|
444
444
|
id: /* @__PURE__ */ l(),
|
|
445
|
-
label:
|
|
446
|
-
description:
|
|
447
|
-
icon: /* @__PURE__ */
|
|
448
|
-
iconDark: /* @__PURE__ */
|
|
449
|
-
order: /* @__PURE__ */
|
|
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
|
-
}),
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
{ id: "
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
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
|
-
]),
|
|
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
|
-
}),
|
|
481
|
-
authMethodId:
|
|
482
|
-
activeConnectionCount: /* @__PURE__ */ f(/* @__PURE__ */
|
|
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(
|
|
486
|
-
maxConnectionCount: /* @__PURE__ */ f(/* @__PURE__ */
|
|
487
|
-
params: /* @__PURE__ */ f(/* @__PURE__ */
|
|
488
|
-
}),
|
|
489
|
-
|
|
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__ */
|
|
492
|
-
categoryId:
|
|
493
|
-
implementations: /* @__PURE__ */
|
|
494
|
-
operations: /* @__PURE__ */
|
|
495
|
-
usageId:
|
|
496
|
-
vendorAccountURL: /* @__PURE__ */
|
|
497
|
-
vendorDocumentationURL: /* @__PURE__ */
|
|
498
|
-
vendorHomeURL: /* @__PURE__ */
|
|
499
|
-
}),
|
|
500
|
-
|
|
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__ */
|
|
503
|
-
order: /* @__PURE__ */
|
|
504
|
-
}),
|
|
505
|
-
|
|
519
|
+
modelRefs: /* @__PURE__ */ x(P),
|
|
520
|
+
order: /* @__PURE__ */ D()
|
|
521
|
+
}), Oe = /* @__PURE__ */ b({
|
|
522
|
+
...$,
|
|
506
523
|
typeId: /* @__PURE__ */ k("context"),
|
|
507
|
-
models: /* @__PURE__ */
|
|
508
|
-
operations: /* @__PURE__ */
|
|
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
|
-
|
|
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
|
|
530
|
+
super(r, n), this.name = "DataPosError", this.locator = t;
|
|
532
531
|
}
|
|
533
532
|
}
|
|
534
|
-
class
|
|
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
|
|
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
|
|
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
|
|
548
|
+
class z extends w {
|
|
550
549
|
body;
|
|
551
|
-
constructor(r, t, n,
|
|
552
|
-
super(r, t,
|
|
550
|
+
constructor(r, t, n, s) {
|
|
551
|
+
super(r, t, s), this.name = "FetchError", this.body = n;
|
|
553
552
|
}
|
|
554
553
|
}
|
|
555
|
-
class
|
|
554
|
+
class ye extends w {
|
|
556
555
|
componentName;
|
|
557
556
|
info;
|
|
558
|
-
constructor(r, t, n,
|
|
559
|
-
super(r, t,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
578
|
-
const n = `${r} Response status '${e.status}${e.statusText ?
|
|
579
|
-
return new
|
|
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
|
|
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
|
|
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
|
|
603
|
-
if (n instanceof
|
|
604
|
-
|
|
605
|
-
else if (n instanceof
|
|
606
|
-
|
|
607
|
-
else if (n instanceof
|
|
608
|
-
|
|
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
|
|
611
|
-
|
|
612
|
-
} else
|
|
613
|
-
|
|
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
|
|
618
|
-
|
|
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
|
|
676
|
+
function Pe(e) {
|
|
659
677
|
if (e) {
|
|
660
|
-
const r = e.lastIndexOf("/"), t = e.lastIndexOf(".", r
|
|
661
|
-
return t
|
|
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
|
|
682
|
+
function ze(e) {
|
|
665
683
|
if (e) {
|
|
666
684
|
const r = e.lastIndexOf(".");
|
|
667
|
-
if (r
|
|
685
|
+
if (r !== -1) return e.slice(Math.max(0, r + 1));
|
|
668
686
|
}
|
|
669
687
|
}
|
|
670
|
-
function
|
|
688
|
+
function m(e, r = 2, t = r, n = V) {
|
|
671
689
|
if (e == null) return "";
|
|
672
|
-
const
|
|
673
|
-
let
|
|
674
|
-
return
|
|
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
|
-
}),
|
|
699
|
+
}), C.set(s, o)), o.format(e);
|
|
682
700
|
}
|
|
683
|
-
function
|
|
684
|
-
return e == null ? "" : e < 1e3 ?
|
|
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
|
|
687
|
-
return e == null ? "" : e === 1 ? "1 byte" : e < 1024 ? `${
|
|
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
|
|
690
|
-
return e == null ? "" : e < 1e3 ? `${
|
|
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
|
|
710
|
+
function N(e, r = V) {
|
|
693
711
|
if (e == null) return "";
|
|
694
712
|
const t = `${r}decimal0.0`;
|
|
695
|
-
let n =
|
|
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
|
-
}),
|
|
721
|
+
}), C.set(t, n)), n.format(e);
|
|
704
722
|
}
|
|
705
|
-
function
|
|
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
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
{ id: "
|
|
727
|
-
{ id: "
|
|
728
|
-
|
|
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
|
|
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
|
-
},
|
|
758
|
+
}, xe = [
|
|
733
759
|
{ id: `
|
|
734
|
-
`,
|
|
735
|
-
{ id: "\r",
|
|
760
|
+
`, labels: c({ "en-gb": "Newline" }) },
|
|
761
|
+
{ id: "\r", labels: c({ "en-gb": "Carriage Return" }) },
|
|
736
762
|
{ id: `\r
|
|
737
|
-
`,
|
|
738
|
-
],
|
|
763
|
+
`, labels: c({ "en-gb": "Carriage Return/Newline" }) }
|
|
764
|
+
], Je = (e = I) => {
|
|
739
765
|
const r = [];
|
|
740
|
-
for (const t of
|
|
741
|
-
|
|
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
|
-
},
|
|
744
|
-
{ id: ":",
|
|
745
|
-
{ id: ",",
|
|
746
|
-
{ id: "!",
|
|
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",
|
|
749
|
-
{ id: ";",
|
|
750
|
-
{ id: " ",
|
|
751
|
-
{ id: " ",
|
|
752
|
-
{ id: "_",
|
|
753
|
-
{ id: "0x1F",
|
|
754
|
-
{ id: "|",
|
|
755
|
-
],
|
|
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
|
|
758
|
-
|
|
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
|
-
},
|
|
790
|
+
}, I = "en-gb";
|
|
761
791
|
export {
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
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
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
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
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
822
|
+
_e as presenterConfigSchema,
|
|
823
|
+
Le as serialiseError,
|
|
824
|
+
Ue as useCytoscapeJS,
|
|
825
|
+
Be as useDataTable
|
|
799
826
|
};
|