@syncfusion/ej2-react-treemap 20.4.48 → 21.1.36
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 +6 -0
- package/diConfig.json +6 -7
- package/dist/ej2-react-treemap.min.js +2 -2
- package/dist/ej2-react-treemap.umd.min.js +2 -2
- package/dist/ej2-react-treemap.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-treemap.es2015.js +4 -3
- package/dist/es6/ej2-react-treemap.es2015.js.map +1 -1
- package/package.json +9 -9
- package/src/treemap/levels-directive.d.ts +1 -2
- package/src/treemap/levels-directive.js +1 -2
- package/src/treemap/treemap.component.d.ts +3 -1
- package/src/treemap/treemap.component.js +3 -1
package/CHANGELOG.md
CHANGED
package/diConfig.json
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"isGenericClass": true,
|
|
53
53
|
"comment": [
|
|
54
54
|
"/**",
|
|
55
|
-
" * TreeMap
|
|
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
|
|
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
|
|
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
|
-
" *
|
|
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
|
-
" *
|
|
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
|
-
" *
|
|
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 :
|
|
3
|
+
* version : 21.1.36
|
|
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.templateProps=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 :
|
|
3
|
+
* version : 21.1.36
|
|
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),
|
|
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),p=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),c=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 c(t,e),t.moduleName="colorMapping",t}(t.ComplexBase),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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.templateProps=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=p,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 *
|
|
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":["__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","templateProps","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,EAAiBL,GAI3BK,EAAgBC,aAAe,SAC/BD,EAAgBF,WAAa,SACtBE,GACTD,eCzCEpB,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,E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AM5B,KAAK6B,UAAY7B,KAAKkB,kBAAqBlB,KAAK8B,aAAgB9B,KAAK+B,oBAKvE,OAAOC,gBAAoB,MAAOhC,KAAKiC,0BAA2BC,OAAOlC,KAAKe,MAAMoB,SAAUnC,KAAK2B,UAJnGtB,EAAOH,UAAU0B,OAAOX,KAAKjB,MAC7BA,KAAKkB,kBAAmB,GAMzBJ,GACTsB,WACFC,cACYvB,GAAmBwB,gBAAeC"}
|
|
@@ -3,8 +3,7 @@ import { Component, createElement } from 'react';
|
|
|
3
3
|
import { TreeMap } from '@syncfusion/ej2-treemap';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
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
|
|
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,8 @@ 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
|
+
this.templateProps = null;
|
|
44
45
|
this.immediateRender = false;
|
|
45
46
|
this.portals = [];
|
|
46
47
|
}
|
|
@@ -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 *
|
|
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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,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@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-treemap@22.1.34",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-sz0AcfsYOtshDQMu5NKKtNvXGTO7KTPzn/kmTX01pYjpc/CQ3rQxYNrw4hBiFNnw0I2kjGLgeLk6lMWZzCY4hA==",
|
|
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-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-treemap/-/ej2-react-treemap-22.1.34.tgz",
|
|
23
|
+
"_shasum": "89d6df2e1fd6afd14359e2f7bf48211d8589e12c",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-treemap@*",
|
|
25
|
-
"_where": "/jenkins/workspace/
|
|
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": "~
|
|
35
|
-
"@syncfusion/ej2-react-base": "~
|
|
36
|
-
"@syncfusion/ej2-treemap": "
|
|
34
|
+
"@syncfusion/ej2-base": "~22.1.34",
|
|
35
|
+
"@syncfusion/ej2-react-base": "~22.1.34",
|
|
36
|
+
"@syncfusion/ej2-treemap": "21.1.36"
|
|
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": "
|
|
57
|
+
"version": "21.1.36",
|
|
58
58
|
"sideEffects": false
|
|
59
59
|
}
|
|
@@ -4,8 +4,7 @@ export interface LevelSettingsDirTypecast {
|
|
|
4
4
|
headerTemplate?: string | Function | any;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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,8 @@ export declare class TreeMapComponent extends TreeMap {
|
|
|
22
22
|
directivekeys: {
|
|
23
23
|
[key: string]: Object;
|
|
24
24
|
};
|
|
25
|
+
private statelessTemplateProps;
|
|
26
|
+
private templateProps;
|
|
25
27
|
private immediateRender;
|
|
26
28
|
props: Readonly<{
|
|
27
29
|
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
|
|
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,8 @@ 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;
|
|
31
|
+
_this.templateProps = null;
|
|
30
32
|
_this.immediateRender = false;
|
|
31
33
|
_this.portals = [];
|
|
32
34
|
return _this;
|