@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 M = ["createObject", "dropObject", "removeRecords", "upsertRecords"], F = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"];
2
- function j() {
3
- function e(a, t, r) {
4
- r.textContent = "Cytoscape.js diagram goes here...";
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 U() {
9
- function e(a, t, r) {
10
- r.textContent = "values table goes here...";
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 v = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", I = "highcharts";
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 P() {
16
+ function W() {
17
17
  async function e(n, s, m, h) {
18
- await r();
19
- const l = [];
20
- for (const c of s.data.measures)
21
- l.push({ type: n.options.highchartsType, name: c.name, data: c.data });
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: l,
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([r(), o()]);
34
- const l = [];
35
- for (const c of s.data.measures)
36
- l.push({ type: n.options.highchartsType, name: c.name, data: c.data });
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: l,
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 t(n, s, m, h) {
48
- await Promise.all([r(), o()]);
49
- const l = [], p = [];
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
- l.push({ type: n.options.highchartsType, name: "Unknown", data: p });
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: l,
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
- }, c = b.chart(m, u, h);
61
- return { chart: c, resize: () => c.reflow(), vendorId: I };
60
+ }, l = b.chart(m, u, h);
61
+ return { chart: l, resize: () => l.reflow(), vendorId: I };
62
62
  }
63
- async function r() {
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(`${v}highcharts-more.src.js`), D = !0;
76
+ await import(`${S}highcharts-more.src.js`), D = !0;
77
77
  }
78
- return { renderCartesianChart: e, renderPolarChart: a, renderRangeChart: t };
78
+ return { renderCartesianChart: e, renderPolarChart: a, renderRangeChart: r };
79
79
  }
80
- const S = 4, O = `https://cdn.jsdelivr.net/npm/micromark@${S}/+esm`, A = 1, N = `https://cdn.jsdelivr.net/npm/prismjs@${A}/+esm`;
81
- let x;
82
- function B() {
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 t(), { micromark: x };
84
+ return await r(), { gfmExtension: T, micromark: x };
85
85
  }
86
86
  async function a() {
87
- await t();
87
+ await r();
88
88
  }
89
- async function t() {
90
- x || (x = (await Promise.all([import(
91
- /* @vite-ignore */
92
- O
93
- ), import(
94
- /* @vite-ignore */
95
- N
96
- )]))[0].micromark, globalThis.Prism);
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 W = 0, H = (e) => e, z = () => Date.now(), V = {
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, t, r) {
122
- super(a, r), this.name = "DataPosError", this.locator = t, Error.captureStackTrace?.(this, new.target);
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, t, r) {
127
- super(a, t, r), this.name = "ApplicationError";
135
+ constructor(a, r, t) {
136
+ super(a, r, t), this.name = "ApplicationError";
128
137
  }
129
138
  }
130
- class X extends g {
131
- constructor(a, t, r) {
132
- super(a, t, r), this.name = "APIError";
139
+ class J extends g {
140
+ constructor(a, r, t) {
141
+ super(a, r, t), this.name = "APIError";
133
142
  }
134
143
  }
135
- class G extends g {
136
- constructor(a, t, r) {
137
- super(a, t, r), this.name = "EngineError";
144
+ class q extends g {
145
+ constructor(a, r, t) {
146
+ super(a, r, t), this.name = "EngineError";
138
147
  }
139
148
  }
140
- class T extends g {
149
+ class N extends g {
141
150
  body;
142
- constructor(a, t, r, o) {
143
- super(a, t, o), this.name = "FetchError", this.body = r;
151
+ constructor(a, r, t, o) {
152
+ super(a, r, o), this.name = "FetchError", this.body = t;
144
153
  }
145
154
  }
146
- class _ extends g {
155
+ class $ extends g {
147
156
  componentName;
148
157
  info;
149
- constructor(a, t, r, o, n) {
150
- super(a, t, n), this.name = "VueHandledError", this.info = r, this.componentName = o;
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 K extends g {
154
- constructor(a, t, r) {
155
- super(a, t, r), this.name = "WindowHandledRuntimeError";
162
+ class Q extends g {
163
+ constructor(a, r, t) {
164
+ super(a, r, t), this.name = "WindowHandledRuntimeError";
156
165
  }
157
166
  }
158
- class J extends g {
159
- constructor(a, t, r) {
160
- super(a, t, r), this.name = "WindowHandledPromiseRejectionError";
167
+ class Y extends g {
168
+ constructor(a, r, t) {
169
+ super(a, r, t), this.name = "WindowHandledPromiseRejectionError";
161
170
  }
162
171
  }
163
- class q extends w {
164
- constructor(a, t, r) {
165
- super(a, t, r), this.name = "OperationalError";
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 Q(e, a, t) {
169
- const r = `${a} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`, o = await e.text();
170
- return new T(r, t, o);
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 Y(e) {
181
+ function te(e) {
173
182
  return e.map((a) => a.message).join(" ");
174
183
  }
175
- function Z(e, a = "Unknown error.") {
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 ee(e) {
185
- const a = /* @__PURE__ */ new Set(), t = [];
186
- let r = e;
187
- for (; r && !a.has(r); ) {
188
- a.add(r);
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 (r instanceof T)
191
- o = { body: r.body, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
192
- else if (r instanceof _)
193
- o = { componentName: r.componentName, info: r.info, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
194
- else if (r instanceof w)
195
- o = { locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
196
- else if (r instanceof Error) {
197
- const n = r;
198
- o = { locator: "", message: n.message, name: n.name, stack: n.stack }, r = n.cause;
199
- } else r ? (o = { locator: "", message: String(r), name: "Error" }, r = void 0) : (o = { locator: "", message: "Unknown error.", name: "Error" }, r = void 0);
200
- /(?:\.{3}|[.!?])$/.test(o.message) || (o.message += "."), t.push(o);
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 t;
211
+ return r;
203
212
  }
204
- const R = "en-US", y = {}, re = (e) => {
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
- }, te = (e) => {
252
+ }, oe = (e) => {
244
253
  if (e) {
245
- const a = e.lastIndexOf("/"), t = e.lastIndexOf(".", a > -1 ? a : e.length);
246
- return t > -1 ? e.substring(0, t) : e;
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
- }, ae = (e) => {
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, t = a, r = R) => {
262
+ }, i = (e, a = 2, r = a, t = R) => {
254
263
  if (e == null) return "";
255
- const o = `${r}decimal${a}.${t}`;
264
+ const o = `${t}decimal${a}.${r}`;
256
265
  let n = y[o];
257
- return n || (n = new Intl.NumberFormat(r, {
266
+ return n || (n = new Intl.NumberFormat(t, {
258
267
  localeMatcher: "best fit",
259
268
  maximumFractionDigits: a,
260
- minimumFractionDigits: t,
269
+ minimumFractionDigits: r,
261
270
  minimumIntegerDigits: 1,
262
271
  style: "decimal",
263
272
  useGrouping: !0
264
273
  }), y[o] = n), n.format(e);
265
- }, ne = (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`, oe = (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`, se = (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) => {
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 t = `${a}decimal0.0`;
268
- let r = y[t];
269
- return r || (r = new Intl.NumberFormat(a, {
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[t] = r), r.format(e);
277
- }, ie = (e) => {
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
- }, C = [
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
- ], le = (e = d) => {
308
+ ], me = (e = d) => {
300
309
  const a = [];
301
- for (const t of C) a.push({ ...t, label: t.label[e] || t.label[d] || t.id });
310
+ for (const r of k) a.push({ ...r, label: r.label[e] || r.label[d] || r.id });
302
311
  return a;
303
- }, L = [
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
- ], ce = (e = d) => {
318
+ ], ue = (e = d) => {
310
319
  const a = [];
311
- for (const t of L)
312
- a.push({ ...t, label: t.label[e] || t.label[d] || t.id });
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
- ], de = (e = d) => {
335
+ ], pe = (e = d) => {
327
336
  const a = [];
328
- for (const t of $)
329
- a.push({ ...t, label: t.label[e] || t.label[d] || t.id });
337
+ for (const r of M)
338
+ a.push({ ...r, label: r.label[e] || r.label[d] || r.id });
330
339
  return a;
331
- }, k = [
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
- ], me = (e, a = d) => {
342
- const t = k.find((r) => r.id === e);
343
- return t ? { ...t, label: t.label[a] || t.label[d] || e } : { id: e, color: "other", label: e };
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
- X as APIError,
355
+ J as APIError,
347
356
  g as ApplicationError,
348
- M as CONNECTOR_DESTINATION_OPERATIONS,
349
- F as CONNECTOR_SOURCE_OPERATIONS,
357
+ U as CONNECTOR_DESTINATION_OPERATIONS,
358
+ B as CONNECTOR_SOURCE_OPERATIONS,
350
359
  d as DEFAULT_LOCALE_CODE,
351
- W as DefaultTimestamp,
352
- G as EngineError,
353
- T as FetchError,
354
- q as OperationalError,
355
- _ as VueError,
356
- J as WindowPromiseRejectionError,
357
- K as WindowRuntimeError,
358
- Q as buildFetchError,
359
- Y as concatenateSerialisedErrorMessages,
360
- H as convertMillisecondsToTimestamp,
361
- re as convertODataTypeIdToUsageTypeId,
362
- ae as extractExtensionFromPath,
363
- te as extractNameFromPath,
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
- se as formatNumberAsDuration,
366
- ne as formatNumberAsSize,
367
- oe as formatNumberAsStorageSize,
374
+ le as formatNumberAsDuration,
375
+ ie as formatNumberAsSize,
376
+ ce as formatNumberAsStorageSize,
368
377
  E as formatNumberAsWholeNumber,
369
- me as getComponentStatus,
378
+ ge as getComponentStatus,
370
379
  z as getCurrentTimestamp,
371
- le as getDataFormats,
372
- ce as getRecordDelimiters,
373
- de as getValueDelimiters,
374
- ie as lookupMimeTypeForExtension,
375
- Z as normalizeToError,
376
- V as presentationViewTypeMap,
377
- ee as serialiseError,
378
- j as useCytoscapeJS,
379
- U as useDataTable,
380
- P as useHighcharts,
381
- B as useMicromark
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
  };
@@ -1,6 +1,8 @@
1
+ import { gfm } from 'micromark-extension-gfm';
1
2
  import { micromark } from 'micromark';
2
3
  export declare function useMicromark(): {
3
4
  getStuff: () => Promise<{
5
+ gfmExtension: typeof gfm;
4
6
  micromark: typeof micromark;
5
7
  }>;
6
8
  render: () => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.194",
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
  },