@datapos/datapos-shared 0.3.128 → 0.3.130
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/dist/datapos-shared.es.js +481 -210
- package/package.json +13 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { promises as
|
|
2
|
-
const
|
|
1
|
+
import { promises as l } from "fs";
|
|
2
|
+
const ge = 0, pe = (e) => e, fe = () => Date.now(), me = {
|
|
3
3
|
cartesian_areaLine: { categoryId: "cartesian", typeId: "areaLine", label: { "en-gb": "Area Line" }, options: { highchartsType: "area" } },
|
|
4
4
|
cartesian_areaSpline: { categoryId: "cartesian", typeId: "areaSpline", label: { "en-gb": "Area Spline" }, options: { highchartsType: "area" } },
|
|
5
5
|
cartesian_bar: { categoryId: "cartesian", typeId: "bar", label: { "en-gb": "Bar" }, options: { highchartsType: "bar" } },
|
|
@@ -18,170 +18,170 @@ const j = 0, _ = (e) => e, J = () => Date.now(), L = {
|
|
|
18
18
|
streamgraph: { categoryId: "streamgraph", label: { "en-gb": "Streamgraph" }, options: {} },
|
|
19
19
|
values: { categoryId: "values", label: { "en-gb": "Values" }, options: {} }
|
|
20
20
|
};
|
|
21
|
-
function
|
|
22
|
-
function e(
|
|
23
|
-
|
|
21
|
+
function be() {
|
|
22
|
+
function e(t, o, r) {
|
|
23
|
+
r.textContent = "Cytoscape.js diagram goes here...";
|
|
24
24
|
}
|
|
25
25
|
return { render: e };
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
function e(
|
|
29
|
-
|
|
27
|
+
function he() {
|
|
28
|
+
function e(t, o, r) {
|
|
29
|
+
r.textContent = "values table goes here...";
|
|
30
30
|
}
|
|
31
31
|
return { render: e };
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
let
|
|
35
|
-
function
|
|
36
|
-
async function e(
|
|
37
|
-
await
|
|
38
|
-
const
|
|
39
|
-
for (const
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
chart: { type:
|
|
33
|
+
const z = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", C = "highcharts";
|
|
34
|
+
let O, k = !1;
|
|
35
|
+
function ye() {
|
|
36
|
+
async function e(a, s, c, g) {
|
|
37
|
+
await r();
|
|
38
|
+
const u = [];
|
|
39
|
+
for (const f of s.data.measures)
|
|
40
|
+
u.push({ type: a.options.highchartsType, name: f.name, data: f.data });
|
|
41
|
+
const y = {
|
|
42
|
+
chart: { type: a.options.highchartsType },
|
|
43
43
|
plotOptions: { series: { borderColor: "#333" } },
|
|
44
|
-
series:
|
|
44
|
+
series: u,
|
|
45
45
|
title: { text: s.title.text },
|
|
46
46
|
xAxis: { categories: s.data.categoryLabels },
|
|
47
47
|
yAxis: { title: { text: s.data.name } }
|
|
48
|
-
},
|
|
49
|
-
return { chart:
|
|
50
|
-
}
|
|
51
|
-
async function
|
|
52
|
-
await Promise.all([
|
|
53
|
-
const
|
|
54
|
-
for (const
|
|
55
|
-
|
|
56
|
-
const
|
|
48
|
+
}, h = O.chart(c, y, g);
|
|
49
|
+
return { chart: h, resize: () => h.reflow(), vendorId: C };
|
|
50
|
+
}
|
|
51
|
+
async function t(a, s, c, g) {
|
|
52
|
+
await Promise.all([r(), n()]);
|
|
53
|
+
const u = [];
|
|
54
|
+
for (const f of s.data.measures)
|
|
55
|
+
u.push({ type: a.options.highchartsType, name: f.name, data: f.data });
|
|
56
|
+
const y = {
|
|
57
57
|
chart: { polar: !0 },
|
|
58
58
|
plotOptions: { series: { borderColor: "#333" } },
|
|
59
|
-
series:
|
|
59
|
+
series: u,
|
|
60
60
|
title: { text: s.title.text },
|
|
61
61
|
xAxis: { categories: s.data.categoryLabels },
|
|
62
62
|
yAxis: { title: { text: s.data.name } }
|
|
63
|
-
},
|
|
64
|
-
return { chart:
|
|
65
|
-
}
|
|
66
|
-
async function a
|
|
67
|
-
await Promise.all([
|
|
68
|
-
const
|
|
69
|
-
for (let
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
const
|
|
73
|
-
chart: { type:
|
|
63
|
+
}, h = O.chart(c, y, g);
|
|
64
|
+
return { chart: h, resize: () => h.reflow(), vendorId: C };
|
|
65
|
+
}
|
|
66
|
+
async function o(a, s, c, g) {
|
|
67
|
+
await Promise.all([r(), n()]);
|
|
68
|
+
const u = [], y = [];
|
|
69
|
+
for (let T = 0; T < s.data.measures[0].data.length; T++)
|
|
70
|
+
y.push([s.data.measures[0].data[T][0], s.data.measures[1].data[T][0]]);
|
|
71
|
+
u.push({ type: a.options.highchartsType, name: "Unknown", data: y });
|
|
72
|
+
const h = {
|
|
73
|
+
chart: { type: a.options.highchartsType, inverted: a.options.inverted },
|
|
74
74
|
plotOptions: { series: { borderColor: "#333" } },
|
|
75
|
-
series:
|
|
75
|
+
series: u,
|
|
76
76
|
title: { text: s.title.text },
|
|
77
77
|
xAxis: { categories: s.data.categoryLabels },
|
|
78
78
|
yAxis: { title: { text: s.data.name } }
|
|
79
|
-
},
|
|
80
|
-
return { chart:
|
|
79
|
+
}, f = O.chart(c, h, g);
|
|
80
|
+
return { chart: f, resize: () => f.reflow(), vendorId: C };
|
|
81
81
|
}
|
|
82
|
-
async function
|
|
83
|
-
if (
|
|
84
|
-
const
|
|
85
|
-
|
|
82
|
+
async function r() {
|
|
83
|
+
if (O) return;
|
|
84
|
+
const a = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", s = `${a}highcharts.src.js`, c = `${a}modules/accessibility.src.js`;
|
|
85
|
+
O = (await import(
|
|
86
86
|
/* @vite-ignore */
|
|
87
87
|
s
|
|
88
88
|
)).default, await import(
|
|
89
89
|
/* @vite-ignore */
|
|
90
|
-
|
|
90
|
+
c
|
|
91
91
|
);
|
|
92
92
|
}
|
|
93
93
|
async function n() {
|
|
94
|
-
if (
|
|
95
|
-
await import(`${
|
|
94
|
+
if (k) return;
|
|
95
|
+
await import(`${z}highcharts-more.src.js`), k = !0;
|
|
96
96
|
}
|
|
97
|
-
return { renderCartesianChart: e, renderPolarChart:
|
|
97
|
+
return { renderCartesianChart: e, renderPolarChart: t, renderRangeChart: o };
|
|
98
98
|
}
|
|
99
|
-
class
|
|
99
|
+
class D extends Error {
|
|
100
100
|
locator;
|
|
101
|
-
constructor(
|
|
102
|
-
super(
|
|
101
|
+
constructor(t, o, r) {
|
|
102
|
+
super(t, r), this.name = "DataPosError", this.locator = o, Error.captureStackTrace?.(this, new.target);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
class
|
|
106
|
-
constructor(
|
|
107
|
-
super(
|
|
105
|
+
class x extends D {
|
|
106
|
+
constructor(t, o, r) {
|
|
107
|
+
super(t, o, r), this.name = "ApplicationError";
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
class
|
|
111
|
-
constructor(
|
|
112
|
-
super(
|
|
110
|
+
class ve extends x {
|
|
111
|
+
constructor(t, o, r) {
|
|
112
|
+
super(t, o, r), this.name = "APIError";
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
class
|
|
116
|
-
constructor(
|
|
117
|
-
super(
|
|
115
|
+
class we extends x {
|
|
116
|
+
constructor(t, o, r) {
|
|
117
|
+
super(t, o, r), this.name = "EngineError";
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
class
|
|
120
|
+
class V extends x {
|
|
121
121
|
body;
|
|
122
|
-
constructor(
|
|
123
|
-
super(
|
|
122
|
+
constructor(t, o, r, n) {
|
|
123
|
+
super(t, o, n), this.name = "FetchError", this.body = r;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
class
|
|
126
|
+
class H extends x {
|
|
127
127
|
componentName;
|
|
128
128
|
info;
|
|
129
|
-
constructor(
|
|
130
|
-
super(
|
|
129
|
+
constructor(t, o, r, n, a) {
|
|
130
|
+
super(t, o, a), this.name = "VueHandledError", this.info = r, this.componentName = n;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
class
|
|
134
|
-
constructor(
|
|
135
|
-
super(
|
|
133
|
+
class xe extends x {
|
|
134
|
+
constructor(t, o, r) {
|
|
135
|
+
super(t, o, r), this.name = "WindowHandledRuntimeError";
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
class
|
|
139
|
-
constructor(
|
|
140
|
-
super(
|
|
138
|
+
class Oe extends x {
|
|
139
|
+
constructor(t, o, r) {
|
|
140
|
+
super(t, o, r), this.name = "WindowHandledPromiseRejectionError";
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
class
|
|
144
|
-
constructor(
|
|
145
|
-
super(
|
|
143
|
+
class Ee extends D {
|
|
144
|
+
constructor(t, o, r) {
|
|
145
|
+
super(t, o, r), this.name = "OperationalError";
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
async function
|
|
149
|
-
const
|
|
150
|
-
return new
|
|
148
|
+
async function Se(e, t, o) {
|
|
149
|
+
const r = `${t} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`, n = await e.text();
|
|
150
|
+
return new V(r, o, n);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
return e.map((
|
|
152
|
+
function Te(e) {
|
|
153
|
+
return e.map((t) => t.message).join(" ");
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Ie(e, t = "Unknown error.") {
|
|
156
156
|
if (e instanceof Error) return e;
|
|
157
157
|
if (typeof e == "string") return new Error(e);
|
|
158
158
|
try {
|
|
159
|
-
return new Error(JSON.stringify(e ??
|
|
159
|
+
return new Error(JSON.stringify(e ?? t));
|
|
160
160
|
} catch {
|
|
161
|
-
return new Error(
|
|
161
|
+
return new Error(t);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
const
|
|
166
|
-
let
|
|
167
|
-
for (;
|
|
168
|
-
|
|
164
|
+
function Ne(e) {
|
|
165
|
+
const t = /* @__PURE__ */ new Set(), o = [];
|
|
166
|
+
let r = e;
|
|
167
|
+
for (; r && !t.has(r); ) {
|
|
168
|
+
t.add(r);
|
|
169
169
|
let n;
|
|
170
|
-
if (
|
|
171
|
-
n = { body:
|
|
172
|
-
else if (
|
|
173
|
-
n = { componentName:
|
|
174
|
-
else if (
|
|
175
|
-
n = { locator:
|
|
176
|
-
else if (
|
|
177
|
-
const
|
|
178
|
-
n = { locator: "", message:
|
|
179
|
-
} else
|
|
180
|
-
/(?:\.{3}|[.!?])$/.test(n.message) || (n.message += "."),
|
|
181
|
-
}
|
|
182
|
-
return
|
|
170
|
+
if (r instanceof V)
|
|
171
|
+
n = { body: r.body, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
172
|
+
else if (r instanceof H)
|
|
173
|
+
n = { componentName: r.componentName, info: r.info, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
174
|
+
else if (r instanceof D)
|
|
175
|
+
n = { locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
176
|
+
else if (r instanceof Error) {
|
|
177
|
+
const a = r;
|
|
178
|
+
n = { locator: "", message: a.message, name: a.name, stack: a.stack }, r = a.cause;
|
|
179
|
+
} else r ? (n = { locator: "", message: String(r), name: "Error" }, r = void 0) : (n = { locator: "", message: "Unknown error.", name: "Error" }, r = void 0);
|
|
180
|
+
/(?:\.{3}|[.!?])$/.test(n.message) || (n.message += "."), o.push(n);
|
|
181
|
+
}
|
|
182
|
+
return o;
|
|
183
183
|
}
|
|
184
|
-
const
|
|
184
|
+
const W = "en-US", I = {}, Ae = (e) => {
|
|
185
185
|
switch (e) {
|
|
186
186
|
case "Edm.Binary":
|
|
187
187
|
return "unknown";
|
|
@@ -220,41 +220,41 @@ const N = "en-US", w = {}, q = (e) => {
|
|
|
220
220
|
default:
|
|
221
221
|
return "unknown";
|
|
222
222
|
}
|
|
223
|
-
},
|
|
223
|
+
}, Ce = (e) => {
|
|
224
224
|
if (e) {
|
|
225
|
-
const
|
|
226
|
-
return
|
|
225
|
+
const t = e.lastIndexOf("/"), o = e.lastIndexOf(".", t > -1 ? t : e.length);
|
|
226
|
+
return o > -1 ? e.substring(0, o) : e;
|
|
227
227
|
}
|
|
228
|
-
},
|
|
228
|
+
}, Fe = (e) => {
|
|
229
229
|
if (e) {
|
|
230
|
-
const
|
|
231
|
-
if (
|
|
230
|
+
const t = e.lastIndexOf(".");
|
|
231
|
+
if (t > -1) return e.substring(t + 1);
|
|
232
232
|
}
|
|
233
|
-
},
|
|
233
|
+
}, d = (e, t = 2, o = t, r = W) => {
|
|
234
234
|
if (e == null) return "";
|
|
235
|
-
const n = `${
|
|
236
|
-
let
|
|
237
|
-
return
|
|
235
|
+
const n = `${r}decimal${t}.${o}`;
|
|
236
|
+
let a = I[n];
|
|
237
|
+
return a || (a = new Intl.NumberFormat(r, {
|
|
238
238
|
localeMatcher: "best fit",
|
|
239
|
-
maximumFractionDigits:
|
|
240
|
-
minimumFractionDigits:
|
|
239
|
+
maximumFractionDigits: t,
|
|
240
|
+
minimumFractionDigits: o,
|
|
241
241
|
minimumIntegerDigits: 1,
|
|
242
242
|
style: "decimal",
|
|
243
243
|
useGrouping: !0
|
|
244
|
-
}),
|
|
245
|
-
},
|
|
244
|
+
}), I[n] = a), a.format(e);
|
|
245
|
+
}, Re = (e) => e == null ? "" : e < 1e3 ? N(e) : e < 1e6 ? `${d(e / 1e3, 2, 0)}K` : e < 1e9 ? `${d(e / 1e6, 2, 0)}M` : e < 1e12 ? `${d(e / 1e9, 2, 0)}B` : `${d(e / 1e12, 2, 0)}T`, je = (e) => e == null ? "" : e === 1 ? "1 byte" : e < 1024 ? `${N(e)} bytes` : e < 1048576 ? `${d(e / 1024, 2, 0)} KB` : e < 1073741824 ? `${d(e / 1048576, 2, 0)} MB` : e < 1099511627776 ? `${d(e / 1073741824, 2, 0)} GB` : `${d(e / 1099511627776, 2, 0)} TB`, Be = (e) => e == null ? "" : e < 1e3 ? `${N(e)} ms` : e === 1e3 ? `${N(e)} sec` : e < 6e4 ? `${d(e / 1e3, 2, 0)} secs` : e === 6e4 ? "1 min" : e < 36e5 ? `${d(e / 6e4, 2, 0)} mins` : e === 36e5 ? "1 hr" : e < 864e5 ? `${d(e / 36e5, 2, 0)} hrs` : e === 864e5 ? "1 day" : `${d(e / 864e5, 2, 0)} days`, N = (e, t = W) => {
|
|
246
246
|
if (e == null) return "";
|
|
247
|
-
const
|
|
248
|
-
let
|
|
249
|
-
return
|
|
247
|
+
const o = `${t}decimal0.0`;
|
|
248
|
+
let r = I[o];
|
|
249
|
+
return r || (r = new Intl.NumberFormat(t, {
|
|
250
250
|
localeMatcher: "best fit",
|
|
251
251
|
maximumFractionDigits: 0,
|
|
252
252
|
minimumFractionDigits: 0,
|
|
253
253
|
minimumIntegerDigits: 1,
|
|
254
254
|
style: "decimal",
|
|
255
255
|
useGrouping: !0
|
|
256
|
-
}),
|
|
257
|
-
},
|
|
256
|
+
}), I[o] = r), r.format(e);
|
|
257
|
+
}, De = (e) => {
|
|
258
258
|
switch (e) {
|
|
259
259
|
case "csv":
|
|
260
260
|
return "text/csv";
|
|
@@ -268,7 +268,7 @@ const N = "en-US", w = {}, q = (e) => {
|
|
|
268
268
|
default:
|
|
269
269
|
return "application/octet-stream";
|
|
270
270
|
}
|
|
271
|
-
},
|
|
271
|
+
}, X = [
|
|
272
272
|
{ id: "dtv", label: { "en-gb": "Delimited Text" } },
|
|
273
273
|
{ id: "e/e", label: { "en-gb": "Entity/Event" } },
|
|
274
274
|
{ id: "jsonArray", label: { "en-gb": "JSON Array" } },
|
|
@@ -276,22 +276,22 @@ const N = "en-US", w = {}, q = (e) => {
|
|
|
276
276
|
{ id: "xls", label: { "en-gb": "XLS" } },
|
|
277
277
|
{ id: "xlsx", label: { "en-gb": "XLSX" } },
|
|
278
278
|
{ id: "xml", label: { "en-gb": "XML" } }
|
|
279
|
-
],
|
|
280
|
-
const
|
|
281
|
-
for (const
|
|
282
|
-
return
|
|
283
|
-
},
|
|
279
|
+
], ke = (e = b) => {
|
|
280
|
+
const t = [];
|
|
281
|
+
for (const o of X) t.push({ ...o, label: o.label[e] || o.label[b] || o.id });
|
|
282
|
+
return t;
|
|
283
|
+
}, Y = [
|
|
284
284
|
{ id: `
|
|
285
285
|
`, label: { "en-gb": "Newline" } },
|
|
286
286
|
{ id: "\r", label: { "en-gb": "Carriage Return" } },
|
|
287
287
|
{ id: `\r
|
|
288
288
|
`, label: { "en-gb": "Carriage Return/Newline" } }
|
|
289
|
-
],
|
|
290
|
-
const
|
|
291
|
-
for (const
|
|
292
|
-
|
|
293
|
-
return
|
|
294
|
-
},
|
|
289
|
+
], $e = (e = b) => {
|
|
290
|
+
const t = [];
|
|
291
|
+
for (const o of Y)
|
|
292
|
+
t.push({ ...o, label: o.label[e] || o.label[b] || o.id });
|
|
293
|
+
return t;
|
|
294
|
+
}, Z = [
|
|
295
295
|
{ id: ":", label: { "en-gb": "Colon" } },
|
|
296
296
|
{ id: ",", label: { "en-gb": "Comma" } },
|
|
297
297
|
{ id: "!", label: { "en-gb": "Exclamation Mark" } },
|
|
@@ -303,12 +303,12 @@ const N = "en-US", w = {}, q = (e) => {
|
|
|
303
303
|
{ id: "_", label: { "en-gb": "Underscore" } },
|
|
304
304
|
{ id: "0x1F", label: { "en-gb": "Unit Separator" } },
|
|
305
305
|
{ id: "|", label: { "en-gb": "Vertical Bar" } }
|
|
306
|
-
],
|
|
307
|
-
const
|
|
308
|
-
for (const
|
|
309
|
-
|
|
310
|
-
return
|
|
311
|
-
},
|
|
306
|
+
], Me = (e = b) => {
|
|
307
|
+
const t = [];
|
|
308
|
+
for (const o of Z)
|
|
309
|
+
t.push({ ...o, label: o.label[e] || o.label[b] || o.id });
|
|
310
|
+
return t;
|
|
311
|
+
}, K = [
|
|
312
312
|
{ id: "alpha", color: "red", label: { "en-gb": "alpha" } },
|
|
313
313
|
{ id: "beta", color: "amber", label: { "en-gb": "beta" } },
|
|
314
314
|
{ id: "generalAvailability", color: "green", label: { "en-gb": "" } },
|
|
@@ -318,104 +318,375 @@ const N = "en-US", w = {}, q = (e) => {
|
|
|
318
318
|
{ id: "releaseCandidate", color: "green", label: { "en-gb": "release-candidate" } },
|
|
319
319
|
{ id: "unavailable", color: "other", label: { "en-gb": "unavailable" } },
|
|
320
320
|
{ id: "underReview", color: "other", label: { "en-gb": "under-review" } }
|
|
321
|
-
],
|
|
322
|
-
const
|
|
323
|
-
return
|
|
324
|
-
},
|
|
325
|
-
|
|
321
|
+
], Le = (e, t = b) => {
|
|
322
|
+
const o = K.find((r) => r.id === e);
|
|
323
|
+
return o ? { ...o, label: o.label[t] || o.label[b] || e } : { id: e, color: "other", label: e };
|
|
324
|
+
}, F = 10, $ = (e = 0) => (t) => `\x1B[${t + e}m`, M = (e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, L = (e = 0) => (t, o, r) => `\x1B[${38 + e};2;${t};${o};${r}m`, i = {
|
|
325
|
+
modifier: {
|
|
326
|
+
reset: [0, 0],
|
|
327
|
+
// 21 isn't widely supported and 22 does the same thing
|
|
328
|
+
bold: [1, 22],
|
|
329
|
+
dim: [2, 22],
|
|
330
|
+
italic: [3, 23],
|
|
331
|
+
underline: [4, 24],
|
|
332
|
+
overline: [53, 55],
|
|
333
|
+
inverse: [7, 27],
|
|
334
|
+
hidden: [8, 28],
|
|
335
|
+
strikethrough: [9, 29]
|
|
336
|
+
},
|
|
337
|
+
color: {
|
|
338
|
+
black: [30, 39],
|
|
339
|
+
red: [31, 39],
|
|
340
|
+
green: [32, 39],
|
|
341
|
+
yellow: [33, 39],
|
|
342
|
+
blue: [34, 39],
|
|
343
|
+
magenta: [35, 39],
|
|
344
|
+
cyan: [36, 39],
|
|
345
|
+
white: [37, 39],
|
|
346
|
+
// Bright color
|
|
347
|
+
blackBright: [90, 39],
|
|
348
|
+
gray: [90, 39],
|
|
349
|
+
// Alias of `blackBright`
|
|
350
|
+
grey: [90, 39],
|
|
351
|
+
// Alias of `blackBright`
|
|
352
|
+
redBright: [91, 39],
|
|
353
|
+
greenBright: [92, 39],
|
|
354
|
+
yellowBright: [93, 39],
|
|
355
|
+
blueBright: [94, 39],
|
|
356
|
+
magentaBright: [95, 39],
|
|
357
|
+
cyanBright: [96, 39],
|
|
358
|
+
whiteBright: [97, 39]
|
|
359
|
+
},
|
|
360
|
+
bgColor: {
|
|
361
|
+
bgBlack: [40, 49],
|
|
362
|
+
bgRed: [41, 49],
|
|
363
|
+
bgGreen: [42, 49],
|
|
364
|
+
bgYellow: [43, 49],
|
|
365
|
+
bgBlue: [44, 49],
|
|
366
|
+
bgMagenta: [45, 49],
|
|
367
|
+
bgCyan: [46, 49],
|
|
368
|
+
bgWhite: [47, 49],
|
|
369
|
+
// Bright color
|
|
370
|
+
bgBlackBright: [100, 49],
|
|
371
|
+
bgGray: [100, 49],
|
|
372
|
+
// Alias of `bgBlackBright`
|
|
373
|
+
bgGrey: [100, 49],
|
|
374
|
+
// Alias of `bgBlackBright`
|
|
375
|
+
bgRedBright: [101, 49],
|
|
376
|
+
bgGreenBright: [102, 49],
|
|
377
|
+
bgYellowBright: [103, 49],
|
|
378
|
+
bgBlueBright: [104, 49],
|
|
379
|
+
bgMagentaBright: [105, 49],
|
|
380
|
+
bgCyanBright: [106, 49],
|
|
381
|
+
bgWhiteBright: [107, 49]
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
Object.keys(i.modifier);
|
|
385
|
+
const q = Object.keys(i.color), Q = Object.keys(i.bgColor);
|
|
386
|
+
[...q, ...Q];
|
|
387
|
+
function ee() {
|
|
388
|
+
const e = /* @__PURE__ */ new Map();
|
|
389
|
+
for (const [t, o] of Object.entries(i)) {
|
|
390
|
+
for (const [r, n] of Object.entries(o))
|
|
391
|
+
i[r] = {
|
|
392
|
+
open: `\x1B[${n[0]}m`,
|
|
393
|
+
close: `\x1B[${n[1]}m`
|
|
394
|
+
}, o[r] = i[r], e.set(n[0], n[1]);
|
|
395
|
+
Object.defineProperty(i, t, {
|
|
396
|
+
value: o,
|
|
397
|
+
enumerable: !1
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
return Object.defineProperty(i, "codes", {
|
|
401
|
+
value: e,
|
|
402
|
+
enumerable: !1
|
|
403
|
+
}), i.color.close = "\x1B[39m", i.bgColor.close = "\x1B[49m", i.color.ansi = $(), i.color.ansi256 = M(), i.color.ansi16m = L(), i.bgColor.ansi = $(F), i.bgColor.ansi256 = M(F), i.bgColor.ansi16m = L(F), Object.defineProperties(i, {
|
|
404
|
+
rgbToAnsi256: {
|
|
405
|
+
value(t, o, r) {
|
|
406
|
+
return t === o && o === r ? t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t / 255 * 5) + 6 * Math.round(o / 255 * 5) + Math.round(r / 255 * 5);
|
|
407
|
+
},
|
|
408
|
+
enumerable: !1
|
|
409
|
+
},
|
|
410
|
+
hexToRgb: {
|
|
411
|
+
value(t) {
|
|
412
|
+
const o = /[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));
|
|
413
|
+
if (!o)
|
|
414
|
+
return [0, 0, 0];
|
|
415
|
+
let [r] = o;
|
|
416
|
+
r.length === 3 && (r = [...r].map((a) => a + a).join(""));
|
|
417
|
+
const n = Number.parseInt(r, 16);
|
|
418
|
+
return [
|
|
419
|
+
/* eslint-disable no-bitwise */
|
|
420
|
+
n >> 16 & 255,
|
|
421
|
+
n >> 8 & 255,
|
|
422
|
+
n & 255
|
|
423
|
+
/* eslint-enable no-bitwise */
|
|
424
|
+
];
|
|
425
|
+
},
|
|
426
|
+
enumerable: !1
|
|
427
|
+
},
|
|
428
|
+
hexToAnsi256: {
|
|
429
|
+
value: (t) => i.rgbToAnsi256(...i.hexToRgb(t)),
|
|
430
|
+
enumerable: !1
|
|
431
|
+
},
|
|
432
|
+
ansi256ToAnsi: {
|
|
433
|
+
value(t) {
|
|
434
|
+
if (t < 8)
|
|
435
|
+
return 30 + t;
|
|
436
|
+
if (t < 16)
|
|
437
|
+
return 90 + (t - 8);
|
|
438
|
+
let o, r, n;
|
|
439
|
+
if (t >= 232)
|
|
440
|
+
o = ((t - 232) * 10 + 8) / 255, r = o, n = o;
|
|
441
|
+
else {
|
|
442
|
+
t -= 16;
|
|
443
|
+
const c = t % 36;
|
|
444
|
+
o = Math.floor(t / 36) / 5, r = Math.floor(c / 6) / 5, n = c % 6 / 5;
|
|
445
|
+
}
|
|
446
|
+
const a = Math.max(o, r, n) * 2;
|
|
447
|
+
if (a === 0)
|
|
448
|
+
return 30;
|
|
449
|
+
let s = 30 + (Math.round(n) << 2 | Math.round(r) << 1 | Math.round(o));
|
|
450
|
+
return a === 2 && (s += 60), s;
|
|
451
|
+
},
|
|
452
|
+
enumerable: !1
|
|
453
|
+
},
|
|
454
|
+
rgbToAnsi: {
|
|
455
|
+
value: (t, o, r) => i.ansi256ToAnsi(i.rgbToAnsi256(t, o, r)),
|
|
456
|
+
enumerable: !1
|
|
457
|
+
},
|
|
458
|
+
hexToAnsi: {
|
|
459
|
+
value: (t) => i.ansi256ToAnsi(i.hexToAnsi256(t)),
|
|
460
|
+
enumerable: !1
|
|
461
|
+
}
|
|
462
|
+
}), i;
|
|
463
|
+
}
|
|
464
|
+
const p = ee(), J = (() => {
|
|
465
|
+
if (!("navigator" in globalThis))
|
|
466
|
+
return 0;
|
|
467
|
+
if (globalThis.navigator.userAgentData) {
|
|
468
|
+
const e = navigator.userAgentData.brands.find(({ brand: t }) => t === "Chromium");
|
|
469
|
+
if (e && e.version > 93)
|
|
470
|
+
return 3;
|
|
471
|
+
}
|
|
472
|
+
return /\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent) ? 1 : 0;
|
|
473
|
+
})(), _ = J !== 0 && {
|
|
474
|
+
level: J
|
|
475
|
+
}, te = {
|
|
476
|
+
stdout: _,
|
|
477
|
+
stderr: _
|
|
478
|
+
};
|
|
479
|
+
function re(e, t, o) {
|
|
480
|
+
let r = e.indexOf(t);
|
|
481
|
+
if (r === -1)
|
|
482
|
+
return e;
|
|
483
|
+
const n = t.length;
|
|
484
|
+
let a = 0, s = "";
|
|
485
|
+
do
|
|
486
|
+
s += e.slice(a, r) + t + o, a = r + n, r = e.indexOf(t, a);
|
|
487
|
+
while (r !== -1);
|
|
488
|
+
return s += e.slice(a), s;
|
|
489
|
+
}
|
|
490
|
+
function oe(e, t, o, r) {
|
|
491
|
+
let n = 0, a = "";
|
|
492
|
+
do {
|
|
493
|
+
const s = e[r - 1] === "\r";
|
|
494
|
+
a += e.slice(n, s ? r - 1 : r) + t + (s ? `\r
|
|
495
|
+
` : `
|
|
496
|
+
`) + o, n = r + 1, r = e.indexOf(`
|
|
497
|
+
`, n);
|
|
498
|
+
} while (r !== -1);
|
|
499
|
+
return a += e.slice(n), a;
|
|
500
|
+
}
|
|
501
|
+
const { stdout: P, stderr: U } = te, R = Symbol("GENERATOR"), v = Symbol("STYLER"), E = Symbol("IS_EMPTY"), G = [
|
|
502
|
+
"ansi",
|
|
503
|
+
"ansi",
|
|
504
|
+
"ansi256",
|
|
505
|
+
"ansi16m"
|
|
506
|
+
], w = /* @__PURE__ */ Object.create(null), ne = (e, t = {}) => {
|
|
507
|
+
if (t.level && !(Number.isInteger(t.level) && t.level >= 0 && t.level <= 3))
|
|
508
|
+
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
509
|
+
const o = P ? P.level : 0;
|
|
510
|
+
e.level = t.level === void 0 ? o : t.level;
|
|
511
|
+
}, ae = (e) => {
|
|
512
|
+
const t = (...o) => o.join(" ");
|
|
513
|
+
return ne(t, e), Object.setPrototypeOf(t, S.prototype), t;
|
|
514
|
+
};
|
|
515
|
+
function S(e) {
|
|
516
|
+
return ae(e);
|
|
517
|
+
}
|
|
518
|
+
Object.setPrototypeOf(S.prototype, Function.prototype);
|
|
519
|
+
for (const [e, t] of Object.entries(p))
|
|
520
|
+
w[e] = {
|
|
521
|
+
get() {
|
|
522
|
+
const o = A(this, B(t.open, t.close, this[v]), this[E]);
|
|
523
|
+
return Object.defineProperty(this, e, { value: o }), o;
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
w.visible = {
|
|
527
|
+
get() {
|
|
528
|
+
const e = A(this, this[v], !0);
|
|
529
|
+
return Object.defineProperty(this, "visible", { value: e }), e;
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
const j = (e, t, o, ...r) => e === "rgb" ? t === "ansi16m" ? p[o].ansi16m(...r) : t === "ansi256" ? p[o].ansi256(p.rgbToAnsi256(...r)) : p[o].ansi(p.rgbToAnsi(...r)) : e === "hex" ? j("rgb", t, o, ...p.hexToRgb(...r)) : p[o][e](...r), se = ["rgb", "hex", "ansi256"];
|
|
533
|
+
for (const e of se) {
|
|
534
|
+
w[e] = {
|
|
535
|
+
get() {
|
|
536
|
+
const { level: o } = this;
|
|
537
|
+
return function(...r) {
|
|
538
|
+
const n = B(j(e, G[o], "color", ...r), p.color.close, this[v]);
|
|
539
|
+
return A(this, n, this[E]);
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
};
|
|
543
|
+
const t = "bg" + e[0].toUpperCase() + e.slice(1);
|
|
544
|
+
w[t] = {
|
|
545
|
+
get() {
|
|
546
|
+
const { level: o } = this;
|
|
547
|
+
return function(...r) {
|
|
548
|
+
const n = B(j(e, G[o], "bgColor", ...r), p.bgColor.close, this[v]);
|
|
549
|
+
return A(this, n, this[E]);
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
const ie = Object.defineProperties(() => {
|
|
555
|
+
}, {
|
|
556
|
+
...w,
|
|
557
|
+
level: {
|
|
558
|
+
enumerable: !0,
|
|
559
|
+
get() {
|
|
560
|
+
return this[R].level;
|
|
561
|
+
},
|
|
562
|
+
set(e) {
|
|
563
|
+
this[R].level = e;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}), B = (e, t, o) => {
|
|
567
|
+
let r, n;
|
|
568
|
+
return o === void 0 ? (r = e, n = t) : (r = o.openAll + e, n = t + o.closeAll), {
|
|
569
|
+
open: e,
|
|
570
|
+
close: t,
|
|
571
|
+
openAll: r,
|
|
572
|
+
closeAll: n,
|
|
573
|
+
parent: o
|
|
574
|
+
};
|
|
575
|
+
}, A = (e, t, o) => {
|
|
576
|
+
const r = (...n) => le(r, n.length === 1 ? "" + n[0] : n.join(" "));
|
|
577
|
+
return Object.setPrototypeOf(r, ie), r[R] = e, r[v] = t, r[E] = o, r;
|
|
578
|
+
}, le = (e, t) => {
|
|
579
|
+
if (e.level <= 0 || !t)
|
|
580
|
+
return e[E] ? "" : t;
|
|
581
|
+
let o = e[v];
|
|
582
|
+
if (o === void 0)
|
|
583
|
+
return t;
|
|
584
|
+
const { openAll: r, closeAll: n } = o;
|
|
585
|
+
if (t.includes("\x1B"))
|
|
586
|
+
for (; o !== void 0; )
|
|
587
|
+
t = re(t, o.close, o.open), o = o.parent;
|
|
588
|
+
const a = t.indexOf(`
|
|
589
|
+
`);
|
|
590
|
+
return a !== -1 && (t = oe(t, n, r, a)), r + t + n;
|
|
591
|
+
};
|
|
592
|
+
Object.defineProperties(S.prototype, w);
|
|
593
|
+
const m = S();
|
|
594
|
+
S({ level: U ? U.level : 0 });
|
|
595
|
+
const ce = ["createObject", "dropObject", "removeRecords", "upsertRecords"], ue = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"];
|
|
596
|
+
async function Je() {
|
|
326
597
|
try {
|
|
327
|
-
console.log("
|
|
328
|
-
const e = await JSON.parse(await
|
|
329
|
-
let
|
|
330
|
-
const
|
|
331
|
-
const
|
|
332
|
-
return
|
|
598
|
+
console.log("🚀 Building connector configuration...");
|
|
599
|
+
const e = await JSON.parse(await l.readFile("package.json", "utf8")), t = await JSON.parse(await l.readFile("config.json", "utf8")), o = await l.readFile("src/index.ts", "utf8");
|
|
600
|
+
let r = !1, n = !1;
|
|
601
|
+
const a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, s = [...o.matchAll(a)].filter((g) => !g[1] && g[2] !== "constructor").map((g) => {
|
|
602
|
+
const u = g[2];
|
|
603
|
+
return r = r || ce.includes(u), n = n || ue.includes(u), u;
|
|
333
604
|
});
|
|
334
|
-
s.length > 0 ? console.log(
|
|
335
|
-
const
|
|
336
|
-
console.log(
|
|
605
|
+
s.length > 0 ? console.log(`ℹ️ Implements ${s.length} operations.`) : console.log("⚠️ Implements no operations.");
|
|
606
|
+
const c = n && r ? "bidirectional" : n ? "source" : r ? "destination" : null;
|
|
607
|
+
console.log(c ? `ℹ️ Supports ${c} usage.` : "⚠️ No usage identified."), e.name && (t.id = e.name), t.operations = s, t.usageId = c, e.version && (t.version = e.version), await l.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8"), console.log("✅ Connector configuration built."), console.log(m.blue.bold("ℹ️ "), m.blue("Info: Process started.")), console.log(m.yellow.bold("⚠️ "), m.yellow("Warning: Low disk space.")), console.log(m.red.bold("❌ "), m.red("Error: Connection failed.")), console.log(m.green.bold("✅ "), m.green("Success: Operation complete."));
|
|
337
608
|
} catch (e) {
|
|
338
|
-
console.warn("
|
|
609
|
+
console.warn("❌ Error building connector configuration.", e);
|
|
339
610
|
}
|
|
340
611
|
}
|
|
341
|
-
async function
|
|
612
|
+
async function _e() {
|
|
342
613
|
try {
|
|
343
614
|
console.log("🚀 Building context configuration...");
|
|
344
|
-
const e = await JSON.parse(await
|
|
345
|
-
e.name && (
|
|
615
|
+
const e = await JSON.parse(await l.readFile("package.json", "utf8")), t = await JSON.parse(await l.readFile("config.json", "utf8")), o = await l.readFile("src/index.ts", "utf8"), r = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, n = [...o.matchAll(r)].filter((a) => !a[1] && a[2] !== "constructor").map((a) => a[2]);
|
|
616
|
+
e.name && (t.id = e.name), t.operations = n, e.version && (t.version = e.version), await l.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8");
|
|
346
617
|
} catch (e) {
|
|
347
618
|
console.warn("❌ Error building context configuration.", e);
|
|
348
619
|
}
|
|
349
620
|
}
|
|
350
|
-
async function
|
|
621
|
+
async function Pe() {
|
|
351
622
|
try {
|
|
352
623
|
console.log("🚀 Building informer configuration...");
|
|
353
|
-
const e = await JSON.parse(await
|
|
354
|
-
e.name && (
|
|
624
|
+
const e = await JSON.parse(await l.readFile("package.json", "utf8")), t = await JSON.parse(await l.readFile("config.json", "utf8")), o = await l.readFile("src/index.ts", "utf8"), r = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, n = [...o.matchAll(r)].filter((a) => !a[1] && a[2] !== "constructor").map((a) => a[2]);
|
|
625
|
+
e.name && (t.id = e.name), t.operations = n, e.version && (t.version = e.version), await l.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8");
|
|
355
626
|
} catch (e) {
|
|
356
627
|
console.warn("❌ Error building informer configuration.", e);
|
|
357
628
|
}
|
|
358
629
|
}
|
|
359
|
-
async function
|
|
630
|
+
async function Ue() {
|
|
360
631
|
try {
|
|
361
632
|
console.log("🚀 Building presenter configuration...");
|
|
362
|
-
const e = await JSON.parse(await
|
|
363
|
-
e.name && (
|
|
633
|
+
const e = await JSON.parse(await l.readFile("package.json", "utf8")), t = await JSON.parse(await l.readFile("config.json", "utf8")), o = await l.readFile("src/index.ts", "utf8"), r = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, n = [...o.matchAll(r)].filter((a) => !a[1] && a[2] !== "constructor").map((a) => a[2]);
|
|
634
|
+
e.name && (t.id = e.name), t.operations = n, e.version && (t.version = e.version), await l.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8");
|
|
364
635
|
} catch (e) {
|
|
365
636
|
console.warn("❌ Error building context configuration.", e);
|
|
366
637
|
}
|
|
367
638
|
}
|
|
368
|
-
async function
|
|
639
|
+
async function Ge() {
|
|
369
640
|
try {
|
|
370
641
|
console.log("🚀 Bumping version...");
|
|
371
|
-
const e = await JSON.parse(await
|
|
642
|
+
const e = await JSON.parse(await l.readFile("package.json", "utf8"));
|
|
372
643
|
if (e.version) {
|
|
373
|
-
const
|
|
374
|
-
e.version = `${
|
|
644
|
+
const t = e.version, o = e.version.split(".");
|
|
645
|
+
e.version = `${o[0]}.${o[1]}.${Number(o[2]) + 1}`, await l.writeFile("package.json", JSON.stringify(e, void 0, 4), "utf8"), console.log(`✅ Version bumped from ${t} to ${e.version}.`);
|
|
375
646
|
} else
|
|
376
|
-
e.version = "0.0.001", await
|
|
647
|
+
e.version = "0.0.001", await l.writeFile("package.json", JSON.stringify(e, void 0, 4), "utf8"), console.log(`⚠️ Version initialised to ${e.version}.`);
|
|
377
648
|
} catch (e) {
|
|
378
649
|
console.warn("❌ Error bumping package version.", e);
|
|
379
650
|
}
|
|
380
651
|
}
|
|
381
|
-
const
|
|
652
|
+
const b = "en-gb";
|
|
382
653
|
export {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
654
|
+
ve as APIError,
|
|
655
|
+
x as ApplicationError,
|
|
656
|
+
b as DEFAULT_LOCALE_CODE,
|
|
657
|
+
ge as DefaultTimestamp,
|
|
658
|
+
we as EngineError,
|
|
659
|
+
V as FetchError,
|
|
660
|
+
Ee as OperationalError,
|
|
661
|
+
H as VueError,
|
|
662
|
+
Oe as WindowPromiseRejectionError,
|
|
663
|
+
xe as WindowRuntimeError,
|
|
664
|
+
Je as buildConnectorConfig,
|
|
665
|
+
_e as buildContextConfig,
|
|
666
|
+
Se as buildFetchError,
|
|
667
|
+
Pe as buildInformerConfig,
|
|
668
|
+
Ue as buildPresenterConfig,
|
|
669
|
+
Ge as bumpVersion,
|
|
670
|
+
Te as concatenateSerialisedErrorMessages,
|
|
671
|
+
pe as convertMillisecondsToTimestamp,
|
|
672
|
+
Ae as convertODataTypeIdToUsageTypeId,
|
|
673
|
+
Fe as extractExtensionFromPath,
|
|
674
|
+
Ce as extractNameFromPath,
|
|
675
|
+
d as formatNumberAsDecimalNumber,
|
|
676
|
+
Be as formatNumberAsDuration,
|
|
677
|
+
Re as formatNumberAsSize,
|
|
678
|
+
je as formatNumberAsStorageSize,
|
|
679
|
+
N as formatNumberAsWholeNumber,
|
|
680
|
+
Le as getComponentStatus,
|
|
681
|
+
fe as getCurrentTimestamp,
|
|
682
|
+
ke as getDataFormats,
|
|
683
|
+
$e as getRecordDelimiters,
|
|
684
|
+
Me as getValueDelimiters,
|
|
685
|
+
De as lookupMimeTypeForExtension,
|
|
686
|
+
Ie as normalizeToError,
|
|
687
|
+
me as presentationViewTypeMap,
|
|
688
|
+
Ne as serialiseError,
|
|
689
|
+
be as useCytoscapeJS,
|
|
690
|
+
he as useDataTable,
|
|
691
|
+
ye as useHighcharts
|
|
421
692
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.130",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
},
|
|
17
17
|
"types": "./dist/types/src/index.d.ts",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@datapos/datapos-development": "^0.3.
|
|
19
|
+
"@datapos/datapos-development": "^0.3.39",
|
|
20
20
|
"@types/markdown-it": "^14.1.2",
|
|
21
|
-
"@types/node": "^24.
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^8.46.
|
|
23
|
-
"@typescript-eslint/parser": "^8.46.
|
|
21
|
+
"@types/node": "^24.10.0",
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
23
|
+
"@typescript-eslint/parser": "^8.46.3",
|
|
24
24
|
"csv-parse": "^6.1.0",
|
|
25
25
|
"date-fns": "^4.1.0",
|
|
26
|
-
"eslint": "^9.
|
|
26
|
+
"eslint": "^9.39.1",
|
|
27
27
|
"eslint-plugin-import": "^2.32.0",
|
|
28
28
|
"highcharts": "^12.4.0",
|
|
29
29
|
"jiti": "^2.6.1",
|
|
@@ -53,5 +53,12 @@
|
|
|
53
53
|
"test": "echo \"***** TEST SCRIPT NOT IMPLEMENTED. *****\"",
|
|
54
54
|
"updateDependencies": "npm run updateOperations",
|
|
55
55
|
"updateOperations": "npm install -D @datapos/datapos-development@latest"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"chalk": "^5.6.2",
|
|
59
|
+
"install": "^0.13.0",
|
|
60
|
+
"log-symbols": "^7.0.1",
|
|
61
|
+
"npm": "^11.6.2",
|
|
62
|
+
"uninstall": "^0.0.0"
|
|
56
63
|
}
|
|
57
64
|
}
|