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