@syncfusion/ej2-react-treemap 20.3.59 → 20.4.40

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 CHANGED
@@ -11,12 +11,6 @@
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
- ### TreeMap
15
-
16
- #### Bug Fixes
17
-
18
- - `#F178496` - The legend items now render in the same order as the color mapping objects.
19
-
20
14
  ## 18.2.44 (2020-07-07)
21
15
 
22
16
  ### TreeMap
package/README.md CHANGED
@@ -1,69 +1,124 @@
1
- # ej2-react-treemap
1
+ # React TreeMap Component
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 [React TreeMap](https://www.syncfusion.com/react-components/react-treemap?utm_source=npm&utm_medium=listing&utm_campaign=react-treemap-npm) component 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/react/documentation/treemap/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-treemap-npm">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-treemap-npm#/bootstrap5/treemap/default">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/react-components/react-treemap?utm_source=npm&utm_medium=listing&utm_campaign=react-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/react/react-treemap.png" alt="React TreeMap Component">
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
+ ### Create a React Application
12
25
 
13
- ```sh
14
- npm install @syncfusion/ej2-treemap
26
+ You can use [`create-react-app`](https://github.com/facebookincubator/create-react-app) to setup applications. To create React app, use the following command.
27
+
28
+ ```bash
29
+ npx create-react-app my-app --template typescript
30
+ cd my-app
31
+ npm start
15
32
  ```
16
33
 
17
- ## Resources
34
+ ### Add Syncfusion TreeMap package
35
+
36
+ All Syncfusion React packages are published in the [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install the React TreeMap package, use the following command.
37
+
38
+ ```sh
39
+ npm install @syncfusion/ej2-react-treemap --save
40
+ ```
18
41
 
19
- * [Getting Started](https://ej2.syncfusion.com/react/documentation/treemap/getting-started.html)
20
- * [View Online Demos](https://ej2.syncfusion.com/react/demos/#/material/treemap/default)
21
- * [Product Page](https://www.syncfusion.com/products/react/treemap)
42
+ ### Add TreeMap Component
43
+
44
+ In the **src/App.tsx** file, use the following code snippet to render the Syncfusion React TreeMap component.
45
+
46
+ ```typescript
47
+ import { React } from 'react';
48
+ import { TreeMapComponent } from '@syncfusion/ej2-react-treemap';
49
+ function App() {
50
+ let data: any = [
51
+ { State: 'Brazil', Count: 25 },
52
+ { State: 'Colombia', Count: 12 },
53
+ { State: 'Argentina', Count: 9 },
54
+ { State: 'Ecuador', Count: 7 },
55
+ { State: 'Chile', Count: 6 },
56
+ { State: 'Peru', Count: 3 },
57
+ { State: 'Venezuela', Count: 3 },
58
+ { State: 'Bolivia', Count: 2 },
59
+ { State: 'Paraguay', Count: 2 },
60
+ { State: 'Uruguay', Count: 2 },
61
+ { State: 'Falkland Islands',Count: 1 },
62
+ { State: 'French Guiana', Count:1 },
63
+ { State: 'Guyana', Count: 1 },
64
+ { State: 'Suriname', Count: 1 },
65
+ ];
66
+ return (<TreeMapComponent height='350px' dataSource={data} weightValuePath='Count'
67
+ leafItemSettings={{ labelPath: 'State' }}></TreeMapComponent>);
68
+ }
69
+ export default App;
70
+ ```
22
71
 
23
- ## Supported Frameworks
72
+ ## Supported frameworks
24
73
 
25
- TreeMap component is also offered in following list of frameworks.
74
+ TreeMap component is also offered in the following list of frameworks.
26
75
 
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)
76
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-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; |
77
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
33
78
 
34
- ## Use case samples
79
+ ## Showcase samples
35
80
 
36
- * Olympic medal categories details ([Live Demo](https://ej2.syncfusion.com/react/demos/#/material/treemap/customization))
37
- * Countries population details ([Live Demo](https://ej2.syncfusion.com/react/demos/#/material/treemap/drilldown))
81
+ * Olympic medal categories details - [Live Demo](https://ej2.syncfusion.com/react/demos/#/material/treemap/customization)
82
+ * Countries population details - [Live Demo](https://ej2.syncfusion.com/react/demos/#/material/treemap/drilldown)
83
+ * Fitness Tracker - [Source](https://github.com/SyncfusionExamples/showcase-react-health-tracker-dashboard-demo), [Live Demo](https://ej2.syncfusion.com/showcase/react/fitness-tracker-app/)
38
84
 
39
- ## Key Features
85
+ ## Key features
40
86
 
41
- * [**Data sources**](https://ej2.syncfusion.com/react/demos/#/material/treemap/pie) - 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/react/demos/#/material/treemap/default) - Renders with any number of levels and items.
43
- * [**Layout**](https://ej2.syncfusion.com/react/demos/#/material/treemap/layout) - Supports four types of layouts: square, horizontal, vertical, and auto.
44
- * [**Drill-down**](https://ej2.syncfusion.com/react/demos/#/material/treemap/drilldown) - Provides drill-down option to have a closer look at the lower level of a hierarchy.
45
- * [**Data label**](https://ej2.syncfusion.com/react/demos/#/material/treemap/label) - Provides additional information about the nodes.
46
- * [**Label template**](https://ej2.syncfusion.com/react/demos/#/material/treemap/customization) - Uses any custom HTML element as data label for each node.
47
- * [**Color mapping**](https://ej2.syncfusion.com/react/demos/#/material/treemap/label) - 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/react/demos/#/material/treemap/election) - Denotes the color mapping categories.
49
- * [**Selection and Highlight**](https://ej2.syncfusion.com/react/demos/#/material/treemap/selection) - Supports selecting or highlighting the nodes to bring center of attraction.
50
- * [**Tooltip**](https://ej2.syncfusion.com/react/demos/#/material/treemap/tooltip) - Provides additonal information about the nodes on mouse hover.
51
- * [**Print and Export**](https://ej2.syncfusion.com/react/demos/#/material/treemap/print) - Provides options to print and export the rendered tree map for future use.
87
+ * [Data sources](https://ej2.syncfusion.com/react/documentation/treemap/data-binding/?utm_source=npm&utm_campaign=react-treemap-npm): Binds the treemap component with an array of JSON objects or DataManager. Both hierarchical and flat collection data sources are supported.
88
+ * [Levels](https://ej2.syncfusion.com/react/documentation/treemap/levels/?utm_source=npm&utm_campaign=react-treemap-npm): Renders with any number of levels and items.
89
+ * [Layout](https://ej2.syncfusion.com/react/documentation/treemap/layout/?utm_source=npm&utm_campaign=react-treemap-npm): Supports four types of layouts: square, horizontal, vertical, and auto.
90
+ * [Drill-down](https://ej2.syncfusion.com/react/documentation/treemap/drilldown/?utm_source=npm&utm_campaign=react-treemap-npm): Provides drill-down option to have a closer look at the lower level of a hierarchy.
91
+ * [Data label](https://ej2.syncfusion.com/react/documentation/treemap/data-label/?utm_source=npm&utm_campaign=react-treemap-npm): Provides additional information about the nodes.
92
+ * [Header template](https://ej2.syncfusion.com/react/documentation/treemap/levels/?utm_source=npm&utm_campaign=react-treemap-npm#header-template-and-position): Uses any custom HTML element to customize the header of each item.
93
+ * [Label template](https://ej2.syncfusion.com/react/documentation/treemap/data-label/?utm_source=npm&utm_campaign=react-treemap-npm#template): Uses any custom HTML element to customize the data label for each node.
94
+ * [Color mapping](https://ej2.syncfusion.com/react/documentation/treemap/color-mapping/?utm_source=npm&utm_campaign=react-treemap-npm): Applies colors to the nodes based on various conditions. Treemap supports three types of color mapping: range, equal, and desaturation.
95
+ * [Legend](https://ej2.syncfusion.com/react/documentation/treemap/legend/?utm_source=npm&utm_campaign=react-treemap-npm): Provide useful information for conveying what the treemap showcases.
96
+ * [Selection and highlight](https://ej2.syncfusion.com/react/documentation/treemap/selection-and-highlight/?utm_source=npm&utm_campaign=react-treemap-npm): Support selecting or highlighting the nodes to bring center of attraction.
97
+ * [Tooltip](https://ej2.syncfusion.com/react/documentation/treemap/tooltip/?utm_source=npm&utm_campaign=react-treemap-npm): Provides additional information about the node on hover.
98
+ * [Print and Export](https://ej2.syncfusion.com/react/documentation/treemap/print-and-export/?utm_source=npm&utm_campaign=react-treemap-npm): Prints or exports the rendered treemap to a desired format. Exporting supports four formats: PDF, PNG, JPEG and SVG.
99
+ * [Globalization](https://ej2.syncfusion.com/react/documentation/treemap/internationalization/?utm_source=npm&utm_medium=listing&utm_campaign=react-treemap-npm): Personalize the treemap component with different languages, as well as culture-specific number, date and time formatting.
100
+ * [Accessibility](https://ej2.syncfusion.com/react/documentation/treemap/accessibility/?utm_source=npm&utm_medium=listing&utm_campaign=react-treemap-npm): Provides with built-in accessibility support which helps to access all the treemap component features through the keyboard, screen readers, or other assistive technology devices.
52
101
 
53
102
  ## Support
54
103
 
55
- Product support is available for through following mediums.
104
+ Product support is available through the following mediums.
105
+
106
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
107
+ * [Community forum](https://www.syncfusion.com/forums/react-js2?utm_source=npm&utm_medium=listing&utm_campaign=react-treemap-npm)
108
+ * [GitHub issues](https://github.com/syncfusion/ej2-react-ui-components/issues/new)
109
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/react?utm_source=npm&utm_medium=listing&utm_campaign=react-treemap-npm)
110
+ * Live chat
56
111
 
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-react-ui-components/issues).
59
- * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
112
+ ## Changelog
60
113
 
61
- ## License
114
+ Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/components/treemap/CHANGELOG.md?utm_source=npm&utm_campaign=react-treemap-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
62
115
 
63
- Check the license detail [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/license?utm_source=npm&utm_campaign=treemap).
116
+ ## License and copyright
64
117
 
65
- ## Changelog
118
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [React UI components](https://www.syncfusion.com/react-components), 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).
119
+
120
+ > 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
121
 
67
- Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/license?utm_source=npm&utm_campaign=treemap)
122
+ See [LICENSE FILE](https://github.com/syncfusion/ej2-react-ui-components/blob/master/license?utm_source=npm&utm_campaign=react-treemap-npm) for more info.
68
123
 
69
- © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
124
+ &copy; Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
package/diConfig.json CHANGED
@@ -2,7 +2,31 @@
2
2
  "name": "TreeMap",
3
3
  "description": "TreeMap Component",
4
4
  "keywords": {
5
- "common": ["ej2", "syncfusion","ej2-treemap","web-components", "treemap", "layout", "leaf-node", "levels", "legend", "color-mapping", "labels", "tooltip", "drilldown", "legend", "label-template", "typescript"],
5
+ "common": [
6
+ "ej2",
7
+ "syncfusion",
8
+ "ej2-treemap",
9
+ "web-components",
10
+ "data-visualization",
11
+ "typescript",
12
+ "javascript",
13
+ "treemap",
14
+ "hierarchy",
15
+ "hierarchical-data",
16
+ "flat-data",
17
+ "layout",
18
+ "levels",
19
+ "leaf-node",
20
+ "data-labels",
21
+ "label-template",
22
+ "header-template",
23
+ "drill-down",
24
+ "color-mapping",
25
+ "selection",
26
+ "highlight",
27
+ "legend",
28
+ "template"
29
+ ],
6
30
  "angular": ["angular", "ng-treemap", "ej2-ng-treemap"],
7
31
  "react": ["react", "reactjs", "react-treemap", "ej2-react-treemap"],
8
32
  "vue": ["vue", "vuejs", "vue-treemap", "ej2-vue-treemap"]
@@ -1,10 +1 @@
1
- /*!
2
- * filename: ej2-react-treemap.min.js
3
- * version : 20.3.59
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("SyncfusionTreemap"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionTreemap","React"],t):"object"==typeof exports?exports.SyncfusionReactTreemap=t(require("SyncfusionReactBase"),require("SyncfusionTreemap"),require("React")):e.SyncfusionReactTreemap=t(e.SyncfusionReactBase,e.SyncfusionTreemap,e.React)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(5);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});var o=n(4);n.d(t,"c",function(){return o.a}),n.d(t,"d",function(){return o.b});var i=n(6);n.d(t,"e",function(){return i.a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);n.d(t,"LevelDirective",function(){return r.a}),n.d(t,"LevelsDirective",function(){return r.b}),n.d(t,"ColorMappingDirective",function(){return r.c}),n.d(t,"ColorMappingsDirective",function(){return r.d}),n.d(t,"TreeMapComponent",function(){return r.e});var o=n(0);n.n(o);n.o(o,"Inject")&&n.d(t,"Inject",function(){return o.Inject});var i=n(1);n.n(i);for(var u in i)["LevelDirective","LevelsDirective","ColorMappingDirective","ColorMappingsDirective","TreeMapComponent","Inject","default"].indexOf(u)<0&&function(e){n.d(t,e,function(){return i[e]})}(u)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="colorMapping",t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="colorMapping",t.moduleName="colorMappings",t}(r.ComplexBase)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="level",t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="levels",t.moduleName="levels",t}(r.ComplexBase)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(7),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={levels:{level:{colorMappings:"colorMapping"}}},n.immediateRender=!1,n.portals=[],n}return u(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.TreeMap);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(e,t){e.exports=n}])});
@@ -1,11 +1,2 @@
1
- /*!
2
- * filename: ej2-react-treemap.umd.min.js
3
- * version : 20.3.59
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-treemap")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-treemap"],t):t(e.ej={},e.ej2ReactBase,e.React,e.ej2Treemap)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="level",t}(t.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="levels",t.moduleName="levels",t}(t.ComplexBase),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.moduleName="colorMapping",t}(t.ComplexBase),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.propertyName="colorMapping",t.moduleName="colorMappings",t}(t.ComplexBase),a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={levels:{level:{colorMappings:"colorMapping"}}},n.immediateRender=!1,n.portals=[],n}return a(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.TreeMap);t.applyMixins(l,[t.ComponentBase,n.Component]),e.Inject=t.Inject,e.LevelDirective=i,e.LevelsDirective=c,e.ColorMappingDirective=u,e.ColorMappingsDirective=s,e.TreeMapComponent=l,Object.keys(r).forEach(function(t){e[t]=r[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
2
  //# sourceMappingURL=ej2-react-treemap.umd.min.js.map
package/package.json CHANGED
@@ -1,75 +1,82 @@
1
- {
2
- "_from": "@syncfusion/ej2-react-treemap@*",
3
- "_id": "@syncfusion/ej2-react-treemap@20.3.56",
4
- "_inBundle": false,
5
- "_integrity": "sha512-TbbIPo0IHUDVqwW+t93WmlZ87CvBrhVjoEPs+MYEHzBhyi7zAmqfSuHRhUed5JPntgJU3R9Yfmprqb2O8fmWYw==",
6
- "_location": "/@syncfusion/ej2-react-treemap",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-react-treemap@*",
12
- "name": "@syncfusion/ej2-react-treemap",
13
- "escapedName": "@syncfusion%2fej2-react-treemap",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/"
21
- ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-treemap/-/ej2-react-treemap-20.3.56.tgz",
23
- "_shasum": "e7de407547ebf0c230c772e1ee585018e6350c78",
24
- "_spec": "@syncfusion/ej2-react-treemap@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
26
- "author": {
27
- "name": "Syncfusion Inc."
28
- },
29
- "bugs": {
30
- "url": "https://github.com/syncfusion/ej2-react-ui-components/issues"
31
- },
32
- "bundleDependencies": false,
33
- "dependencies": {
34
- "@syncfusion/ej2-base": "~20.3.56",
35
- "@syncfusion/ej2-react-base": "~20.3.56",
36
- "@syncfusion/ej2-treemap": "20.3.59"
37
- },
38
- "deprecated": false,
39
- "description": "Essential JS 2 TreeMap Components for React",
40
- "devDependencies": {},
41
- "es2015": "dist/es6/ej2-react-treemap.es2015.js",
42
- "homepage": "https://github.com/syncfusion/ej2-react-ui-components#readme",
43
- "keywords": [
44
- "ej2",
45
- "syncfusion",
46
- "ej2-treemap",
47
- "web-components",
48
- "treemap",
49
- "layout",
50
- "leaf-node",
51
- "levels",
52
- "legend",
53
- "color-mapping",
54
- "labels",
55
- "tooltip",
56
- "drilldown",
57
- "legend",
58
- "label-template",
59
- "typescript",
60
- "react",
61
- "reactjs",
62
- "react-treemap",
63
- "ej2-react-treemap"
64
- ],
65
- "license": "SEE LICENSE IN license",
66
- "main": "./dist/ej2-react-treemap.umd.min.js",
67
- "module": "./index.js",
68
- "name": "@syncfusion/ej2-react-treemap",
69
- "repository": {
70
- "type": "git",
71
- "url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
72
- },
73
- "version": "20.3.59",
74
- "sideEffects": false
75
- }
1
+ {
2
+ "_from": "@syncfusion/ej2-react-treemap@*",
3
+ "_id": "@syncfusion/ej2-react-treemap@16.31.3",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-cX39m17mLDk59a7tBgLscRKAxQC2Mnh6xGlDoIFGqmQlM+xGDBkd5dRv8sIbtw0kEZk7LhGDpBUONgquQdOOzA==",
6
+ "_location": "/@syncfusion/ej2-react-treemap",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "@syncfusion/ej2-react-treemap@*",
12
+ "name": "@syncfusion/ej2-react-treemap",
13
+ "escapedName": "@syncfusion%2fej2-react-treemap",
14
+ "scope": "@syncfusion",
15
+ "rawSpec": "*",
16
+ "saveSpec": null,
17
+ "fetchSpec": "*"
18
+ },
19
+ "_requiredBy": [
20
+ "/"
21
+ ],
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-react-treemap/-/ej2-react-treemap-16.31.3.tgz",
23
+ "_shasum": "63913ea9c372b2f45270e34aaac4749d8bdb5bda",
24
+ "_spec": "@syncfusion/ej2-react-treemap@*",
25
+ "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
26
+ "author": {
27
+ "name": "Syncfusion Inc."
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/syncfusion/ej2-react-ui-components/issues"
31
+ },
32
+ "bundleDependencies": false,
33
+ "dependencies": {
34
+ "@syncfusion/ej2-base": "~20.4.40",
35
+ "@syncfusion/ej2-react-base": "~20.4.40",
36
+ "@syncfusion/ej2-treemap": "20.4.40"
37
+ },
38
+ "deprecated": false,
39
+ "description": "Essential JS 2 TreeMap Components for React",
40
+ "devDependencies": {},
41
+ "es2015": "dist/es6/ej2-react-treemap.es2015.js",
42
+ "homepage": "https://github.com/syncfusion/ej2-react-ui-components#readme",
43
+ "keywords": [
44
+ "ej2",
45
+ "syncfusion",
46
+ "ej2-treemap",
47
+ "web-components",
48
+ "data-visualization",
49
+ "typescript",
50
+ "javascript",
51
+ "treemap",
52
+ "hierarchy",
53
+ "hierarchical-data",
54
+ "flat-data",
55
+ "layout",
56
+ "levels",
57
+ "leaf-node",
58
+ "data-labels",
59
+ "label-template",
60
+ "header-template",
61
+ "drill-down",
62
+ "color-mapping",
63
+ "selection",
64
+ "highlight",
65
+ "legend",
66
+ "template",
67
+ "react",
68
+ "reactjs",
69
+ "react-treemap",
70
+ "ej2-react-treemap"
71
+ ],
72
+ "license": "SEE LICENSE IN license",
73
+ "main": "./dist/ej2-react-treemap.umd.min.js",
74
+ "module": "./index.js",
75
+ "name": "@syncfusion/ej2-react-treemap",
76
+ "repository": {
77
+ "type": "git",
78
+ "url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
79
+ },
80
+ "version": "20.4.40",
81
+ "sideEffects": false
82
+ }