@datapos/datapos-shared 0.3.173 → 0.3.174

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.
@@ -77,10 +77,10 @@ function H() {
77
77
  }
78
78
  return { renderCartesianChart: e, renderPolarChart: r, renderRangeChart: a };
79
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`;
80
+ const O = 4, N = `https://cdn.jsdelivr.net/npm/micromark@${O}/+esm`, D = 1, _ = `https://cdn.jsdelivr.net/npm/prismjs@${D}/+esm`, C = `https://cdn.jsdelivr.net/npm/prismjs@${D}/components/prism-javascript.min.js`, L = `https://cdn.jsdelivr.net/npm/prismjs@${D}/components/prism-javascript.min.js`;
81
81
  let f, y;
82
82
  function V() {
83
- async function e(t, o, n) {
83
+ async function e() {
84
84
  await a();
85
85
  }
86
86
  function r() {
@@ -122,13 +122,13 @@ const z = 0, X = (e) => e, G = () => Date.now(), J = {
122
122
  streamgraph: { categoryId: "streamgraph", label: { "en-gb": "Streamgraph" }, options: {} },
123
123
  values: { categoryId: "values", label: { "en-gb": "Values" }, options: {} }
124
124
  };
125
- class D extends Error {
125
+ class T extends Error {
126
126
  locator;
127
127
  constructor(r, a, t) {
128
128
  super(r, t), this.name = "DataPosError", this.locator = a, Error.captureStackTrace?.(this, new.target);
129
129
  }
130
130
  }
131
- class g extends D {
131
+ class g extends T {
132
132
  constructor(r, a, t) {
133
133
  super(r, a, t), this.name = "ApplicationError";
134
134
  }
@@ -166,7 +166,7 @@ class Y extends g {
166
166
  super(r, a, t), this.name = "WindowHandledPromiseRejectionError";
167
167
  }
168
168
  }
169
- class Z extends D {
169
+ class Z extends T {
170
170
  constructor(r, a, t) {
171
171
  super(r, a, t), this.name = "OperationalError";
172
172
  }
@@ -197,7 +197,7 @@ function ae(e) {
197
197
  o = { body: t.body, locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
198
198
  else if (t instanceof $)
199
199
  o = { componentName: t.componentName, info: t.info, locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
200
- else if (t instanceof D)
200
+ else if (t instanceof T)
201
201
  o = { locator: t.locator, message: t.message, name: t.name, stack: t.stack }, t = t.cause;
202
202
  else if (t instanceof Error) {
203
203
  const n = t;
@@ -1,6 +1,6 @@
1
1
  import { micromark } from 'micromark';
2
2
  import { default as prism } from 'prismjs';
3
- import { PresentationView, PresentationVisualContentConfig } from '../index';
3
+ import { PresentationView } from '../index';
4
4
  export interface CytoscapeJSView extends PresentationView {
5
5
  diagram: unknown;
6
6
  }
@@ -11,5 +11,5 @@ export declare function useMicromark(): {
11
11
  };
12
12
  micromarkModule: typeof micromark | undefined;
13
13
  prismModule: typeof prism | undefined;
14
- render: (viewType: unknown, contentConfig: PresentationVisualContentConfig, element: HTMLElement) => Promise<void>;
14
+ render: () => Promise<void>;
15
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.173",
3
+ "version": "0.3.174",
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,