@datapos/datapos-shared 0.3.194 → 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 P() {
|
|
|
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,31 +73,40 @@ function P() {
|
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
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;
|
|
97
106
|
}
|
|
98
107
|
return { getStuff: e, render: a };
|
|
99
108
|
}
|
|
100
|
-
const
|
|
109
|
+
const X = 0, G = (e) => e, z = () => Date.now(), K = {
|
|
101
110
|
cartesian_areaLine: { categoryId: "cartesian", typeId: "areaLine", label: { "en-gb": "Area Line" }, options: { highchartsType: "area" } },
|
|
102
111
|
cartesian_areaSpline: { categoryId: "cartesian", typeId: "areaSpline", label: { "en-gb": "Area Spline" }, options: { highchartsType: "area" } },
|
|
103
112
|
cartesian_bar: { categoryId: "cartesian", typeId: "bar", label: { "en-gb": "Bar" }, options: { highchartsType: "bar" } },
|
|
@@ -118,61 +127,61 @@ const W = 0, H = (e) => e, z = () => Date.now(), V = {
|
|
|
118
127
|
};
|
|
119
128
|
class w extends Error {
|
|
120
129
|
locator;
|
|
121
|
-
constructor(a,
|
|
122
|
-
super(a,
|
|
130
|
+
constructor(a, r, t) {
|
|
131
|
+
super(a, t), this.name = "DataPosError", this.locator = r, Error.captureStackTrace?.(this, new.target);
|
|
123
132
|
}
|
|
124
133
|
}
|
|
125
134
|
class g extends w {
|
|
126
|
-
constructor(a,
|
|
127
|
-
super(a,
|
|
135
|
+
constructor(a, r, t) {
|
|
136
|
+
super(a, r, t), this.name = "ApplicationError";
|
|
128
137
|
}
|
|
129
138
|
}
|
|
130
|
-
class
|
|
131
|
-
constructor(a,
|
|
132
|
-
super(a,
|
|
139
|
+
class J extends g {
|
|
140
|
+
constructor(a, r, t) {
|
|
141
|
+
super(a, r, t), this.name = "APIError";
|
|
133
142
|
}
|
|
134
143
|
}
|
|
135
|
-
class
|
|
136
|
-
constructor(a,
|
|
137
|
-
super(a,
|
|
144
|
+
class q extends g {
|
|
145
|
+
constructor(a, r, t) {
|
|
146
|
+
super(a, r, t), this.name = "EngineError";
|
|
138
147
|
}
|
|
139
148
|
}
|
|
140
|
-
class
|
|
149
|
+
class N extends g {
|
|
141
150
|
body;
|
|
142
|
-
constructor(a,
|
|
143
|
-
super(a,
|
|
151
|
+
constructor(a, r, t, o) {
|
|
152
|
+
super(a, r, o), this.name = "FetchError", this.body = t;
|
|
144
153
|
}
|
|
145
154
|
}
|
|
146
|
-
class
|
|
155
|
+
class $ extends g {
|
|
147
156
|
componentName;
|
|
148
157
|
info;
|
|
149
|
-
constructor(a,
|
|
150
|
-
super(a,
|
|
158
|
+
constructor(a, r, t, o, n) {
|
|
159
|
+
super(a, r, n), this.name = "VueHandledError", this.info = t, this.componentName = o;
|
|
151
160
|
}
|
|
152
161
|
}
|
|
153
|
-
class
|
|
154
|
-
constructor(a,
|
|
155
|
-
super(a,
|
|
162
|
+
class Q extends g {
|
|
163
|
+
constructor(a, r, t) {
|
|
164
|
+
super(a, r, t), this.name = "WindowHandledRuntimeError";
|
|
156
165
|
}
|
|
157
166
|
}
|
|
158
|
-
class
|
|
159
|
-
constructor(a,
|
|
160
|
-
super(a,
|
|
167
|
+
class Y extends g {
|
|
168
|
+
constructor(a, r, t) {
|
|
169
|
+
super(a, r, t), this.name = "WindowHandledPromiseRejectionError";
|
|
161
170
|
}
|
|
162
171
|
}
|
|
163
|
-
class
|
|
164
|
-
constructor(a,
|
|
165
|
-
super(a,
|
|
172
|
+
class Z extends w {
|
|
173
|
+
constructor(a, r, t) {
|
|
174
|
+
super(a, r, t), this.name = "OperationalError";
|
|
166
175
|
}
|
|
167
176
|
}
|
|
168
|
-
async function
|
|
169
|
-
const
|
|
170
|
-
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);
|
|
171
180
|
}
|
|
172
|
-
function
|
|
181
|
+
function te(e) {
|
|
173
182
|
return e.map((a) => a.message).join(" ");
|
|
174
183
|
}
|
|
175
|
-
function
|
|
184
|
+
function re(e, a = "Unknown error.") {
|
|
176
185
|
if (e instanceof Error) return e;
|
|
177
186
|
if (typeof e == "string") return new Error(e);
|
|
178
187
|
try {
|
|
@@ -181,27 +190,27 @@ function Z(e, a = "Unknown error.") {
|
|
|
181
190
|
return new Error(a);
|
|
182
191
|
}
|
|
183
192
|
}
|
|
184
|
-
function
|
|
185
|
-
const a = /* @__PURE__ */ new Set(),
|
|
186
|
-
let
|
|
187
|
-
for (;
|
|
188
|
-
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);
|
|
189
198
|
let o;
|
|
190
|
-
if (
|
|
191
|
-
o = { body:
|
|
192
|
-
else if (
|
|
193
|
-
o = { componentName:
|
|
194
|
-
else if (
|
|
195
|
-
o = { locator:
|
|
196
|
-
else if (
|
|
197
|
-
const n =
|
|
198
|
-
o = { locator: "", message: n.message, name: n.name, stack: n.stack },
|
|
199
|
-
} else
|
|
200
|
-
/(?:\.{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);
|
|
201
210
|
}
|
|
202
|
-
return
|
|
211
|
+
return r;
|
|
203
212
|
}
|
|
204
|
-
const R = "en-US", y = {},
|
|
213
|
+
const R = "en-US", y = {}, ne = (e) => {
|
|
205
214
|
switch (e) {
|
|
206
215
|
case "Edm.Binary":
|
|
207
216
|
return "unknown";
|
|
@@ -240,41 +249,41 @@ const R = "en-US", y = {}, re = (e) => {
|
|
|
240
249
|
default:
|
|
241
250
|
return "unknown";
|
|
242
251
|
}
|
|
243
|
-
},
|
|
252
|
+
}, oe = (e) => {
|
|
244
253
|
if (e) {
|
|
245
|
-
const a = e.lastIndexOf("/"),
|
|
246
|
-
return
|
|
254
|
+
const a = e.lastIndexOf("/"), r = e.lastIndexOf(".", a > -1 ? a : e.length);
|
|
255
|
+
return r > -1 ? e.substring(0, r) : e;
|
|
247
256
|
}
|
|
248
|
-
},
|
|
257
|
+
}, se = (e) => {
|
|
249
258
|
if (e) {
|
|
250
259
|
const a = e.lastIndexOf(".");
|
|
251
260
|
if (a > -1) return e.substring(a + 1);
|
|
252
261
|
}
|
|
253
|
-
}, i = (e, a = 2,
|
|
262
|
+
}, i = (e, a = 2, r = a, t = R) => {
|
|
254
263
|
if (e == null) return "";
|
|
255
|
-
const o = `${
|
|
264
|
+
const o = `${t}decimal${a}.${r}`;
|
|
256
265
|
let n = y[o];
|
|
257
|
-
return n || (n = new Intl.NumberFormat(
|
|
266
|
+
return n || (n = new Intl.NumberFormat(t, {
|
|
258
267
|
localeMatcher: "best fit",
|
|
259
268
|
maximumFractionDigits: a,
|
|
260
|
-
minimumFractionDigits:
|
|
269
|
+
minimumFractionDigits: r,
|
|
261
270
|
minimumIntegerDigits: 1,
|
|
262
271
|
style: "decimal",
|
|
263
272
|
useGrouping: !0
|
|
264
273
|
}), y[o] = n), n.format(e);
|
|
265
|
-
},
|
|
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) => {
|
|
266
275
|
if (e == null) return "";
|
|
267
|
-
const
|
|
268
|
-
let
|
|
269
|
-
return
|
|
276
|
+
const r = `${a}decimal0.0`;
|
|
277
|
+
let t = y[r];
|
|
278
|
+
return t || (t = new Intl.NumberFormat(a, {
|
|
270
279
|
localeMatcher: "best fit",
|
|
271
280
|
maximumFractionDigits: 0,
|
|
272
281
|
minimumFractionDigits: 0,
|
|
273
282
|
minimumIntegerDigits: 1,
|
|
274
283
|
style: "decimal",
|
|
275
284
|
useGrouping: !0
|
|
276
|
-
}), y[
|
|
277
|
-
},
|
|
285
|
+
}), y[r] = t), t.format(e);
|
|
286
|
+
}, de = (e) => {
|
|
278
287
|
switch (e) {
|
|
279
288
|
case "csv":
|
|
280
289
|
return "text/csv";
|
|
@@ -288,7 +297,7 @@ const R = "en-US", y = {}, re = (e) => {
|
|
|
288
297
|
default:
|
|
289
298
|
return "application/octet-stream";
|
|
290
299
|
}
|
|
291
|
-
},
|
|
300
|
+
}, k = [
|
|
292
301
|
{ id: "dtv", label: { "en-gb": "Delimited Text" } },
|
|
293
302
|
{ id: "e/e", label: { "en-gb": "Entity/Event" } },
|
|
294
303
|
{ id: "jsonArray", label: { "en-gb": "JSON Array" } },
|
|
@@ -296,22 +305,22 @@ const R = "en-US", y = {}, re = (e) => {
|
|
|
296
305
|
{ id: "xls", label: { "en-gb": "XLS" } },
|
|
297
306
|
{ id: "xlsx", label: { "en-gb": "XLSX" } },
|
|
298
307
|
{ id: "xml", label: { "en-gb": "XML" } }
|
|
299
|
-
],
|
|
308
|
+
], me = (e = d) => {
|
|
300
309
|
const a = [];
|
|
301
|
-
for (const
|
|
310
|
+
for (const r of k) a.push({ ...r, label: r.label[e] || r.label[d] || r.id });
|
|
302
311
|
return a;
|
|
303
|
-
},
|
|
312
|
+
}, F = [
|
|
304
313
|
{ id: `
|
|
305
314
|
`, label: { "en-gb": "Newline" } },
|
|
306
315
|
{ id: "\r", label: { "en-gb": "Carriage Return" } },
|
|
307
316
|
{ id: `\r
|
|
308
317
|
`, label: { "en-gb": "Carriage Return/Newline" } }
|
|
309
|
-
],
|
|
318
|
+
], ue = (e = d) => {
|
|
310
319
|
const a = [];
|
|
311
|
-
for (const
|
|
312
|
-
a.push({ ...
|
|
320
|
+
for (const r of F)
|
|
321
|
+
a.push({ ...r, label: r.label[e] || r.label[d] || r.id });
|
|
313
322
|
return a;
|
|
314
|
-
},
|
|
323
|
+
}, M = [
|
|
315
324
|
{ id: ":", label: { "en-gb": "Colon" } },
|
|
316
325
|
{ id: ",", label: { "en-gb": "Comma" } },
|
|
317
326
|
{ id: "!", label: { "en-gb": "Exclamation Mark" } },
|
|
@@ -323,12 +332,12 @@ const R = "en-US", y = {}, re = (e) => {
|
|
|
323
332
|
{ id: "_", label: { "en-gb": "Underscore" } },
|
|
324
333
|
{ id: "0x1F", label: { "en-gb": "Unit Separator" } },
|
|
325
334
|
{ id: "|", label: { "en-gb": "Vertical Bar" } }
|
|
326
|
-
],
|
|
335
|
+
], pe = (e = d) => {
|
|
327
336
|
const a = [];
|
|
328
|
-
for (const
|
|
329
|
-
a.push({ ...
|
|
337
|
+
for (const r of M)
|
|
338
|
+
a.push({ ...r, label: r.label[e] || r.label[d] || r.id });
|
|
330
339
|
return a;
|
|
331
|
-
},
|
|
340
|
+
}, j = [
|
|
332
341
|
{ id: "alpha", color: "red", label: { "en-gb": "alpha" } },
|
|
333
342
|
{ id: "beta", color: "amber", label: { "en-gb": "beta" } },
|
|
334
343
|
{ id: "generalAvailability", color: "green", label: { "en-gb": "" } },
|
|
@@ -338,45 +347,45 @@ const R = "en-US", y = {}, re = (e) => {
|
|
|
338
347
|
{ id: "releaseCandidate", color: "green", label: { "en-gb": "release-candidate" } },
|
|
339
348
|
{ id: "unavailable", color: "other", label: { "en-gb": "unavailable" } },
|
|
340
349
|
{ id: "underReview", color: "other", label: { "en-gb": "under-review" } }
|
|
341
|
-
],
|
|
342
|
-
const
|
|
343
|
-
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 };
|
|
344
353
|
}, d = "en-gb";
|
|
345
354
|
export {
|
|
346
|
-
|
|
355
|
+
J as APIError,
|
|
347
356
|
g as ApplicationError,
|
|
348
|
-
|
|
349
|
-
|
|
357
|
+
U as CONNECTOR_DESTINATION_OPERATIONS,
|
|
358
|
+
B as CONNECTOR_SOURCE_OPERATIONS,
|
|
350
359
|
d as DEFAULT_LOCALE_CODE,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
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,
|
|
364
373
|
i as formatNumberAsDecimalNumber,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
374
|
+
le as formatNumberAsDuration,
|
|
375
|
+
ie as formatNumberAsSize,
|
|
376
|
+
ce as formatNumberAsStorageSize,
|
|
368
377
|
E as formatNumberAsWholeNumber,
|
|
369
|
-
|
|
378
|
+
ge as getComponentStatus,
|
|
370
379
|
z as getCurrentTimestamp,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
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
|
|
382
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
|
},
|