@syncfusion/ej2-angular-treemap 32.2.3 → 33.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -6
- package/package.json +4 -4
- package/schematics/collection.json +10 -109
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- 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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-angular-treemap",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.1.44",
|
|
4
4
|
"description": "Essential JS 2 TreeMap Components for Angular",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
7
7
|
"schematics": "./schematics/collection.json",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@syncfusion/ej2-base": "~
|
|
10
|
-
"@syncfusion/ej2-angular-base": "~
|
|
11
|
-
"@syncfusion/ej2-treemap": "
|
|
9
|
+
"@syncfusion/ej2-base": "~33.1.44",
|
|
10
|
+
"@syncfusion/ej2-angular-base": "~33.1.44",
|
|
11
|
+
"@syncfusion/ej2-treemap": "33.1.44"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"angular",
|
|
@@ -1,110 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"schema": "./generators/treemap-default/schema.json"
|
|
13
|
-
},
|
|
14
|
-
"treemap-desaturation-color": {
|
|
15
|
-
"description": "Create an Angular TreeMap component with desaturation colormapping",
|
|
16
|
-
"factory": "./generators/treemap-desaturation-color",
|
|
17
|
-
"schema": "./generators/treemap-desaturation-color/schema.json"
|
|
18
|
-
},
|
|
19
|
-
"treemap-drilldown": {
|
|
20
|
-
"description": "Create an Angular TreeMap component with Drilldown",
|
|
21
|
-
"factory": "./generators/treemap-drilldown",
|
|
22
|
-
"schema": "./generators/treemap-drilldown/schema.json"
|
|
23
|
-
},
|
|
24
|
-
"treemap-equal-color": {
|
|
25
|
-
"description": "Create an Angular TreeMap component with equal colormapping",
|
|
26
|
-
"factory": "./generators/treemap-equal-color",
|
|
27
|
-
"schema": "./generators/treemap-equal-color/schema.json"
|
|
28
|
-
},
|
|
29
|
-
"treemap-highlight": {
|
|
30
|
-
"description": "Create an Angular TreeMap component with Highlight",
|
|
31
|
-
"factory": "./generators/treemap-highlight",
|
|
32
|
-
"schema": "./generators/treemap-highlight/schema.json"
|
|
33
|
-
},
|
|
34
|
-
"treemap-label-hide": {
|
|
35
|
-
"description": "Create an Angular TreeMap component with labelMode",
|
|
36
|
-
"factory": "./generators/treemap-label-hide",
|
|
37
|
-
"schema": "./generators/treemap-label-hide/schema.json"
|
|
38
|
-
},
|
|
39
|
-
"treemap-label-trim": {
|
|
40
|
-
"description": "Create an Angular TreeMap component with labelMode",
|
|
41
|
-
"factory": "./generators/treemap-label-trim",
|
|
42
|
-
"schema": "./generators/treemap-label-trim/schema.json"
|
|
43
|
-
},
|
|
44
|
-
"treemap-label-wrap": {
|
|
45
|
-
"description": "Create an Angular TreeMap component with labelMode",
|
|
46
|
-
"factory": "./generators/treemap-label-wrap",
|
|
47
|
-
"schema": "./generators/treemap-label-wrap/schema.json"
|
|
48
|
-
},
|
|
49
|
-
"treemap-label-wrapbyword": {
|
|
50
|
-
"description": "Create an Angular TreeMap component with labelMode",
|
|
51
|
-
"factory": "./generators/treemap-label-wrapbyword",
|
|
52
|
-
"schema": "./generators/treemap-label-wrapbyword/schema.json"
|
|
53
|
-
},
|
|
54
|
-
"treemap-layout-squarified": {
|
|
55
|
-
"description": "Create an Angular TreeMap component with layout-squarified",
|
|
56
|
-
"factory": "./generators/treemap-layout-squarified",
|
|
57
|
-
"schema": "./generators/treemap-layout-squarified/schema.json"
|
|
58
|
-
},
|
|
59
|
-
"treemap-layout-type-four": {
|
|
60
|
-
"description": "Create an Angular TreeMap component with layout-type-four",
|
|
61
|
-
"factory": "./generators/treemap-layout-type-four",
|
|
62
|
-
"schema": "./generators/treemap-layout-type-four/schema.json"
|
|
63
|
-
},
|
|
64
|
-
"treemap-layout-type-three": {
|
|
65
|
-
"description": "Create an Angular TreeMap component with layout-type-three",
|
|
66
|
-
"factory": "./generators/treemap-layout-type-three",
|
|
67
|
-
"schema": "./generators/treemap-layout-type-three/schema.json"
|
|
68
|
-
},
|
|
69
|
-
"treemap-layout-type-two": {
|
|
70
|
-
"description": "Create an Angular TreeMap component with layout-type-two",
|
|
71
|
-
"factory": "./generators/treemap-layout-type-two",
|
|
72
|
-
"schema": "./generators/treemap-layout-type-two/schema.json"
|
|
73
|
-
},
|
|
74
|
-
"treemap-leaf": {
|
|
75
|
-
"description": "Create an Angular TreeMap component with leaf",
|
|
76
|
-
"factory": "./generators/treemap-leaf",
|
|
77
|
-
"schema": "./generators/treemap-leaf/schema.json"
|
|
78
|
-
},
|
|
79
|
-
"treemap-legend-default": {
|
|
80
|
-
"description": "Create an Angular TreeMap component with legendmode",
|
|
81
|
-
"factory": "./generators/treemap-legend-default",
|
|
82
|
-
"schema": "./generators/treemap-legend-default/schema.json"
|
|
83
|
-
},
|
|
84
|
-
"treemap-legend-interaction": {
|
|
85
|
-
"description": "Create an Angular TreeMap component with legendmode",
|
|
86
|
-
"factory": "./generators/treemap-legend-interaction",
|
|
87
|
-
"schema": "./generators/treemap-legend-interaction/schema.json"
|
|
88
|
-
},
|
|
89
|
-
"treemap-level": {
|
|
90
|
-
"description": "Create an Angular TreeMap component with level",
|
|
91
|
-
"factory": "./generators/treemap-level",
|
|
92
|
-
"schema": "./generators/treemap-level/schema.json"
|
|
93
|
-
},
|
|
94
|
-
"treemap-range-color": {
|
|
95
|
-
"description": "Create an Angular TreeMap component with range colormapping",
|
|
96
|
-
"factory": "./generators/treemap-range-color",
|
|
97
|
-
"schema": "./generators/treemap-range-color/schema.json"
|
|
98
|
-
},
|
|
99
|
-
"treemap-selection": {
|
|
100
|
-
"description": "Create an Angular TreeMap component with Selection",
|
|
101
|
-
"factory": "./generators/treemap-selection",
|
|
102
|
-
"schema": "./generators/treemap-selection/schema.json"
|
|
103
|
-
},
|
|
104
|
-
"treemap-tooltip": {
|
|
105
|
-
"description": "Create an Angular TreeMap component with tooltip",
|
|
106
|
-
"factory": "./generators/treemap-tooltip",
|
|
107
|
-
"schema": "./generators/treemap-tooltip/schema.json"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Adds Essential JS 2 specific Angular package to an application",
|
|
6
|
+
"factory": "./ng-add",
|
|
7
|
+
"schema": "./ng-add/schema.json"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
-
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
-
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
-
|
|
6
|
-
export default function (options: OptionsSchema): Rule {
|
|
7
|
-
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
-
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
-
return install(options, libOptions);
|
|
10
|
-
}
|
|
1
|
+
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
+
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
+
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
+
|
|
6
|
+
export default function (options: OptionsSchema): Rule {
|
|
7
|
+
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
+
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
+
return install(options, libOptions);
|
|
10
|
+
}
|
|
@@ -1,34 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface OptionsSchema {
|
|
2
|
-
// Whether to skip package.json install.
|
|
3
|
-
skipPackageJson: boolean;
|
|
4
|
-
|
|
5
|
-
// Used to specify required module names
|
|
6
|
-
modules: string;
|
|
7
|
-
|
|
8
|
-
// Used to specify custom module path
|
|
9
|
-
modulePath: string;
|
|
10
|
-
|
|
11
|
-
// Used to specify theme name
|
|
12
|
-
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
-
|
|
14
|
-
// Name of the project to target.
|
|
15
|
-
project?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface LibOptionsSchema {
|
|
19
|
-
// Package name
|
|
20
|
-
pkgName: string;
|
|
21
|
-
|
|
22
|
-
// Package version
|
|
23
|
-
pkgVer: string;
|
|
24
|
-
|
|
25
|
-
// Library base module name
|
|
26
|
-
moduleName: string;
|
|
27
|
-
|
|
28
|
-
// Theme version
|
|
29
|
-
themeVer: string;
|
|
30
|
-
}
|
|
1
|
+
export interface OptionsSchema {
|
|
2
|
+
// Whether to skip package.json install.
|
|
3
|
+
skipPackageJson: boolean;
|
|
4
|
+
|
|
5
|
+
// Used to specify required module names
|
|
6
|
+
modules: string;
|
|
7
|
+
|
|
8
|
+
// Used to specify custom module path
|
|
9
|
+
modulePath: string;
|
|
10
|
+
|
|
11
|
+
// Used to specify theme name
|
|
12
|
+
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
+
|
|
14
|
+
// Name of the project to target.
|
|
15
|
+
project?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface LibOptionsSchema {
|
|
19
|
+
// Package name
|
|
20
|
+
pkgName: string;
|
|
21
|
+
|
|
22
|
+
// Package version
|
|
23
|
+
pkgVer: string;
|
|
24
|
+
|
|
25
|
+
// Library base module name
|
|
26
|
+
moduleName: string;
|
|
27
|
+
|
|
28
|
+
// Theme version
|
|
29
|
+
themeVer: string;
|
|
30
|
+
}
|
package/schematics/tsconfig.json
CHANGED
|
@@ -1,25 +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
|
+
{
|
|
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,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-treemap";
|
|
2
|
-
export declare const pkgVer = "^
|
|
2
|
+
export declare const pkgVer = "^16.31.24";
|
|
3
3
|
export declare const moduleName = "TreeMapModule";
|
|
4
|
-
export declare const themeVer = "~
|
|
4
|
+
export declare const themeVer = "~16.31.24";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pkgName = '@syncfusion/ej2-angular-treemap';
|
|
4
|
-
exports.pkgVer = '^
|
|
4
|
+
exports.pkgVer = '^33.1.44';
|
|
5
5
|
exports.moduleName = 'TreeMapModule';
|
|
6
|
-
exports.themeVer = '~
|
|
6
|
+
exports.themeVer = '~33.1.44';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const pkgName = '@syncfusion/ej2-angular-treemap';
|
|
2
|
-
export const pkgVer = '^
|
|
3
|
-
export const moduleName = 'TreeMapModule';
|
|
4
|
-
export const themeVer = '~
|
|
1
|
+
export const pkgName = '@syncfusion/ej2-angular-treemap';
|
|
2
|
+
export const pkgVer = '^33.1.44';
|
|
3
|
+
export const moduleName = 'TreeMapModule';
|
|
4
|
+
export const themeVer = '~33.1.44';
|
|
@@ -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 = 'default';
|
|
5
|
-
exports.diModules = 'TreeMapTooltip,TreeMapLegend';
|
|
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 = 'default';
|
|
3
|
-
export const diModules: string = 'TreeMapTooltip,TreeMapLegend';
|
|
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
|
-
<div align='center'>
|
|
3
|
-
<ejs-treemap id='container' #treemap style="display:block;" [titleSettings] = 'titleSettings' [dataSource] ='dataSource' [weightValuePath] ='weightValuePath'
|
|
4
|
-
[tooltipSettings] = 'tooltipSettings' [palette] ='palette' [legendSettings] = 'legendSettings' [leafItemSettings] = 'leafItemSettings' format='n' useGroupingSeparator="true" (load)='load($event)' (itemClick)='itemClick($event)' (itemMove)='itemMove($event)' >
|
|
5
|
-
<e-levels>
|
|
6
|
-
<e-level groupPath= 'Continent' [border]='border'>
|
|
7
|
-
</e-level>
|
|
8
|
-
</e-levels>
|
|
9
|
-
</ejs-treemap>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
|
3
|
-
import { TreeMap, TreeMapTooltip, TreeMapLegend } from '@syncfusion/ej2-angular-treemap';
|
|
4
|
-
import { CarSales } from './assets/car-sale';
|
|
5
|
-
import { IItemMoveEventArgs, ILoadEventArgs, TreeMapTheme, IItemClickEventArgs } from '@syncfusion/ej2-angular-treemap';
|
|
6
|
-
|
|
7
|
-
TreeMap.Inject(TreeMapTooltip, TreeMapLegend);
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
selector: '<%=dasherize(selector)%>',
|
|
11
|
-
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
12
|
-
styleUrls: ['<%=dasherize(name)%>.component.css'],
|
|
13
|
-
encapsulation: ViewEncapsulation.None
|
|
14
|
-
})
|
|
15
|
-
export class <%= classify(name) %>Component {
|
|
16
|
-
public itemMove= (args: IItemMoveEventArgs) => {
|
|
17
|
-
args.item['data'].Sales = args.item['weight'];
|
|
18
|
-
args.treemap.tooltipSettings.format = args.item['groupIndex'] === 0 ? 'Country: ${Continent}<br>Sales: ${Sales}' :
|
|
19
|
-
'Country: ${Continent}<br>Company: ${Company}<br>Sales: ${Sales}';
|
|
20
|
-
}
|
|
21
|
-
public itemClick= (args: IItemClickEventArgs) => {
|
|
22
|
-
args.item['data'].Sales = args.item['weight'];
|
|
23
|
-
args.treemap.tooltipSettings.format = args.item['groupIndex'] === 0 ? 'Country: ${Continent}<br>Sales: ${Sales}' :
|
|
24
|
-
'Country: ${Continent}<br>Company: ${Company}<br>Sales: ${Sales}';
|
|
25
|
-
}
|
|
26
|
-
public load = (args: ILoadEventArgs) => {
|
|
27
|
-
let theme: string = location.hash.split('/')[1];
|
|
28
|
-
theme = theme ? theme : 'Material';
|
|
29
|
-
args.treemap.theme = <TreeMapTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
|
|
30
|
-
}
|
|
31
|
-
titleSettings: object = {
|
|
32
|
-
text: 'Car Sales by Country - 2017',
|
|
33
|
-
textStyle: {
|
|
34
|
-
size: '15px'
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
public tooltipSettings: object = {
|
|
38
|
-
visible: true,
|
|
39
|
-
format: 'Country: ${Continent}<br>Company: ${Company}<br>Sales: ${Sales}'
|
|
40
|
-
};
|
|
41
|
-
public legendSettings: object = {
|
|
42
|
-
visible: true,
|
|
43
|
-
position: 'Top',
|
|
44
|
-
shape: 'Rectangle'
|
|
45
|
-
};
|
|
46
|
-
dataSource: object[] = CarSales;
|
|
47
|
-
weightValuePath: string = 'Sales';
|
|
48
|
-
palette: string[] = ['#C33764', '#AB3566', '#993367', '#853169', '#742F6A', '#632D6C', '#532C6D', '#412A6F', '#312870', '#1D2671'];
|
|
49
|
-
leafItemSettings: object = {
|
|
50
|
-
labelPath: 'Company',
|
|
51
|
-
border: { color: 'white', width: 0.5 }
|
|
52
|
-
};
|
|
53
|
-
border: object = {
|
|
54
|
-
color: 'white',
|
|
55
|
-
width: 0.5
|
|
56
|
-
};
|
|
57
|
-
constructor() {
|
|
58
|
-
//code
|
|
59
|
-
};
|
|
60
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
export let CarSales: object[] = [
|
|
3
|
-
{Continent: "China", Company: "Volkswagen", Sales: 3005994 },
|
|
4
|
-
{Continent: "China", Company: "General Motors", Sales: 1230044 },
|
|
5
|
-
{Continent: "China", Company: "Honda", Sales: 1197023 },
|
|
6
|
-
{Continent: "United States", Company: "General Motors", Sales:3042775 },
|
|
7
|
-
{Continent: "United States", Company: "Ford", Sales:2599193 },
|
|
8
|
-
{Continent: "United States", Company: "Toyota", Sales:2449587 },
|
|
9
|
-
{Continent: "Japan",Company: "Toyota", Sales:1527977 },
|
|
10
|
-
{Continent: "Japan", Company: "Honda", Sales:706982 },
|
|
11
|
-
{Continent: "Japan", Company: "Suzuki", Sales:623041 },
|
|
12
|
-
{Continent: "Germany",Company: "Volkswagen", Sales:655977 },
|
|
13
|
-
{Continent: "Germany", Company: "Mercedes", Sales:310845 },
|
|
14
|
-
{Continent: "Germany", Company: "BMW", Sales:261931 },
|
|
15
|
-
{ Continent: "United Kingdom", Company: "Ford ", Sales:319442 },
|
|
16
|
-
{Continent: "United Kingdom", Company: "Vauxhall", Sales: 251146 },
|
|
17
|
-
{ Continent: "United Kingdom", Company: "Volkswagen", Sales:206994 },
|
|
18
|
-
{Continent: "India", Company: "Maruti Suzuki", Sales:1443654 },
|
|
19
|
-
{Continent: "India", Company: "Hyundai", Sales:476241 },
|
|
20
|
-
{Continent: "India", Company: "Mahindra", Sales:205041 },
|
|
21
|
-
{Continent: "France", Company: "Renault", Sales:408183 },
|
|
22
|
-
{Continent: "France", Company: "Peugeot", Sales:336242 },
|
|
23
|
-
{Continent: "France", Company: "Citroen", Sales:194986 },
|
|
24
|
-
{ Continent: "Brazil", Company: "Flat Chrysler", Sales:368842 },
|
|
25
|
-
{ Continent: "Brazil", Company: "General Motors", Sales: 348351 },
|
|
26
|
-
{ Continent: "Brazil", Company: "Volkswagen", Sales: 245895 },
|
|
27
|
-
{Continent: "Italy", Company: "Flat Chrysler", Sales:386260 },
|
|
28
|
-
{Continent: "Italy", Company: "Volkswagen", Sales: 138984 },
|
|
29
|
-
{Continent: "Italy", Company: "Ford", Sales: 125144 },
|
|
30
|
-
{Continent: "Canada", Company: "Ford", Sales:305086},
|
|
31
|
-
{Continent: "Canada", Company: "FCA", Sales:278011 },
|
|
32
|
-
{Continent: "Canada", Company: "GM", Sales: 266884 },
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
]
|