@syncfusion/ej2-angular-treemap 26.1.35 → 26.2.4-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/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/license +10 -0
- package/package.json +14 -28
- package/schematics/collection.json +0 -100
- 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/CHANGELOG.md +0 -83
- package/esm2020/public_api.mjs +0 -2
- 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 -314
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs +0 -314
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +0 -1
- package/schematics/generators/treemap-default/index.d.ts +0 -3
- package/schematics/generators/treemap-default/index.js +0 -8
- package/schematics/generators/treemap-default/index.ts +0 -8
- package/schematics/generators/treemap-default/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-default/sample-details.js +0 -7
- package/schematics/generators/treemap-default/sample-details.ts +0 -5
- package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
- package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -60
- package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
- package/schematics/generators/treemap-default/schema.d.ts +0 -3
- package/schematics/generators/treemap-default/schema.js +0 -2
- package/schematics/generators/treemap-default/schema.json +0 -125
- package/schematics/generators/treemap-default/schema.ts +0 -3
- package/schematics/generators/treemap-desaturation-color/index.d.ts +0 -3
- package/schematics/generators/treemap-desaturation-color/index.js +0 -8
- package/schematics/generators/treemap-desaturation-color/index.ts +0 -8
- package/schematics/generators/treemap-desaturation-color/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-desaturation-color/sample-details.js +0 -7
- package/schematics/generators/treemap-desaturation-color/sample-details.ts +0 -5
- package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -9
- package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -48
- package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
- package/schematics/generators/treemap-desaturation-color/schema.d.ts +0 -3
- package/schematics/generators/treemap-desaturation-color/schema.js +0 -2
- package/schematics/generators/treemap-desaturation-color/schema.json +0 -125
- package/schematics/generators/treemap-desaturation-color/schema.ts +0 -3
- package/schematics/generators/treemap-drilldown/index.d.ts +0 -3
- package/schematics/generators/treemap-drilldown/index.js +0 -8
- package/schematics/generators/treemap-drilldown/index.ts +0 -8
- package/schematics/generators/treemap-drilldown/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-drilldown/sample-details.js +0 -7
- package/schematics/generators/treemap-drilldown/sample-details.ts +0 -5
- package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
- package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
- package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/assets/drilldown-sample.ts +0 -261
- package/schematics/generators/treemap-drilldown/schema.d.ts +0 -3
- package/schematics/generators/treemap-drilldown/schema.js +0 -2
- package/schematics/generators/treemap-drilldown/schema.json +0 -125
- package/schematics/generators/treemap-drilldown/schema.ts +0 -3
- package/schematics/generators/treemap-equal-color/index.d.ts +0 -3
- package/schematics/generators/treemap-equal-color/index.js +0 -8
- package/schematics/generators/treemap-equal-color/index.ts +0 -8
- package/schematics/generators/treemap-equal-color/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-equal-color/sample-details.js +0 -7
- package/schematics/generators/treemap-equal-color/sample-details.ts +0 -5
- package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -9
- package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -53
- package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
- package/schematics/generators/treemap-equal-color/schema.d.ts +0 -3
- package/schematics/generators/treemap-equal-color/schema.js +0 -2
- package/schematics/generators/treemap-equal-color/schema.json +0 -125
- package/schematics/generators/treemap-equal-color/schema.ts +0 -3
- package/schematics/generators/treemap-highlight/index.d.ts +0 -3
- package/schematics/generators/treemap-highlight/index.js +0 -8
- package/schematics/generators/treemap-highlight/index.ts +0 -8
- package/schematics/generators/treemap-highlight/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-highlight/sample-details.js +0 -7
- package/schematics/generators/treemap-highlight/sample-details.ts +0 -5
- package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
- package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -64
- package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
- package/schematics/generators/treemap-highlight/schema.d.ts +0 -3
- package/schematics/generators/treemap-highlight/schema.js +0 -2
- package/schematics/generators/treemap-highlight/schema.json +0 -125
- package/schematics/generators/treemap-highlight/schema.ts +0 -3
- package/schematics/generators/treemap-label-hide/index.d.ts +0 -3
- package/schematics/generators/treemap-label-hide/index.js +0 -8
- package/schematics/generators/treemap-label-hide/index.ts +0 -8
- package/schematics/generators/treemap-label-hide/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-label-hide/sample-details.js +0 -7
- package/schematics/generators/treemap-label-hide/sample-details.ts +0 -5
- package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
- package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
- package/schematics/generators/treemap-label-hide/schema.d.ts +0 -3
- package/schematics/generators/treemap-label-hide/schema.js +0 -2
- package/schematics/generators/treemap-label-hide/schema.json +0 -125
- package/schematics/generators/treemap-label-hide/schema.ts +0 -3
- package/schematics/generators/treemap-label-trim/index.d.ts +0 -3
- package/schematics/generators/treemap-label-trim/index.js +0 -8
- package/schematics/generators/treemap-label-trim/index.ts +0 -8
- package/schematics/generators/treemap-label-trim/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-label-trim/sample-details.js +0 -7
- package/schematics/generators/treemap-label-trim/sample-details.ts +0 -5
- package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
- package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
- package/schematics/generators/treemap-label-trim/schema.d.ts +0 -3
- package/schematics/generators/treemap-label-trim/schema.js +0 -2
- package/schematics/generators/treemap-label-trim/schema.json +0 -125
- package/schematics/generators/treemap-label-trim/schema.ts +0 -3
- package/schematics/generators/treemap-label-wrap/index.d.ts +0 -3
- package/schematics/generators/treemap-label-wrap/index.js +0 -8
- package/schematics/generators/treemap-label-wrap/index.ts +0 -8
- package/schematics/generators/treemap-label-wrap/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-label-wrap/sample-details.js +0 -7
- package/schematics/generators/treemap-label-wrap/sample-details.ts +0 -5
- package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
- package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
- package/schematics/generators/treemap-label-wrap/schema.d.ts +0 -3
- package/schematics/generators/treemap-label-wrap/schema.js +0 -2
- package/schematics/generators/treemap-label-wrap/schema.json +0 -125
- package/schematics/generators/treemap-label-wrap/schema.ts +0 -3
- package/schematics/generators/treemap-label-wrapbyword/index.d.ts +0 -3
- package/schematics/generators/treemap-label-wrapbyword/index.js +0 -8
- package/schematics/generators/treemap-label-wrapbyword/index.ts +0 -8
- package/schematics/generators/treemap-label-wrapbyword/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-label-wrapbyword/sample-details.js +0 -7
- package/schematics/generators/treemap-label-wrapbyword/sample-details.ts +0 -5
- package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
- package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
- package/schematics/generators/treemap-label-wrapbyword/schema.d.ts +0 -3
- package/schematics/generators/treemap-label-wrapbyword/schema.js +0 -2
- package/schematics/generators/treemap-label-wrapbyword/schema.json +0 -125
- package/schematics/generators/treemap-label-wrapbyword/schema.ts +0 -3
- package/schematics/generators/treemap-layout-squarified/index.d.ts +0 -3
- package/schematics/generators/treemap-layout-squarified/index.js +0 -8
- package/schematics/generators/treemap-layout-squarified/index.ts +0 -8
- package/schematics/generators/treemap-layout-squarified/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-layout-squarified/sample-details.js +0 -7
- package/schematics/generators/treemap-layout-squarified/sample-details.ts +0 -5
- package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
- package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
- package/schematics/generators/treemap-layout-squarified/schema.d.ts +0 -3
- package/schematics/generators/treemap-layout-squarified/schema.js +0 -2
- package/schematics/generators/treemap-layout-squarified/schema.json +0 -125
- package/schematics/generators/treemap-layout-squarified/schema.ts +0 -3
- package/schematics/generators/treemap-layout-type-four/index.d.ts +0 -3
- package/schematics/generators/treemap-layout-type-four/index.js +0 -8
- package/schematics/generators/treemap-layout-type-four/index.ts +0 -8
- package/schematics/generators/treemap-layout-type-four/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-layout-type-four/sample-details.js +0 -7
- package/schematics/generators/treemap-layout-type-four/sample-details.ts +0 -5
- package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
- package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
- package/schematics/generators/treemap-layout-type-four/schema.d.ts +0 -3
- package/schematics/generators/treemap-layout-type-four/schema.js +0 -2
- package/schematics/generators/treemap-layout-type-four/schema.json +0 -125
- package/schematics/generators/treemap-layout-type-four/schema.ts +0 -3
- package/schematics/generators/treemap-layout-type-three/index.d.ts +0 -3
- package/schematics/generators/treemap-layout-type-three/index.js +0 -8
- package/schematics/generators/treemap-layout-type-three/index.ts +0 -8
- package/schematics/generators/treemap-layout-type-three/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-layout-type-three/sample-details.js +0 -7
- package/schematics/generators/treemap-layout-type-three/sample-details.ts +0 -5
- package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
- package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
- package/schematics/generators/treemap-layout-type-three/schema.d.ts +0 -3
- package/schematics/generators/treemap-layout-type-three/schema.js +0 -2
- package/schematics/generators/treemap-layout-type-three/schema.json +0 -125
- package/schematics/generators/treemap-layout-type-three/schema.ts +0 -3
- package/schematics/generators/treemap-layout-type-two/index.d.ts +0 -3
- package/schematics/generators/treemap-layout-type-two/index.js +0 -8
- package/schematics/generators/treemap-layout-type-two/index.ts +0 -8
- package/schematics/generators/treemap-layout-type-two/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-layout-type-two/sample-details.js +0 -7
- package/schematics/generators/treemap-layout-type-two/sample-details.ts +0 -5
- package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
- package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
- package/schematics/generators/treemap-layout-type-two/schema.d.ts +0 -3
- package/schematics/generators/treemap-layout-type-two/schema.js +0 -2
- package/schematics/generators/treemap-layout-type-two/schema.json +0 -125
- package/schematics/generators/treemap-layout-type-two/schema.ts +0 -3
- package/schematics/generators/treemap-leaf/index.d.ts +0 -3
- package/schematics/generators/treemap-leaf/index.js +0 -8
- package/schematics/generators/treemap-leaf/index.ts +0 -8
- package/schematics/generators/treemap-leaf/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-leaf/sample-details.js +0 -7
- package/schematics/generators/treemap-leaf/sample-details.ts +0 -5
- package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
- package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
- package/schematics/generators/treemap-leaf/schema.d.ts +0 -3
- package/schematics/generators/treemap-leaf/schema.js +0 -2
- package/schematics/generators/treemap-leaf/schema.json +0 -125
- package/schematics/generators/treemap-leaf/schema.ts +0 -3
- package/schematics/generators/treemap-legend-default/index.d.ts +0 -3
- package/schematics/generators/treemap-legend-default/index.js +0 -8
- package/schematics/generators/treemap-legend-default/index.ts +0 -8
- package/schematics/generators/treemap-legend-default/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-legend-default/sample-details.js +0 -7
- package/schematics/generators/treemap-legend-default/sample-details.ts +0 -5
- 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 +0 -7
- package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -57
- package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/assets/election-data.ts +0 -57
- package/schematics/generators/treemap-legend-default/schema.d.ts +0 -3
- package/schematics/generators/treemap-legend-default/schema.js +0 -2
- package/schematics/generators/treemap-legend-default/schema.json +0 -125
- package/schematics/generators/treemap-legend-default/schema.ts +0 -3
- package/schematics/generators/treemap-legend-interaction/index.d.ts +0 -3
- package/schematics/generators/treemap-legend-interaction/index.js +0 -8
- package/schematics/generators/treemap-legend-interaction/index.ts +0 -8
- package/schematics/generators/treemap-legend-interaction/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-legend-interaction/sample-details.js +0 -7
- package/schematics/generators/treemap-legend-interaction/sample-details.ts +0 -5
- package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -7
- package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
- package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/assets/election-data.ts +0 -57
- package/schematics/generators/treemap-legend-interaction/schema.d.ts +0 -3
- package/schematics/generators/treemap-legend-interaction/schema.js +0 -2
- package/schematics/generators/treemap-legend-interaction/schema.json +0 -125
- package/schematics/generators/treemap-legend-interaction/schema.ts +0 -3
- package/schematics/generators/treemap-level/index.d.ts +0 -3
- package/schematics/generators/treemap-level/index.js +0 -8
- package/schematics/generators/treemap-level/index.ts +0 -8
- package/schematics/generators/treemap-level/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-level/sample-details.js +0 -7
- package/schematics/generators/treemap-level/sample-details.ts +0 -5
- package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
- package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
- package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
- package/schematics/generators/treemap-level/schema.d.ts +0 -3
- package/schematics/generators/treemap-level/schema.js +0 -2
- package/schematics/generators/treemap-level/schema.json +0 -125
- package/schematics/generators/treemap-level/schema.ts +0 -3
- package/schematics/generators/treemap-range-color/index.d.ts +0 -3
- package/schematics/generators/treemap-range-color/index.js +0 -8
- package/schematics/generators/treemap-range-color/index.ts +0 -8
- package/schematics/generators/treemap-range-color/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-range-color/sample-details.js +0 -7
- package/schematics/generators/treemap-range-color/sample-details.ts +0 -5
- package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -14
- package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -59
- package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
- package/schematics/generators/treemap-range-color/schema.d.ts +0 -3
- package/schematics/generators/treemap-range-color/schema.js +0 -2
- package/schematics/generators/treemap-range-color/schema.json +0 -125
- package/schematics/generators/treemap-range-color/schema.ts +0 -3
- package/schematics/generators/treemap-selection/index.d.ts +0 -3
- package/schematics/generators/treemap-selection/index.js +0 -8
- package/schematics/generators/treemap-selection/index.ts +0 -8
- package/schematics/generators/treemap-selection/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-selection/sample-details.js +0 -7
- package/schematics/generators/treemap-selection/sample-details.ts +0 -5
- package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
- package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -64
- package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
- package/schematics/generators/treemap-selection/schema.d.ts +0 -3
- package/schematics/generators/treemap-selection/schema.js +0 -2
- package/schematics/generators/treemap-selection/schema.json +0 -125
- package/schematics/generators/treemap-selection/schema.ts +0 -3
- package/schematics/generators/treemap-tooltip/index.d.ts +0 -3
- package/schematics/generators/treemap-tooltip/index.js +0 -8
- package/schematics/generators/treemap-tooltip/index.ts +0 -8
- package/schematics/generators/treemap-tooltip/sample-details.d.ts +0 -5
- package/schematics/generators/treemap-tooltip/sample-details.js +0 -7
- package/schematics/generators/treemap-tooltip/sample-details.ts +0 -5
- package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -90
- package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/assets/airport-count.ts +0 -21
- package/schematics/generators/treemap-tooltip/schema.d.ts +0 -3
- package/schematics/generators/treemap-tooltip/schema.js +0 -2
- package/schematics/generators/treemap-tooltip/schema.json +0 -125
- package/schematics/generators/treemap-tooltip/schema.ts +0 -3
- package/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -9
- package/schematics/ng-add/schema.d.ts +0 -13
- package/schematics/ng-add/schema.js +0 -2
- package/schematics/utils/lib-details.d.ts +0 -4
- package/schematics/utils/lib-details.js +0 -6
- package/syncfusion-ej2-angular-treemap.d.ts +0 -5
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "EJ2SchemaTemplateID",
|
|
4
|
-
"title": "treemap-default",
|
|
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-default"
|
|
125
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
-
import { Schema } from './schema';
|
|
4
|
-
import * as sampleDetails from './sample-details';
|
|
5
|
-
|
|
6
|
-
export default function (options: Schema): Rule {
|
|
7
|
-
return componentBuilder(options, sampleDetails);
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.componentName = 'treemap';
|
|
4
|
-
exports.sampleName = 'desaturation-color';
|
|
5
|
-
exports.diModules = null;
|
|
6
|
-
exports.packageName = '@syncfusion/ej2-angular-treemap';
|
|
7
|
-
exports.libModules = 'TreeMapModule';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<div class="control-section">
|
|
2
|
-
<div align='center'>
|
|
3
|
-
<ejs-treemap id='container' #treemap style="display:block;" [titleSettings] = 'titleSettings' [dataSource] ='dataSource' [weightValuePath] ='weightValuePath'
|
|
4
|
-
[tooltipSettings] = 'tooltipSettings' [rangeColorValuePath] = 'rangeColorValuePath' [leafItemSettings] = 'leafItemSettings' format='n' useGroupingSeparator="true" (load)='load($event)' >
|
|
5
|
-
</ejs-treemap>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import { Component, ViewEncapsulation, ViewChild, } from '@angular/core';
|
|
3
|
-
import { ILoadEventArgs, TreeMapTheme, TreeMap } from '@syncfusion/ej2-angular-treemap';
|
|
4
|
-
import { Metals } from './assets/metals';
|
|
5
|
-
import { Browser } from '@syncfusion/ej2-base';
|
|
6
|
-
@Component({
|
|
7
|
-
selector: '<%=dasherize(selector)%>',
|
|
8
|
-
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
9
|
-
styleUrls: ['<%=dasherize(name)%>.component.css'],
|
|
10
|
-
encapsulation: ViewEncapsulation.None
|
|
11
|
-
})
|
|
12
|
-
export class <%= classify(name) %>Component {
|
|
13
|
-
@ViewChild('treemap')
|
|
14
|
-
public treemap: TreeMap;
|
|
15
|
-
public load = (args: ILoadEventArgs) => {
|
|
16
|
-
let theme: string = location.hash.split('/')[1];
|
|
17
|
-
theme = theme ? theme : 'Material';
|
|
18
|
-
args.treemap.theme = <TreeMapTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
|
|
19
|
-
}
|
|
20
|
-
titleSettings: object = {
|
|
21
|
-
text: 'US Gold medal categories in Summer Olympics - 2016',
|
|
22
|
-
textStyle: {size: '15px'}
|
|
23
|
-
};
|
|
24
|
-
dataSource: object[] = Metals;
|
|
25
|
-
tooltipSettings: object ={
|
|
26
|
-
visible: true,
|
|
27
|
-
format: '${Sport} : ${Gold}'
|
|
28
|
-
};
|
|
29
|
-
rangeColorValuePath: string = 'Gold';
|
|
30
|
-
weightValuePath: string = 'Gold';
|
|
31
|
-
leafItemSettings: object = {
|
|
32
|
-
showLabels: !Browser.isDevice,
|
|
33
|
-
labelPath: 'Sport',
|
|
34
|
-
fill: '#993399',
|
|
35
|
-
templatePosition: 'Center',
|
|
36
|
-
border: { color: 'black', width: 0.5 },
|
|
37
|
-
labelFormat: ' ${Sport} - ${Gold}',
|
|
38
|
-
colorMapping: [
|
|
39
|
-
{
|
|
40
|
-
from: 1,
|
|
41
|
-
to: 16,
|
|
42
|
-
color: 'green',
|
|
43
|
-
minOpacity: 0.7,
|
|
44
|
-
maxOpacity: 1,
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Metals Data
|
|
3
|
-
*/
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export let Metals: Object[] =[
|
|
6
|
-
{ Sport: "Swimming", Gold: 16, value: "High" },
|
|
7
|
-
{ Sport: "Athletics", Gold: 13, value: "High" },
|
|
8
|
-
{ Sport: "Gymnastics", Gold: 4, value: "Medium" },
|
|
9
|
-
{ Sport: "Cycling", Gold: 2, value: "Medium" },
|
|
10
|
-
{ Sport: "Wrestling", Gold: 2, value: "Medium" },
|
|
11
|
-
{ Sport: "Basketball", Gold: 2, value: "Medium" },
|
|
12
|
-
{ Sport: "Boxing", Gold: 1, value: "Low" },
|
|
13
|
-
{ Sport: "Tennis", Gold: 1, value: "Low" },
|
|
14
|
-
{ Sport: "Judo", Gold: 1, value: "Low" },
|
|
15
|
-
{ Sport: "Rowing", Gold: 1, value: "Low" },
|
|
16
|
-
{ Sport: "Shooting", Gold: 1, value: "Low" },
|
|
17
|
-
{ Sport: "Triathlon", Gold: 1, value: "Low" },
|
|
18
|
-
{ Sport: "Water polo", Gold: 1, value: "Low" }
|
|
19
|
-
|
|
20
|
-
]
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "EJ2SchemaTemplateID",
|
|
4
|
-
"title": "treemap-desaturation-color",
|
|
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-desaturation-color"
|
|
125
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
-
import { Schema } from './schema';
|
|
4
|
-
import * as sampleDetails from './sample-details';
|
|
5
|
-
|
|
6
|
-
export default function (options: Schema): Rule {
|
|
7
|
-
return componentBuilder(options, sampleDetails);
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.componentName = 'treemap';
|
|
4
|
-
exports.sampleName = 'drilldown';
|
|
5
|
-
exports.diModules = 'TreeMapTooltip';
|
|
6
|
-
exports.packageName = '@syncfusion/ej2-angular-treemap';
|
|
7
|
-
exports.libModules = 'TreeMapModule';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const componentName: string = 'treemap';
|
|
2
|
-
export const sampleName: string = 'drilldown';
|
|
3
|
-
export const diModules: string = 'TreeMapTooltip';
|
|
4
|
-
export const packageName: string = '@syncfusion/ej2-angular-treemap';
|
|
5
|
-
export const libModules: string = 'TreeMapModule';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div class="control-section">
|
|
2
|
-
<ejs-treemap id='container' #treemap style="display:block;" [titleSettings] = 'titleSettings' [dataSource] ='dataSource' [weightValuePath] ='weightValuePath'
|
|
3
|
-
[tooltipSettings] = 'tooltipSettings' [leafItemSettings] = 'leafItemSettings' [palette] ='palette' format ='n' useGroupingSeparator ="true" enableDrillDown = "true" (load)='load($event)' (drillStart)='drillStart($event)'(tooltipRendering)='tooltipRendering($event)' >
|
|
4
|
-
<e-levels>
|
|
5
|
-
<e-level groupPath= 'Continent' fill= '#336699' [border]='border' > </e-level>
|
|
6
|
-
<e-level groupPath= 'States' fill= '#336699' [border]='border' > </e-level>
|
|
7
|
-
<e-level groupPath= 'Region' showHeader= 'false' fill= '#336699' [border]='border' >
|
|
8
|
-
</e-level>
|
|
9
|
-
</e-levels>
|
|
10
|
-
</ejs-treemap>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
|
|
3
|
-
import { TreeMap, TreeMapTooltip, IDrillStartEventArgs, ITreeMapTooltipRenderEventArgs } from '@syncfusion/ej2-angular-treemap';
|
|
4
|
-
import { DrillDown } from './assets/drilldown-sample';
|
|
5
|
-
import { ILoadEventArgs, TreeMapTheme } from '@syncfusion/ej2-angular-treemap';
|
|
6
|
-
TreeMap.Inject(TreeMapTooltip);
|
|
7
|
-
|
|
8
|
-
@Component({
|
|
9
|
-
selector: '<%=dasherize(selector)%>',
|
|
10
|
-
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
11
|
-
styleUrls: ['<%=dasherize(name)%>.component.css'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None
|
|
13
|
-
})
|
|
14
|
-
export class <%= classify(name) %>Component {
|
|
15
|
-
@ViewChild('treemap')
|
|
16
|
-
public treemap: TreeMap;
|
|
17
|
-
public load = (args: ILoadEventArgs) => {
|
|
18
|
-
let theme: string = location.hash.split('/')[1];
|
|
19
|
-
theme = theme ? theme : 'Material';
|
|
20
|
-
args.treemap.theme = <TreeMapTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
|
|
21
|
-
}
|
|
22
|
-
public drillStart = (args: IDrillStartEventArgs) => {
|
|
23
|
-
if (args.item[Object.keys(args.item)[0]].length === 1) {
|
|
24
|
-
args.treemap.levels[2].showHeader = true;
|
|
25
|
-
}else {
|
|
26
|
-
args.treemap.levels[2].showHeader = false;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
tooltipRendering = (args: ITreeMapTooltipRenderEventArgs) => {
|
|
30
|
-
// eslint-disable-next-line
|
|
31
|
-
if (args.item['groupIndex'] !== 2 ) {
|
|
32
|
-
args.cancel = true;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
public palette: string[] = ['#9999ff', '#CCFF99', '#FFFF99', '#FF9999', '#FF99FF', '#FFCC66'];
|
|
36
|
-
public titleSettings: object = {
|
|
37
|
-
text: 'List of countries by population',
|
|
38
|
-
textStyle: { size: '15px'}
|
|
39
|
-
};
|
|
40
|
-
public dataSource: object[] = DrillDown;
|
|
41
|
-
public weightValuePath: string = 'Population';
|
|
42
|
-
public tooltipSettings: object = {
|
|
43
|
-
visible: true,
|
|
44
|
-
format: '${Name} : ${Population}'
|
|
45
|
-
};
|
|
46
|
-
public leafItemSettings: object = {
|
|
47
|
-
labelPath: 'Name',
|
|
48
|
-
showLabels: false,
|
|
49
|
-
labelStyle: { size: '0px' },
|
|
50
|
-
border: { color: 'black', width: 0.5 }
|
|
51
|
-
};
|
|
52
|
-
border: object = {
|
|
53
|
-
color: 'black',
|
|
54
|
-
width: 0.5
|
|
55
|
-
};
|
|
56
|
-
};
|