@hpcc-js/react 2.52.0 → 2.52.2
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/dist/index.es6.js +18 -15
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +18 -15
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +5 -5
- package/src/__package__.ts +2 -2
- package/src/subgraph.tsx +4 -2
- package/src/vertex.tsx +9 -5
- package/src/vertex2.tsx +2 -2
- package/src/vertex3.tsx +14 -7
- package/src/vertex4.tsx +4 -2
- package/types/__package__.d.ts +2 -2
- package/types/subgraph.d.ts +4 -2
- package/types/subgraph.d.ts.map +1 -1
- package/types/vertex.d.ts +5 -2
- package/types/vertex.d.ts.map +1 -1
- package/types/vertex2.d.ts +2 -2
- package/types/vertex2.d.ts.map +1 -1
- package/types/vertex3.d.ts +5 -2
- package/types/vertex3.d.ts.map +1 -1
- package/types/vertex4.d.ts +2 -2
- package/types/vertex4.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/subgraph.d.ts +4 -2
- package/types-3.4/vertex.d.ts +5 -2
- package/types-3.4/vertex2.d.ts +2 -2
- package/types-3.4/vertex3.d.ts +5 -2
- package/types-3.4/vertex4.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/react",
|
|
3
|
-
"version": "2.52.
|
|
3
|
+
"version": "2.52.2",
|
|
4
4
|
"description": "hpcc-js - Viz React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es6",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"update": "npx --yes npm-check-updates -u -t minor"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@hpcc-js/common": "^2.71.
|
|
42
|
-
"@hpcc-js/preact-shim": "^2.16.
|
|
41
|
+
"@hpcc-js/common": "^2.71.3",
|
|
42
|
+
"@hpcc-js/preact-shim": "^2.16.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@hpcc-js/bundle": "^2.11.
|
|
45
|
+
"@hpcc-js/bundle": "^2.11.3",
|
|
46
46
|
"tslib": "2.4.0"
|
|
47
47
|
},
|
|
48
48
|
"repository": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
57
57
|
},
|
|
58
58
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "0b196092f8781f2f56a7f688496d1ae9bc229ace"
|
|
60
60
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/react";
|
|
2
|
-
export const PKG_VERSION = "2.52.
|
|
3
|
-
export const BUILD_VERSION = "2.104.
|
|
2
|
+
export const PKG_VERSION = "2.52.2";
|
|
3
|
+
export const BUILD_VERSION = "2.104.7";
|
package/src/subgraph.tsx
CHANGED
|
@@ -3,7 +3,9 @@ import * as React from "@hpcc-js/preact-shim";
|
|
|
3
3
|
import { Rectangle } from "./shape";
|
|
4
4
|
import { Text } from "./text";
|
|
5
5
|
|
|
6
|
-
export interface
|
|
6
|
+
export interface SubgraphProps {
|
|
7
|
+
id: string;
|
|
8
|
+
origData?: any;
|
|
7
9
|
text: string;
|
|
8
10
|
width?: number;
|
|
9
11
|
height?: number;
|
|
@@ -13,7 +15,7 @@ export interface Subgraph {
|
|
|
13
15
|
fontFamily?: string;
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
export const Subgraph: React.FunctionComponent<
|
|
18
|
+
export const Subgraph: React.FunctionComponent<SubgraphProps> = ({
|
|
17
19
|
text,
|
|
18
20
|
width = 100,
|
|
19
21
|
height = 100,
|
package/src/vertex.tsx
CHANGED
|
@@ -27,7 +27,9 @@ export const Annotations: React.FunctionComponent<Annotations> = ({
|
|
|
27
27
|
return <>{IconComponents}</>;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
export interface
|
|
30
|
+
export interface VertexProps {
|
|
31
|
+
id: string;
|
|
32
|
+
centroid?: boolean;
|
|
31
33
|
categoryID?: string;
|
|
32
34
|
text: string;
|
|
33
35
|
textHeight?: number;
|
|
@@ -41,9 +43,10 @@ export interface Vertex {
|
|
|
41
43
|
textFontFamily?: string;
|
|
42
44
|
onSizeUpdate?: (size: { width: number, height: number }) => void;
|
|
43
45
|
showLabel?: boolean;
|
|
46
|
+
scale?: number
|
|
44
47
|
}
|
|
45
48
|
|
|
46
|
-
export const Vertex: React.FunctionComponent<
|
|
49
|
+
export const Vertex: React.FunctionComponent<VertexProps> = ({
|
|
47
50
|
categoryID = "",
|
|
48
51
|
text = "",
|
|
49
52
|
textHeight = 12,
|
|
@@ -56,7 +59,8 @@ export const Vertex: React.FunctionComponent<Vertex> = ({
|
|
|
56
59
|
textboxStroke,
|
|
57
60
|
textFontFamily,
|
|
58
61
|
onSizeUpdate,
|
|
59
|
-
showLabel = true
|
|
62
|
+
showLabel = true,
|
|
63
|
+
scale = 1
|
|
60
64
|
}) => {
|
|
61
65
|
const [textBoxWidth, setTextBoxWidthUpdate] = React.useState(0);
|
|
62
66
|
const [textBoxHeight, setTextBoxHeightUpdate] = React.useState(0);
|
|
@@ -99,12 +103,12 @@ export const Vertex: React.FunctionComponent<Vertex> = ({
|
|
|
99
103
|
/>
|
|
100
104
|
</g> : undefined;
|
|
101
105
|
return categoryID ?
|
|
102
|
-
<g transform={`translate(0 ${offsetY})`}>
|
|
106
|
+
<g transform={`translate(0 ${offsetY}) scale(${scale})`}>
|
|
103
107
|
<use href={"#" + categoryID} />
|
|
104
108
|
{label}
|
|
105
109
|
<Annotations x={width / 2} y={annotationOffsetY} annotationIDs={annotationIDs} />
|
|
106
110
|
</g> :
|
|
107
|
-
<g transform={`translate(0 ${offsetY})`}>
|
|
111
|
+
<g transform={`translate(0 ${offsetY}) scale(${scale})`}>
|
|
108
112
|
<Icon {...icon} />
|
|
109
113
|
{label}
|
|
110
114
|
</g>;
|
package/src/vertex2.tsx
CHANGED
|
@@ -2,9 +2,9 @@ import { Utility } from "@hpcc-js/common";
|
|
|
2
2
|
import * as React from "@hpcc-js/preact-shim";
|
|
3
3
|
import { Icon } from "./icon";
|
|
4
4
|
import { TextBox } from "./text";
|
|
5
|
-
import { Annotations,
|
|
5
|
+
import { Annotations, VertexProps } from "./vertex";
|
|
6
6
|
|
|
7
|
-
export const Vertex2: React.FunctionComponent<
|
|
7
|
+
export const Vertex2: React.FunctionComponent<VertexProps> = ({
|
|
8
8
|
categoryID = "",
|
|
9
9
|
text = "",
|
|
10
10
|
textHeight = 12,
|
package/src/vertex3.tsx
CHANGED
|
@@ -2,9 +2,11 @@ import { Utility } from "@hpcc-js/common";
|
|
|
2
2
|
import * as React from "@hpcc-js/preact-shim";
|
|
3
3
|
import { Icon } from "./icon";
|
|
4
4
|
import { TextBox } from "./text";
|
|
5
|
-
import {
|
|
5
|
+
import { VertexProps } from "./vertex";
|
|
6
6
|
|
|
7
|
-
export interface IVertex3 extends
|
|
7
|
+
export interface IVertex3 extends VertexProps {
|
|
8
|
+
id: string;
|
|
9
|
+
origData?: any;
|
|
8
10
|
categoryID?: string;
|
|
9
11
|
text: string;
|
|
10
12
|
textHeight?: number;
|
|
@@ -24,10 +26,10 @@ export interface IVertex3 extends Vertex {
|
|
|
24
26
|
showLabel?: boolean;
|
|
25
27
|
noLabelRadius?: number;
|
|
26
28
|
expansionIcon?: Icon;
|
|
29
|
+
scale?: number;
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
export const Vertex3: React.FunctionComponent<IVertex3> = ({
|
|
30
|
-
categoryID = "",
|
|
31
33
|
text = "",
|
|
32
34
|
textHeight = 10,
|
|
33
35
|
textPadding = 4,
|
|
@@ -43,7 +45,8 @@ export const Vertex3: React.FunctionComponent<IVertex3> = ({
|
|
|
43
45
|
subText = {},
|
|
44
46
|
showLabel = true,
|
|
45
47
|
noLabelRadius = 5,
|
|
46
|
-
expansionIcon
|
|
48
|
+
expansionIcon,
|
|
49
|
+
scale = 1
|
|
47
50
|
}) => {
|
|
48
51
|
icon = {
|
|
49
52
|
height: 50,
|
|
@@ -154,7 +157,7 @@ export const Vertex3: React.FunctionComponent<IVertex3> = ({
|
|
|
154
157
|
/>
|
|
155
158
|
</g>;
|
|
156
159
|
|
|
157
|
-
return <g>
|
|
160
|
+
return <g transform={`scale(${scale})`}>
|
|
158
161
|
<g data-click={"icon"} transform={`translate(${iconOffsetX} ${iconOffsetY})`}>
|
|
159
162
|
<Icon {...icon} />
|
|
160
163
|
{expansionIcon &&
|
|
@@ -172,6 +175,7 @@ export const Vertex3: React.FunctionComponent<IVertex3> = ({
|
|
|
172
175
|
};
|
|
173
176
|
|
|
174
177
|
export const CentroidVertex3: React.FunctionComponent<IVertex3> = function ({
|
|
178
|
+
id,
|
|
175
179
|
categoryID = "",
|
|
176
180
|
text = "",
|
|
177
181
|
textHeight = 12,
|
|
@@ -186,7 +190,8 @@ export const CentroidVertex3: React.FunctionComponent<IVertex3> = function ({
|
|
|
186
190
|
cornerRadius,
|
|
187
191
|
icon = {},
|
|
188
192
|
subText = {},
|
|
189
|
-
expansionIcon
|
|
193
|
+
expansionIcon,
|
|
194
|
+
scale = 1
|
|
190
195
|
}) {
|
|
191
196
|
icon = {
|
|
192
197
|
height: 91,
|
|
@@ -207,6 +212,7 @@ export const CentroidVertex3: React.FunctionComponent<IVertex3> = function ({
|
|
|
207
212
|
...subText
|
|
208
213
|
};
|
|
209
214
|
const props = {
|
|
215
|
+
id,
|
|
210
216
|
categoryID,
|
|
211
217
|
text,
|
|
212
218
|
textHeight,
|
|
@@ -221,7 +227,8 @@ export const CentroidVertex3: React.FunctionComponent<IVertex3> = function ({
|
|
|
221
227
|
cornerRadius,
|
|
222
228
|
icon,
|
|
223
229
|
subText,
|
|
224
|
-
expansionIcon
|
|
230
|
+
expansionIcon,
|
|
231
|
+
scale
|
|
225
232
|
};
|
|
226
233
|
return <Vertex3
|
|
227
234
|
{...props}
|
package/src/vertex4.tsx
CHANGED
|
@@ -3,14 +3,14 @@ import { Utility } from "@hpcc-js/common";
|
|
|
3
3
|
import * as React from "@hpcc-js/preact-shim";
|
|
4
4
|
import { Icon } from "./icon";
|
|
5
5
|
import { TextBox } from "./text";
|
|
6
|
-
import {
|
|
6
|
+
import { VertexProps } from "./vertex";
|
|
7
7
|
|
|
8
8
|
export interface IVertex4Annotation extends Icon {
|
|
9
9
|
shapeOffsetX?: number;
|
|
10
10
|
shapeOffsetY?: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export interface IVertex4 extends
|
|
13
|
+
export interface IVertex4 extends VertexProps {
|
|
14
14
|
textboxStrokeWidth?: number;
|
|
15
15
|
annotations?: IVertex4Annotation[];
|
|
16
16
|
iconAnnotations?: IVertex4Annotation[];
|
|
@@ -213,6 +213,7 @@ export const Vertex4: React.FunctionComponent<IVertex4> = ({
|
|
|
213
213
|
};
|
|
214
214
|
|
|
215
215
|
export const CentroidVertex4: React.FunctionComponent<IVertex4> = function ({
|
|
216
|
+
id,
|
|
216
217
|
categoryID = "",
|
|
217
218
|
text = "",
|
|
218
219
|
textHeight = 12,
|
|
@@ -268,6 +269,7 @@ export const CentroidVertex4: React.FunctionComponent<IVertex4> = function ({
|
|
|
268
269
|
...subText
|
|
269
270
|
};
|
|
270
271
|
const props = {
|
|
272
|
+
id,
|
|
271
273
|
categoryID,
|
|
272
274
|
text,
|
|
273
275
|
textHeight,
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/react";
|
|
2
|
-
export declare const PKG_VERSION = "2.52.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.52.2";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.7";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
package/types/subgraph.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as React from "@hpcc-js/preact-shim";
|
|
2
|
-
export interface
|
|
2
|
+
export interface SubgraphProps {
|
|
3
|
+
id: string;
|
|
4
|
+
origData?: any;
|
|
3
5
|
text: string;
|
|
4
6
|
width?: number;
|
|
5
7
|
height?: number;
|
|
@@ -8,5 +10,5 @@ export interface Subgraph {
|
|
|
8
10
|
fontHeight?: number;
|
|
9
11
|
fontFamily?: string;
|
|
10
12
|
}
|
|
11
|
-
export declare const Subgraph: React.FunctionComponent<
|
|
13
|
+
export declare const Subgraph: React.FunctionComponent<SubgraphProps>;
|
|
12
14
|
//# sourceMappingURL=subgraph.d.ts.map
|
package/types/subgraph.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraph.d.ts","sourceRoot":"","sources":["../src/subgraph.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAI9C,MAAM,WAAW,QAAQ;
|
|
1
|
+
{"version":3,"file":"subgraph.d.ts","sourceRoot":"","sources":["../src/subgraph.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAI9C,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CA2B3D,CAAC"}
|
package/types/vertex.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export interface Annotations {
|
|
|
7
7
|
stepSize?: number;
|
|
8
8
|
}
|
|
9
9
|
export declare const Annotations: React.FunctionComponent<Annotations>;
|
|
10
|
-
export interface
|
|
10
|
+
export interface VertexProps {
|
|
11
|
+
id: string;
|
|
12
|
+
centroid?: boolean;
|
|
11
13
|
categoryID?: string;
|
|
12
14
|
text: string;
|
|
13
15
|
textHeight?: number;
|
|
@@ -24,6 +26,7 @@ export interface Vertex {
|
|
|
24
26
|
height: number;
|
|
25
27
|
}) => void;
|
|
26
28
|
showLabel?: boolean;
|
|
29
|
+
scale?: number;
|
|
27
30
|
}
|
|
28
|
-
export declare const Vertex: React.FunctionComponent<
|
|
31
|
+
export declare const Vertex: React.FunctionComponent<VertexProps>;
|
|
29
32
|
//# sourceMappingURL=vertex.d.ts.map
|
package/types/vertex.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertex.d.ts","sourceRoot":"","sources":["../src/vertex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,WAAW,WAAW;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAgB5D,CAAC;AAEF,MAAM,WAAW,MAAM;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACjE,SAAS,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"vertex.d.ts","sourceRoot":"","sources":["../src/vertex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,WAAW,WAAW;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAgB5D,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACjE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAkEvD,CAAC"}
|
package/types/vertex2.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "@hpcc-js/preact-shim";
|
|
2
|
-
import {
|
|
3
|
-
export declare const Vertex2: React.FunctionComponent<
|
|
2
|
+
import { VertexProps } from "./vertex";
|
|
3
|
+
export declare const Vertex2: React.FunctionComponent<VertexProps>;
|
|
4
4
|
//# sourceMappingURL=vertex2.d.ts.map
|
package/types/vertex2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertex2.d.ts","sourceRoot":"","sources":["../src/vertex2.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAe,
|
|
1
|
+
{"version":3,"file":"vertex2.d.ts","sourceRoot":"","sources":["../src/vertex2.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAe,WAAW,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CA6FxD,CAAC"}
|
package/types/vertex3.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from "@hpcc-js/preact-shim";
|
|
2
2
|
import { Icon } from "./icon";
|
|
3
3
|
import { TextBox } from "./text";
|
|
4
|
-
import {
|
|
5
|
-
export interface IVertex3 extends
|
|
4
|
+
import { VertexProps } from "./vertex";
|
|
5
|
+
export interface IVertex3 extends VertexProps {
|
|
6
|
+
id: string;
|
|
7
|
+
origData?: any;
|
|
6
8
|
categoryID?: string;
|
|
7
9
|
text: string;
|
|
8
10
|
textHeight?: number;
|
|
@@ -25,6 +27,7 @@ export interface IVertex3 extends Vertex {
|
|
|
25
27
|
showLabel?: boolean;
|
|
26
28
|
noLabelRadius?: number;
|
|
27
29
|
expansionIcon?: Icon;
|
|
30
|
+
scale?: number;
|
|
28
31
|
}
|
|
29
32
|
export declare const Vertex3: React.FunctionComponent<IVertex3>;
|
|
30
33
|
export declare const CentroidVertex3: React.FunctionComponent<IVertex3>;
|
package/types/vertex3.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertex3.d.ts","sourceRoot":"","sources":["../src/vertex3.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"vertex3.d.ts","sourceRoot":"","sources":["../src/vertex3.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,WAAW,QAAS,SAAQ,WAAW;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,IAAI,EAAE,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACjE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CA+IrD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CA6D7D,CAAC"}
|
package/types/vertex4.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "@hpcc-js/preact-shim";
|
|
2
2
|
import { Icon } from "./icon";
|
|
3
|
-
import {
|
|
3
|
+
import { VertexProps } from "./vertex";
|
|
4
4
|
export interface IVertex4Annotation extends Icon {
|
|
5
5
|
shapeOffsetX?: number;
|
|
6
6
|
shapeOffsetY?: number;
|
|
7
7
|
}
|
|
8
|
-
export interface IVertex4 extends
|
|
8
|
+
export interface IVertex4 extends VertexProps {
|
|
9
9
|
textboxStrokeWidth?: number;
|
|
10
10
|
annotations?: IVertex4Annotation[];
|
|
11
11
|
iconAnnotations?: IVertex4Annotation[];
|
package/types/vertex4.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertex4.d.ts","sourceRoot":"","sources":["../src/vertex4.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"vertex4.d.ts","sourceRoot":"","sources":["../src/vertex4.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,WAAW,kBAAmB,SAAQ,IAAI;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,QAAS,SAAQ,WAAW;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACnC,eAAe,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,YAAY,GAAG,oBAAoB,CAAC;CACnF;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAiLrD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CA8F7D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/react";
|
|
2
|
-
export declare const PKG_VERSION = "2.52.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.52.2";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.7";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
package/types-3.4/subgraph.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as React from "@hpcc-js/preact-shim";
|
|
2
|
-
export interface
|
|
2
|
+
export interface SubgraphProps {
|
|
3
|
+
id: string;
|
|
4
|
+
origData?: any;
|
|
3
5
|
text: string;
|
|
4
6
|
width?: number;
|
|
5
7
|
height?: number;
|
|
@@ -8,5 +10,5 @@ export interface Subgraph {
|
|
|
8
10
|
fontHeight?: number;
|
|
9
11
|
fontFamily?: string;
|
|
10
12
|
}
|
|
11
|
-
export declare const Subgraph: React.FunctionComponent<
|
|
13
|
+
export declare const Subgraph: React.FunctionComponent<SubgraphProps>;
|
|
12
14
|
//# sourceMappingURL=subgraph.d.ts.map
|
package/types-3.4/vertex.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export interface Annotations {
|
|
|
7
7
|
stepSize?: number;
|
|
8
8
|
}
|
|
9
9
|
export declare const Annotations: React.FunctionComponent<Annotations>;
|
|
10
|
-
export interface
|
|
10
|
+
export interface VertexProps {
|
|
11
|
+
id: string;
|
|
12
|
+
centroid?: boolean;
|
|
11
13
|
categoryID?: string;
|
|
12
14
|
text: string;
|
|
13
15
|
textHeight?: number;
|
|
@@ -24,6 +26,7 @@ export interface Vertex {
|
|
|
24
26
|
height: number;
|
|
25
27
|
}) => void;
|
|
26
28
|
showLabel?: boolean;
|
|
29
|
+
scale?: number;
|
|
27
30
|
}
|
|
28
|
-
export declare const Vertex: React.FunctionComponent<
|
|
31
|
+
export declare const Vertex: React.FunctionComponent<VertexProps>;
|
|
29
32
|
//# sourceMappingURL=vertex.d.ts.map
|
package/types-3.4/vertex2.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "@hpcc-js/preact-shim";
|
|
2
|
-
import {
|
|
3
|
-
export declare const Vertex2: React.FunctionComponent<
|
|
2
|
+
import { VertexProps } from "./vertex";
|
|
3
|
+
export declare const Vertex2: React.FunctionComponent<VertexProps>;
|
|
4
4
|
//# sourceMappingURL=vertex2.d.ts.map
|
package/types-3.4/vertex3.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from "@hpcc-js/preact-shim";
|
|
2
2
|
import { Icon } from "./icon";
|
|
3
3
|
import { TextBox } from "./text";
|
|
4
|
-
import {
|
|
5
|
-
export interface IVertex3 extends
|
|
4
|
+
import { VertexProps } from "./vertex";
|
|
5
|
+
export interface IVertex3 extends VertexProps {
|
|
6
|
+
id: string;
|
|
7
|
+
origData?: any;
|
|
6
8
|
categoryID?: string;
|
|
7
9
|
text: string;
|
|
8
10
|
textHeight?: number;
|
|
@@ -25,6 +27,7 @@ export interface IVertex3 extends Vertex {
|
|
|
25
27
|
showLabel?: boolean;
|
|
26
28
|
noLabelRadius?: number;
|
|
27
29
|
expansionIcon?: Icon;
|
|
30
|
+
scale?: number;
|
|
28
31
|
}
|
|
29
32
|
export declare const Vertex3: React.FunctionComponent<IVertex3>;
|
|
30
33
|
export declare const CentroidVertex3: React.FunctionComponent<IVertex3>;
|
package/types-3.4/vertex4.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "@hpcc-js/preact-shim";
|
|
2
2
|
import { Icon } from "./icon";
|
|
3
|
-
import {
|
|
3
|
+
import { VertexProps } from "./vertex";
|
|
4
4
|
export interface IVertex4Annotation extends Icon {
|
|
5
5
|
shapeOffsetX?: number;
|
|
6
6
|
shapeOffsetY?: number;
|
|
7
7
|
}
|
|
8
|
-
export interface IVertex4 extends
|
|
8
|
+
export interface IVertex4 extends VertexProps {
|
|
9
9
|
textboxStrokeWidth?: number;
|
|
10
10
|
annotations?: IVertex4Annotation[];
|
|
11
11
|
iconAnnotations?: IVertex4Annotation[];
|