@datapos/datapos-shared 0.3.171 → 0.3.173
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.
|
@@ -47,8 +47,8 @@ function H() {
|
|
|
47
47
|
async function a(n, s, m, h) {
|
|
48
48
|
await Promise.all([t(), o()]);
|
|
49
49
|
const l = [], p = [];
|
|
50
|
-
for (let
|
|
51
|
-
p.push([s.data.measures[0].data[
|
|
50
|
+
for (let E = 0; E < s.data.measures[0].data.length; E++)
|
|
51
|
+
p.push([s.data.measures[0].data[E][0], s.data.measures[1].data[E][0]]);
|
|
52
52
|
l.push({ type: n.options.highchartsType, name: "Unknown", data: p });
|
|
53
53
|
const u = {
|
|
54
54
|
chart: { type: n.options.highchartsType, inverted: n.options.inverted },
|
|
@@ -78,16 +78,19 @@ function H() {
|
|
|
78
78
|
return { renderCartesianChart: e, renderPolarChart: r, renderRangeChart: a };
|
|
79
79
|
}
|
|
80
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
|
|
81
|
+
let f, y;
|
|
82
82
|
function V() {
|
|
83
|
-
async function e(
|
|
84
|
-
await
|
|
83
|
+
async function e(t, o, n) {
|
|
84
|
+
await a();
|
|
85
85
|
}
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
function r() {
|
|
87
|
+
return { micromarkModule: f, prismModule: y };
|
|
88
|
+
}
|
|
89
|
+
async function a() {
|
|
90
|
+
f && y || (f = await import(
|
|
88
91
|
/* @vite-ignore */
|
|
89
92
|
N
|
|
90
|
-
),
|
|
93
|
+
), y = await import(
|
|
91
94
|
/* @vite-ignore */
|
|
92
95
|
_
|
|
93
96
|
), await import(
|
|
@@ -96,9 +99,9 @@ function V() {
|
|
|
96
99
|
), await import(
|
|
97
100
|
/* @vite-ignore */
|
|
98
101
|
L
|
|
99
|
-
), console.log("micromarkModule",
|
|
102
|
+
), console.log("micromarkModule", f), console.log("prismModule", y));
|
|
100
103
|
}
|
|
101
|
-
return { micromarkModule:
|
|
104
|
+
return { getStuff: r, micromarkModule: f, prismModule: y, render: e };
|
|
102
105
|
}
|
|
103
106
|
const z = 0, X = (e) => e, G = () => Date.now(), J = {
|
|
104
107
|
cartesian_areaLine: { categoryId: "cartesian", typeId: "areaLine", label: { "en-gb": "Area Line" }, options: { highchartsType: "area" } },
|
|
@@ -5,6 +5,10 @@ export interface CytoscapeJSView extends PresentationView {
|
|
|
5
5
|
diagram: unknown;
|
|
6
6
|
}
|
|
7
7
|
export declare function useMicromark(): {
|
|
8
|
+
getStuff: () => {
|
|
9
|
+
micromarkModule: typeof micromark | undefined;
|
|
10
|
+
prismModule: typeof prism | undefined;
|
|
11
|
+
};
|
|
8
12
|
micromarkModule: typeof micromark | undefined;
|
|
9
13
|
prismModule: typeof prism | undefined;
|
|
10
14
|
render: (viewType: unknown, contentConfig: PresentationVisualContentConfig, element: HTMLElement) => Promise<void>;
|
package/package.json
CHANGED