@syncfusion/ej2-react-treemap 27.2.2 → 28.1.33
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/README.md +5 -5
- package/dist/ej2-react-treemap.min.js +3 -3
- package/dist/ej2-react-treemap.umd.min.js +3 -3
- package/dist/ej2-react-treemap.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-treemap.es2015.js +2 -0
- package/dist/es6/ej2-react-treemap.es2015.js.map +1 -1
- package/package.json +9 -9
- package/src/treemap/treemap.component.d.ts +1 -0
- package/src/treemap/treemap.component.js +2 -0
package/README.md
CHANGED
|
@@ -31,9 +31,9 @@ cd my-app
|
|
|
31
31
|
npm start
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
### Add Syncfusion TreeMap package
|
|
34
|
+
### Add Syncfusion<sup>®</sup> TreeMap package
|
|
35
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.
|
|
36
|
+
All Syncfusion<sup>®</sup> 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
37
|
|
|
38
38
|
```sh
|
|
39
39
|
npm install @syncfusion/ej2-react-treemap --save
|
|
@@ -41,7 +41,7 @@ npm install @syncfusion/ej2-react-treemap --save
|
|
|
41
41
|
|
|
42
42
|
### Add TreeMap Component
|
|
43
43
|
|
|
44
|
-
In the **src/App.tsx** file, use the following code snippet to render the Syncfusion React TreeMap component.
|
|
44
|
+
In the **src/App.tsx** file, use the following code snippet to render the Syncfusion<sup>®</sup> React TreeMap component.
|
|
45
45
|
|
|
46
46
|
```typescript
|
|
47
47
|
import { React } from 'react';
|
|
@@ -115,10 +115,10 @@ Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components
|
|
|
115
115
|
|
|
116
116
|
## License and copyright
|
|
117
117
|
|
|
118
|
-
> This is a commercial product and requires a paid license for possession or use. Syncfusion
|
|
118
|
+
> This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [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
119
|
|
|
120
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.
|
|
121
121
|
|
|
122
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.
|
|
123
123
|
|
|
124
|
-
© Copyright 2024 Syncfusion
|
|
124
|
+
© Copyright 2024 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-treemap.min.js
|
|
3
|
-
* version :
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 28.1.33
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionTreemap")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionTreemap"],t):"object"==typeof exports?exports.SyncfusionReactTreemap=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionTreemap")):e.SyncfusionReactTreemap=t(e.SyncfusionReactBase,e.React,e.SyncfusionTreemap)}(self,((e,t,r)=>(()=>{"use strict";var
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionTreemap")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionTreemap"],t):"object"==typeof exports?exports.SyncfusionReactTreemap=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionTreemap")):e.SyncfusionReactTreemap=t(e.SyncfusionReactBase,e.React,e.SyncfusionTreemap)}(self,((e,t,r)=>(()=>{"use strict";var o={794:(e,t,r)=>{r.d(t,{U0:()=>u,$Z:()=>s,OT:()=>p,qd:()=>c,tt:()=>d});var o,n=r(705),i=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},o(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="level",t}(n.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="levels",t.moduleName="levels",t}(n.ComplexBase),a=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="colorMapping",t}(n.ComplexBase),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="colorMapping",t.moduleName="colorMappings",t}(n.ComplexBase),l=r(24),f=r(680),y=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),d=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!0,r.directivekeys={levels:{level:{colorMappings:"colorMapping"}}},r.statelessTemplateProps=null,r.templateProps=null,r.immediateRender=!1,r.isReactMock=!0,r.portals=[],r}return y(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return l.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(f.TreeMap);(0,n.applyMixins)(d,[n.ComponentBase,l.Component])},24:e=>{e.exports=t},705:t=>{t.exports=e},680:e=>{e.exports=r}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{i.r(p),i.d(p,{ColorMappingDirective:()=>e.U0,ColorMappingsDirective:()=>e.$Z,Inject:()=>t.Inject,LevelDirective:()=>e.OT,LevelsDirective:()=>e.qd,TreeMapComponent:()=>e.tt});var e=i(794),t=i(705),r=i(680),o={};for(const e in r)["default","Inject","ColorMappingDirective","ColorMappingsDirective","LevelDirective","LevelsDirective","TreeMapComponent"].indexOf(e)<0&&(o[e]=()=>r[e]);i.d(p,o)})(),p})()));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-treemap.umd.min.js
|
|
3
|
-
* version :
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 28.1.33
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!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=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Treemap)}(this,function(t,e,n,o){"use strict";r=function(e,t){return(r=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])}))(e,t)};var r,i,p=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},c=(i=e.ComplexBase,p(s,i),s.moduleName="level",s);function s(){return null!==i&&i.apply(this,arguments)||this}a=e.ComplexBase,p(l,a),l.propertyName="levels",l.moduleName="levels";var a,p=l;function l(){return null!==a&&a.apply(this,arguments)||this}u=function(e,t){return(u=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])}))(e,t)};var u,f,y=function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},d=(f=e.ComplexBase,y(h,f),h.moduleName="colorMapping",h);function h(){return null!==f&&f.apply(this,arguments)||this}m=e.ComplexBase,y(_,m),_.propertyName="colorMapping",_.moduleName="colorMappings";var m,y=_;function _(){return null!==m&&m.apply(this,arguments)||this}v=function(e,t){return(v=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])}))(e,t)};var v,j,b=function(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},b=(j=o.TreeMap,b(O,j),O.prototype.render=function(){if(
|
|
10
|
+
!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=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Treemap)}(this,function(t,e,n,o){"use strict";r=function(e,t){return(r=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])}))(e,t)};var r,i,p=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},c=(i=e.ComplexBase,p(s,i),s.moduleName="level",s);function s(){return null!==i&&i.apply(this,arguments)||this}a=e.ComplexBase,p(l,a),l.propertyName="levels",l.moduleName="levels";var a,p=l;function l(){return null!==a&&a.apply(this,arguments)||this}u=function(e,t){return(u=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])}))(e,t)};var u,f,y=function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},d=(f=e.ComplexBase,y(h,f),h.moduleName="colorMapping",h);function h(){return null!==f&&f.apply(this,arguments)||this}m=e.ComplexBase,y(_,m),_.propertyName="colorMapping",_.moduleName="colorMappings";var m,y=_;function _(){return null!==m&&m.apply(this,arguments)||this}v=function(e,t){return(v=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])}))(e,t)};var v,j,b=function(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},b=(j=o.TreeMap,b(O,j),O.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));j.prototype.render.call(this),this.initRenderCalled=!0},O);function O(e){e=j.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={levels:{level:{colorMappings:"colorMapping"}}},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}e.applyMixins(b,[e.ComponentBase,n.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.ColorMappingDirective=d,t.ColorMappingsDirective=y,t.LevelDirective=c,t.LevelsDirective=p,t.TreeMapComponent=b,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-react-treemap.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-treemap.umd.min.js","sources":["../src/treemap/levels-directive.js","../src/treemap/colormapping-directive.js","../src/treemap/treemap.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```tsx\n * <TreeMapComponent>\n * <LevelsDirective>\n * <LevelDirective></LevelDirective>\n * </LevelsDirective>\n * </TreeMapComponent>\n * ```\n */\nvar LevelDirective = /** @class */ (function (_super) {\n __extends(LevelDirective, _super);\n function LevelDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LevelDirective.moduleName = 'level';\n return LevelDirective;\n}(ComplexBase));\nexport { LevelDirective };\nvar LevelsDirective = /** @class */ (function (_super) {\n __extends(LevelsDirective, _super);\n function LevelsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LevelsDirective.propertyName = 'levels';\n LevelsDirective.moduleName = 'levels';\n return LevelsDirective;\n}(ComplexBase));\nexport { LevelsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar ColorMappingDirective = /** @class */ (function (_super) {\n __extends(ColorMappingDirective, _super);\n function ColorMappingDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColorMappingDirective.moduleName = 'colorMapping';\n return ColorMappingDirective;\n}(ComplexBase));\nexport { ColorMappingDirective };\nvar ColorMappingsDirective = /** @class */ (function (_super) {\n __extends(ColorMappingsDirective, _super);\n function ColorMappingsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColorMappingsDirective.propertyName = 'colorMapping';\n ColorMappingsDirective.moduleName = 'colorMappings';\n return ColorMappingsDirective;\n}(ComplexBase));\nexport { ColorMappingsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```tsx\n * <TreeMapComponent></TreeMapComponent>\n * ```\n */\nvar TreeMapComponent = /** @class */ (function (_super) {\n __extends(TreeMapComponent, _super);\n function TreeMapComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'levels': { 'level': { 'colorMappings': 'colorMapping' } } };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n TreeMapComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return TreeMapComponent;\n}(TreeMap));\nexport { TreeMapComponent };\napplyMixins(TreeMapComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","LevelDirective","ComplexBase","moduleName","apply","arguments","LevelsDirective","propertyName","ColorMappingDirective","ColorMappingsDirective","TreeMapComponent","TreeMap","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","levels","level","colorMappings","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"kYACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAuBsCS,EAxB1CC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAcnFK,GAA0CP,EAO5CQ,cANEP,EAAUM,EAAgBP,CAAM,EAIhCO,EAAeE,WAAa,QACrBF,GAJP,SAASA,IACL,OAAkB,OAAXP,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KAMpBH,EAQ7CQ,cAPEP,EAAUW,EAAiBZ,CAAM,EAIjCY,EAAgBC,aAAe,SAC/BD,EAAgBH,WAAa,aANcT,EAA3CY,EAOOA,EALP,SAASA,IACL,OAAkB,OAAXZ,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KCnC3DZ,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAa6CS,EAdjDC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAInFY,GAAiDd,EAOnDQ,cANEP,EAAUa,EAAuBd,CAAM,EAIvCc,EAAsBL,WAAa,eAC5BK,GAJP,SAASA,IACL,OAAkB,OAAXd,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KAMbH,EAQpDQ,cAPEP,EAAUc,EAAwBf,CAAM,EAIxCe,EAAuBF,aAAe,eACtCE,EAAuBN,WAAa,oBANcT,EAAlDe,EAOOA,EALP,SAASA,IACL,OAAkB,OAAXf,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KCzB3DZ,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAqBwCS,EAtB5CC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFc,GAA4ChB,
|
|
1
|
+
{"version":3,"file":"ej2-react-treemap.umd.min.js","sources":["../src/treemap/levels-directive.js","../src/treemap/colormapping-directive.js","../src/treemap/treemap.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```tsx\n * <TreeMapComponent>\n * <LevelsDirective>\n * <LevelDirective></LevelDirective>\n * </LevelsDirective>\n * </TreeMapComponent>\n * ```\n */\nvar LevelDirective = /** @class */ (function (_super) {\n __extends(LevelDirective, _super);\n function LevelDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LevelDirective.moduleName = 'level';\n return LevelDirective;\n}(ComplexBase));\nexport { LevelDirective };\nvar LevelsDirective = /** @class */ (function (_super) {\n __extends(LevelsDirective, _super);\n function LevelsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LevelsDirective.propertyName = 'levels';\n LevelsDirective.moduleName = 'levels';\n return LevelsDirective;\n}(ComplexBase));\nexport { LevelsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar ColorMappingDirective = /** @class */ (function (_super) {\n __extends(ColorMappingDirective, _super);\n function ColorMappingDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColorMappingDirective.moduleName = 'colorMapping';\n return ColorMappingDirective;\n}(ComplexBase));\nexport { ColorMappingDirective };\nvar ColorMappingsDirective = /** @class */ (function (_super) {\n __extends(ColorMappingsDirective, _super);\n function ColorMappingsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColorMappingsDirective.propertyName = 'colorMapping';\n ColorMappingsDirective.moduleName = 'colorMappings';\n return ColorMappingsDirective;\n}(ComplexBase));\nexport { ColorMappingsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```tsx\n * <TreeMapComponent></TreeMapComponent>\n * ```\n */\nvar TreeMapComponent = /** @class */ (function (_super) {\n __extends(TreeMapComponent, _super);\n function TreeMapComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'levels': { 'level': { 'colorMappings': 'colorMapping' } } };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n TreeMapComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return TreeMapComponent;\n}(TreeMap));\nexport { TreeMapComponent };\napplyMixins(TreeMapComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","LevelDirective","ComplexBase","moduleName","apply","arguments","LevelsDirective","propertyName","ColorMappingDirective","ColorMappingsDirective","TreeMapComponent","TreeMap","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","levels","level","colorMappings","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"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"}
|
|
@@ -45,9 +45,11 @@ class TreeMapComponent extends TreeMap {
|
|
|
45
45
|
this.statelessTemplateProps = null;
|
|
46
46
|
this.templateProps = null;
|
|
47
47
|
this.immediateRender = false;
|
|
48
|
+
this.isReactMock = true;
|
|
48
49
|
this.portals = [];
|
|
49
50
|
}
|
|
50
51
|
render() {
|
|
52
|
+
this.isReactMock = false;
|
|
51
53
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
52
54
|
super.render();
|
|
53
55
|
this.initRenderCalled = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-treemap.es2015.js","sources":["../src/es6/treemap/levels-directive.js","../src/es6/treemap/colormapping-directive.js","../src/es6/treemap/treemap.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```tsx\n * <TreeMapComponent>\n * <LevelsDirective>\n * <LevelDirective></LevelDirective>\n * </LevelsDirective>\n * </TreeMapComponent>\n * ```\n */\nexport class LevelDirective extends ComplexBase {\n}\nLevelDirective.moduleName = 'level';\nexport class LevelsDirective extends ComplexBase {\n}\nLevelsDirective.propertyName = 'levels';\nLevelsDirective.moduleName = 'levels';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class ColorMappingDirective extends ComplexBase {\n}\nColorMappingDirective.moduleName = 'colorMapping';\nexport class ColorMappingsDirective extends ComplexBase {\n}\nColorMappingsDirective.propertyName = 'colorMapping';\nColorMappingsDirective.moduleName = 'colorMappings';\n","import * as React from 'react';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```tsx\n * <TreeMapComponent></TreeMapComponent>\n * ```\n */\nexport class TreeMapComponent extends TreeMap {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'levels': { 'level': { 'colorMappings': 'colorMapping' } } };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(TreeMapComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;AAC7B,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,YAAY,GAAG,QAAQ,CAAC;AACxC,eAAe,CAAC,UAAU,GAAG,QAAQ;;AChB9B,MAAM,qBAAqB,SAAS,WAAW,CAAC;AACvD,CAAC;AACD,qBAAqB,CAAC,UAAU,GAAG,cAAc,CAAC;AAClD,AAAO,MAAM,sBAAsB,SAAS,WAAW,CAAC;AACxD,CAAC;AACD,sBAAsB,CAAC,YAAY,GAAG,cAAc,CAAC;AACrD,sBAAsB,CAAC,UAAU,GAAG,eAAe,CAAC;;ACJpD;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,gBAAgB,SAAS,OAAO,CAAC;AAC9C,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,aAAa,GAAG,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,eAAe,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC;AAC5F,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,gBAAgB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-react-treemap.es2015.js","sources":["../src/es6/treemap/levels-directive.js","../src/es6/treemap/colormapping-directive.js","../src/es6/treemap/treemap.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```tsx\n * <TreeMapComponent>\n * <LevelsDirective>\n * <LevelDirective></LevelDirective>\n * </LevelsDirective>\n * </TreeMapComponent>\n * ```\n */\nexport class LevelDirective extends ComplexBase {\n}\nLevelDirective.moduleName = 'level';\nexport class LevelsDirective extends ComplexBase {\n}\nLevelsDirective.propertyName = 'levels';\nLevelsDirective.moduleName = 'levels';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class ColorMappingDirective extends ComplexBase {\n}\nColorMappingDirective.moduleName = 'colorMapping';\nexport class ColorMappingsDirective extends ComplexBase {\n}\nColorMappingsDirective.propertyName = 'colorMapping';\nColorMappingsDirective.moduleName = 'colorMappings';\n","import * as React from 'react';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```tsx\n * <TreeMapComponent></TreeMapComponent>\n * ```\n */\nexport class TreeMapComponent extends TreeMap {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'levels': { 'level': { 'colorMappings': 'colorMapping' } } };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(TreeMapComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;AAC7B,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,YAAY,GAAG,QAAQ,CAAC;AACxC,eAAe,CAAC,UAAU,GAAG,QAAQ;;AChB9B,MAAM,qBAAqB,SAAS,WAAW,CAAC;AACvD,CAAC;AACD,qBAAqB,CAAC,UAAU,GAAG,cAAc,CAAC;AAClD,AAAO,MAAM,sBAAsB,SAAS,WAAW,CAAC;AACxD,CAAC;AACD,sBAAsB,CAAC,YAAY,GAAG,cAAc,CAAC;AACrD,sBAAsB,CAAC,UAAU,GAAG,eAAe,CAAC;;ACJpD;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,gBAAgB,SAAS,OAAO,CAAC;AAC9C,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,aAAa,GAAG,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,eAAe,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC;AAC5F,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;AAChC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,gBAAgB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-treemap@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-treemap@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-treemap@16.31.24",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-qPa7yVEsK17nqoXhjJcwX+yaAO58dSC8qthNiEu8BmdWN724QXYZg7Nr5bLyVyj2JqZcF/YTDstKyM5qrEOfyA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-treemap",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-react-treemap/-/ej2-react-treemap-16.31.24.tgz",
|
|
23
|
+
"_shasum": "b83a44bbedd53d081b501d151410351420f0fafb",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-treemap@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-react-base": "~
|
|
36
|
-
"@syncfusion/ej2-treemap": "
|
|
34
|
+
"@syncfusion/ej2-base": "~28.1.33",
|
|
35
|
+
"@syncfusion/ej2-react-base": "~28.1.33",
|
|
36
|
+
"@syncfusion/ej2-treemap": "28.1.33"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 TreeMap Components for React",
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
"type": "git",
|
|
55
55
|
"url": "https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
56
56
|
},
|
|
57
|
-
"version": "
|
|
57
|
+
"version": "28.1.33",
|
|
58
58
|
"sideEffects": false
|
|
59
59
|
}
|
|
@@ -25,6 +25,7 @@ export declare class TreeMapComponent extends TreeMap {
|
|
|
25
25
|
private statelessTemplateProps;
|
|
26
26
|
private templateProps;
|
|
27
27
|
private immediateRender;
|
|
28
|
+
private isReactMock;
|
|
28
29
|
props: Readonly<{
|
|
29
30
|
children?: React.ReactNode | React.ReactNode[];
|
|
30
31
|
}> & Readonly<TreeMapModel | DefaultHtmlAttributes | TreeMapTypecast>;
|
|
@@ -30,10 +30,12 @@ var TreeMapComponent = /** @class */ (function (_super) {
|
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
32
|
_this.immediateRender = false;
|
|
33
|
+
_this.isReactMock = true;
|
|
33
34
|
_this.portals = [];
|
|
34
35
|
return _this;
|
|
35
36
|
}
|
|
36
37
|
TreeMapComponent.prototype.render = function () {
|
|
38
|
+
this.isReactMock = false;
|
|
37
39
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
38
40
|
_super.prototype.render.call(this);
|
|
39
41
|
this.initRenderCalled = true;
|