@datapos/datapos-shared 0.3.176 → 0.3.179
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,100 +1,116 @@
|
|
|
1
|
-
const
|
|
2
|
-
function
|
|
3
|
-
function e(
|
|
4
|
-
|
|
1
|
+
const U = ["createObject", "dropObject", "removeRecords", "upsertRecords"], P = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"];
|
|
2
|
+
function B() {
|
|
3
|
+
function e(r, a, t) {
|
|
4
|
+
t.textContent = "Cytoscape.js diagram goes here...";
|
|
5
5
|
}
|
|
6
6
|
return { render: e };
|
|
7
7
|
}
|
|
8
|
-
function
|
|
9
|
-
function e(
|
|
10
|
-
|
|
8
|
+
function W() {
|
|
9
|
+
function e(r, a, t) {
|
|
10
|
+
t.textContent = "values table goes here...";
|
|
11
11
|
}
|
|
12
12
|
return { render: e };
|
|
13
13
|
}
|
|
14
|
-
const
|
|
15
|
-
let b,
|
|
16
|
-
function
|
|
17
|
-
async function e(n, s,
|
|
18
|
-
await
|
|
14
|
+
const A = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", D = "highcharts";
|
|
15
|
+
let b, R = !1;
|
|
16
|
+
function H() {
|
|
17
|
+
async function e(n, s, m, h) {
|
|
18
|
+
await t();
|
|
19
19
|
const l = [];
|
|
20
20
|
for (const c of s.data.measures)
|
|
21
21
|
l.push({ type: n.options.highchartsType, name: c.name, data: c.data });
|
|
22
|
-
const
|
|
22
|
+
const p = {
|
|
23
23
|
chart: { type: n.options.highchartsType },
|
|
24
24
|
plotOptions: { series: { borderColor: "#333" } },
|
|
25
25
|
series: l,
|
|
26
26
|
title: { text: s.title.text },
|
|
27
27
|
xAxis: { categories: s.data.categoryLabels },
|
|
28
28
|
yAxis: { title: { text: s.data.name } }
|
|
29
|
-
},
|
|
30
|
-
return { chart:
|
|
29
|
+
}, u = b.chart(m, p, h);
|
|
30
|
+
return { chart: u, resize: () => u.reflow(), vendorId: D };
|
|
31
31
|
}
|
|
32
|
-
async function
|
|
33
|
-
await Promise.all([
|
|
32
|
+
async function r(n, s, m, h) {
|
|
33
|
+
await Promise.all([t(), o()]);
|
|
34
34
|
const l = [];
|
|
35
35
|
for (const c of s.data.measures)
|
|
36
36
|
l.push({ type: n.options.highchartsType, name: c.name, data: c.data });
|
|
37
|
-
const
|
|
37
|
+
const p = {
|
|
38
38
|
chart: { polar: !0 },
|
|
39
39
|
plotOptions: { series: { borderColor: "#333" } },
|
|
40
40
|
series: l,
|
|
41
41
|
title: { text: s.title.text },
|
|
42
42
|
xAxis: { categories: s.data.categoryLabels },
|
|
43
43
|
yAxis: { title: { text: s.data.name } }
|
|
44
|
-
},
|
|
45
|
-
return { chart:
|
|
44
|
+
}, u = b.chart(m, p, h);
|
|
45
|
+
return { chart: u, resize: () => u.reflow(), vendorId: D };
|
|
46
46
|
}
|
|
47
|
-
async function a(n, s,
|
|
48
|
-
await Promise.all([
|
|
49
|
-
const l = [],
|
|
50
|
-
for (let
|
|
51
|
-
|
|
52
|
-
l.push({ type: n.options.highchartsType, name: "Unknown", data:
|
|
53
|
-
const
|
|
47
|
+
async function a(n, s, m, h) {
|
|
48
|
+
await Promise.all([t(), o()]);
|
|
49
|
+
const l = [], p = [];
|
|
50
|
+
for (let f = 0; f < s.data.measures[0].data.length; f++)
|
|
51
|
+
p.push([s.data.measures[0].data[f][0], s.data.measures[1].data[f][0]]);
|
|
52
|
+
l.push({ type: n.options.highchartsType, name: "Unknown", data: p });
|
|
53
|
+
const u = {
|
|
54
54
|
chart: { type: n.options.highchartsType, inverted: n.options.inverted },
|
|
55
55
|
plotOptions: { series: { borderColor: "#333" } },
|
|
56
56
|
series: l,
|
|
57
57
|
title: { text: s.title.text },
|
|
58
58
|
xAxis: { categories: s.data.categoryLabels },
|
|
59
59
|
yAxis: { title: { text: s.data.name } }
|
|
60
|
-
}, c = b.chart(
|
|
61
|
-
return { chart: c, resize: () => c.reflow(), vendorId:
|
|
60
|
+
}, c = b.chart(m, u, h);
|
|
61
|
+
return { chart: c, resize: () => c.reflow(), vendorId: D };
|
|
62
62
|
}
|
|
63
|
-
async function
|
|
63
|
+
async function t() {
|
|
64
64
|
if (b) return;
|
|
65
|
-
const n = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", s = `${n}highcharts.src.js`,
|
|
65
|
+
const n = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", s = `${n}highcharts.src.js`, m = `${n}modules/accessibility.src.js`;
|
|
66
66
|
b = (await import(
|
|
67
67
|
/* @vite-ignore */
|
|
68
68
|
s
|
|
69
69
|
)).default, await import(
|
|
70
70
|
/* @vite-ignore */
|
|
71
|
-
|
|
71
|
+
m
|
|
72
72
|
);
|
|
73
73
|
}
|
|
74
74
|
async function o() {
|
|
75
|
-
if (
|
|
76
|
-
await import(`${
|
|
75
|
+
if (R) return;
|
|
76
|
+
await import(`${A}highcharts-more.src.js`), R = !0;
|
|
77
77
|
}
|
|
78
|
-
return { renderCartesianChart: e, renderPolarChart:
|
|
78
|
+
return { renderCartesianChart: e, renderPolarChart: r, renderRangeChart: a };
|
|
79
79
|
}
|
|
80
|
-
const
|
|
81
|
-
let
|
|
82
|
-
function
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
const O = 4, N = `https://cdn.jsdelivr.net/npm/micromark@${O}/+esm`, T = 1, _ = `https://cdn.jsdelivr.net/npm/prismjs@${T}/+esm`, C = `https://cdn.jsdelivr.net/npm/prismjs@${T}/components/prism-javascript.min.js`, L = `https://cdn.jsdelivr.net/npm/prismjs@${T}/components/prism-javascript.min.js`;
|
|
81
|
+
let y, E;
|
|
82
|
+
function V() {
|
|
83
|
+
function e() {
|
|
84
|
+
return { micromarkModule: y, prismModule: E };
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
|
|
86
|
+
async function r() {
|
|
87
|
+
await a();
|
|
88
88
|
}
|
|
89
89
|
async function a() {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
if (y && E) return;
|
|
91
|
+
const t = await Promise.all([
|
|
92
|
+
import(
|
|
93
|
+
/* @vite-ignore */
|
|
94
|
+
N
|
|
95
|
+
),
|
|
96
|
+
import(
|
|
97
|
+
/* @vite-ignore */
|
|
98
|
+
_
|
|
99
|
+
),
|
|
100
|
+
import(
|
|
101
|
+
/* @vite-ignore */
|
|
102
|
+
C
|
|
103
|
+
),
|
|
104
|
+
import(
|
|
105
|
+
/* @vite-ignore */
|
|
106
|
+
L
|
|
107
|
+
)
|
|
108
|
+
]);
|
|
109
|
+
y = t[0], E = t[1], console.log("micromarkModule", y), console.log("prismModule", E);
|
|
94
110
|
}
|
|
95
|
-
return { getStuff:
|
|
111
|
+
return { getStuff: e, render: r };
|
|
96
112
|
}
|
|
97
|
-
const
|
|
113
|
+
const z = 0, X = (e) => e, G = () => Date.now(), J = {
|
|
98
114
|
cartesian_areaLine: { categoryId: "cartesian", typeId: "areaLine", label: { "en-gb": "Area Line" }, options: { highchartsType: "area" } },
|
|
99
115
|
cartesian_areaSpline: { categoryId: "cartesian", typeId: "areaSpline", label: { "en-gb": "Area Spline" }, options: { highchartsType: "area" } },
|
|
100
116
|
cartesian_bar: { categoryId: "cartesian", typeId: "bar", label: { "en-gb": "Bar" }, options: { highchartsType: "bar" } },
|
|
@@ -113,92 +129,92 @@ const H = 0, P = (e) => e, W = () => Date.now(), z = {
|
|
|
113
129
|
streamgraph: { categoryId: "streamgraph", label: { "en-gb": "Streamgraph" }, options: {} },
|
|
114
130
|
values: { categoryId: "values", label: { "en-gb": "Values" }, options: {} }
|
|
115
131
|
};
|
|
116
|
-
class
|
|
132
|
+
class w extends Error {
|
|
117
133
|
locator;
|
|
118
|
-
constructor(
|
|
119
|
-
super(
|
|
134
|
+
constructor(r, a, t) {
|
|
135
|
+
super(r, t), this.name = "DataPosError", this.locator = a, Error.captureStackTrace?.(this, new.target);
|
|
120
136
|
}
|
|
121
137
|
}
|
|
122
|
-
class
|
|
123
|
-
constructor(
|
|
124
|
-
super(
|
|
138
|
+
class g extends w {
|
|
139
|
+
constructor(r, a, t) {
|
|
140
|
+
super(r, a, t), this.name = "ApplicationError";
|
|
125
141
|
}
|
|
126
142
|
}
|
|
127
|
-
class
|
|
128
|
-
constructor(
|
|
129
|
-
super(
|
|
143
|
+
class K extends g {
|
|
144
|
+
constructor(r, a, t) {
|
|
145
|
+
super(r, a, t), this.name = "APIError";
|
|
130
146
|
}
|
|
131
147
|
}
|
|
132
|
-
class
|
|
133
|
-
constructor(
|
|
134
|
-
super(
|
|
148
|
+
class q extends g {
|
|
149
|
+
constructor(r, a, t) {
|
|
150
|
+
super(r, a, t), this.name = "EngineError";
|
|
135
151
|
}
|
|
136
152
|
}
|
|
137
|
-
class v extends
|
|
153
|
+
class v extends g {
|
|
138
154
|
body;
|
|
139
|
-
constructor(
|
|
140
|
-
super(
|
|
155
|
+
constructor(r, a, t, o) {
|
|
156
|
+
super(r, a, o), this.name = "FetchError", this.body = t;
|
|
141
157
|
}
|
|
142
158
|
}
|
|
143
|
-
class
|
|
159
|
+
class $ extends g {
|
|
144
160
|
componentName;
|
|
145
161
|
info;
|
|
146
|
-
constructor(
|
|
147
|
-
super(
|
|
162
|
+
constructor(r, a, t, o, n) {
|
|
163
|
+
super(r, a, n), this.name = "VueHandledError", this.info = t, this.componentName = o;
|
|
148
164
|
}
|
|
149
165
|
}
|
|
150
|
-
class
|
|
151
|
-
constructor(
|
|
152
|
-
super(
|
|
166
|
+
class Q extends g {
|
|
167
|
+
constructor(r, a, t) {
|
|
168
|
+
super(r, a, t), this.name = "WindowHandledRuntimeError";
|
|
153
169
|
}
|
|
154
170
|
}
|
|
155
|
-
class
|
|
156
|
-
constructor(
|
|
157
|
-
super(
|
|
171
|
+
class Y extends g {
|
|
172
|
+
constructor(r, a, t) {
|
|
173
|
+
super(r, a, t), this.name = "WindowHandledPromiseRejectionError";
|
|
158
174
|
}
|
|
159
175
|
}
|
|
160
|
-
class
|
|
161
|
-
constructor(
|
|
162
|
-
super(
|
|
176
|
+
class Z extends w {
|
|
177
|
+
constructor(r, a, t) {
|
|
178
|
+
super(r, a, t), this.name = "OperationalError";
|
|
163
179
|
}
|
|
164
180
|
}
|
|
165
|
-
async function
|
|
166
|
-
const
|
|
167
|
-
return new v(
|
|
181
|
+
async function ee(e, r, a) {
|
|
182
|
+
const t = `${r} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`, o = await e.text();
|
|
183
|
+
return new v(t, a, o);
|
|
168
184
|
}
|
|
169
|
-
function
|
|
170
|
-
return e.map((
|
|
185
|
+
function te(e) {
|
|
186
|
+
return e.map((r) => r.message).join(" ");
|
|
171
187
|
}
|
|
172
|
-
function
|
|
188
|
+
function re(e, r = "Unknown error.") {
|
|
173
189
|
if (e instanceof Error) return e;
|
|
174
190
|
if (typeof e == "string") return new Error(e);
|
|
175
191
|
try {
|
|
176
|
-
return new Error(JSON.stringify(e ??
|
|
192
|
+
return new Error(JSON.stringify(e ?? r));
|
|
177
193
|
} catch {
|
|
178
|
-
return new Error(
|
|
194
|
+
return new Error(r);
|
|
179
195
|
}
|
|
180
196
|
}
|
|
181
|
-
function
|
|
182
|
-
const
|
|
183
|
-
let
|
|
184
|
-
for (;
|
|
185
|
-
|
|
197
|
+
function ae(e) {
|
|
198
|
+
const r = /* @__PURE__ */ new Set(), a = [];
|
|
199
|
+
let t = e;
|
|
200
|
+
for (; t && !r.has(t); ) {
|
|
201
|
+
r.add(t);
|
|
186
202
|
let o;
|
|
187
|
-
if (
|
|
188
|
-
o = { body:
|
|
189
|
-
else if (
|
|
190
|
-
o = { componentName:
|
|
191
|
-
else if (
|
|
192
|
-
o = { locator:
|
|
193
|
-
else if (
|
|
194
|
-
const n =
|
|
195
|
-
o = { locator: "", message: n.message, name: n.name, stack: n.stack },
|
|
196
|
-
} else
|
|
203
|
+
if (t instanceof v)
|
|
204
|
+
o = { body: t.body, locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
|
|
205
|
+
else if (t instanceof $)
|
|
206
|
+
o = { componentName: t.componentName, info: t.info, locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
|
|
207
|
+
else if (t instanceof w)
|
|
208
|
+
o = { locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
|
|
209
|
+
else if (t instanceof Error) {
|
|
210
|
+
const n = t;
|
|
211
|
+
o = { locator: "", message: n.message, name: n.name, stack: n.stack }, t = n.cause;
|
|
212
|
+
} else t ? (o = { locator: "", message: String(t), name: "Error" }, t = void 0) : (o = { locator: "", message: "Unknown error.", name: "Error" }, t = void 0);
|
|
197
213
|
/(?:\.{3}|[.!?])$/.test(o.message) || (o.message += "."), a.push(o);
|
|
198
214
|
}
|
|
199
215
|
return a;
|
|
200
216
|
}
|
|
201
|
-
const
|
|
217
|
+
const S = "en-US", I = {}, ne = (e) => {
|
|
202
218
|
switch (e) {
|
|
203
219
|
case "Edm.Binary":
|
|
204
220
|
return "unknown";
|
|
@@ -237,41 +253,41 @@ const R = "en-US", x = {}, ee = (e) => {
|
|
|
237
253
|
default:
|
|
238
254
|
return "unknown";
|
|
239
255
|
}
|
|
240
|
-
},
|
|
256
|
+
}, oe = (e) => {
|
|
241
257
|
if (e) {
|
|
242
|
-
const
|
|
258
|
+
const r = e.lastIndexOf("/"), a = e.lastIndexOf(".", r > -1 ? r : e.length);
|
|
243
259
|
return a > -1 ? e.substring(0, a) : e;
|
|
244
260
|
}
|
|
245
|
-
},
|
|
261
|
+
}, se = (e) => {
|
|
246
262
|
if (e) {
|
|
247
|
-
const
|
|
248
|
-
if (
|
|
263
|
+
const r = e.lastIndexOf(".");
|
|
264
|
+
if (r > -1) return e.substring(r + 1);
|
|
249
265
|
}
|
|
250
|
-
}, i = (e,
|
|
266
|
+
}, i = (e, r = 2, a = r, t = S) => {
|
|
251
267
|
if (e == null) return "";
|
|
252
|
-
const o = `${
|
|
253
|
-
let n =
|
|
254
|
-
return n || (n = new Intl.NumberFormat(
|
|
268
|
+
const o = `${t}decimal${r}.${a}`;
|
|
269
|
+
let n = I[o];
|
|
270
|
+
return n || (n = new Intl.NumberFormat(t, {
|
|
255
271
|
localeMatcher: "best fit",
|
|
256
|
-
maximumFractionDigits:
|
|
272
|
+
maximumFractionDigits: r,
|
|
257
273
|
minimumFractionDigits: a,
|
|
258
274
|
minimumIntegerDigits: 1,
|
|
259
275
|
style: "decimal",
|
|
260
276
|
useGrouping: !0
|
|
261
|
-
}),
|
|
262
|
-
},
|
|
277
|
+
}), I[o] = n), n.format(e);
|
|
278
|
+
}, ie = (e) => e == null ? "" : e < 1e3 ? x(e) : e < 1e6 ? `${i(e / 1e3, 2, 0)}K` : e < 1e9 ? `${i(e / 1e6, 2, 0)}M` : e < 1e12 ? `${i(e / 1e9, 2, 0)}B` : `${i(e / 1e12, 2, 0)}T`, le = (e) => e == null ? "" : e === 1 ? "1 byte" : e < 1024 ? `${x(e)} bytes` : e < 1048576 ? `${i(e / 1024, 2, 0)} KB` : e < 1073741824 ? `${i(e / 1048576, 2, 0)} MB` : e < 1099511627776 ? `${i(e / 1073741824, 2, 0)} GB` : `${i(e / 1099511627776, 2, 0)} TB`, ce = (e) => e == null ? "" : e < 1e3 ? `${x(e)} ms` : e === 1e3 ? `${x(e)} sec` : e < 6e4 ? `${i(e / 1e3, 2, 0)} secs` : e === 6e4 ? "1 min" : e < 36e5 ? `${i(e / 6e4, 2, 0)} mins` : e === 36e5 ? "1 hr" : e < 864e5 ? `${i(e / 36e5, 2, 0)} hrs` : e === 864e5 ? "1 day" : `${i(e / 864e5, 2, 0)} days`, x = (e, r = S) => {
|
|
263
279
|
if (e == null) return "";
|
|
264
|
-
const a = `${
|
|
265
|
-
let
|
|
266
|
-
return
|
|
280
|
+
const a = `${r}decimal0.0`;
|
|
281
|
+
let t = I[a];
|
|
282
|
+
return t || (t = new Intl.NumberFormat(r, {
|
|
267
283
|
localeMatcher: "best fit",
|
|
268
284
|
maximumFractionDigits: 0,
|
|
269
285
|
minimumFractionDigits: 0,
|
|
270
286
|
minimumIntegerDigits: 1,
|
|
271
287
|
style: "decimal",
|
|
272
288
|
useGrouping: !0
|
|
273
|
-
}),
|
|
274
|
-
},
|
|
289
|
+
}), I[a] = t), t.format(e);
|
|
290
|
+
}, de = (e) => {
|
|
275
291
|
switch (e) {
|
|
276
292
|
case "csv":
|
|
277
293
|
return "text/csv";
|
|
@@ -285,7 +301,7 @@ const R = "en-US", x = {}, ee = (e) => {
|
|
|
285
301
|
default:
|
|
286
302
|
return "application/octet-stream";
|
|
287
303
|
}
|
|
288
|
-
},
|
|
304
|
+
}, M = [
|
|
289
305
|
{ id: "dtv", label: { "en-gb": "Delimited Text" } },
|
|
290
306
|
{ id: "e/e", label: { "en-gb": "Entity/Event" } },
|
|
291
307
|
{ id: "jsonArray", label: { "en-gb": "JSON Array" } },
|
|
@@ -293,22 +309,22 @@ const R = "en-US", x = {}, ee = (e) => {
|
|
|
293
309
|
{ id: "xls", label: { "en-gb": "XLS" } },
|
|
294
310
|
{ id: "xlsx", label: { "en-gb": "XLSX" } },
|
|
295
311
|
{ id: "xml", label: { "en-gb": "XML" } }
|
|
296
|
-
],
|
|
297
|
-
const
|
|
298
|
-
for (const a of
|
|
299
|
-
return
|
|
300
|
-
},
|
|
312
|
+
], me = (e = d) => {
|
|
313
|
+
const r = [];
|
|
314
|
+
for (const a of M) r.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
315
|
+
return r;
|
|
316
|
+
}, j = [
|
|
301
317
|
{ id: `
|
|
302
318
|
`, label: { "en-gb": "Newline" } },
|
|
303
319
|
{ id: "\r", label: { "en-gb": "Carriage Return" } },
|
|
304
320
|
{ id: `\r
|
|
305
321
|
`, label: { "en-gb": "Carriage Return/Newline" } }
|
|
306
|
-
],
|
|
307
|
-
const
|
|
308
|
-
for (const a of
|
|
309
|
-
|
|
310
|
-
return
|
|
311
|
-
},
|
|
322
|
+
], ue = (e = d) => {
|
|
323
|
+
const r = [];
|
|
324
|
+
for (const a of j)
|
|
325
|
+
r.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
326
|
+
return r;
|
|
327
|
+
}, k = [
|
|
312
328
|
{ id: ":", label: { "en-gb": "Colon" } },
|
|
313
329
|
{ id: ",", label: { "en-gb": "Comma" } },
|
|
314
330
|
{ id: "!", label: { "en-gb": "Exclamation Mark" } },
|
|
@@ -320,12 +336,12 @@ const R = "en-US", x = {}, ee = (e) => {
|
|
|
320
336
|
{ id: "_", label: { "en-gb": "Underscore" } },
|
|
321
337
|
{ id: "0x1F", label: { "en-gb": "Unit Separator" } },
|
|
322
338
|
{ id: "|", label: { "en-gb": "Vertical Bar" } }
|
|
323
|
-
],
|
|
324
|
-
const
|
|
325
|
-
for (const a of
|
|
326
|
-
|
|
327
|
-
return
|
|
328
|
-
},
|
|
339
|
+
], pe = (e = d) => {
|
|
340
|
+
const r = [];
|
|
341
|
+
for (const a of k)
|
|
342
|
+
r.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
343
|
+
return r;
|
|
344
|
+
}, F = [
|
|
329
345
|
{ id: "alpha", color: "red", label: { "en-gb": "alpha" } },
|
|
330
346
|
{ id: "beta", color: "amber", label: { "en-gb": "beta" } },
|
|
331
347
|
{ id: "generalAvailability", color: "green", label: { "en-gb": "" } },
|
|
@@ -335,45 +351,45 @@ const R = "en-US", x = {}, ee = (e) => {
|
|
|
335
351
|
{ id: "releaseCandidate", color: "green", label: { "en-gb": "release-candidate" } },
|
|
336
352
|
{ id: "unavailable", color: "other", label: { "en-gb": "unavailable" } },
|
|
337
353
|
{ id: "underReview", color: "other", label: { "en-gb": "under-review" } }
|
|
338
|
-
],
|
|
339
|
-
const a =
|
|
340
|
-
return a ? { ...a, label: a.label[
|
|
354
|
+
], ge = (e, r = d) => {
|
|
355
|
+
const a = F.find((t) => t.id === e);
|
|
356
|
+
return a ? { ...a, label: a.label[r] || a.label[d] || e } : { id: e, color: "other", label: e };
|
|
341
357
|
}, d = "en-gb";
|
|
342
358
|
export {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
359
|
+
K as APIError,
|
|
360
|
+
g as ApplicationError,
|
|
361
|
+
U as CONNECTOR_DESTINATION_OPERATIONS,
|
|
362
|
+
P as CONNECTOR_SOURCE_OPERATIONS,
|
|
347
363
|
d as DEFAULT_LOCALE_CODE,
|
|
348
|
-
|
|
349
|
-
|
|
364
|
+
z as DefaultTimestamp,
|
|
365
|
+
q as EngineError,
|
|
350
366
|
v as FetchError,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
367
|
+
Z as OperationalError,
|
|
368
|
+
$ as VueError,
|
|
369
|
+
Y as WindowPromiseRejectionError,
|
|
370
|
+
Q as WindowRuntimeError,
|
|
371
|
+
ee as buildFetchError,
|
|
372
|
+
te as concatenateSerialisedErrorMessages,
|
|
373
|
+
X as convertMillisecondsToTimestamp,
|
|
374
|
+
ne as convertODataTypeIdToUsageTypeId,
|
|
375
|
+
se as extractExtensionFromPath,
|
|
376
|
+
oe as extractNameFromPath,
|
|
361
377
|
i as formatNumberAsDecimalNumber,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
378
|
+
ce as formatNumberAsDuration,
|
|
379
|
+
ie as formatNumberAsSize,
|
|
380
|
+
le as formatNumberAsStorageSize,
|
|
381
|
+
x as formatNumberAsWholeNumber,
|
|
382
|
+
ge as getComponentStatus,
|
|
383
|
+
G as getCurrentTimestamp,
|
|
384
|
+
me as getDataFormats,
|
|
385
|
+
ue as getRecordDelimiters,
|
|
386
|
+
pe as getValueDelimiters,
|
|
387
|
+
de as lookupMimeTypeForExtension,
|
|
388
|
+
re as normalizeToError,
|
|
389
|
+
J as presentationViewTypeMap,
|
|
390
|
+
ae as serialiseError,
|
|
391
|
+
B as useCytoscapeJS,
|
|
392
|
+
W as useDataTable,
|
|
393
|
+
H as useHighcharts,
|
|
394
|
+
V as useMicromark
|
|
379
395
|
};
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { micromark } from 'micromark';
|
|
2
2
|
import { default as prism } from 'prismjs';
|
|
3
|
-
import { PresentationView } from '../index';
|
|
4
|
-
export interface CytoscapeJSView extends PresentationView {
|
|
5
|
-
diagram: unknown;
|
|
6
|
-
}
|
|
7
3
|
export declare function useMicromark(): {
|
|
8
4
|
getStuff: () => {
|
|
9
5
|
micromarkModule: typeof micromark | undefined;
|
|
10
6
|
prismModule: typeof prism | undefined;
|
|
11
7
|
};
|
|
12
|
-
micromarkModule: typeof micromark | undefined;
|
|
13
|
-
prismModule: typeof prism | undefined;
|
|
14
8
|
render: () => Promise<void>;
|
|
15
9
|
};
|
package/package.json
CHANGED