@syncfusion/ej2-angular-treemap 20.2.36 → 20.2.37-ngcc
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/@syncfusion/ej2-angular-treemap.es5.js +387 -0
- package/@syncfusion/ej2-angular-treemap.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-treemap.js +355 -0
- package/@syncfusion/ej2-angular-treemap.js.map +1 -0
- package/CHANGELOG.md +90 -0
- package/dist/ej2-angular-treemap.umd.js +520 -0
- package/dist/ej2-angular-treemap.umd.js.map +1 -0
- package/dist/ej2-angular-treemap.umd.min.js +11 -0
- package/dist/ej2-angular-treemap.umd.min.js.map +1 -0
- package/ej2-angular-treemap.d.ts +5 -0
- package/ej2-angular-treemap.metadata.json +1 -0
- package/package.json +20 -34
- package/postinstall/tagchange.js +18 -0
- 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 +0 -5
- package/src/treemap/levels.directive.d.ts +0 -5
- package/src/treemap/treemap-all.module.d.ts +0 -6
- package/src/treemap/treemap.component.d.ts +0 -3
- package/src/treemap/treemap.module.d.ts +0 -8
- package/esm2020/public_api.mjs +0 -3
- package/esm2020/src/index.mjs +0 -7
- package/esm2020/src/treemap/colormapping.directive.mjs +0 -46
- package/esm2020/src/treemap/levels.directive.mjs +0 -66
- package/esm2020/src/treemap/treemap-all.module.mjs +0 -47
- package/esm2020/src/treemap/treemap.component.mjs +0 -126
- package/esm2020/src/treemap/treemap.module.mjs +0 -43
- package/esm2020/syncfusion-ej2-angular-treemap.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs +0 -316
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs +0 -316
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +0 -1
- package/syncfusion-ej2-angular-treemap.d.ts +0 -5
|
@@ -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
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {
|
|
5
4
|
private viewContainerRef;
|
|
6
5
|
directivePropList: any;
|
|
@@ -45,8 +44,6 @@ export declare class ColorMappingDirective extends ComplexBase<ColorMappingDirec
|
|
|
45
44
|
*/
|
|
46
45
|
value: any;
|
|
47
46
|
constructor(viewContainerRef: ViewContainerRef);
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColorMappingDirective, never>;
|
|
49
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorMappingDirective, "e-levels>e-colorMappings>e-colorMapping", never, { "color": "color"; "from": "from"; "label": "label"; "maxOpacity": "maxOpacity"; "minOpacity": "minOpacity"; "showLegend": "showLegend"; "to": "to"; "value": "value"; }, {}, never>;
|
|
50
47
|
}
|
|
51
48
|
/**
|
|
52
49
|
* ColorMapping Array Directive
|
|
@@ -54,6 +51,4 @@ export declare class ColorMappingDirective extends ComplexBase<ColorMappingDirec
|
|
|
54
51
|
*/
|
|
55
52
|
export declare class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {
|
|
56
53
|
constructor();
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColorMappingsDirective, never>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorMappingsDirective, "e-levels>e-colorMappings", never, {}, {}, ["children"]>;
|
|
59
54
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* Level Directive
|
|
6
5
|
* ```html
|
|
@@ -88,8 +87,6 @@ export declare class LevelDirective extends ComplexBase<LevelDirective> {
|
|
|
88
87
|
*/
|
|
89
88
|
headerTemplate: any;
|
|
90
89
|
constructor(viewContainerRef: ViewContainerRef);
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LevelDirective, never>;
|
|
92
|
-
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"]>;
|
|
93
90
|
}
|
|
94
91
|
/**
|
|
95
92
|
* Level Array Directive
|
|
@@ -97,6 +94,4 @@ export declare class LevelDirective extends ComplexBase<LevelDirective> {
|
|
|
97
94
|
*/
|
|
98
95
|
export declare class LevelsDirective extends ArrayBase<LevelsDirective> {
|
|
99
96
|
constructor();
|
|
100
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LevelsDirective, never>;
|
|
101
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LevelsDirective, "ej-treemap>e-levels", never, {}, {}, ["children"]>;
|
|
102
97
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
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
2
|
export declare const TreeMapTooltipService: ValueProvider;
|
|
6
3
|
export declare const TreeMapLegendService: ValueProvider;
|
|
7
4
|
export declare const TreeMapHighlightService: ValueProvider;
|
|
@@ -13,7 +10,4 @@ export declare const ImageExportService: ValueProvider;
|
|
|
13
10
|
* NgModule definition for the TreeMap component with providers.
|
|
14
11
|
*/
|
|
15
12
|
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
13
|
}
|
|
@@ -2,7 +2,6 @@ import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@a
|
|
|
2
2
|
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
3
|
import { TreeMap } from '@syncfusion/ej2-treemap';
|
|
4
4
|
import { LevelsDirective } from './levels.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
5
|
export declare const inputs: string[];
|
|
7
6
|
export declare const outputs: string[];
|
|
8
7
|
export declare const twoWays: string[];
|
|
@@ -48,6 +47,4 @@ export declare class TreeMapComponent extends TreeMap implements IComponentBase
|
|
|
48
47
|
ngAfterContentChecked(): void;
|
|
49
48
|
registerEvents: (eventList: string[]) => void;
|
|
50
49
|
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"; "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
50
|
}
|
|
@@ -1,13 +1,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
1
|
/**
|
|
7
2
|
* NgModule definition for the TreeMap component.
|
|
8
3
|
*/
|
|
9
4
|
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
5
|
}
|
package/esm2020/public_api.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// Mapping root file for package generation
|
|
2
|
-
export * from './src/index';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMkNBQTJDO0FBQzNDLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gTWFwcGluZyByb290IGZpbGUgZm9yIHBhY2thZ2UgZ2VuZXJhdGlvblxuZXhwb3J0ICogZnJvbSAnLi9zcmMvaW5kZXgnOyJdfQ==
|
package/esm2020/src/index.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { ColorMappingDirective, ColorMappingsDirective } from './treemap/colormapping.directive';
|
|
2
|
-
export { LevelDirective, LevelsDirective } from './treemap/levels.directive';
|
|
3
|
-
export { TreeMapComponent } from './treemap/treemap.component';
|
|
4
|
-
export { TreeMapModule } from './treemap/treemap.module';
|
|
5
|
-
export { TreeMapAllModule, TreeMapTooltipService, TreeMapLegendService, TreeMapHighlightService, TreeMapSelectionService, PrintService, PdfExportService, ImageExportService } from './treemap/treemap-all.module';
|
|
6
|
-
export * from '@syncfusion/ej2-treemap';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHFCQUFxQixFQUFDLHNCQUFzQixFQUFDLE1BQU0sa0NBQWtDLENBQUM7QUFDOUYsT0FBTyxFQUFDLGNBQWMsRUFBQyxlQUFlLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQztBQUMxRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUMsTUFBTSw2QkFBNkIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDekQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLHFCQUFxQixFQUFFLG9CQUFvQixFQUFFLHVCQUF1QixFQUFFLHVCQUF1QixFQUFFLFlBQVksRUFBRSxnQkFBZ0IsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ25OLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge0NvbG9yTWFwcGluZ0RpcmVjdGl2ZSxDb2xvck1hcHBpbmdzRGlyZWN0aXZlfSBmcm9tICcuL3RyZWVtYXAvY29sb3JtYXBwaW5nLmRpcmVjdGl2ZSc7XG5leHBvcnQge0xldmVsRGlyZWN0aXZlLExldmVsc0RpcmVjdGl2ZX0gZnJvbSAnLi90cmVlbWFwL2xldmVscy5kaXJlY3RpdmUnO1xuZXhwb3J0IHsgVHJlZU1hcENvbXBvbmVudH0gZnJvbSAnLi90cmVlbWFwL3RyZWVtYXAuY29tcG9uZW50JztcbmV4cG9ydCB7IFRyZWVNYXBNb2R1bGUgfSBmcm9tICcuL3RyZWVtYXAvdHJlZW1hcC5tb2R1bGUnO1xuZXhwb3J0IHsgVHJlZU1hcEFsbE1vZHVsZSwgVHJlZU1hcFRvb2x0aXBTZXJ2aWNlLCBUcmVlTWFwTGVnZW5kU2VydmljZSwgVHJlZU1hcEhpZ2hsaWdodFNlcnZpY2UsIFRyZWVNYXBTZWxlY3Rpb25TZXJ2aWNlLCBQcmludFNlcnZpY2UsIFBkZkV4cG9ydFNlcnZpY2UsIEltYWdlRXhwb3J0U2VydmljZSB9IGZyb20gJy4vdHJlZW1hcC90cmVlbWFwLWFsbC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnQHN5bmNmdXNpb24vZWoyLXRyZWVtYXAnOyJdfQ==
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Directive, ContentChildren } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
let input = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
|
|
5
|
-
let outputs = [];
|
|
6
|
-
export class ColorMappingDirective extends ComplexBase {
|
|
7
|
-
constructor(viewContainerRef) {
|
|
8
|
-
super();
|
|
9
|
-
this.viewContainerRef = viewContainerRef;
|
|
10
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
11
|
-
this.registerEvents(outputs);
|
|
12
|
-
this.directivePropList = input;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
ColorMappingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColorMappingDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
-
ColorMappingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColorMappingDirective, selector: "e-levels>e-colorMappings>e-colorMapping", inputs: { color: "color", from: "from", label: "label", maxOpacity: "maxOpacity", minOpacity: "minOpacity", showLegend: "showLegend", to: "to", value: "value" }, usesInheritance: true, ngImport: i0 });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColorMappingDirective, decorators: [{
|
|
18
|
-
type: Directive,
|
|
19
|
-
args: [{
|
|
20
|
-
selector: 'e-levels>e-colorMappings>e-colorMapping',
|
|
21
|
-
inputs: input,
|
|
22
|
-
outputs: outputs,
|
|
23
|
-
queries: {}
|
|
24
|
-
}]
|
|
25
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
26
|
-
/**
|
|
27
|
-
* ColorMapping Array Directive
|
|
28
|
-
* @private
|
|
29
|
-
*/
|
|
30
|
-
export class ColorMappingsDirective extends ArrayBase {
|
|
31
|
-
constructor() {
|
|
32
|
-
super('colormapping');
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
ColorMappingsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColorMappingsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
-
ColorMappingsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColorMappingsDirective, selector: "e-levels>e-colorMappings", queries: [{ propertyName: "children", predicate: ColorMappingDirective }], usesInheritance: true, ngImport: i0 });
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColorMappingsDirective, decorators: [{
|
|
38
|
-
type: Directive,
|
|
39
|
-
args: [{
|
|
40
|
-
selector: 'e-levels>e-colorMappings',
|
|
41
|
-
queries: {
|
|
42
|
-
children: new ContentChildren(ColorMappingDirective)
|
|
43
|
-
},
|
|
44
|
-
}]
|
|
45
|
-
}], ctorParameters: function () { return []; } });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3JtYXBwaW5nLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90cmVlbWFwL2NvbG9ybWFwcGluZy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBb0IsZUFBZSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdFLE9BQU8sRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLDhCQUE4QixDQUFDOztBQUloRixJQUFJLEtBQUssR0FBYSxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsT0FBTyxFQUFFLFlBQVksRUFBRSxZQUFZLEVBQUUsWUFBWSxFQUFFLElBQUksRUFBRSxPQUFPLENBQUMsQ0FBQztBQUMxRyxJQUFJLE9BQU8sR0FBYSxFQUFFLENBQUM7QUFVM0IsTUFBTSxPQUFPLHFCQUFzQixTQUFRLFdBQWtDO0lBOEN6RSxZQUFvQixnQkFBaUM7UUFDakQsS0FBSyxFQUFFLENBQUM7UUFEUSxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWlCO1FBRWpELFFBQVEsQ0FBQyxpQkFBaUIsRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFDekQsSUFBSSxDQUFDLGNBQWMsQ0FBQyxPQUFPLENBQUM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