@datapos/datapos-shared 0.3.169 → 0.3.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,97 +1,106 @@
|
|
|
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/", w = "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: w };
|
|
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: w };
|
|
46
46
|
}
|
|
47
|
-
async function a(n, s,
|
|
48
|
-
await Promise.all([
|
|
49
|
-
const l = [],
|
|
47
|
+
async function a(n, s, m, h) {
|
|
48
|
+
await Promise.all([t(), o()]);
|
|
49
|
+
const l = [], p = [];
|
|
50
50
|
for (let f = 0; f < s.data.measures[0].data.length; f++)
|
|
51
|
-
|
|
52
|
-
l.push({ type: n.options.highchartsType, name: "Unknown", data:
|
|
53
|
-
const
|
|
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: w };
|
|
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
|
-
async function e(a,
|
|
84
|
-
await
|
|
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
|
+
async function e(a, t, o) {
|
|
84
|
+
await r(), o.textContent = "Micromark & Prism content goes here...";
|
|
85
85
|
}
|
|
86
|
-
async function
|
|
87
|
-
|
|
86
|
+
async function r() {
|
|
87
|
+
y && E || (y = await import(
|
|
88
88
|
/* @vite-ignore */
|
|
89
|
-
|
|
90
|
-
),
|
|
89
|
+
N
|
|
90
|
+
), E = await import(
|
|
91
|
+
/* @vite-ignore */
|
|
92
|
+
_
|
|
93
|
+
), await import(
|
|
94
|
+
/* @vite-ignore */
|
|
95
|
+
C
|
|
96
|
+
), await import(
|
|
97
|
+
/* @vite-ignore */
|
|
98
|
+
L
|
|
99
|
+
), console.log("micromarkModule", y), console.log("prismModule", E));
|
|
91
100
|
}
|
|
92
|
-
return { render: e };
|
|
101
|
+
return { micromarkModule: y, prismModule: E, render: e };
|
|
93
102
|
}
|
|
94
|
-
const
|
|
103
|
+
const z = 0, X = (e) => e, G = () => Date.now(), J = {
|
|
95
104
|
cartesian_areaLine: { categoryId: "cartesian", typeId: "areaLine", label: { "en-gb": "Area Line" }, options: { highchartsType: "area" } },
|
|
96
105
|
cartesian_areaSpline: { categoryId: "cartesian", typeId: "areaSpline", label: { "en-gb": "Area Spline" }, options: { highchartsType: "area" } },
|
|
97
106
|
cartesian_bar: { categoryId: "cartesian", typeId: "bar", label: { "en-gb": "Bar" }, options: { highchartsType: "bar" } },
|
|
@@ -110,92 +119,92 @@ const H = 0, P = (e) => e, W = () => Date.now(), z = {
|
|
|
110
119
|
streamgraph: { categoryId: "streamgraph", label: { "en-gb": "Streamgraph" }, options: {} },
|
|
111
120
|
values: { categoryId: "values", label: { "en-gb": "Values" }, options: {} }
|
|
112
121
|
};
|
|
113
|
-
class
|
|
122
|
+
class D extends Error {
|
|
114
123
|
locator;
|
|
115
|
-
constructor(
|
|
116
|
-
super(
|
|
124
|
+
constructor(r, a, t) {
|
|
125
|
+
super(r, t), this.name = "DataPosError", this.locator = a, Error.captureStackTrace?.(this, new.target);
|
|
117
126
|
}
|
|
118
127
|
}
|
|
119
|
-
class
|
|
120
|
-
constructor(
|
|
121
|
-
super(
|
|
128
|
+
class g extends D {
|
|
129
|
+
constructor(r, a, t) {
|
|
130
|
+
super(r, a, t), this.name = "ApplicationError";
|
|
122
131
|
}
|
|
123
132
|
}
|
|
124
|
-
class
|
|
125
|
-
constructor(
|
|
126
|
-
super(
|
|
133
|
+
class K extends g {
|
|
134
|
+
constructor(r, a, t) {
|
|
135
|
+
super(r, a, t), this.name = "APIError";
|
|
127
136
|
}
|
|
128
137
|
}
|
|
129
|
-
class
|
|
130
|
-
constructor(
|
|
131
|
-
super(
|
|
138
|
+
class q extends g {
|
|
139
|
+
constructor(r, a, t) {
|
|
140
|
+
super(r, a, t), this.name = "EngineError";
|
|
132
141
|
}
|
|
133
142
|
}
|
|
134
|
-
class v extends
|
|
143
|
+
class v extends g {
|
|
135
144
|
body;
|
|
136
|
-
constructor(
|
|
137
|
-
super(
|
|
145
|
+
constructor(r, a, t, o) {
|
|
146
|
+
super(r, a, o), this.name = "FetchError", this.body = t;
|
|
138
147
|
}
|
|
139
148
|
}
|
|
140
|
-
class
|
|
149
|
+
class $ extends g {
|
|
141
150
|
componentName;
|
|
142
151
|
info;
|
|
143
|
-
constructor(
|
|
144
|
-
super(
|
|
152
|
+
constructor(r, a, t, o, n) {
|
|
153
|
+
super(r, a, n), this.name = "VueHandledError", this.info = t, this.componentName = o;
|
|
145
154
|
}
|
|
146
155
|
}
|
|
147
|
-
class
|
|
148
|
-
constructor(
|
|
149
|
-
super(
|
|
156
|
+
class Q extends g {
|
|
157
|
+
constructor(r, a, t) {
|
|
158
|
+
super(r, a, t), this.name = "WindowHandledRuntimeError";
|
|
150
159
|
}
|
|
151
160
|
}
|
|
152
|
-
class
|
|
153
|
-
constructor(
|
|
154
|
-
super(
|
|
161
|
+
class Y extends g {
|
|
162
|
+
constructor(r, a, t) {
|
|
163
|
+
super(r, a, t), this.name = "WindowHandledPromiseRejectionError";
|
|
155
164
|
}
|
|
156
165
|
}
|
|
157
|
-
class
|
|
158
|
-
constructor(
|
|
159
|
-
super(
|
|
166
|
+
class Z extends D {
|
|
167
|
+
constructor(r, a, t) {
|
|
168
|
+
super(r, a, t), this.name = "OperationalError";
|
|
160
169
|
}
|
|
161
170
|
}
|
|
162
|
-
async function
|
|
163
|
-
const
|
|
164
|
-
return new v(
|
|
171
|
+
async function ee(e, r, a) {
|
|
172
|
+
const t = `${r} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`, o = await e.text();
|
|
173
|
+
return new v(t, a, o);
|
|
165
174
|
}
|
|
166
|
-
function
|
|
167
|
-
return e.map((
|
|
175
|
+
function te(e) {
|
|
176
|
+
return e.map((r) => r.message).join(" ");
|
|
168
177
|
}
|
|
169
|
-
function
|
|
178
|
+
function re(e, r = "Unknown error.") {
|
|
170
179
|
if (e instanceof Error) return e;
|
|
171
180
|
if (typeof e == "string") return new Error(e);
|
|
172
181
|
try {
|
|
173
|
-
return new Error(JSON.stringify(e ??
|
|
182
|
+
return new Error(JSON.stringify(e ?? r));
|
|
174
183
|
} catch {
|
|
175
|
-
return new Error(
|
|
184
|
+
return new Error(r);
|
|
176
185
|
}
|
|
177
186
|
}
|
|
178
|
-
function
|
|
179
|
-
const
|
|
180
|
-
let
|
|
181
|
-
for (;
|
|
182
|
-
|
|
187
|
+
function ae(e) {
|
|
188
|
+
const r = /* @__PURE__ */ new Set(), a = [];
|
|
189
|
+
let t = e;
|
|
190
|
+
for (; t && !r.has(t); ) {
|
|
191
|
+
r.add(t);
|
|
183
192
|
let o;
|
|
184
|
-
if (
|
|
185
|
-
o = { body:
|
|
186
|
-
else if (
|
|
187
|
-
o = { componentName:
|
|
188
|
-
else if (
|
|
189
|
-
o = { locator:
|
|
190
|
-
else if (
|
|
191
|
-
const n =
|
|
192
|
-
o = { locator: "", message: n.message, name: n.name, stack: n.stack },
|
|
193
|
-
} else
|
|
193
|
+
if (t instanceof v)
|
|
194
|
+
o = { body: t.body, locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
|
|
195
|
+
else if (t instanceof $)
|
|
196
|
+
o = { componentName: t.componentName, info: t.info, locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
|
|
197
|
+
else if (t instanceof D)
|
|
198
|
+
o = { locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
|
|
199
|
+
else if (t instanceof Error) {
|
|
200
|
+
const n = t;
|
|
201
|
+
o = { locator: "", message: n.message, name: n.name, stack: n.stack }, t = n.cause;
|
|
202
|
+
} else t ? (o = { locator: "", message: String(t), name: "Error" }, t = void 0) : (o = { locator: "", message: "Unknown error.", name: "Error" }, t = void 0);
|
|
194
203
|
/(?:\.{3}|[.!?])$/.test(o.message) || (o.message += "."), a.push(o);
|
|
195
204
|
}
|
|
196
205
|
return a;
|
|
197
206
|
}
|
|
198
|
-
const
|
|
207
|
+
const S = "en-US", I = {}, ne = (e) => {
|
|
199
208
|
switch (e) {
|
|
200
209
|
case "Edm.Binary":
|
|
201
210
|
return "unknown";
|
|
@@ -234,41 +243,41 @@ const R = "en-US", y = {}, ee = (e) => {
|
|
|
234
243
|
default:
|
|
235
244
|
return "unknown";
|
|
236
245
|
}
|
|
237
|
-
},
|
|
246
|
+
}, oe = (e) => {
|
|
238
247
|
if (e) {
|
|
239
|
-
const
|
|
248
|
+
const r = e.lastIndexOf("/"), a = e.lastIndexOf(".", r > -1 ? r : e.length);
|
|
240
249
|
return a > -1 ? e.substring(0, a) : e;
|
|
241
250
|
}
|
|
242
|
-
},
|
|
251
|
+
}, se = (e) => {
|
|
243
252
|
if (e) {
|
|
244
|
-
const
|
|
245
|
-
if (
|
|
253
|
+
const r = e.lastIndexOf(".");
|
|
254
|
+
if (r > -1) return e.substring(r + 1);
|
|
246
255
|
}
|
|
247
|
-
}, i = (e,
|
|
256
|
+
}, i = (e, r = 2, a = r, t = S) => {
|
|
248
257
|
if (e == null) return "";
|
|
249
|
-
const o = `${
|
|
250
|
-
let n =
|
|
251
|
-
return n || (n = new Intl.NumberFormat(
|
|
258
|
+
const o = `${t}decimal${r}.${a}`;
|
|
259
|
+
let n = I[o];
|
|
260
|
+
return n || (n = new Intl.NumberFormat(t, {
|
|
252
261
|
localeMatcher: "best fit",
|
|
253
|
-
maximumFractionDigits:
|
|
262
|
+
maximumFractionDigits: r,
|
|
254
263
|
minimumFractionDigits: a,
|
|
255
264
|
minimumIntegerDigits: 1,
|
|
256
265
|
style: "decimal",
|
|
257
266
|
useGrouping: !0
|
|
258
|
-
}),
|
|
259
|
-
},
|
|
267
|
+
}), I[o] = n), n.format(e);
|
|
268
|
+
}, 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) => {
|
|
260
269
|
if (e == null) return "";
|
|
261
|
-
const a = `${
|
|
262
|
-
let
|
|
263
|
-
return
|
|
270
|
+
const a = `${r}decimal0.0`;
|
|
271
|
+
let t = I[a];
|
|
272
|
+
return t || (t = new Intl.NumberFormat(r, {
|
|
264
273
|
localeMatcher: "best fit",
|
|
265
274
|
maximumFractionDigits: 0,
|
|
266
275
|
minimumFractionDigits: 0,
|
|
267
276
|
minimumIntegerDigits: 1,
|
|
268
277
|
style: "decimal",
|
|
269
278
|
useGrouping: !0
|
|
270
|
-
}),
|
|
271
|
-
},
|
|
279
|
+
}), I[a] = t), t.format(e);
|
|
280
|
+
}, de = (e) => {
|
|
272
281
|
switch (e) {
|
|
273
282
|
case "csv":
|
|
274
283
|
return "text/csv";
|
|
@@ -282,7 +291,7 @@ const R = "en-US", y = {}, ee = (e) => {
|
|
|
282
291
|
default:
|
|
283
292
|
return "application/octet-stream";
|
|
284
293
|
}
|
|
285
|
-
},
|
|
294
|
+
}, M = [
|
|
286
295
|
{ id: "dtv", label: { "en-gb": "Delimited Text" } },
|
|
287
296
|
{ id: "e/e", label: { "en-gb": "Entity/Event" } },
|
|
288
297
|
{ id: "jsonArray", label: { "en-gb": "JSON Array" } },
|
|
@@ -290,22 +299,22 @@ const R = "en-US", y = {}, ee = (e) => {
|
|
|
290
299
|
{ id: "xls", label: { "en-gb": "XLS" } },
|
|
291
300
|
{ id: "xlsx", label: { "en-gb": "XLSX" } },
|
|
292
301
|
{ id: "xml", label: { "en-gb": "XML" } }
|
|
293
|
-
],
|
|
294
|
-
const
|
|
295
|
-
for (const a of
|
|
296
|
-
return
|
|
297
|
-
},
|
|
302
|
+
], me = (e = d) => {
|
|
303
|
+
const r = [];
|
|
304
|
+
for (const a of M) r.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
305
|
+
return r;
|
|
306
|
+
}, j = [
|
|
298
307
|
{ id: `
|
|
299
308
|
`, label: { "en-gb": "Newline" } },
|
|
300
309
|
{ id: "\r", label: { "en-gb": "Carriage Return" } },
|
|
301
310
|
{ id: `\r
|
|
302
311
|
`, label: { "en-gb": "Carriage Return/Newline" } }
|
|
303
|
-
],
|
|
304
|
-
const
|
|
305
|
-
for (const a of
|
|
306
|
-
|
|
307
|
-
return
|
|
308
|
-
},
|
|
312
|
+
], ue = (e = d) => {
|
|
313
|
+
const r = [];
|
|
314
|
+
for (const a of j)
|
|
315
|
+
r.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
316
|
+
return r;
|
|
317
|
+
}, k = [
|
|
309
318
|
{ id: ":", label: { "en-gb": "Colon" } },
|
|
310
319
|
{ id: ",", label: { "en-gb": "Comma" } },
|
|
311
320
|
{ id: "!", label: { "en-gb": "Exclamation Mark" } },
|
|
@@ -317,12 +326,12 @@ const R = "en-US", y = {}, ee = (e) => {
|
|
|
317
326
|
{ id: "_", label: { "en-gb": "Underscore" } },
|
|
318
327
|
{ id: "0x1F", label: { "en-gb": "Unit Separator" } },
|
|
319
328
|
{ id: "|", label: { "en-gb": "Vertical Bar" } }
|
|
320
|
-
],
|
|
321
|
-
const
|
|
322
|
-
for (const a of
|
|
323
|
-
|
|
324
|
-
return
|
|
325
|
-
},
|
|
329
|
+
], pe = (e = d) => {
|
|
330
|
+
const r = [];
|
|
331
|
+
for (const a of k)
|
|
332
|
+
r.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
333
|
+
return r;
|
|
334
|
+
}, F = [
|
|
326
335
|
{ id: "alpha", color: "red", label: { "en-gb": "alpha" } },
|
|
327
336
|
{ id: "beta", color: "amber", label: { "en-gb": "beta" } },
|
|
328
337
|
{ id: "generalAvailability", color: "green", label: { "en-gb": "" } },
|
|
@@ -332,45 +341,45 @@ const R = "en-US", y = {}, ee = (e) => {
|
|
|
332
341
|
{ id: "releaseCandidate", color: "green", label: { "en-gb": "release-candidate" } },
|
|
333
342
|
{ id: "unavailable", color: "other", label: { "en-gb": "unavailable" } },
|
|
334
343
|
{ id: "underReview", color: "other", label: { "en-gb": "under-review" } }
|
|
335
|
-
],
|
|
336
|
-
const a =
|
|
337
|
-
return a ? { ...a, label: a.label[
|
|
344
|
+
], ge = (e, r = d) => {
|
|
345
|
+
const a = F.find((t) => t.id === e);
|
|
346
|
+
return a ? { ...a, label: a.label[r] || a.label[d] || e } : { id: e, color: "other", label: e };
|
|
338
347
|
}, d = "en-gb";
|
|
339
348
|
export {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
349
|
+
K as APIError,
|
|
350
|
+
g as ApplicationError,
|
|
351
|
+
U as CONNECTOR_DESTINATION_OPERATIONS,
|
|
352
|
+
P as CONNECTOR_SOURCE_OPERATIONS,
|
|
344
353
|
d as DEFAULT_LOCALE_CODE,
|
|
345
|
-
|
|
346
|
-
|
|
354
|
+
z as DefaultTimestamp,
|
|
355
|
+
q as EngineError,
|
|
347
356
|
v as FetchError,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
357
|
+
Z as OperationalError,
|
|
358
|
+
$ as VueError,
|
|
359
|
+
Y as WindowPromiseRejectionError,
|
|
360
|
+
Q as WindowRuntimeError,
|
|
361
|
+
ee as buildFetchError,
|
|
362
|
+
te as concatenateSerialisedErrorMessages,
|
|
363
|
+
X as convertMillisecondsToTimestamp,
|
|
364
|
+
ne as convertODataTypeIdToUsageTypeId,
|
|
365
|
+
se as extractExtensionFromPath,
|
|
366
|
+
oe as extractNameFromPath,
|
|
358
367
|
i as formatNumberAsDecimalNumber,
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
368
|
+
ce as formatNumberAsDuration,
|
|
369
|
+
ie as formatNumberAsSize,
|
|
370
|
+
le as formatNumberAsStorageSize,
|
|
371
|
+
x as formatNumberAsWholeNumber,
|
|
372
|
+
ge as getComponentStatus,
|
|
373
|
+
G as getCurrentTimestamp,
|
|
374
|
+
me as getDataFormats,
|
|
375
|
+
ue as getRecordDelimiters,
|
|
376
|
+
pe as getValueDelimiters,
|
|
377
|
+
de as lookupMimeTypeForExtension,
|
|
378
|
+
re as normalizeToError,
|
|
379
|
+
J as presentationViewTypeMap,
|
|
380
|
+
ae as serialiseError,
|
|
381
|
+
B as useCytoscapeJS,
|
|
382
|
+
W as useDataTable,
|
|
383
|
+
H as useHighcharts,
|
|
384
|
+
V as useMicromark
|
|
376
385
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { micromark } from 'micromark';
|
|
2
|
+
import { default as prism } from 'prismjs';
|
|
1
3
|
import { PresentationView, PresentationVisualContentConfig } from '../index';
|
|
2
4
|
export interface CytoscapeJSView extends PresentationView {
|
|
3
5
|
diagram: unknown;
|
|
4
6
|
}
|
|
5
7
|
export declare function useMicromark(): {
|
|
8
|
+
micromarkModule: typeof micromark | undefined;
|
|
9
|
+
prismModule: typeof prism | undefined;
|
|
6
10
|
render: (viewType: unknown, contentConfig: PresentationVisualContentConfig, element: HTMLElement) => Promise<void>;
|
|
7
11
|
};
|
package/package.json
CHANGED