@syncfusion/ej2-treemap 20.3.56 → 20.4.38

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/.eslintrc.json CHANGED
@@ -6,7 +6,8 @@
6
6
  "extends": [
7
7
  "eslint:recommended",
8
8
  "plugin:@typescript-eslint/recommended",
9
- "plugin:jsdoc/recommended"
9
+ "plugin:jsdoc/recommended",
10
+ "plugin:security/recommended"
10
11
  ],
11
12
  "parser": "@typescript-eslint/parser",
12
13
  "parserOptions": {
@@ -18,10 +19,24 @@
18
19
  "plugins": [
19
20
  "@typescript-eslint",
20
21
  "@typescript-eslint/tslint",
22
+ "eslint-plugin-security",
21
23
  "jsdoc"
22
24
  ],
23
25
  "rules": {
24
26
  "use-isnan": "error",
27
+ "security/detect-unsafe-regex":"error",
28
+ "security/detect-buffer-noassert":"error",
29
+ "security/detect-child-process":"error",
30
+ "security/detect-disable-mustache-escape":"error",
31
+ "security/detect-eval-with-expression":"error",
32
+ "security/detect-no-csrf-before-method-override":"error",
33
+ "security/detect-non-literal-fs-filename":"error",
34
+ "security/detect-non-literal-regexp":"error",
35
+ "security/detect-non-literal-require":"error",
36
+ "security/detect-object-injection":"error",
37
+ "security/detect-possible-timing-attacks":"error",
38
+ "security/detect-pseudoRandomBytes":"error",
39
+ "security/detect-new-buffer":"error",
25
40
  "@typescript-eslint/no-inferrable-types": "off",
26
41
  "@typescript-eslint/ban-types": ["warn", {
27
42
  "types": {
package/README.md CHANGED
@@ -1,69 +1,81 @@
1
- # ej2-treemap
1
+ # JavaScript TreeMap Control
2
2
 
3
- The tree map control provides a simple and effective way to visualize flat or hierarchical data as clustered rectangles with a specific, weighted attribute determining the size of each rectangle.
3
+ The [JavaScript TreeMap](https://www.syncfusion.com/javascript-ui-controls/js-treemap?utm_source=npm&utm_medium=listing&utm_campaign=javascript-treemap-npm) control provides a simple and effective way to visualize flat or hierarchical data as clustered rectangles with a specific, weighted attribute determining the size of each rectangle.
4
4
 
5
- ![TreeMap] (https://ej2.syncfusion.com/products/images/treemap/readme.gif)
5
+ <p align="center">
6
+ <a href="https://ej2.syncfusion.com/documentation/treemap/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-treemap-npm">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-treemap-npm#/material/treemap/default.html">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/javascript-ui-controls/js-treemap?utm_source=npm&utm_medium=listing&utm_campaign=javascript-treemap-npm">Learn more</a>
9
+ </p>
6
10
 
7
- > TreeMap is part of Syncfusion Essential JS 2 commercial program. License is available in two models Community and Paid. Please refer the license file for more information. License can be obtained by registering at [https://www.syncfusion.com/downloads/essential-js2](https://www.syncfusion.com/downloads/essential-js2?utm_source=npm&utm_campaign=treemap)
11
+ <p align="center">
12
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/javascript/javascript-treemap.png" alt="JavaScript TreeMap Control">
13
+ </p>
14
+
15
+ <p align="center">
16
+ Trusted by the world's leading companies
17
+ <a href="https://www.syncfusion.com">
18
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
19
+ </a>
20
+ </p>
8
21
 
9
22
  ## Setup
10
23
 
11
- To install TreeMap and its dependent packages, use the following command
24
+ To install the TreeMap and its dependent packages, use the following command.
12
25
 
13
26
  ```sh
14
27
  npm install @syncfusion/ej2-treemap
15
28
  ```
16
29
 
17
- ## Resources
30
+ ## Supported frameworks
18
31
 
19
- * [Getting Started](https://ej2.syncfusion.com/documentation/treemap/getting-started.html?lang=typescript)
20
- * [View Online Demos](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/default.html)
21
- * [Product Page](https://www.syncfusion.com/products/javascript/treemap)
32
+ TreeMap control is also offered in the following list of frameworks.
22
33
 
23
- ## Supported Frameworks
34
+ | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
35
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
24
36
 
25
- TreeMap component is also offered in following list of frameworks.
37
+ ## Showcase samples
26
38
 
27
- 1. [Angular](https://www.npmjs.com/package/@syncfusion/ej2-ng-treemap?utm_source=npm&utm_campaign=treemap)
28
- 2. [React](https://www.npmjs.com/package/@syncfusion/ej2-react-treemap?utm_source=npm&utm_campaign=treemap)
29
- 3. [Vue.js](https://www.npmjs.com/package/@syncfusion/ej2-vue-treemap?utm_source=npm&utm_campaign=treemap)
30
- 4. [ASP.NET Core](https://aspdotnetcore.syncfusion.com/TreeMap/Default#/material)
31
- 5. [ASP.NET MVC](https://aspnetmvc.syncfusion.com/TreeMap/Default#/material)
32
- 6. [JavaScript (ES5)](https://www.syncfusion.com/products/javascript/treemap)
39
+ * Olympic medal categories details - [Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=javascript-treemap-npm#/material/treemap/customization.html)
40
+ * Countries population details - [Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=javascript-treemap-npm#/material/treemap/drilldown.html)
33
41
 
34
- ## Use case samples
42
+ ## Key features
35
43
 
36
- * Olympic medal categories details ([Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/customization.html))
37
- * Countries population details ([Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/drilldown.html))
44
+ * [Data sources](https://ej2.syncfusion.com/documentation/treemap/data-binding/?utm_source=npm&utm_campaign=javascript-treemap-npm): Binds the treemap control with an array of JSON objects or DataManager. Both hierarchical and flat collection data sources are supported.
45
+ * [Levels](https://ej2.syncfusion.com/documentation/treemap/levels/?utm_source=npm&utm_campaign=javascript-treemap-npm): Renders with any number of levels and items.
46
+ * [Layout](https://ej2.syncfusion.com/documentation/treemap/layout/?utm_source=npm&utm_campaign=javascript-treemap-npm): Supports four types of layouts: square, horizontal, vertical, and auto.
47
+ * [Drill-down](https://ej2.syncfusion.com/documentation/treemap/drilldown/?utm_source=npm&utm_campaign=javascript-treemap-npm): Provides drill-down option to have a closer look at the lower level of a hierarchy.
48
+ * [Data label](https://ej2.syncfusion.com/documentation/treemap/data-label/?utm_source=npm&utm_campaign=javascript-treemap-npm): Provides additional information about the nodes.
49
+ * [Header template](https://ej2.syncfusion.com/documentation/treemap/levels/?utm_source=npm&utm_campaign=javascript-treemap-npm#header-template-and-position): Uses any custom HTML element to customize the header of each item.
50
+ * [Label template](https://ej2.syncfusion.com/documentation/treemap/data-label/?utm_source=npm&utm_campaign=javascript-treemap-npm#template): Uses any custom HTML element to customize the data label for each node.
51
+ * [Color mapping](https://ej2.syncfusion.com/documentation/treemap/color-mapping/?utm_source=npm&utm_campaign=javascript-treemap-npm): Applies colors to the nodes based on various conditions. Treemap supports three types of color mapping: range, equal, and desaturation.
52
+ * [Legend](https://ej2.syncfusion.com/documentation/treemap/legend/?utm_source=npm&utm_campaign=javascript-treemap-npm): Provide useful information for conveying what the treemap showcases.
53
+ * [Selection and highlight](https://ej2.syncfusion.com/documentation/treemap/selection-and-highlight/?utm_source=npm&utm_campaign=javascript-treemap-npm): Support selecting or highlighting the nodes to bring center of attraction.
54
+ * [Tooltip](https://ej2.syncfusion.com/documentation/treemap/tooltip/?utm_source=npm&utm_campaign=javascript-treemap-npm): Provides additional information about the node on hover.
55
+ * [Print and Export](https://ej2.syncfusion.com/documentation/treemap/print-and-export/?utm_source=npm&utm_campaign=javascript-treemap-npm): Prints or exports the rendered treemap to a desired format. Exporting supports four formats: PDF, PNG, JPEG and SVG.
56
+ * [Globalization](https://ej2.syncfusion.com/documentation/treemap/internationalization/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-treemap-npm): Personalize the treemap control with different languages, as well as culture-specific number, date and time formatting.
57
+ * [Accessibility](https://ej2.syncfusion.com/documentation/treemap/accessibility/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-treemap-npm): Provides with built-in accessibility support which helps to access all the treemap control features through the keyboard, screen readers, or other assistive technology devices.
38
58
 
39
- ## Key Features
59
+ ## Support
40
60
 
41
- * [**Data sources**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/pie.html) - Binds the tree map component with an array of JSON objects or DataManager. Both the heirarcical and flat collection data sources are supported.
42
- * [**Levels**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/default.html) - Renders with any number of levels and items.
43
- * [**Layout**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/layout.html) - Supports four types of layouts: square, horizontal, vertical, and auto.
44
- * [**Drill-down**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/drilldown.html) - Provides drill-down option to have a closer look at the lower level of a hierarchy.
45
- * [**Data label**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/label.html) - Provides additional information about the nodes.
46
- * [**Label template**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/customization.html) - Uses any custom HTML element as data label for each node.
47
- * [**Color mapping**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/label.html) - Applies colors to the nodes based on various conditions. Tree map supports three types of color mapping: range, equal, and desaturation.
48
- * [**Legend**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/election.html) - Denotes the color mapping categories.
49
- * [**Selection and Highlight**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/selection.html) - Supports selecting or highlighting the nodes to bring center of attraction.
50
- * [**Tooltip**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/tooltip.html) - Provides additonal information about the nodes on mouse hover.
51
- * [**Print and Export**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=treemap#/material/treemap/print.html) - Provides options to print and export the rendered tree map for future use.
61
+ Product support is available through the following mediums.
52
62
 
53
- ## Support
63
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
64
+ * [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=javascript-treemap-npm)
65
+ * [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new)
66
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/javascript?utm_source=npm&utm_medium=listing&utm_campaign=javascript-treemap-npm)
67
+ * Live chat
54
68
 
55
- Product support is available for through following mediums.
69
+ ## Changelog
56
70
 
57
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=treemap) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=treemap).
58
- * New [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues).
59
- * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
71
+ Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/treemap/CHANGELOG.md?utm_source=npm&utm_campaign=javascript-treemap-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
60
72
 
61
- ## License
73
+ ## License and copyright
62
74
 
63
- Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/treemap/license?utm_source=npm&utm_campaign=treemap).
75
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this control, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [JavaScript UI controls](https://www.syncfusion.com/javascript-ui-controls), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
64
76
 
65
- ## Changelog
77
+ > A [free community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
66
78
 
67
- Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/treemap/CHANGELOG.md?utm_source=npm&utm_campaign=treemap)
79
+ See [LICENSE FILE](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_campaign=javascript-treemap-npm) for more info.
68
80
 
69
81
  © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.