@syncfusion/ej2-angular-treemap 30.2.4-ngcc → 30.2.4
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/CHANGELOG.md +83 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/index.mjs +7 -0
- package/esm2020/src/treemap/colormapping.directive.mjs +46 -0
- package/esm2020/src/treemap/levels.directive.mjs +66 -0
- package/esm2020/src/treemap/treemap-all.module.mjs +47 -0
- package/esm2020/src/treemap/treemap.component.mjs +126 -0
- package/esm2020/src/treemap/treemap.module.mjs +43 -0
- package/esm2020/syncfusion-ej2-angular-treemap.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs +314 -0
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs +314 -0
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +1 -0
- package/package.json +20 -7
- package/public_api.d.ts +1 -1
- package/src/index.d.ts +6 -6
- package/src/treemap/colormapping.directive.d.ts +59 -54
- package/src/treemap/levels.directive.d.ts +103 -98
- package/src/treemap/treemap-all.module.d.ts +19 -13
- package/src/treemap/treemap.component.d.ts +53 -50
- package/src/treemap/treemap.module.d.ts +13 -5
- package/syncfusion-ej2-angular-treemap.d.ts +5 -0
- package/@syncfusion/ej2-angular-treemap.es5.js +0 -387
- package/@syncfusion/ej2-angular-treemap.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-treemap.js +0 -355
- package/@syncfusion/ej2-angular-treemap.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-treemap.umd.js +0 -520
- package/dist/ej2-angular-treemap.umd.js.map +0 -1
- package/dist/ej2-angular-treemap.umd.min.js +0 -11
- package/dist/ej2-angular-treemap.umd.min.js.map +0 -1
- package/ej2-angular-treemap.d.ts +0 -5
- package/ej2-angular-treemap.metadata.json +0 -1
|
@@ -1,98 +1,103 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* <e-
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
* the
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
*
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
*
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
*
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
*
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
*
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
*
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
*
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
*
|
|
87
|
-
* @
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Represents the directive to configure and render level leaf items in the treemap.
|
|
6
|
+
* ```html
|
|
7
|
+
* <e-levels>
|
|
8
|
+
* <e-level></e-level>
|
|
9
|
+
* </e-levels>
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare class LevelDirective extends ComplexBase<LevelDirective> {
|
|
13
|
+
private viewContainerRef;
|
|
14
|
+
directivePropList: any;
|
|
15
|
+
childColorMapping: any;
|
|
16
|
+
tags: string[];
|
|
17
|
+
/**
|
|
18
|
+
* Enables or disables the automatic filling of the colors from the palette in the items of the treemap.
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
autoFill: any;
|
|
22
|
+
/**
|
|
23
|
+
* Sets and gets the options for customizing the color and width of the border of
|
|
24
|
+
* the level leaf items of the treemap.
|
|
25
|
+
*/
|
|
26
|
+
border: any;
|
|
27
|
+
/**
|
|
28
|
+
* Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.
|
|
29
|
+
*/
|
|
30
|
+
colorMapping: any;
|
|
31
|
+
/**
|
|
32
|
+
* Sets and gets the fill color of the level leaf item in the treemap.
|
|
33
|
+
* @default null
|
|
34
|
+
*/
|
|
35
|
+
fill: any;
|
|
36
|
+
/**
|
|
37
|
+
* Sets and gets the gap between the level leaf items in the treemap.
|
|
38
|
+
* @default 0
|
|
39
|
+
*/
|
|
40
|
+
groupGap: any;
|
|
41
|
+
/**
|
|
42
|
+
* Sets and gets the padding of level leaf items in the treemap.
|
|
43
|
+
* @default 10
|
|
44
|
+
*/
|
|
45
|
+
groupPadding: any;
|
|
46
|
+
/**
|
|
47
|
+
* Sets and gets the value path from the data source in the treemap to render the item.
|
|
48
|
+
* @default null
|
|
49
|
+
*/
|
|
50
|
+
groupPath: any;
|
|
51
|
+
/**
|
|
52
|
+
* Sets and gets the alignment of the header of the treemap.
|
|
53
|
+
* @default 'Near'
|
|
54
|
+
*/
|
|
55
|
+
headerAlignment: any;
|
|
56
|
+
/**
|
|
57
|
+
* Sets and gets the string to format the header label of the level leaf items in the treemap.
|
|
58
|
+
* @default null
|
|
59
|
+
*/
|
|
60
|
+
headerFormat: any;
|
|
61
|
+
/**
|
|
62
|
+
* Sets and gets the height of header in the treemap.
|
|
63
|
+
* @default 20
|
|
64
|
+
*/
|
|
65
|
+
headerHeight: any;
|
|
66
|
+
/**
|
|
67
|
+
* Sets and gets the options for customizing the text style of header label of the level leaf item.
|
|
68
|
+
*/
|
|
69
|
+
headerStyle: any;
|
|
70
|
+
/**
|
|
71
|
+
* Sets and gets the opacity in the level leaf item of the treemap.
|
|
72
|
+
* @default 1
|
|
73
|
+
*/
|
|
74
|
+
opacity: any;
|
|
75
|
+
/**
|
|
76
|
+
* Shows or hides the header in level leaf item of the treemap.
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
showHeader: any;
|
|
80
|
+
/**
|
|
81
|
+
* Sets and gets the options for customizing the template position of the treemap.
|
|
82
|
+
* @default 'TopLeft'
|
|
83
|
+
*/
|
|
84
|
+
templatePosition: any;
|
|
85
|
+
/**
|
|
86
|
+
* Sets and gets the template for header in the treemap.
|
|
87
|
+
* @default null
|
|
88
|
+
* @asptype string
|
|
89
|
+
*/
|
|
90
|
+
headerTemplate: any;
|
|
91
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LevelDirective, never>;
|
|
93
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LevelDirective, "e-levels>e-level", never, { "autoFill": "autoFill"; "border": "border"; "colorMapping": "colorMapping"; "fill": "fill"; "groupGap": "groupGap"; "groupPadding": "groupPadding"; "groupPath": "groupPath"; "headerAlignment": "headerAlignment"; "headerFormat": "headerFormat"; "headerHeight": "headerHeight"; "headerStyle": "headerStyle"; "headerTemplate": "headerTemplate"; "opacity": "opacity"; "showHeader": "showHeader"; "templatePosition": "templatePosition"; }, {}, ["headerTemplate", "childColorMapping"]>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Level Array Directive
|
|
97
|
+
* @private
|
|
98
|
+
*/
|
|
99
|
+
export declare class LevelsDirective extends ArrayBase<LevelsDirective> {
|
|
100
|
+
constructor();
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LevelsDirective, never>;
|
|
102
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LevelsDirective, "ej-treemap>e-levels", never, {}, {}, ["children"]>;
|
|
103
|
+
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import { ValueProvider } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { ValueProvider } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "./treemap.module";
|
|
5
|
+
export declare const TreeMapTooltipService: ValueProvider;
|
|
6
|
+
export declare const TreeMapLegendService: ValueProvider;
|
|
7
|
+
export declare const TreeMapHighlightService: ValueProvider;
|
|
8
|
+
export declare const TreeMapSelectionService: ValueProvider;
|
|
9
|
+
export declare const PrintService: ValueProvider;
|
|
10
|
+
export declare const PdfExportService: ValueProvider;
|
|
11
|
+
export declare const ImageExportService: ValueProvider;
|
|
12
|
+
/**
|
|
13
|
+
* NgModule definition for the TreeMap component with providers.
|
|
14
|
+
*/
|
|
15
|
+
export declare class TreeMapAllModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapAllModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TreeMapAllModule, never, [typeof i1.CommonModule, typeof i2.TreeMapModule], [typeof i2.TreeMapModule]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TreeMapAllModule>;
|
|
19
|
+
}
|
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core';
|
|
2
|
-
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { TreeMap } from '@syncfusion/ej2-treemap';
|
|
4
|
-
import { LevelsDirective } from './levels.directive';
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core';
|
|
2
|
+
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { TreeMap } from '@syncfusion/ej2-treemap';
|
|
4
|
+
import { LevelsDirective } from './levels.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare const inputs: string[];
|
|
7
|
+
export declare const outputs: string[];
|
|
8
|
+
export declare const twoWays: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Represents the Angular TreeMap component. It is used to visualize both hierarchical and flat data.
|
|
11
|
+
* ```html
|
|
12
|
+
* <ej-treemap></ej-treemap>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class TreeMapComponent extends TreeMap implements IComponentBase {
|
|
16
|
+
private ngEle;
|
|
17
|
+
private srenderer;
|
|
18
|
+
private viewContainerRef;
|
|
19
|
+
private injector;
|
|
20
|
+
context: any;
|
|
21
|
+
tagObjects: any;
|
|
22
|
+
beforePrint: any;
|
|
23
|
+
click: any;
|
|
24
|
+
doubleClick: any;
|
|
25
|
+
drillEnd: any;
|
|
26
|
+
drillStart: any;
|
|
27
|
+
itemClick: any;
|
|
28
|
+
itemHighlight: any;
|
|
29
|
+
itemMove: any;
|
|
30
|
+
itemRendering: any;
|
|
31
|
+
itemSelected: any;
|
|
32
|
+
legendItemRendering: any;
|
|
33
|
+
legendRendering: any;
|
|
34
|
+
load: any;
|
|
35
|
+
loaded: any;
|
|
36
|
+
mouseMove: any;
|
|
37
|
+
resize: any;
|
|
38
|
+
rightClick: any;
|
|
39
|
+
tooltipRendering: any;
|
|
40
|
+
childLevels: QueryList<LevelsDirective>;
|
|
41
|
+
tags: string[];
|
|
42
|
+
tooltipSettings_template: any;
|
|
43
|
+
leafItemSettings_labelTemplate: any;
|
|
44
|
+
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngAfterViewInit(): void;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
ngAfterContentChecked(): void;
|
|
49
|
+
registerEvents: (eventList: string[]) => void;
|
|
50
|
+
addTwoWay: (propList: string[]) => void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapComponent, "ejs-treemap", never, { "allowImageExport": "allowImageExport"; "allowPdfExport": "allowPdfExport"; "allowPrint": "allowPrint"; "background": "background"; "border": "border"; "breadcrumbConnector": "breadcrumbConnector"; "colorValuePath": "colorValuePath"; "dataSource": "dataSource"; "description": "description"; "drillDownView": "drillDownView"; "enableBreadcrumb": "enableBreadcrumb"; "enableDrillDown": "enableDrillDown"; "enableHtmlSanitizer": "enableHtmlSanitizer"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "equalColorValuePath": "equalColorValuePath"; "format": "format"; "height": "height"; "highlightSettings": "highlightSettings"; "initialDrillDown": "initialDrillDown"; "layoutType": "layoutType"; "leafItemSettings": "leafItemSettings"; "legendSettings": "legendSettings"; "levels": "levels"; "locale": "locale"; "margin": "margin"; "palette": "palette"; "query": "query"; "rangeColorValuePath": "rangeColorValuePath"; "renderDirection": "renderDirection"; "selectionSettings": "selectionSettings"; "tabIndex": "tabIndex"; "theme": "theme"; "titleSettings": "titleSettings"; "tooltipSettings": "tooltipSettings"; "useGroupingSeparator": "useGroupingSeparator"; "weightValuePath": "weightValuePath"; "width": "width"; }, { "beforePrint": "beforePrint"; "click": "click"; "doubleClick": "doubleClick"; "drillEnd": "drillEnd"; "drillStart": "drillStart"; "itemClick": "itemClick"; "itemHighlight": "itemHighlight"; "itemMove": "itemMove"; "itemRendering": "itemRendering"; "itemSelected": "itemSelected"; "legendItemRendering": "legendItemRendering"; "legendRendering": "legendRendering"; "load": "load"; "loaded": "loaded"; "mouseMove": "mouseMove"; "resize": "resize"; "rightClick": "rightClick"; "tooltipRendering": "tooltipRendering"; }, ["tooltipSettings_template", "leafItemSettings_labelTemplate", "childLevels"], never>;
|
|
53
|
+
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./treemap.component";
|
|
3
|
+
import * as i2 from "./colormapping.directive";
|
|
4
|
+
import * as i3 from "./levels.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
/**
|
|
7
|
+
* NgModule definition for the TreeMap component.
|
|
8
|
+
*/
|
|
9
|
+
export declare class TreeMapModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TreeMapModule, [typeof i1.TreeMapComponent, typeof i2.ColorMappingDirective, typeof i2.ColorMappingsDirective, typeof i3.LevelDirective, typeof i3.LevelsDirective], [typeof i4.CommonModule], [typeof i1.TreeMapComponent, typeof i2.ColorMappingDirective, typeof i2.ColorMappingsDirective, typeof i3.LevelDirective, typeof i3.LevelsDirective]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TreeMapModule>;
|
|
13
|
+
}
|