@datapos/datapos-shared 0.3.159 → 0.3.163
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
|
@@ -84,18 +84,18 @@ Each module implements a set of components. All module component types extend th
|
|
|
84
84
|
|
|
85
85
|
#### Informer Module Components
|
|
86
86
|
|
|
87
|
-
| Item | Notes |
|
|
88
|
-
| ------------------------------------------- | --------------------------------------------------------------------- |
|
|
89
|
-
| [Presenter Types](./src/presenter.ts) | Presenter types. The Presenter type extends the Component type. |
|
|
90
|
-
| [Presentation Types](./src/presentation.ts) | Presentation types. The Presentation type extends the Component type. |
|
|
91
|
-
|
|
92
|
-
#### Presenter Module Components
|
|
93
|
-
|
|
94
87
|
| Item | Notes |
|
|
95
88
|
| ----------------------------------- | ------------------------------------------------------------- |
|
|
96
89
|
| [Informer Types](./src/informer.ts) | Informer types. The Informer type extends the Component type. |
|
|
97
90
|
| [Recipe Types](./src/recipe.ts) | Recipe types. The Recipe type extends the Component type. |
|
|
98
91
|
|
|
92
|
+
#### Presenter Module Components
|
|
93
|
+
|
|
94
|
+
| Item | Notes |
|
|
95
|
+
| ------------------------------------------- | --------------------------------------------------------------------- |
|
|
96
|
+
| [Presenter Types](./src/presenter.ts) | Presenter types. The Presenter type extends the Component type. |
|
|
97
|
+
| [Presentation Types](./src/presentation.ts) | Presentation types. The Presentation type extends the Component type. |
|
|
98
|
+
|
|
99
99
|
### Composables
|
|
100
100
|
|
|
101
101
|
### Constants
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as MarkdownIt } from 'markdown-it';
|
|
2
|
+
import { micromark } from 'micromark';
|
|
3
|
+
import { default as prism } from 'prismjs';
|
|
2
4
|
import { Module } from '../../module';
|
|
3
5
|
import { Component, ComponentConfig, ComponentRef } from '..';
|
|
4
6
|
export interface Presenter extends Module, Component {
|
|
@@ -16,5 +18,7 @@ export type PresenterLocalisedConfig = Omit<PresenterConfig, 'label' | 'descript
|
|
|
16
18
|
description: string;
|
|
17
19
|
};
|
|
18
20
|
export type PresenterTools = {
|
|
19
|
-
|
|
21
|
+
MarkdownIt: typeof MarkdownIt;
|
|
22
|
+
micromark: typeof micromark;
|
|
23
|
+
prism: typeof prism;
|
|
20
24
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.163",
|
|
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,12 +29,15 @@
|
|
|
29
29
|
"date-fns": "^4.1.0",
|
|
30
30
|
"highcharts": "^12.4.0",
|
|
31
31
|
"markdown-it": "^14.1.0",
|
|
32
|
+
"micromark": "^4.0.2",
|
|
33
|
+
"prismjs": "^1.30.0",
|
|
32
34
|
"zod": "^4.1.12"
|
|
33
35
|
},
|
|
34
36
|
"devDependencies": {
|
|
35
37
|
"@datapos/datapos-development": "^0.3.64",
|
|
36
38
|
"@types/markdown-it": "^14.1.2",
|
|
37
39
|
"@types/node": "^24.10.0",
|
|
40
|
+
"@types/prismjs": "^1.26.5",
|
|
38
41
|
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
39
42
|
"@typescript-eslint/parser": "^8.46.3",
|
|
40
43
|
"eslint": "^9.39.1",
|