@datapos/datapos-shared 0.3.195 → 0.3.196

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