@datapos/datapos-shared 0.3.177 → 0.3.180
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,21 +1,21 @@
|
|
|
1
1
|
const U = ["createObject", "dropObject", "removeRecords", "upsertRecords"], P = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"];
|
|
2
2
|
function B() {
|
|
3
|
-
function e(
|
|
4
|
-
|
|
3
|
+
function e(t, a, r) {
|
|
4
|
+
r.textContent = "Cytoscape.js diagram goes here...";
|
|
5
5
|
}
|
|
6
6
|
return { render: e };
|
|
7
7
|
}
|
|
8
8
|
function W() {
|
|
9
|
-
function e(
|
|
10
|
-
|
|
9
|
+
function e(t, a, r) {
|
|
10
|
+
r.textContent = "values table goes here...";
|
|
11
11
|
}
|
|
12
12
|
return { render: e };
|
|
13
13
|
}
|
|
14
|
-
const A = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/",
|
|
14
|
+
const A = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", D = "highcharts";
|
|
15
15
|
let b, R = !1;
|
|
16
16
|
function H() {
|
|
17
17
|
async function e(n, s, m, h) {
|
|
18
|
-
await
|
|
18
|
+
await r();
|
|
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 });
|
|
@@ -27,10 +27,10 @@ function H() {
|
|
|
27
27
|
xAxis: { categories: s.data.categoryLabels },
|
|
28
28
|
yAxis: { title: { text: s.data.name } }
|
|
29
29
|
}, u = b.chart(m, p, h);
|
|
30
|
-
return { chart: u, resize: () => u.reflow(), vendorId:
|
|
30
|
+
return { chart: u, resize: () => u.reflow(), vendorId: D };
|
|
31
31
|
}
|
|
32
|
-
async function
|
|
33
|
-
await Promise.all([
|
|
32
|
+
async function t(n, s, m, h) {
|
|
33
|
+
await Promise.all([r(), 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 });
|
|
@@ -42,10 +42,10 @@ function H() {
|
|
|
42
42
|
xAxis: { categories: s.data.categoryLabels },
|
|
43
43
|
yAxis: { title: { text: s.data.name } }
|
|
44
44
|
}, u = b.chart(m, p, h);
|
|
45
|
-
return { chart: u, resize: () => u.reflow(), vendorId:
|
|
45
|
+
return { chart: u, resize: () => u.reflow(), vendorId: D };
|
|
46
46
|
}
|
|
47
47
|
async function a(n, s, m, h) {
|
|
48
|
-
await Promise.all([
|
|
48
|
+
await Promise.all([r(), o()]);
|
|
49
49
|
const l = [], p = [];
|
|
50
50
|
for (let E = 0; E < s.data.measures[0].data.length; E++)
|
|
51
51
|
p.push([s.data.measures[0].data[E][0], s.data.measures[1].data[E][0]]);
|
|
@@ -58,9 +58,9 @@ function H() {
|
|
|
58
58
|
xAxis: { categories: s.data.categoryLabels },
|
|
59
59
|
yAxis: { title: { text: s.data.name } }
|
|
60
60
|
}, c = b.chart(m, u, h);
|
|
61
|
-
return { chart: c, resize: () => c.reflow(), vendorId:
|
|
61
|
+
return { chart: c, resize: () => c.reflow(), vendorId: D };
|
|
62
62
|
}
|
|
63
|
-
async function
|
|
63
|
+
async function r() {
|
|
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(
|
|
@@ -75,33 +75,40 @@ function H() {
|
|
|
75
75
|
if (R) return;
|
|
76
76
|
await import(`${A}highcharts-more.src.js`), R = !0;
|
|
77
77
|
}
|
|
78
|
-
return { renderCartesianChart: e, renderPolarChart:
|
|
78
|
+
return { renderCartesianChart: e, renderPolarChart: t, renderRangeChart: a };
|
|
79
79
|
}
|
|
80
|
-
const O = 4, N = `https://cdn.jsdelivr.net/npm/micromark@${O}/+esm`,
|
|
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
81
|
let f, y;
|
|
82
82
|
function V() {
|
|
83
|
-
|
|
84
|
-
await a();
|
|
85
|
-
}
|
|
86
|
-
function r() {
|
|
83
|
+
function e() {
|
|
87
84
|
return { micromarkModule: f, prismModule: y };
|
|
88
85
|
}
|
|
86
|
+
async function t() {
|
|
87
|
+
await a();
|
|
88
|
+
}
|
|
89
89
|
async function a() {
|
|
90
|
-
f && y
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
90
|
+
if (f && y) return;
|
|
91
|
+
const r = await Promise.all([
|
|
92
|
+
import(
|
|
93
|
+
/* @vite-ignore */
|
|
94
|
+
N
|
|
95
|
+
),
|
|
96
|
+
import(
|
|
97
|
+
/* @vite-ignore */
|
|
98
|
+
_
|
|
99
|
+
),
|
|
100
|
+
import(
|
|
101
|
+
/* @vite-ignore */
|
|
102
|
+
C
|
|
103
|
+
),
|
|
104
|
+
import(
|
|
105
|
+
/* @vite-ignore */
|
|
106
|
+
L
|
|
107
|
+
)
|
|
108
|
+
]);
|
|
109
|
+
f = r[0], y = r[1], console.log("micromarkModule", f), console.log("micromarkModule", f?.default), console.log("prismModule", y), console.log("prismModule", y?.default);
|
|
103
110
|
}
|
|
104
|
-
return { getStuff:
|
|
111
|
+
return { getStuff: e, render: t };
|
|
105
112
|
}
|
|
106
113
|
const z = 0, X = (e) => e, G = () => Date.now(), J = {
|
|
107
114
|
cartesian_areaLine: { categoryId: "cartesian", typeId: "areaLine", label: { "en-gb": "Area Line" }, options: { highchartsType: "area" } },
|
|
@@ -122,87 +129,87 @@ const z = 0, X = (e) => e, G = () => Date.now(), J = {
|
|
|
122
129
|
streamgraph: { categoryId: "streamgraph", label: { "en-gb": "Streamgraph" }, options: {} },
|
|
123
130
|
values: { categoryId: "values", label: { "en-gb": "Values" }, options: {} }
|
|
124
131
|
};
|
|
125
|
-
class
|
|
132
|
+
class w extends Error {
|
|
126
133
|
locator;
|
|
127
|
-
constructor(
|
|
128
|
-
super(
|
|
134
|
+
constructor(t, a, r) {
|
|
135
|
+
super(t, r), this.name = "DataPosError", this.locator = a, Error.captureStackTrace?.(this, new.target);
|
|
129
136
|
}
|
|
130
137
|
}
|
|
131
|
-
class g extends
|
|
132
|
-
constructor(
|
|
133
|
-
super(
|
|
138
|
+
class g extends w {
|
|
139
|
+
constructor(t, a, r) {
|
|
140
|
+
super(t, a, r), this.name = "ApplicationError";
|
|
134
141
|
}
|
|
135
142
|
}
|
|
136
143
|
class K extends g {
|
|
137
|
-
constructor(
|
|
138
|
-
super(
|
|
144
|
+
constructor(t, a, r) {
|
|
145
|
+
super(t, a, r), this.name = "APIError";
|
|
139
146
|
}
|
|
140
147
|
}
|
|
141
148
|
class q extends g {
|
|
142
|
-
constructor(
|
|
143
|
-
super(
|
|
149
|
+
constructor(t, a, r) {
|
|
150
|
+
super(t, a, r), this.name = "EngineError";
|
|
144
151
|
}
|
|
145
152
|
}
|
|
146
153
|
class v extends g {
|
|
147
154
|
body;
|
|
148
|
-
constructor(
|
|
149
|
-
super(
|
|
155
|
+
constructor(t, a, r, o) {
|
|
156
|
+
super(t, a, o), this.name = "FetchError", this.body = r;
|
|
150
157
|
}
|
|
151
158
|
}
|
|
152
|
-
class
|
|
159
|
+
class M extends g {
|
|
153
160
|
componentName;
|
|
154
161
|
info;
|
|
155
|
-
constructor(
|
|
156
|
-
super(
|
|
162
|
+
constructor(t, a, r, o, n) {
|
|
163
|
+
super(t, a, n), this.name = "VueHandledError", this.info = r, this.componentName = o;
|
|
157
164
|
}
|
|
158
165
|
}
|
|
159
166
|
class Q extends g {
|
|
160
|
-
constructor(
|
|
161
|
-
super(
|
|
167
|
+
constructor(t, a, r) {
|
|
168
|
+
super(t, a, r), this.name = "WindowHandledRuntimeError";
|
|
162
169
|
}
|
|
163
170
|
}
|
|
164
171
|
class Y extends g {
|
|
165
|
-
constructor(
|
|
166
|
-
super(
|
|
172
|
+
constructor(t, a, r) {
|
|
173
|
+
super(t, a, r), this.name = "WindowHandledPromiseRejectionError";
|
|
167
174
|
}
|
|
168
175
|
}
|
|
169
|
-
class Z extends
|
|
170
|
-
constructor(
|
|
171
|
-
super(
|
|
176
|
+
class Z extends w {
|
|
177
|
+
constructor(t, a, r) {
|
|
178
|
+
super(t, a, r), this.name = "OperationalError";
|
|
172
179
|
}
|
|
173
180
|
}
|
|
174
|
-
async function ee(e,
|
|
175
|
-
const
|
|
176
|
-
return new v(
|
|
181
|
+
async function ee(e, t, a) {
|
|
182
|
+
const r = `${t} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`, o = await e.text();
|
|
183
|
+
return new v(r, a, o);
|
|
177
184
|
}
|
|
178
|
-
function
|
|
179
|
-
return e.map((
|
|
185
|
+
function re(e) {
|
|
186
|
+
return e.map((t) => t.message).join(" ");
|
|
180
187
|
}
|
|
181
|
-
function
|
|
188
|
+
function te(e, t = "Unknown error.") {
|
|
182
189
|
if (e instanceof Error) return e;
|
|
183
190
|
if (typeof e == "string") return new Error(e);
|
|
184
191
|
try {
|
|
185
|
-
return new Error(JSON.stringify(e ??
|
|
192
|
+
return new Error(JSON.stringify(e ?? t));
|
|
186
193
|
} catch {
|
|
187
|
-
return new Error(
|
|
194
|
+
return new Error(t);
|
|
188
195
|
}
|
|
189
196
|
}
|
|
190
197
|
function ae(e) {
|
|
191
|
-
const
|
|
192
|
-
let
|
|
193
|
-
for (;
|
|
194
|
-
|
|
198
|
+
const t = /* @__PURE__ */ new Set(), a = [];
|
|
199
|
+
let r = e;
|
|
200
|
+
for (; r && !t.has(r); ) {
|
|
201
|
+
t.add(r);
|
|
195
202
|
let o;
|
|
196
|
-
if (
|
|
197
|
-
o = { body:
|
|
198
|
-
else if (
|
|
199
|
-
o = { componentName:
|
|
200
|
-
else if (
|
|
201
|
-
o = { locator:
|
|
202
|
-
else if (
|
|
203
|
-
const n =
|
|
204
|
-
o = { locator: "", message: n.message, name: n.name, stack: n.stack },
|
|
205
|
-
} else
|
|
203
|
+
if (r instanceof v)
|
|
204
|
+
o = { body: r.body, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
205
|
+
else if (r instanceof M)
|
|
206
|
+
o = { componentName: r.componentName, info: r.info, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
207
|
+
else if (r instanceof w)
|
|
208
|
+
o = { locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
209
|
+
else if (r instanceof Error) {
|
|
210
|
+
const n = r;
|
|
211
|
+
o = { locator: "", message: n.message, name: n.name, stack: n.stack }, r = n.cause;
|
|
212
|
+
} else r ? (o = { locator: "", message: String(r), name: "Error" }, r = void 0) : (o = { locator: "", message: "Unknown error.", name: "Error" }, r = void 0);
|
|
206
213
|
/(?:\.{3}|[.!?])$/.test(o.message) || (o.message += "."), a.push(o);
|
|
207
214
|
}
|
|
208
215
|
return a;
|
|
@@ -248,38 +255,38 @@ const S = "en-US", I = {}, ne = (e) => {
|
|
|
248
255
|
}
|
|
249
256
|
}, oe = (e) => {
|
|
250
257
|
if (e) {
|
|
251
|
-
const
|
|
258
|
+
const t = e.lastIndexOf("/"), a = e.lastIndexOf(".", t > -1 ? t : e.length);
|
|
252
259
|
return a > -1 ? e.substring(0, a) : e;
|
|
253
260
|
}
|
|
254
261
|
}, se = (e) => {
|
|
255
262
|
if (e) {
|
|
256
|
-
const
|
|
257
|
-
if (
|
|
263
|
+
const t = e.lastIndexOf(".");
|
|
264
|
+
if (t > -1) return e.substring(t + 1);
|
|
258
265
|
}
|
|
259
|
-
}, i = (e,
|
|
266
|
+
}, i = (e, t = 2, a = t, r = S) => {
|
|
260
267
|
if (e == null) return "";
|
|
261
|
-
const o = `${
|
|
268
|
+
const o = `${r}decimal${t}.${a}`;
|
|
262
269
|
let n = I[o];
|
|
263
|
-
return n || (n = new Intl.NumberFormat(
|
|
270
|
+
return n || (n = new Intl.NumberFormat(r, {
|
|
264
271
|
localeMatcher: "best fit",
|
|
265
|
-
maximumFractionDigits:
|
|
272
|
+
maximumFractionDigits: t,
|
|
266
273
|
minimumFractionDigits: a,
|
|
267
274
|
minimumIntegerDigits: 1,
|
|
268
275
|
style: "decimal",
|
|
269
276
|
useGrouping: !0
|
|
270
277
|
}), I[o] = n), n.format(e);
|
|
271
|
-
}, ie = (e) => e == null ? "" : e < 1e3 ? x(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 ? `${x(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 ? `${x(e)} ms` : e === 1e3 ? `${x(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`, x = (e,
|
|
278
|
+
}, ie = (e) => e == null ? "" : e < 1e3 ? x(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 ? `${x(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 ? `${x(e)} ms` : e === 1e3 ? `${x(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`, x = (e, t = S) => {
|
|
272
279
|
if (e == null) return "";
|
|
273
|
-
const a = `${
|
|
274
|
-
let
|
|
275
|
-
return
|
|
280
|
+
const a = `${t}decimal0.0`;
|
|
281
|
+
let r = I[a];
|
|
282
|
+
return r || (r = new Intl.NumberFormat(t, {
|
|
276
283
|
localeMatcher: "best fit",
|
|
277
284
|
maximumFractionDigits: 0,
|
|
278
285
|
minimumFractionDigits: 0,
|
|
279
286
|
minimumIntegerDigits: 1,
|
|
280
287
|
style: "decimal",
|
|
281
288
|
useGrouping: !0
|
|
282
|
-
}), I[a] =
|
|
289
|
+
}), I[a] = r), r.format(e);
|
|
283
290
|
}, de = (e) => {
|
|
284
291
|
switch (e) {
|
|
285
292
|
case "csv":
|
|
@@ -294,7 +301,7 @@ const S = "en-US", I = {}, ne = (e) => {
|
|
|
294
301
|
default:
|
|
295
302
|
return "application/octet-stream";
|
|
296
303
|
}
|
|
297
|
-
},
|
|
304
|
+
}, $ = [
|
|
298
305
|
{ id: "dtv", label: { "en-gb": "Delimited Text" } },
|
|
299
306
|
{ id: "e/e", label: { "en-gb": "Entity/Event" } },
|
|
300
307
|
{ id: "jsonArray", label: { "en-gb": "JSON Array" } },
|
|
@@ -303,9 +310,9 @@ const S = "en-US", I = {}, ne = (e) => {
|
|
|
303
310
|
{ id: "xlsx", label: { "en-gb": "XLSX" } },
|
|
304
311
|
{ id: "xml", label: { "en-gb": "XML" } }
|
|
305
312
|
], me = (e = d) => {
|
|
306
|
-
const
|
|
307
|
-
for (const a of
|
|
308
|
-
return
|
|
313
|
+
const t = [];
|
|
314
|
+
for (const a of $) t.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
315
|
+
return t;
|
|
309
316
|
}, j = [
|
|
310
317
|
{ id: `
|
|
311
318
|
`, label: { "en-gb": "Newline" } },
|
|
@@ -313,10 +320,10 @@ const S = "en-US", I = {}, ne = (e) => {
|
|
|
313
320
|
{ id: `\r
|
|
314
321
|
`, label: { "en-gb": "Carriage Return/Newline" } }
|
|
315
322
|
], ue = (e = d) => {
|
|
316
|
-
const
|
|
323
|
+
const t = [];
|
|
317
324
|
for (const a of j)
|
|
318
|
-
|
|
319
|
-
return
|
|
325
|
+
t.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
326
|
+
return t;
|
|
320
327
|
}, k = [
|
|
321
328
|
{ id: ":", label: { "en-gb": "Colon" } },
|
|
322
329
|
{ id: ",", label: { "en-gb": "Comma" } },
|
|
@@ -330,10 +337,10 @@ const S = "en-US", I = {}, ne = (e) => {
|
|
|
330
337
|
{ id: "0x1F", label: { "en-gb": "Unit Separator" } },
|
|
331
338
|
{ id: "|", label: { "en-gb": "Vertical Bar" } }
|
|
332
339
|
], pe = (e = d) => {
|
|
333
|
-
const
|
|
340
|
+
const t = [];
|
|
334
341
|
for (const a of k)
|
|
335
|
-
|
|
336
|
-
return
|
|
342
|
+
t.push({ ...a, label: a.label[e] || a.label[d] || a.id });
|
|
343
|
+
return t;
|
|
337
344
|
}, F = [
|
|
338
345
|
{ id: "alpha", color: "red", label: { "en-gb": "alpha" } },
|
|
339
346
|
{ id: "beta", color: "amber", label: { "en-gb": "beta" } },
|
|
@@ -344,9 +351,9 @@ const S = "en-US", I = {}, ne = (e) => {
|
|
|
344
351
|
{ id: "releaseCandidate", color: "green", label: { "en-gb": "release-candidate" } },
|
|
345
352
|
{ id: "unavailable", color: "other", label: { "en-gb": "unavailable" } },
|
|
346
353
|
{ id: "underReview", color: "other", label: { "en-gb": "under-review" } }
|
|
347
|
-
], ge = (e,
|
|
348
|
-
const a = F.find((
|
|
349
|
-
return a ? { ...a, label: a.label[
|
|
354
|
+
], ge = (e, t = d) => {
|
|
355
|
+
const a = F.find((r) => r.id === e);
|
|
356
|
+
return a ? { ...a, label: a.label[t] || a.label[d] || e } : { id: e, color: "other", label: e };
|
|
350
357
|
}, d = "en-gb";
|
|
351
358
|
export {
|
|
352
359
|
K as APIError,
|
|
@@ -358,11 +365,11 @@ export {
|
|
|
358
365
|
q as EngineError,
|
|
359
366
|
v as FetchError,
|
|
360
367
|
Z as OperationalError,
|
|
361
|
-
|
|
368
|
+
M as VueError,
|
|
362
369
|
Y as WindowPromiseRejectionError,
|
|
363
370
|
Q as WindowRuntimeError,
|
|
364
371
|
ee as buildFetchError,
|
|
365
|
-
|
|
372
|
+
re as concatenateSerialisedErrorMessages,
|
|
366
373
|
X as convertMillisecondsToTimestamp,
|
|
367
374
|
ne as convertODataTypeIdToUsageTypeId,
|
|
368
375
|
se as extractExtensionFromPath,
|
|
@@ -378,7 +385,7 @@ export {
|
|
|
378
385
|
ue as getRecordDelimiters,
|
|
379
386
|
pe as getValueDelimiters,
|
|
380
387
|
de as lookupMimeTypeForExtension,
|
|
381
|
-
|
|
388
|
+
te as normalizeToError,
|
|
382
389
|
J as presentationViewTypeMap,
|
|
383
390
|
ae as serialiseError,
|
|
384
391
|
B as useCytoscapeJS,
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { micromark } from 'micromark';
|
|
2
2
|
import { default as prism } from 'prismjs';
|
|
3
|
-
import { PresentationView } from '../index';
|
|
4
|
-
export interface CytoscapeJSView extends PresentationView {
|
|
5
|
-
diagram: unknown;
|
|
6
|
-
}
|
|
7
3
|
export declare function useMicromark(): {
|
|
8
4
|
getStuff: () => {
|
|
9
5
|
micromarkModule: typeof micromark | undefined;
|
|
10
6
|
prismModule: typeof prism | undefined;
|
|
11
7
|
};
|
|
12
|
-
micromarkModule: typeof micromark | undefined;
|
|
13
|
-
prismModule: typeof prism | undefined;
|
|
14
8
|
render: () => Promise<void>;
|
|
15
9
|
};
|
package/package.json
CHANGED