@net7/components 4.4.0 → 4.4.1
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/esm2022/lib/components/network/network.mjs +1 -1
- package/esm2022/lib/components/text-viewer/text-viewer.mjs +3 -3
- package/esm2022/lib/components/text-viewer/text-viewer.mock_petrarca.mjs +15 -11
- package/fesm2022/net7-components.mjs +16 -12
- package/fesm2022/net7-components.mjs.map +1 -1
- package/lib/components/network/network.d.ts +12 -0
- package/lib/components/text-viewer/text-viewer.d.ts +2 -0
- package/package.json +1 -1
|
@@ -24,6 +24,18 @@ export interface NetworkData {
|
|
|
24
24
|
/** Dataset in vis-js format */
|
|
25
25
|
nodes: NetworkNode[];
|
|
26
26
|
edges: NetworkEdge[];
|
|
27
|
+
groups?: {
|
|
28
|
+
[key: string]: {
|
|
29
|
+
color: string;
|
|
30
|
+
shape?: string;
|
|
31
|
+
icon?: {
|
|
32
|
+
face: string;
|
|
33
|
+
code: string;
|
|
34
|
+
size: number;
|
|
35
|
+
color: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
27
39
|
}
|
|
28
40
|
export declare class NetworkComponent implements AfterContentChecked {
|
|
29
41
|
data: NetworkData;
|
|
@@ -20,6 +20,7 @@ export interface TextViewerData {
|
|
|
20
20
|
mapFunction?: string;
|
|
21
21
|
url?: string;
|
|
22
22
|
xpath?: string;
|
|
23
|
+
disableHistory?: boolean;
|
|
23
24
|
apparatus?: {
|
|
24
25
|
mapFunction?: string;
|
|
25
26
|
rootPath?: string;
|
|
@@ -38,6 +39,7 @@ export interface TextViewerData {
|
|
|
38
39
|
file?: string;
|
|
39
40
|
format?: string;
|
|
40
41
|
};
|
|
42
|
+
scrollSync?: boolean;
|
|
41
43
|
labels?: {
|
|
42
44
|
view?: string;
|
|
43
45
|
select?: {
|