@syncfusion/ej2-react-treemap 20.4.42 → 21.1.35

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/diConfig.json CHANGED
@@ -52,7 +52,7 @@
52
52
  "isGenericClass": true,
53
53
  "comment": [
54
54
  "/**",
55
- " * TreeMap Component",
55
+ " * Represents the Angular TreeMap component. It is used to visualize both hierarchical and flat data.",
56
56
  " * ```html",
57
57
  " * <ej-treemap></ej-treemap>",
58
58
  " * ```",
@@ -60,7 +60,7 @@
60
60
  ],
61
61
  "reactComment": [
62
62
  "/**",
63
- " * Represents react TreeMap Component",
63
+ " * Represents the React TreeMap component. It is used to visualize both hierarchical and flat data.",
64
64
  " * ```tsx",
65
65
  " * <TreeMapComponent></TreeMapComponent>",
66
66
  " * ```",
@@ -68,7 +68,7 @@
68
68
  ],
69
69
  "vueComment": [
70
70
  "/**",
71
- " * Represents Vuejs TreeMap Component",
71
+ " * Represents the Vue TreeMap component. It is used to visualize both hierarchical and flat data.",
72
72
  " * ```vue",
73
73
  " * <ejs-treemap></ejs-treemap>",
74
74
  " * ```",
@@ -283,7 +283,7 @@
283
283
  ],
284
284
  "comment": [
285
285
  "/**",
286
- " * Level Directive",
286
+ " * Represents the directive to configure and render level leaf items in the treemap.",
287
287
  " * ```html",
288
288
  " * <e-levels>",
289
289
  " * <e-level></e-level>",
@@ -293,8 +293,7 @@
293
293
  ],
294
294
  "reactComment": [
295
295
  "/**",
296
- " * `LevelsDirective` directive represent a levels of the react treemap. ",
297
- " * It must be contained in a TreeMap component(`TreeMapComponent`). ",
296
+ " * Represents the directive to configure and render level leaf items in the treemap. ",
298
297
  " * ```tsx",
299
298
  " * <TreeMapComponent>",
300
299
  " * <LevelsDirective>",
@@ -306,7 +305,7 @@
306
305
  ],
307
306
  "vueComment": [
308
307
  "/**",
309
- " * `LevelsDirective` directive represent a levels of the react treemap.",
308
+ " * Represents the directive to configure and render level leaf items in the treemap.",
310
309
  " * ```vue",
311
310
  " * <ejs-treemap>",
312
311
  " * <e-levels>",
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-treemap.min.js
3
- * version : 20.4.42
3
+ * version : 21.1.35
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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("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}])});
10
+ !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.statelessTemplateProps=null,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,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-treemap.umd.min.js
3
- * version : 20.4.42
3
+ * version : 21.1.35
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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.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})});
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.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.statelessTemplateProps=null,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
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 * `LevelsDirective` directive represent a levels of the react treemap.\n * It must be contained in a TreeMap component(`TreeMapComponent`).\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 react TreeMap Component\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.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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","LevelDirective","_super","apply","arguments","moduleName","ComplexBase","LevelsDirective","propertyName","ColorMappingDirective","ColorMappingsDirective","TreeMapComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","levels","level","colorMappings","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","TreeMap","ej2ReactBase","ComponentBase","React.Component"],"mappings":"wXAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OA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zBJ,GACToB,WACFC,cACYrB,GAAmBsB,gBAAeC"}
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.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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","LevelDirective","_super","apply","arguments","moduleName","ComplexBase","LevelsDirective","propertyName","ColorMappingDirective","ColorMappingsDirective","TreeMapComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","levels","level","colorMappings","statelessTemplateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","TreeMap","ej2ReactBase","ComponentBase","React.Component"],"mappings":"wXAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAwBxCK,EAAgC,SAAUC,GAE1C,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAgBC,GAI1BD,EAAeI,WAAa,QACrBJ,GACTK,eAEEC,EAAiC,SAAUL,GAE3C,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUqB,EAAiB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,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCe,EAAkC,SAAUT,GAE5C,SAASS,EAAiBC,GACtB,IAAIC,EAAQX,EAAOY,KAAKjB,KAAMe,IAAUf,KAOxC,OANAgB,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,eAAkBC,QAAYC,OAAWC,cAAiB,kBAChEP,EAAMQ,uBAAyB,KAC/BR,EAAMS,iBAAkB,EACxBT,EAAMU,WACCV,EAWX,OApBA3B,EAAUyB,EAAkBT,GAW5BS,EAAiBZ,UAAUyB,OAAS,WAChC,KAAM3B,KAAK4B,UAAY5B,KAAKkB,kBAAqBlB,KAAK6B,aAAgB7B,KAAK8B,oBAKvE,OAAOC,gBAAoB,MAAO/B,KAAKgC,0BAA2BC,OAAOjC,KAAKe,MAAMmB,SAAUlC,KAAK0B,UAJnGrB,EAAOH,UAAUyB,OAAOV,KAAKjB,MAC7BA,KAAKkB,kBAAmB,GAMzBJ,GACTqB,WACFC,cACYtB,GAAmBuB,gBAAeC"}
@@ -3,8 +3,7 @@ import { Component, createElement } from 'react';
3
3
  import { TreeMap } from '@syncfusion/ej2-treemap';
4
4
 
5
5
  /**
6
- * `LevelsDirective` directive represent a levels of the react treemap.
7
- * It must be contained in a TreeMap component(`TreeMapComponent`).
6
+ * Represents the directive to configure and render level leaf items in the treemap.
8
7
  * ```tsx
9
8
  * <TreeMapComponent>
10
9
  * <LevelsDirective>
@@ -30,7 +29,7 @@ ColorMappingsDirective.propertyName = 'colorMapping';
30
29
  ColorMappingsDirective.moduleName = 'colorMappings';
31
30
 
32
31
  /**
33
- * Represents react TreeMap Component
32
+ * Represents the React TreeMap component. It is used to visualize both hierarchical and flat data.
34
33
  * ```tsx
35
34
  * <TreeMapComponent></TreeMapComponent>
36
35
  * ```
@@ -41,6 +40,7 @@ class TreeMapComponent extends TreeMap {
41
40
  this.initRenderCalled = false;
42
41
  this.checkInjectedModules = true;
43
42
  this.directivekeys = { 'levels': { 'level': { 'colorMappings': 'colorMapping' } } };
43
+ this.statelessTemplateProps = null;
44
44
  this.immediateRender = false;
45
45
  this.portals = [];
46
46
  }
@@ -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 * `LevelsDirective` directive represent a levels of the react treemap.\n * It must be contained in a TreeMap component(`TreeMapComponent`).\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 react TreeMap Component\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.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(T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E,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;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.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;;;;;;;;;;AAUA,AAAO,MAAM,cAAc,SAAS,WAAW,CAAC;CAC/C;AACD,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;AACpC,AAAO,MAAM,eAAe,SAAS,WAAW,CAAC;CAChD;AACD,eAAe,CAAC,YAAY,GAAG,QAAQ,CAAC;AACxC,eAAe,CAAC,UAAU,GAAG,QAAQ,CAAC;;AChB/B,MAAM,qBAAqB,SAAS,WAAW,CAAC;CACtD;AACD,qBAAqB,CAAC,UAAU,GAAG,cAAc,CAAC;AAClD,AAAO,MAAM,sBAAsB,SAAS,WAAW,CAAC;CACvD;AACD,sBAAsB,CAAC,YAAY,GAAG,cAAc,CAAC;AACrD,sBAAsB,CAAC,UAAU,GAAG,eAAe,CAAC;;ACJpD;;;;;;AAMA,AAAO,MAAM,gBAAgB,SAAS,OAAO,CAAC;IAC1C,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,eAAe,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC;QACpF,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,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;SAChH;KACJ;CACJ;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@20.4.40",
3
+ "_id": "@syncfusion/ej2-react-treemap@16.31.12",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-h6lZLil4tFZdQ7OZAl17i7dqSPDy6bhqdJD+Zj/w5VGMaR52aycMXLOS/VWyJdRnee/49z0sfaodgbZcMnGbyA==",
5
+ "_integrity": "sha512-Q4IR8zEU2WYwsbYXS8BcLVRoGUW3BIoVtMBKWW0/S7ZatHJ9JPgucPYZdiqWbm519zP+7a3cdfS40c8QkxXH2g==",
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.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-treemap/-/ej2-react-treemap-20.4.40.tgz",
23
- "_shasum": "91d17d12d89c2d3be496dc79c313e9cc995a3c13",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-react-treemap/-/ej2-react-treemap-16.31.12.tgz",
23
+ "_shasum": "c32dcab1832bbbf234d0af97bc1bd7f4d85716de",
24
24
  "_spec": "@syncfusion/ej2-react-treemap@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_21.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": "~20.4.42",
35
- "@syncfusion/ej2-react-base": "~20.4.42",
36
- "@syncfusion/ej2-treemap": "20.4.42"
34
+ "@syncfusion/ej2-base": "~21.1.35",
35
+ "@syncfusion/ej2-react-base": "~21.1.35",
36
+ "@syncfusion/ej2-treemap": "21.1.35"
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": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
56
56
  },
57
- "version": "20.4.42",
57
+ "version": "21.1.35",
58
58
  "sideEffects": false
59
59
  }
@@ -4,8 +4,7 @@ export interface LevelSettingsDirTypecast {
4
4
  headerTemplate?: string | Function | any;
5
5
  }
6
6
  /**
7
- * `LevelsDirective` directive represent a levels of the react treemap.
8
- * It must be contained in a TreeMap component(`TreeMapComponent`).
7
+ * Represents the directive to configure and render level leaf items in the treemap.
9
8
  * ```tsx
10
9
  * <TreeMapComponent>
11
10
  * <LevelsDirective>
@@ -13,8 +13,7 @@ var __extends = (this && this.__extends) || (function () {
13
13
  })();
14
14
  import { ComplexBase } from '@syncfusion/ej2-react-base';
15
15
  /**
16
- * `LevelsDirective` directive represent a levels of the react treemap.
17
- * It must be contained in a TreeMap component(`TreeMapComponent`).
16
+ * Represents the directive to configure and render level leaf items in the treemap.
18
17
  * ```tsx
19
18
  * <TreeMapComponent>
20
19
  * <LevelsDirective>
@@ -6,7 +6,7 @@ export interface TreeMapTypecast {
6
6
  leafItemSettingsLabelTemplate?: string | Function | any;
7
7
  }
8
8
  /**
9
- * Represents react TreeMap Component
9
+ * Represents the React TreeMap component. It is used to visualize both hierarchical and flat data.
10
10
  * ```tsx
11
11
  * <TreeMapComponent></TreeMapComponent>
12
12
  * ```
@@ -22,6 +22,7 @@ export declare class TreeMapComponent extends TreeMap {
22
22
  directivekeys: {
23
23
  [key: string]: Object;
24
24
  };
25
+ private statelessTemplateProps;
25
26
  private immediateRender;
26
27
  props: Readonly<{
27
28
  children?: React.ReactNode | React.ReactNode[];
@@ -15,7 +15,7 @@ import * as React from 'react';
15
15
  import { TreeMap } from '@syncfusion/ej2-treemap';
16
16
  import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
17
17
  /**
18
- * Represents react TreeMap Component
18
+ * Represents the React TreeMap component. It is used to visualize both hierarchical and flat data.
19
19
  * ```tsx
20
20
  * <TreeMapComponent></TreeMapComponent>
21
21
  * ```
@@ -27,6 +27,7 @@ var TreeMapComponent = /** @class */ (function (_super) {
27
27
  _this.initRenderCalled = false;
28
28
  _this.checkInjectedModules = true;
29
29
  _this.directivekeys = { 'levels': { 'level': { 'colorMappings': 'colorMapping' } } };
30
+ _this.statelessTemplateProps = null;
30
31
  _this.immediateRender = false;
31
32
  _this.portals = [];
32
33
  return _this;