@syncfusion/ej2-angular-treemap 22.1.34 → 22.1.36
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 +116 -42
- package/esm2020/src/treemap/colormapping.directive.mjs +1 -1
- package/esm2020/src/treemap/levels.directive.mjs +2 -2
- package/esm2020/src/treemap/treemap.component.mjs +2 -2
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs +2 -2
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +1 -1
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs +2 -2
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +1 -1
- package/package.json +6 -22
- package/schematics/collection.json +110 -0
- package/schematics/generators/treemap-default/index.d.ts +3 -0
- package/schematics/generators/treemap-default/index.js +8 -0
- package/schematics/generators/treemap-default/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-default/sample-details.js +7 -0
- package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
- package/schematics/generators/treemap-default/schema.d.ts +3 -0
- package/schematics/generators/treemap-default/schema.js +2 -0
- package/schematics/generators/treemap-default/schema.json +125 -0
- package/schematics/generators/treemap-desaturation-color/index.d.ts +3 -0
- package/schematics/generators/treemap-desaturation-color/index.js +8 -0
- package/schematics/generators/treemap-desaturation-color/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-desaturation-color/sample-details.js +7 -0
- package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +9 -0
- package/schematics/generators/treemap-desaturation-color/schema.d.ts +3 -0
- package/schematics/generators/treemap-desaturation-color/schema.js +2 -0
- package/schematics/generators/treemap-desaturation-color/schema.json +125 -0
- package/schematics/generators/treemap-drilldown/index.d.ts +3 -0
- package/schematics/generators/treemap-drilldown/index.js +8 -0
- package/schematics/generators/treemap-drilldown/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-drilldown/sample-details.js +7 -0
- package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
- package/schematics/generators/treemap-drilldown/schema.d.ts +3 -0
- package/schematics/generators/treemap-drilldown/schema.js +2 -0
- package/schematics/generators/treemap-drilldown/schema.json +125 -0
- package/schematics/generators/treemap-equal-color/index.d.ts +3 -0
- package/schematics/generators/treemap-equal-color/index.js +8 -0
- package/schematics/generators/treemap-equal-color/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-equal-color/sample-details.js +7 -0
- package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +9 -0
- package/schematics/generators/treemap-equal-color/schema.d.ts +3 -0
- package/schematics/generators/treemap-equal-color/schema.js +2 -0
- package/schematics/generators/treemap-equal-color/schema.json +125 -0
- package/schematics/generators/treemap-highlight/index.d.ts +3 -0
- package/schematics/generators/treemap-highlight/index.js +8 -0
- package/schematics/generators/treemap-highlight/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-highlight/sample-details.js +7 -0
- package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/treemap-highlight/schema.d.ts +3 -0
- package/schematics/generators/treemap-highlight/schema.js +2 -0
- package/schematics/generators/treemap-highlight/schema.json +125 -0
- package/schematics/generators/treemap-label-hide/index.d.ts +3 -0
- package/schematics/generators/treemap-label-hide/index.js +8 -0
- package/schematics/generators/treemap-label-hide/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-label-hide/sample-details.js +7 -0
- package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
- package/schematics/generators/treemap-label-hide/schema.d.ts +3 -0
- package/schematics/generators/treemap-label-hide/schema.js +2 -0
- package/schematics/generators/treemap-label-hide/schema.json +125 -0
- package/schematics/generators/treemap-label-trim/index.d.ts +3 -0
- package/schematics/generators/treemap-label-trim/index.js +8 -0
- package/schematics/generators/treemap-label-trim/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-label-trim/sample-details.js +7 -0
- package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/treemap-label-trim/schema.d.ts +3 -0
- package/schematics/generators/treemap-label-trim/schema.js +2 -0
- package/schematics/generators/treemap-label-trim/schema.json +125 -0
- package/schematics/generators/treemap-label-wrap/index.d.ts +3 -0
- package/schematics/generators/treemap-label-wrap/index.js +8 -0
- package/schematics/generators/treemap-label-wrap/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-label-wrap/sample-details.js +7 -0
- package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/treemap-label-wrap/schema.d.ts +3 -0
- package/schematics/generators/treemap-label-wrap/schema.js +2 -0
- package/schematics/generators/treemap-label-wrap/schema.json +125 -0
- package/schematics/generators/treemap-label-wrapbyword/index.d.ts +3 -0
- package/schematics/generators/treemap-label-wrapbyword/index.js +8 -0
- package/schematics/generators/treemap-label-wrapbyword/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-label-wrapbyword/sample-details.js +7 -0
- package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/treemap-label-wrapbyword/schema.d.ts +3 -0
- package/schematics/generators/treemap-label-wrapbyword/schema.js +2 -0
- package/schematics/generators/treemap-label-wrapbyword/schema.json +125 -0
- package/schematics/generators/treemap-layout-squarified/index.d.ts +3 -0
- package/schematics/generators/treemap-layout-squarified/index.js +8 -0
- package/schematics/generators/treemap-layout-squarified/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-layout-squarified/sample-details.js +7 -0
- package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/treemap-layout-squarified/schema.d.ts +3 -0
- package/schematics/generators/treemap-layout-squarified/schema.js +2 -0
- package/schematics/generators/treemap-layout-squarified/schema.json +125 -0
- package/schematics/generators/treemap-layout-type-four/index.d.ts +3 -0
- package/schematics/generators/treemap-layout-type-four/index.js +8 -0
- package/schematics/generators/treemap-layout-type-four/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-layout-type-four/sample-details.js +7 -0
- package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/treemap-layout-type-four/schema.d.ts +3 -0
- package/schematics/generators/treemap-layout-type-four/schema.js +2 -0
- package/schematics/generators/treemap-layout-type-four/schema.json +125 -0
- package/schematics/generators/treemap-layout-type-three/index.d.ts +3 -0
- package/schematics/generators/treemap-layout-type-three/index.js +8 -0
- package/schematics/generators/treemap-layout-type-three/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-layout-type-three/sample-details.js +7 -0
- package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/treemap-layout-type-three/schema.d.ts +3 -0
- package/schematics/generators/treemap-layout-type-three/schema.js +2 -0
- package/schematics/generators/treemap-layout-type-three/schema.json +125 -0
- package/schematics/generators/treemap-layout-type-two/index.d.ts +3 -0
- package/schematics/generators/treemap-layout-type-two/index.js +8 -0
- package/schematics/generators/treemap-layout-type-two/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-layout-type-two/sample-details.js +7 -0
- package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/treemap-layout-type-two/schema.d.ts +3 -0
- package/schematics/generators/treemap-layout-type-two/schema.js +2 -0
- package/schematics/generators/treemap-layout-type-two/schema.json +125 -0
- package/schematics/generators/treemap-leaf/index.d.ts +3 -0
- package/schematics/generators/treemap-leaf/index.js +8 -0
- package/schematics/generators/treemap-leaf/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-leaf/sample-details.js +7 -0
- package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/treemap-leaf/schema.d.ts +3 -0
- package/schematics/generators/treemap-leaf/schema.js +2 -0
- package/schematics/generators/treemap-leaf/schema.json +125 -0
- package/schematics/generators/treemap-legend-default/index.d.ts +3 -0
- package/schematics/generators/treemap-legend-default/index.js +8 -0
- package/schematics/generators/treemap-legend-default/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-legend-default/sample-details.js +7 -0
- package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
- package/schematics/generators/treemap-legend-default/schema.d.ts +3 -0
- package/schematics/generators/treemap-legend-default/schema.js +2 -0
- package/schematics/generators/treemap-legend-default/schema.json +125 -0
- package/schematics/generators/treemap-legend-interaction/index.d.ts +3 -0
- package/schematics/generators/treemap-legend-interaction/index.js +8 -0
- package/schematics/generators/treemap-legend-interaction/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-legend-interaction/sample-details.js +7 -0
- package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
- package/schematics/generators/treemap-legend-interaction/schema.d.ts +3 -0
- package/schematics/generators/treemap-legend-interaction/schema.js +2 -0
- package/schematics/generators/treemap-legend-interaction/schema.json +125 -0
- package/schematics/generators/treemap-level/index.d.ts +3 -0
- package/schematics/generators/treemap-level/index.js +8 -0
- package/schematics/generators/treemap-level/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-level/sample-details.js +7 -0
- package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/treemap-level/schema.d.ts +3 -0
- package/schematics/generators/treemap-level/schema.js +2 -0
- package/schematics/generators/treemap-level/schema.json +125 -0
- package/schematics/generators/treemap-range-color/index.d.ts +3 -0
- package/schematics/generators/treemap-range-color/index.js +8 -0
- package/schematics/generators/treemap-range-color/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-range-color/sample-details.js +7 -0
- package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +14 -0
- package/schematics/generators/treemap-range-color/schema.d.ts +3 -0
- package/schematics/generators/treemap-range-color/schema.js +2 -0
- package/schematics/generators/treemap-range-color/schema.json +125 -0
- package/schematics/generators/treemap-selection/index.d.ts +3 -0
- package/schematics/generators/treemap-selection/index.js +8 -0
- package/schematics/generators/treemap-selection/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-selection/sample-details.js +7 -0
- package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/treemap-selection/schema.d.ts +3 -0
- package/schematics/generators/treemap-selection/schema.js +2 -0
- package/schematics/generators/treemap-selection/schema.json +125 -0
- package/schematics/generators/treemap-tooltip/index.d.ts +3 -0
- package/schematics/generators/treemap-tooltip/index.js +8 -0
- package/schematics/generators/treemap-tooltip/sample-details.d.ts +5 -0
- package/schematics/generators/treemap-tooltip/sample-details.js +7 -0
- package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
- package/schematics/generators/treemap-tooltip/schema.d.ts +3 -0
- package/schematics/generators/treemap-tooltip/schema.js +2 -0
- package/schematics/generators/treemap-tooltip/schema.json +125 -0
- package/schematics/ng-add/index.d.ts +3 -0
- package/schematics/ng-add/index.js +9 -0
- package/schematics/ng-add/schema.d.ts +13 -0
- package/schematics/ng-add/schema.js +2 -0
- package/schematics/ng-add/schema.json +34 -0
- package/schematics/tsconfig.json +25 -0
- package/schematics/utils/lib-details.d.ts +4 -0
- package/schematics/utils/lib-details.js +6 -0
- package/schematics/utils/lib-details.ts +2 -2
- package/src/treemap/colormapping.directive.d.ts +4 -4
- package/src/treemap/levels.directive.d.ts +17 -16
- package/src/treemap/treemap.component.d.ts +1 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "treemap-selection",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "treemap-selection"
|
|
125
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
+
const sampleDetails = require("./sample-details");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
+
}
|
|
8
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'treemap';
|
|
4
|
+
exports.sampleName = 'tooltip';
|
|
5
|
+
exports.diModules = 'TreeMapTooltip';
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-treemap';
|
|
7
|
+
exports.libModules = 'TreeMapModule';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<div class="control-section">
|
|
2
|
+
<div align='center'>
|
|
3
|
+
<ejs-treemap id='container' #treemap style="display:block;" [dataSource]='dataSource' [weightValuePath]='weightValuePath' [leafItemSettings]='leafItemSettings' [tooltipSettings]='tooltipSettings' [titleSettings]='titleSettings' [equalColorValuePath]='equalColorValuePath'
|
|
4
|
+
[legendSettings]='legendSettings' (load)='load($event)'>
|
|
5
|
+
|
|
6
|
+
</ejs-treemap>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "treemap-tooltip",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "treemap-tooltip"
|
|
125
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lib_details_1 = require("./../utils/lib-details");
|
|
4
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
const libOptions = Object.assign({}, { 'pkgName': lib_details_1.pkgName, 'pkgVer': lib_details_1.pkgVer, 'moduleName': lib_details_1.moduleName, 'themeVer': lib_details_1.themeVer });
|
|
7
|
+
return schematics_1.install(options, libOptions);
|
|
8
|
+
}
|
|
9
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface OptionsSchema {
|
|
2
|
+
skipPackageJson: boolean;
|
|
3
|
+
modules: string;
|
|
4
|
+
modulePath: string;
|
|
5
|
+
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
6
|
+
project?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface LibOptionsSchema {
|
|
9
|
+
pkgName: string;
|
|
10
|
+
pkgVer: string;
|
|
11
|
+
moduleName: string;
|
|
12
|
+
themeVer: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "ngAdd",
|
|
4
|
+
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"skipPackageJson": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false,
|
|
10
|
+
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
+
},
|
|
12
|
+
"modules": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "",
|
|
15
|
+
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
+
},
|
|
17
|
+
"modulePath": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"default": "",
|
|
20
|
+
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
+
},
|
|
22
|
+
"theme": {
|
|
23
|
+
"enum": [
|
|
24
|
+
"material",
|
|
25
|
+
"fabric",
|
|
26
|
+
"bootstrap",
|
|
27
|
+
"highcontrast"
|
|
28
|
+
],
|
|
29
|
+
"default": "material",
|
|
30
|
+
"description": "Used to change the theme that needs to be imported"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": []
|
|
34
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["es2017", "dom"],
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"noEmitOnError": false,
|
|
7
|
+
"skipDefaultLibCheck": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"target": "es6",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"types": [
|
|
13
|
+
"jasmine",
|
|
14
|
+
"node"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"exclude": [
|
|
18
|
+
"node_modules",
|
|
19
|
+
"src",
|
|
20
|
+
"src/**/*.ts",
|
|
21
|
+
"spec",
|
|
22
|
+
"spec/**/*.ts",
|
|
23
|
+
"@typings"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -15,22 +15,22 @@ export declare class ColorMappingDirective extends ComplexBase<ColorMappingDirec
|
|
|
15
15
|
*/
|
|
16
16
|
from: any;
|
|
17
17
|
/**
|
|
18
|
-
* Sets and gets the label text for the legend based on color mapping.
|
|
18
|
+
* Sets and gets the label text for the legend when it is rendered based on color mapping.
|
|
19
19
|
* @default null
|
|
20
20
|
*/
|
|
21
21
|
label: any;
|
|
22
22
|
/**
|
|
23
|
-
* Sets and gets the maximum opacity for the color-mapping in the treemap
|
|
23
|
+
* Sets and gets the maximum opacity for the color-mapping in the treemap.
|
|
24
24
|
* @default null
|
|
25
25
|
*/
|
|
26
26
|
maxOpacity: any;
|
|
27
27
|
/**
|
|
28
|
-
* Sets and gets the minimum opacity for the color-mapping in the treemap
|
|
28
|
+
* Sets and gets the minimum opacity for the color-mapping in the treemap.
|
|
29
29
|
* @default null
|
|
30
30
|
*/
|
|
31
31
|
minOpacity: any;
|
|
32
32
|
/**
|
|
33
|
-
* Enables or disables the visibility of the legend for color mapping in the treemap
|
|
33
|
+
* Enables or disables the visibility of the legend for color mapping in the treemap.
|
|
34
34
|
* @default true
|
|
35
35
|
*/
|
|
36
36
|
showLegend: any;
|
|
@@ -2,7 +2,7 @@ import { ViewContainerRef } from '@angular/core';
|
|
|
2
2
|
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Represents the directive to configure and render level leaf items in the treemap.
|
|
6
6
|
* ```html
|
|
7
7
|
* <e-levels>
|
|
8
8
|
* <e-level></e-level>
|
|
@@ -15,76 +15,77 @@ export declare class LevelDirective extends ComplexBase<LevelDirective> {
|
|
|
15
15
|
childColorMapping: any;
|
|
16
16
|
tags: string[];
|
|
17
17
|
/**
|
|
18
|
-
* Enables or disables the automatic filling of the colors in the items
|
|
18
|
+
* Enables or disables the automatic filling of the colors from the palette in the items of the treemap.
|
|
19
19
|
* @default false
|
|
20
20
|
*/
|
|
21
21
|
autoFill: any;
|
|
22
22
|
/**
|
|
23
23
|
* Sets and gets the options for customizing the color and width of the border of
|
|
24
|
-
* the
|
|
24
|
+
* the level leaf items of the treemap.
|
|
25
25
|
*/
|
|
26
26
|
border: any;
|
|
27
27
|
/**
|
|
28
|
-
* Sets and gets the options for customizing the color-mapping in the treemap
|
|
28
|
+
* Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.
|
|
29
29
|
*/
|
|
30
30
|
colorMapping: any;
|
|
31
31
|
/**
|
|
32
|
-
* Sets and gets the fill color of the level in the treemap
|
|
32
|
+
* Sets and gets the fill color of the level leaf item in the treemap.
|
|
33
33
|
* @default null
|
|
34
34
|
*/
|
|
35
35
|
fill: any;
|
|
36
36
|
/**
|
|
37
|
-
* Sets and gets the gap between the
|
|
37
|
+
* Sets and gets the gap between the level leaf items in the treemap.
|
|
38
38
|
* @default 0
|
|
39
39
|
*/
|
|
40
40
|
groupGap: any;
|
|
41
41
|
/**
|
|
42
|
-
* Sets and gets the padding of
|
|
42
|
+
* Sets and gets the padding of level leaf items in the treemap.
|
|
43
43
|
* @default 10
|
|
44
44
|
*/
|
|
45
45
|
groupPadding: any;
|
|
46
46
|
/**
|
|
47
|
-
* Sets and gets the value path from the data source in the treemap
|
|
47
|
+
* Sets and gets the value path from the data source in the treemap to render the item.
|
|
48
48
|
* @default null
|
|
49
49
|
*/
|
|
50
50
|
groupPath: any;
|
|
51
51
|
/**
|
|
52
|
-
* Sets and gets the alignment of the header of the treemap
|
|
52
|
+
* Sets and gets the alignment of the header of the treemap.
|
|
53
53
|
* @default 'Near'
|
|
54
54
|
*/
|
|
55
55
|
headerAlignment: any;
|
|
56
56
|
/**
|
|
57
|
-
* Sets and gets the format
|
|
57
|
+
* Sets and gets the string to format the header label of the level leaf items in the treemap.
|
|
58
58
|
* @default null
|
|
59
59
|
*/
|
|
60
60
|
headerFormat: any;
|
|
61
61
|
/**
|
|
62
|
-
* Sets and gets the height of header in the treemap
|
|
62
|
+
* Sets and gets the height of header in the treemap.
|
|
63
63
|
* @default 20
|
|
64
64
|
*/
|
|
65
65
|
headerHeight: any;
|
|
66
66
|
/**
|
|
67
|
-
* Sets and gets the options for customizing the style of header of the
|
|
67
|
+
* Sets and gets the options for customizing the text style of header label of the level leaf item.
|
|
68
68
|
*/
|
|
69
69
|
headerStyle: any;
|
|
70
70
|
/**
|
|
71
|
-
* Sets and gets the opacity in the treemap
|
|
71
|
+
* Sets and gets the opacity in the level leaf item of the treemap.
|
|
72
72
|
* @default 1
|
|
73
73
|
*/
|
|
74
74
|
opacity: any;
|
|
75
75
|
/**
|
|
76
|
-
* Shows or hides the header in level of the treemap
|
|
76
|
+
* Shows or hides the header in level leaf item of the treemap.
|
|
77
77
|
* @default true
|
|
78
78
|
*/
|
|
79
79
|
showHeader: any;
|
|
80
80
|
/**
|
|
81
|
-
* Sets and gets the options for customizing the template position of the treemap
|
|
81
|
+
* Sets and gets the options for customizing the template position of the treemap.
|
|
82
82
|
* @default 'TopLeft'
|
|
83
83
|
*/
|
|
84
84
|
templatePosition: any;
|
|
85
85
|
/**
|
|
86
|
-
* Sets and gets the template for header in the treemap
|
|
86
|
+
* Sets and gets the template for header in the treemap.
|
|
87
87
|
* @default null
|
|
88
|
+
* @asptype string
|
|
88
89
|
*/
|
|
89
90
|
headerTemplate: any;
|
|
90
91
|
constructor(viewContainerRef: ViewContainerRef);
|
|
@@ -7,7 +7,7 @@ export declare const inputs: string[];
|
|
|
7
7
|
export declare const outputs: string[];
|
|
8
8
|
export declare const twoWays: string[];
|
|
9
9
|
/**
|
|
10
|
-
* TreeMap
|
|
10
|
+
* Represents the Angular TreeMap component. It is used to visualize both hierarchical and flat data.
|
|
11
11
|
* ```html
|
|
12
12
|
* <ej-treemap></ej-treemap>
|
|
13
13
|
* ```
|