@hpcc-js/tree 2.41.0 → 3.0.0

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.
@@ -13,7 +13,6 @@ interface DirectoryItem {
13
13
  weightColor?: string;
14
14
  }
15
15
  export declare class DirectoryTree extends HTMLWidget {
16
- _palette: any;
17
16
  constructor();
18
17
  flattenData(json: any): DirectoryItem[];
19
18
  protected iconClass(d: any): string;
@@ -25,38 +24,34 @@ export declare class DirectoryTree extends HTMLWidget {
25
24
  weight_mouseleave(d: any): void;
26
25
  }
27
26
  export interface DirectoryTree {
27
+ _palette: any;
28
+ depthSize(): number;
29
+ depthSize(_: number): this;
30
+ paletteID(): string;
31
+ paletteID(_: string): this;
32
+ omitRoot(): boolean;
33
+ omitRoot(_: boolean): this;
34
+ rowItemPadding(): number;
35
+ rowItemPadding(_: number): this;
36
+ selectionBackgroundColor(): string;
37
+ selectionBackgroundColor(_: string): this;
28
38
  backgroundColor(): string;
29
39
  backgroundColor(_: string): this;
30
40
  fontColor(): string;
31
41
  fontColor(_: string): this;
32
42
  fontFamily(): string;
33
43
  fontFamily(_: string): this;
34
- omitRoot(): boolean;
35
- omitRoot(_: boolean): this;
36
44
  fontSize(): number;
37
45
  fontSize(_: number): this;
38
46
  iconSize(): number;
39
47
  iconSize(_: number): this;
40
- fileIconSize(): number;
41
- fileIconSize(_: number): this;
42
48
  folderIconOpen(): string;
43
49
  folderIconOpen(_: string): this;
44
50
  folderIconClosed(): string;
45
51
  folderIconClosed(_: string): this;
46
- hoverBackgroundColor(): string;
47
- hoverBackgroundColor(_: string): this;
48
- selectionBackgroundColor(): string;
49
- selectionBackgroundColor(_: string): this;
50
- rowItemPadding(): number;
51
- rowItemPadding(_: number): this;
52
52
  textFileIcon(): string;
53
53
  textFileIcon(_: string): this;
54
54
  verticalScroll(): boolean;
55
55
  verticalScroll(_: boolean): this;
56
- paletteID(): string;
57
- paletteID(_: string): this;
58
- depthSize(): number;
59
- depthSize(_: number): this;
60
56
  }
61
57
  export {};
62
- //# sourceMappingURL=DirectoryTree.d.ts.map
@@ -25,22 +25,17 @@ export declare class Indented extends SVGZoomWidget {
25
25
  enter(domNode: any, element: any): void;
26
26
  protected _prevDataChecksum: any;
27
27
  update(domNode: any, _element: any): void;
28
- xmlColumn: {
29
- (_: string): Indented;
30
- (): string;
31
- };
32
- xmlColumn_exists: () => boolean;
33
- mappings: {
34
- (_: IndentedColumn[]): Indented;
35
- (): IndentedColumn[];
36
- };
37
- barHeight: {
38
- (_: number): Indented;
39
- (): number;
40
- };
28
+ }
29
+ export interface Indented {
41
30
  _palette: any;
42
- click: (row: any, column: any, selected: any) => void;
43
- dblclick: (row: any, column: any, selected: any) => void;
31
+ click(row: any, column: any, selected: any): void;
32
+ dblclick(row: any, column: any, selected: any): void;
44
33
  _selection: any;
34
+ xmlColumn(): string;
35
+ xmlColumn(_: string): this;
36
+ xmlColumn_exists(): boolean;
37
+ mappings(): IndentedColumn[];
38
+ mappings(_: IndentedColumn[]): this;
39
+ barHeight(): number;
40
+ barHeight(_: number): this;
45
41
  }
46
- //# sourceMappingURL=Indented.d.ts.map
@@ -14,10 +14,13 @@ export declare class SunburstPartition extends SVGWidget {
14
14
  enter(_domNode: any, element: any): void;
15
15
  update(_domNode: any, _element: any): void;
16
16
  zoomTo(d: any): void;
17
- paletteID: (_?: string) => string | SunburstPartition;
18
- useClonedPalette: (_?: boolean) => boolean | SunburstPartition;
17
+ }
18
+ export interface SunburstPartition {
19
19
  _palette: any;
20
- click: (row: any, column: any, selected: any) => void;
21
- dblclick: (row: any, column: any, selected: any) => void;
20
+ click(row: any, column: any, selected: any): void;
21
+ dblclick(row: any, column: any, selected: any): void;
22
+ paletteID(): string;
23
+ paletteID(_: string): this;
24
+ useClonedPalette(): boolean;
25
+ useClonedPalette(_: boolean): this;
22
26
  }
23
- //# sourceMappingURL=SunburstPartition.d.ts.map
@@ -25,101 +25,56 @@ export declare class Treemap extends HTMLWidget {
25
25
  nodeWeight(d: any): any;
26
26
  parentWeightHTML(d: any): string;
27
27
  leafWeightHTML(d: any): string;
28
- paletteID: {
29
- (): string[];
30
- (_: string[]): Treemap;
31
- };
32
- useClonedPalette: {
33
- (): boolean[];
34
- (_: boolean[]): Treemap;
35
- };
36
- mappings: {
37
- (): TreemapColumn[];
38
- (_: TreemapColumn[]): Treemap;
39
- };
40
- aggrType: {
41
- (): string;
42
- (_: string): Treemap;
43
- };
44
- aggrColumn: {
45
- (): string;
46
- (_: string): Treemap;
47
- };
48
- fontSize: {
49
- (): number;
50
- (_: number): Treemap;
51
- };
52
- fontSize_exists: () => boolean;
53
- paddingInner: {
54
- (): number;
55
- (_: number): Treemap;
56
- };
57
- paddingOuter: {
58
- (): number;
59
- (_: number): Treemap;
60
- };
61
- paddingTop: {
62
- (): number;
63
- (_: number): Treemap;
64
- };
65
- parentFontSize: {
66
- (): number;
67
- (_: number): Treemap;
68
- };
69
- leafFontSize: {
70
- (): number;
71
- (_: number): Treemap;
72
- };
73
- brighterLeafNodes: {
74
- (): boolean;
75
- (_: boolean): Treemap;
76
- };
77
- showRoot: {
78
- (): boolean;
79
- (_: boolean): Treemap;
80
- };
81
- enableParentLabels: {
82
- (): boolean;
83
- (_: boolean): Treemap;
84
- };
85
- enableParentTooltips: {
86
- (): boolean;
87
- (_: boolean): Treemap;
88
- };
89
- showParentWeight: {
90
- (): boolean;
91
- (_: boolean): Treemap;
92
- };
93
- showLeafWeight: {
94
- (): boolean;
95
- (_: boolean): Treemap;
96
- };
97
- usePaletteOnParentNodes: {
98
- (): boolean;
99
- (_: boolean): Treemap;
100
- };
101
- depthColorLimit: {
102
- (): number;
103
- (_: number): Treemap;
104
- };
105
- squarifyRatio: {
106
- (): number;
107
- (_: number): Treemap;
108
- };
109
- weightSuffix: {
110
- (): string;
111
- (_: string): Treemap;
112
- };
113
- tilingMethod: {
114
- (): string;
115
- (_: string): Treemap;
116
- };
117
- transitionDuration: {
118
- (): number[];
119
- (_: number[]): Treemap;
120
- };
28
+ }
29
+ export interface Treemap {
121
30
  _palette: any;
122
- click: (row: any, column: any, selected: any) => void;
123
- dblclick: (row: any, column: any, selected: any) => void;
31
+ click(row: any, column: any, selected: any): void;
32
+ dblclick(row: any, column: any, selected: any): void;
33
+ paletteID(): string;
34
+ paletteID(_: string): this;
35
+ useClonedPalette(): boolean;
36
+ useClonedPalette(_: boolean): this;
37
+ mappings(): TreemapColumn[];
38
+ mappings(_: TreemapColumn[]): this;
39
+ aggrType(): string;
40
+ aggrType(_: string): this;
41
+ aggrColumn(): string;
42
+ aggrColumn(_: string): this;
43
+ fontSize(): number;
44
+ fontSize(_: number): this;
45
+ fontSize_exists(): boolean;
46
+ paddingInner(): number;
47
+ paddingInner(_: number): this;
48
+ paddingOuter(): number;
49
+ paddingOuter(_: number): this;
50
+ paddingTop(): number;
51
+ paddingTop(_: number): this;
52
+ showRoot(): boolean;
53
+ showRoot(_: boolean): this;
54
+ parentFontSize(): number;
55
+ parentFontSize(_: number): this;
56
+ leafFontSize(): number;
57
+ leafFontSize(_: number): this;
58
+ usePaletteOnParentNodes(): boolean;
59
+ usePaletteOnParentNodes(_: boolean): this;
60
+ depthColorLimit(): number;
61
+ depthColorLimit(_: number): this;
62
+ squarifyRatio(): number;
63
+ squarifyRatio(_: number): this;
64
+ showParentWeight(): boolean;
65
+ showParentWeight(_: boolean): this;
66
+ showLeafWeight(): boolean;
67
+ showLeafWeight(_: boolean): this;
68
+ weightSuffix(): string;
69
+ weightSuffix(_: string): this;
70
+ brighterLeafNodes(): boolean;
71
+ brighterLeafNodes(_: boolean): this;
72
+ enableParentLabels(): boolean;
73
+ enableParentLabels(_: boolean): this;
74
+ enableParentTooltips(): boolean;
75
+ enableParentTooltips(_: boolean): this;
76
+ transitionDuration(): number[];
77
+ transitionDuration(_: number[]): this;
78
+ tilingMethod(): string;
79
+ tilingMethod(_: string): this;
124
80
  }
125
- //# sourceMappingURL=Treemap.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/tree";
2
- export declare const PKG_VERSION = "2.41.0";
3
- export declare const BUILD_VERSION = "2.106.0";
4
- //# sourceMappingURL=__package__.d.ts.map
2
+ export declare const PKG_VERSION = "3.0.0";
3
+ export declare const BUILD_VERSION = "3.2.0";
package/types/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- export * from "./__package__";
2
- export * from "./CirclePacking";
3
- export * from "./Dendrogram";
4
- export * from "./DirectoryTree";
5
- export * from "./Indented";
6
- export * from "./SunburstPartition";
7
- export * from "./Treemap";
8
- //# sourceMappingURL=index.d.ts.map
1
+ export * from "./__package__.ts";
2
+ export * from "./CirclePacking.ts";
3
+ export * from "./Dendrogram.ts";
4
+ export * from "./DirectoryTree.ts";
5
+ export * from "./Indented.ts";
6
+ export * from "./SunburstPartition.ts";
7
+ export * from "./Treemap.ts";