@datapos/datapos-shared 0.3.214 → 0.3.215
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.
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ registry=https://registry.npmjs.org/
|
|
|
31
31
|
|
|
32
32
|
## Declarations
|
|
33
33
|
|
|
34
|
-
This package provides
|
|
34
|
+
This package provides constants, errors, types/interfaces and utilities used by Data Positioning modules.
|
|
35
35
|
|
|
36
36
|
### Modules
|
|
37
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.215",
|
|
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,
|
|
@@ -31,10 +31,6 @@
|
|
|
31
31
|
"zod": "^4.1.12"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"highcharts": "^12.4.0",
|
|
35
|
-
"micromark": "^4.0.2",
|
|
36
|
-
"micromark-extension-gfm": "^3.0.0",
|
|
37
|
-
"micromark-extension-math": "^3.1.0",
|
|
38
34
|
"@datapos/datapos-development": "^0.3.84",
|
|
39
35
|
"@types/node": "^24.10.1",
|
|
40
36
|
"@types/prismjs": "^1.26.5",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Chart } from 'highcharts';
|
|
2
|
-
import { PresentationView, PresentationVisualCartesianViewType, PresentationVisualContentConfig, PresentationVisualPolarViewType, PresentationVisualRangeViewType } from '../index';
|
|
3
|
-
export interface HighchartsView extends PresentationView {
|
|
4
|
-
chart: Chart;
|
|
5
|
-
}
|
|
6
|
-
export declare function useHighcharts(): {
|
|
7
|
-
renderCartesianChart: (type: PresentationVisualCartesianViewType, contentConfig: PresentationVisualContentConfig, element: HTMLElement, callback?: () => void) => Promise<HighchartsView>;
|
|
8
|
-
renderPolarChart: (type: PresentationVisualPolarViewType, content: PresentationVisualContentConfig, element: HTMLElement, callback?: () => void) => Promise<HighchartsView>;
|
|
9
|
-
renderRangeChart: (type: PresentationVisualRangeViewType, content: PresentationVisualContentConfig, element: HTMLElement, callback?: () => void) => Promise<HighchartsView>;
|
|
10
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { micromark } from 'micromark';
|
|
2
|
-
import { gfm, gfmHtml } from 'micromark-extension-gfm';
|
|
3
|
-
import { math, mathHtml } from 'micromark-extension-math';
|
|
4
|
-
type MicromarkTools = {
|
|
5
|
-
gfmExtension: typeof gfm;
|
|
6
|
-
gfmHtmlExtension: typeof gfmHtml;
|
|
7
|
-
mathExtension: typeof math;
|
|
8
|
-
mathHtmlExtension: typeof mathHtml;
|
|
9
|
-
micromark: typeof micromark;
|
|
10
|
-
};
|
|
11
|
-
export declare function useMicromark(): {
|
|
12
|
-
getTools: () => Promise<MicromarkTools>;
|
|
13
|
-
render: () => Promise<void>;
|
|
14
|
-
};
|
|
15
|
-
export {};
|