@datapos/datapos-shared 0.3.166 → 0.3.167

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,83 +1,106 @@
1
- const C = ["createObject", "dropObject", "removeRecords", "upsertRecords"], $ = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"];
2
- function _() {
3
- function e(t, a, r) {
4
- r.textContent = "Cytoscape.js diagram goes here...";
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 L() {
9
- function e(t, a, r) {
10
- r.textContent = "values table goes here...";
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 v = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", x = "highcharts";
15
- let b, T = !1;
16
- function F() {
17
- async function e(n, s, u, h) {
18
- await r();
14
+ const A = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", I = "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 g = {
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
- }, m = b.chart(u, g, h);
30
- return { chart: m, resize: () => m.reflow(), vendorId: x };
29
+ }, u = b.chart(m, p, h);
30
+ return { chart: u, resize: () => u.reflow(), vendorId: I };
31
31
  }
32
- async function t(n, s, u, h) {
33
- await Promise.all([r(), o()]);
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 g = {
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
- }, m = b.chart(u, g, h);
45
- return { chart: m, resize: () => m.reflow(), vendorId: x };
44
+ }, u = b.chart(m, p, h);
45
+ return { chart: u, resize: () => u.reflow(), vendorId: I };
46
46
  }
47
- async function a(n, s, u, h) {
48
- await Promise.all([r(), o()]);
49
- const l = [], g = [];
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
- g.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: g });
53
- const m = {
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(u, m, h);
61
- return { chart: c, resize: () => c.reflow(), vendorId: x };
60
+ }, c = b.chart(m, u, h);
61
+ return { chart: c, resize: () => c.reflow(), vendorId: I };
62
62
  }
63
- async function r() {
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`, u = `${n}modules/accessibility.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
- u
71
+ m
72
72
  );
73
73
  }
74
74
  async function o() {
75
- if (T) return;
76
- await import(`${v}highcharts-more.src.js`), T = !0;
75
+ if (R) return;
76
+ await import(`${A}highcharts-more.src.js`), R = !0;
77
+ }
78
+ return { renderCartesianChart: e, renderPolarChart: r, renderRangeChart: a };
79
+ }
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 x, w;
82
+ function V() {
83
+ async function e(a, t, o) {
84
+ await r(), o.textContent = "Micromark & Prism content goes here...";
85
+ }
86
+ async function r() {
87
+ x && w || (x = await import(
88
+ /* @vite-ignore */
89
+ N
90
+ ), w = 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", x), console.log("prismModule", w));
77
100
  }
78
- return { renderCartesianChart: e, renderPolarChart: t, renderRangeChart: a };
101
+ return { render: e };
79
102
  }
80
- const k = 0, M = (e) => e, U = () => Date.now(), j = {
103
+ const z = 0, X = (e) => e, G = () => Date.now(), J = {
81
104
  cartesian_areaLine: { categoryId: "cartesian", typeId: "areaLine", label: { "en-gb": "Area Line" }, options: { highchartsType: "area" } },
82
105
  cartesian_areaSpline: { categoryId: "cartesian", typeId: "areaSpline", label: { "en-gb": "Area Spline" }, options: { highchartsType: "area" } },
83
106
  cartesian_bar: { categoryId: "cartesian", typeId: "bar", label: { "en-gb": "Bar" }, options: { highchartsType: "bar" } },
@@ -96,92 +119,92 @@ const k = 0, M = (e) => e, U = () => Date.now(), j = {
96
119
  streamgraph: { categoryId: "streamgraph", label: { "en-gb": "Streamgraph" }, options: {} },
97
120
  values: { categoryId: "values", label: { "en-gb": "Values" }, options: {} }
98
121
  };
99
- class I extends Error {
122
+ class D extends Error {
100
123
  locator;
101
- constructor(t, a, r) {
102
- super(t, r), this.name = "DataPosError", this.locator = a, Error.captureStackTrace?.(this, new.target);
124
+ constructor(r, a, t) {
125
+ super(r, t), this.name = "DataPosError", this.locator = a, Error.captureStackTrace?.(this, new.target);
103
126
  }
104
127
  }
105
- class p extends I {
106
- constructor(t, a, r) {
107
- super(t, a, r), this.name = "ApplicationError";
128
+ class g extends D {
129
+ constructor(r, a, t) {
130
+ super(r, a, t), this.name = "ApplicationError";
108
131
  }
109
132
  }
110
- class B extends p {
111
- constructor(t, a, r) {
112
- super(t, a, r), this.name = "APIError";
133
+ class K extends g {
134
+ constructor(r, a, t) {
135
+ super(r, a, t), this.name = "APIError";
113
136
  }
114
137
  }
115
- class H extends p {
116
- constructor(t, a, r) {
117
- super(t, a, r), this.name = "EngineError";
138
+ class q extends g {
139
+ constructor(r, a, t) {
140
+ super(r, a, t), this.name = "EngineError";
118
141
  }
119
142
  }
120
- class w extends p {
143
+ class v extends g {
121
144
  body;
122
- constructor(t, a, r, o) {
123
- super(t, a, o), this.name = "FetchError", this.body = r;
145
+ constructor(r, a, t, o) {
146
+ super(r, a, o), this.name = "FetchError", this.body = t;
124
147
  }
125
148
  }
126
- class S extends p {
149
+ class $ extends g {
127
150
  componentName;
128
151
  info;
129
- constructor(t, a, r, o, n) {
130
- super(t, a, n), this.name = "VueHandledError", this.info = r, this.componentName = o;
152
+ constructor(r, a, t, o, n) {
153
+ super(r, a, n), this.name = "VueHandledError", this.info = t, this.componentName = o;
131
154
  }
132
155
  }
133
- class P extends p {
134
- constructor(t, a, r) {
135
- super(t, a, r), this.name = "WindowHandledRuntimeError";
156
+ class Q extends g {
157
+ constructor(r, a, t) {
158
+ super(r, a, t), this.name = "WindowHandledRuntimeError";
136
159
  }
137
160
  }
138
- class W extends p {
139
- constructor(t, a, r) {
140
- super(t, a, r), this.name = "WindowHandledPromiseRejectionError";
161
+ class Y extends g {
162
+ constructor(r, a, t) {
163
+ super(r, a, t), this.name = "WindowHandledPromiseRejectionError";
141
164
  }
142
165
  }
143
- class z extends I {
144
- constructor(t, a, r) {
145
- super(t, a, r), this.name = "OperationalError";
166
+ class Z extends D {
167
+ constructor(r, a, t) {
168
+ super(r, a, t), this.name = "OperationalError";
146
169
  }
147
170
  }
148
- async function V(e, t, a) {
149
- const r = `${t} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`, o = await e.text();
150
- return new w(r, a, o);
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);
151
174
  }
152
- function X(e) {
153
- return e.map((t) => t.message).join(" ");
175
+ function te(e) {
176
+ return e.map((r) => r.message).join(" ");
154
177
  }
155
- function G(e, t = "Unknown error.") {
178
+ function re(e, r = "Unknown error.") {
156
179
  if (e instanceof Error) return e;
157
180
  if (typeof e == "string") return new Error(e);
158
181
  try {
159
- return new Error(JSON.stringify(e ?? t));
182
+ return new Error(JSON.stringify(e ?? r));
160
183
  } catch {
161
- return new Error(t);
184
+ return new Error(r);
162
185
  }
163
186
  }
164
- function J(e) {
165
- const t = /* @__PURE__ */ new Set(), a = [];
166
- let r = e;
167
- for (; r && !t.has(r); ) {
168
- t.add(r);
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);
169
192
  let o;
170
- if (r instanceof w)
171
- o = { body: r.body, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
172
- else if (r instanceof S)
173
- o = { 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 I)
175
- o = { locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
176
- else if (r instanceof Error) {
177
- const n = r;
178
- o = { locator: "", message: n.message, name: n.name, stack: n.stack }, r = n.cause;
179
- } else r ? (o = { locator: "", message: String(r), name: "Error" }, r = void 0) : (o = { locator: "", message: "Unknown error.", name: "Error" }, r = void 0);
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);
180
203
  /(?:\.{3}|[.!?])$/.test(o.message) || (o.message += "."), a.push(o);
181
204
  }
182
205
  return a;
183
206
  }
184
- const D = "en-US", y = {}, K = (e) => {
207
+ const S = "en-US", y = {}, ne = (e) => {
185
208
  switch (e) {
186
209
  case "Edm.Binary":
187
210
  return "unknown";
@@ -220,41 +243,41 @@ const D = "en-US", y = {}, K = (e) => {
220
243
  default:
221
244
  return "unknown";
222
245
  }
223
- }, q = (e) => {
246
+ }, oe = (e) => {
224
247
  if (e) {
225
- const t = e.lastIndexOf("/"), a = e.lastIndexOf(".", t > -1 ? t : e.length);
248
+ const r = e.lastIndexOf("/"), a = e.lastIndexOf(".", r > -1 ? r : e.length);
226
249
  return a > -1 ? e.substring(0, a) : e;
227
250
  }
228
- }, Q = (e) => {
251
+ }, se = (e) => {
229
252
  if (e) {
230
- const t = e.lastIndexOf(".");
231
- if (t > -1) return e.substring(t + 1);
253
+ const r = e.lastIndexOf(".");
254
+ if (r > -1) return e.substring(r + 1);
232
255
  }
233
- }, i = (e, t = 2, a = t, r = D) => {
256
+ }, i = (e, r = 2, a = r, t = S) => {
234
257
  if (e == null) return "";
235
- const o = `${r}decimal${t}.${a}`;
258
+ const o = `${t}decimal${r}.${a}`;
236
259
  let n = y[o];
237
- return n || (n = new Intl.NumberFormat(r, {
260
+ return n || (n = new Intl.NumberFormat(t, {
238
261
  localeMatcher: "best fit",
239
- maximumFractionDigits: t,
262
+ maximumFractionDigits: r,
240
263
  minimumFractionDigits: a,
241
264
  minimumIntegerDigits: 1,
242
265
  style: "decimal",
243
266
  useGrouping: !0
244
267
  }), y[o] = n), n.format(e);
245
- }, Y = (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`, Z = (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`, ee = (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, t = D) => {
268
+ }, 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`, le = (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`, ce = (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, r = S) => {
246
269
  if (e == null) return "";
247
- const a = `${t}decimal0.0`;
248
- let r = y[a];
249
- return r || (r = new Intl.NumberFormat(t, {
270
+ const a = `${r}decimal0.0`;
271
+ let t = y[a];
272
+ return t || (t = new Intl.NumberFormat(r, {
250
273
  localeMatcher: "best fit",
251
274
  maximumFractionDigits: 0,
252
275
  minimumFractionDigits: 0,
253
276
  minimumIntegerDigits: 1,
254
277
  style: "decimal",
255
278
  useGrouping: !0
256
- }), y[a] = r), r.format(e);
257
- }, re = (e) => {
279
+ }), y[a] = t), t.format(e);
280
+ }, de = (e) => {
258
281
  switch (e) {
259
282
  case "csv":
260
283
  return "text/csv";
@@ -268,7 +291,7 @@ const D = "en-US", y = {}, K = (e) => {
268
291
  default:
269
292
  return "application/octet-stream";
270
293
  }
271
- }, N = [
294
+ }, M = [
272
295
  { id: "dtv", label: { "en-gb": "Delimited Text" } },
273
296
  { id: "e/e", label: { "en-gb": "Entity/Event" } },
274
297
  { id: "jsonArray", label: { "en-gb": "JSON Array" } },
@@ -276,22 +299,22 @@ const D = "en-US", y = {}, K = (e) => {
276
299
  { id: "xls", label: { "en-gb": "XLS" } },
277
300
  { id: "xlsx", label: { "en-gb": "XLSX" } },
278
301
  { id: "xml", label: { "en-gb": "XML" } }
279
- ], te = (e = d) => {
280
- const t = [];
281
- for (const a of N) t.push({ ...a, label: a.label[e] || a.label[d] || a.id });
282
- return t;
283
- }, R = [
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 = [
284
307
  { id: `
285
308
  `, label: { "en-gb": "Newline" } },
286
309
  { id: "\r", label: { "en-gb": "Carriage Return" } },
287
310
  { id: `\r
288
311
  `, label: { "en-gb": "Carriage Return/Newline" } }
289
- ], ae = (e = d) => {
290
- const t = [];
291
- for (const a of R)
292
- t.push({ ...a, label: a.label[e] || a.label[d] || a.id });
293
- return t;
294
- }, A = [
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 = [
295
318
  { id: ":", label: { "en-gb": "Colon" } },
296
319
  { id: ",", label: { "en-gb": "Comma" } },
297
320
  { id: "!", label: { "en-gb": "Exclamation Mark" } },
@@ -303,12 +326,12 @@ const D = "en-US", y = {}, K = (e) => {
303
326
  { id: "_", label: { "en-gb": "Underscore" } },
304
327
  { id: "0x1F", label: { "en-gb": "Unit Separator" } },
305
328
  { id: "|", label: { "en-gb": "Vertical Bar" } }
306
- ], ne = (e = d) => {
307
- const t = [];
308
- for (const a of A)
309
- t.push({ ...a, label: a.label[e] || a.label[d] || a.id });
310
- return t;
311
- }, O = [
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 = [
312
335
  { id: "alpha", color: "red", label: { "en-gb": "alpha" } },
313
336
  { id: "beta", color: "amber", label: { "en-gb": "beta" } },
314
337
  { id: "generalAvailability", color: "green", label: { "en-gb": "" } },
@@ -318,44 +341,45 @@ const D = "en-US", y = {}, K = (e) => {
318
341
  { id: "releaseCandidate", color: "green", label: { "en-gb": "release-candidate" } },
319
342
  { id: "unavailable", color: "other", label: { "en-gb": "unavailable" } },
320
343
  { id: "underReview", color: "other", label: { "en-gb": "under-review" } }
321
- ], oe = (e, t = d) => {
322
- const a = O.find((r) => r.id === e);
323
- return a ? { ...a, label: a.label[t] || a.label[d] || e } : { id: e, color: "other", label: e };
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 };
324
347
  }, d = "en-gb";
325
348
  export {
326
- B as APIError,
327
- p as ApplicationError,
328
- C as CONNECTOR_DESTINATION_OPERATIONS,
329
- $ as CONNECTOR_SOURCE_OPERATIONS,
349
+ K as APIError,
350
+ g as ApplicationError,
351
+ U as CONNECTOR_DESTINATION_OPERATIONS,
352
+ P as CONNECTOR_SOURCE_OPERATIONS,
330
353
  d as DEFAULT_LOCALE_CODE,
331
- k as DefaultTimestamp,
332
- H as EngineError,
333
- w as FetchError,
334
- z as OperationalError,
335
- S as VueError,
336
- W as WindowPromiseRejectionError,
337
- P as WindowRuntimeError,
338
- V as buildFetchError,
339
- X as concatenateSerialisedErrorMessages,
340
- M as convertMillisecondsToTimestamp,
341
- K as convertODataTypeIdToUsageTypeId,
342
- Q as extractExtensionFromPath,
343
- q as extractNameFromPath,
354
+ z as DefaultTimestamp,
355
+ q as EngineError,
356
+ v as FetchError,
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,
344
367
  i as formatNumberAsDecimalNumber,
345
- ee as formatNumberAsDuration,
346
- Y as formatNumberAsSize,
347
- Z as formatNumberAsStorageSize,
368
+ ce as formatNumberAsDuration,
369
+ ie as formatNumberAsSize,
370
+ le as formatNumberAsStorageSize,
348
371
  E as formatNumberAsWholeNumber,
349
- oe as getComponentStatus,
350
- U as getCurrentTimestamp,
351
- te as getDataFormats,
352
- ae as getRecordDelimiters,
353
- ne as getValueDelimiters,
354
- re as lookupMimeTypeForExtension,
355
- G as normalizeToError,
356
- j as presentationViewTypeMap,
357
- J as serialiseError,
358
- _ as useCytoscapeJS,
359
- L as useDataTable,
360
- F as useHighcharts
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
361
385
  };
@@ -55,6 +55,7 @@ export type { Timestamp } from './timestamp';
55
55
  export { type CytoscapeJSView, useCytoscapeJS } from './composables/useCytoscapeJS';
56
56
  export { useDataTable } from './composables/useDataTable';
57
57
  export { type HighchartsView, useHighcharts } from './composables/useHighcharts';
58
+ export { useMicromark } from './composables/useMicromark';
58
59
  export declare const DEFAULT_LOCALE_CODE: LocaleCode;
59
60
  export { DefaultTimestamp } from './timestamp';
60
61
  export { presentationViewTypeMap } from './component/presenter/presentation';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.166",
3
+ "version": "0.3.167",
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,