@syncfusion/ej2-vue-treemap 19.4.48 → 20.1.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -11,6 +11,12 @@
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ### TreeMap
15
+
16
+ #### Bug Fixes
17
+
18
+ - `#I377352` - The samples in the TreeMap sample browser can now be edited in the StackBlitz.
19
+
14
20
  ## 18.2.44 (2020-07-07)
15
21
 
16
22
  ### TreeMap
@@ -1,11 +1,38 @@
1
1
  /*!
2
2
  * filename: ej2-vue-treemap.umd.min.js
3
- * version : 19.4.48
3
+ * version : 20.1.55
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-treemap"),require("@syncfusion/ej2-vue-base"),require("vue-class-component"),require("vue"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-treemap","@syncfusion/ej2-vue-base","vue-class-component","vue","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Treemap,e.ej2VueBase,e.Vue3,e.Vue$1,e.ej2Base)}(this,function(e,t,n,o,r,i){"use strict";r=r&&r.hasOwnProperty("default")?r.default:r;var s,a,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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},p=!n.gh,u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){},t.prototype.getTag=function(){return"e-colorMappings"},t=l([n.EJComponentDecorator({},p)],t)}(s=!p||parseInt(n.allVue.version)<3?o.Vue:r),f={name:"e-colorMappings",install:function(e){e.component(f.name,u)}},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){},t.prototype.getTag=function(){return"e-colorMapping"},t=l([n.EJComponentDecorator({},p)],t)}(s),d={name:"e-colorMapping",install:function(e){e.component(d.name,h)}},m=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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),y=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},g=!n.gh,v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){},t.prototype.getTag=function(){return"e-levels"},t=y([n.EJComponentDecorator({},g)],t)}(a=!g||parseInt(n.allVue.version)<3?o.Vue:r),j={name:"e-levels",install:function(e){e.component(j.name,v)}},O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){},t.prototype.getTag=function(){return"e-level"},t=y([n.EJComponentDecorator({},g)],t)}(a),b={name:"e-level",install:function(e){e.component(b.name,O)}},M=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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),I=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},P=["isLazyUpdate","allowImageExport","allowPdfExport","allowPrint","background","border","breadcrumbConnector","colorValuePath","dataSource","description","drillDownView","enableBreadcrumb","enableDrillDown","enablePersistence","enableRtl","equalColorValuePath","format","height","highlightSettings","initialDrillDown","layoutType","leafItemSettings","legendSettings","levels","locale","margin","palette","query","rangeColorValuePath","renderDirection","selectionSettings","tabIndex","theme","titleSettings","tooltipSettings","useGroupingSeparator","weightValuePath","width","beforePrint","click","doubleClick","drillEnd","drillStart","itemClick","itemHighlight","itemMove","itemRendering","itemSelected","legendItemRendering","legendRendering","load","loaded","mouseMove","resize","rightClick","tooltipRendering"],_=[],T=n.getProps({props:P}),C=(T[0],T[1]),D=Object.keys(C);D.push("modelchanged");for(var w=0,L=_;w<L.length;w++){var V=L[w];D.push("update:"+V)}var k=!n.gh,R=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=P,n.models=_,n.hasChildDirective=!0,n.hasInjectedModules=!0,n.tagMapper={"e-levels":{"e-level":{"e-colorMappings":"e-colorMapping"}}},n.tagNameMapper={"e-colorMappings":"e-colorMapping"},n.isVue3=!k,n.ej2Instances=new t.TreeMap({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n}return M(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],r=this.templateCollection[o];if(r&&r.length){for(var s=0,a=r;s<a.length;s++){var c=a[s];i.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.render=function(e){var t=n.gh||e,o=null;return i.isNullOrUndefined(this.$slots.default)||(o=n.gh?this.$slots.default():this.$slots.default),t("div",o)},o.prototype.calculatePreviousLevelChildItems=function(e,t,n,o){return this.ej2Instances.calculatePreviousLevelChildItems(e,t,n,o)},o.prototype.calculateSelectedTextLevels=function(e,t){return this.ej2Instances.calculateSelectedTextLevels(e,t)},o.prototype.clickOnTreeMap=function(e){return this.ej2Instances.clickOnTreeMap(e)},o.prototype.compareSelectedLabelWithDrillDownItems=function(e,t,n){return this.ej2Instances.compareSelectedLabelWithDrillDownItems(e,t,n)},o.prototype.doubleClickOnTreeMap=function(e){return this.ej2Instances.doubleClickOnTreeMap(e)},o.prototype.export=function(e,t,n,o){return this.ej2Instances.export(e,t,n,o)},o.prototype.findTotalWeight=function(e,t){return this.ej2Instances.findTotalWeight(e,t)},o.prototype.mouseDownOnTreeMap=function(e){return this.ej2Instances.mouseDownOnTreeMap(e)},o.prototype.mouseEndOnTreeMap=function(e){return this.ej2Instances.mouseEndOnTreeMap(e)},o.prototype.mouseLeaveOnTreeMap=function(e){return this.ej2Instances.mouseLeaveOnTreeMap(e)},o.prototype.mouseMoveOnTreeMap=function(e){return this.ej2Instances.mouseMoveOnTreeMap(e)},o.prototype.print=function(e){return this.ej2Instances.print(e)},o.prototype.reOrderLevelData=function(e){return this.ej2Instances.reOrderLevelData(e)},o.prototype.resizeOnTreeMap=function(e){return this.ej2Instances.resizeOnTreeMap(e)},o.prototype.rightClickOnTreeMap=function(e){return this.ej2Instances.rightClickOnTreeMap(e)},o.prototype.selectItem=function(e,t){return this.ej2Instances.selectItem(e,t)},o=I([n.EJComponentDecorator({props:P},k)],o)}(n.ComponentBase),S={name:"ejs-treemap",install:function(e){e.component(S.name,R),e.component(b.name,O),e.component(j.name,v),e.component(d.name,h),e.component(f.name,u)}};e.ColorMappingsDirective=u,e.ColorMappingDirective=h,e.ColorMappingsPlugin=f,e.ColorMappingPlugin=d,e.LevelsDirective=v,e.LevelDirective=O,e.LevelsPlugin=j,e.LevelPlugin=b,e.TreeMapComponent=R,e.TreeMapPlugin=S,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ /*!
11
+ * filename: ej2-vue-treemap.umd.min.js
12
+ * version : 20.1.47
13
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
+ * Use of this code is subject to the terms of our license.
15
+ * A copy of the current license can be obtained at any time by e-mailing
16
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
17
+ * applicable laws.
18
+ */
19
+ /*!
20
+ * filename: ej2-vue-treemap.umd.min.js
21
+ * version : 19.4.38
22
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
23
+ * Use of this code is subject to the terms of our license.
24
+ * A copy of the current license can be obtained at any time by e-mailing
25
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
26
+ * applicable laws.
27
+ */
28
+ /*!
29
+ * filename: ej2-vue-treemap.umd.min.js
30
+ * version : 19.1.63
31
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
32
+ * Use of this code is subject to the terms of our license.
33
+ * A copy of the current license can be obtained at any time by e-mailing
34
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
35
+ * applicable laws.
36
+ */
37
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-treemap"),require("vue"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-treemap","vue","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Treemap,e.Vue,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var r=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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),s={name:"e-colorMappings",install:function(e){e.component(s.name,c)}},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),a={name:"e-colorMapping",install:function(e){e.component(a.name,p)}},l=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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),u=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){},t=u([o.EJComponentDecorator({})],t)}(n),d={name:"e-levels",install:function(e){e.component(d.name,f)}},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){},t=u([o.EJComponentDecorator({})],t)}(n),m={name:"e-level",install:function(e){e.component(m.name,h)}},y=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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),g=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},j=["allowImageExport","allowPdfExport","allowPrint","background","border","breadcrumbConnector","colorValuePath","dataSource","description","drillDownView","enableBreadcrumb","enableDrillDown","enablePersistence","enableRtl","equalColorValuePath","format","height","highlightSettings","initialDrillDown","layoutType","leafItemSettings","legendSettings","levels","locale","margin","palette","query","rangeColorValuePath","renderDirection","selectionSettings","tabIndex","theme","titleSettings","tooltipSettings","useGroupingSeparator","weightValuePath","width","beforePrint","click","doubleClick","drillEnd","drillStart","itemClick","itemHighlight","itemMove","itemRendering","itemSelected","legendItemRendering","legendRendering","load","loaded","mouseMove","resize","rightClick","tooltipRendering"],v=[],O=function(e){function n(){var n=e.call(this)||this;return n.propKeys=j,n.models=v,n.hasChildDirective=!0,n.hasInjectedModules=!0,n.tagMapper={"e-levels":{"e-level":{"e-colorMappings":"e-colorMapping"}}},n.tagNameMapper={"e-colorMappings":"e-colorMapping"},n.ej2Instances=new t.TreeMap({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return y(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.calculatePreviousLevelChildItems=function(e,t,n,o){return this.ej2Instances.calculatePreviousLevelChildItems(e,t,n,o)},n.prototype.calculateSelectedTextLevels=function(e,t){return this.ej2Instances.calculateSelectedTextLevels(e,t)},n.prototype.clickOnTreeMap=function(e){return this.ej2Instances.clickOnTreeMap(e)},n.prototype.compareSelectedLabelWithDrillDownItems=function(e,t,n){return this.ej2Instances.compareSelectedLabelWithDrillDownItems(e,t,n)},n.prototype.doubleClickOnTreeMap=function(e){return this.ej2Instances.doubleClickOnTreeMap(e)},n.prototype.export=function(e,t,n,o){return this.ej2Instances.export(e,t,n,o)},n.prototype.findTotalWeight=function(e,t){return this.ej2Instances.findTotalWeight(e,t)},n.prototype.mouseDownOnTreeMap=function(e){return this.ej2Instances.mouseDownOnTreeMap(e)},n.prototype.mouseEndOnTreeMap=function(e){return this.ej2Instances.mouseEndOnTreeMap(e)},n.prototype.mouseLeaveOnTreeMap=function(e){return this.ej2Instances.mouseLeaveOnTreeMap(e)},n.prototype.mouseMoveOnTreeMap=function(e){return this.ej2Instances.mouseMoveOnTreeMap(e)},n.prototype.print=function(e){return this.ej2Instances.print(e)},n.prototype.reOrderLevelData=function(e){return this.ej2Instances.reOrderLevelData(e)},n.prototype.resizeOnTreeMap=function(e){return this.ej2Instances.resizeOnTreeMap(e)},n.prototype.rightClickOnTreeMap=function(e){return this.ej2Instances.rightClickOnTreeMap(e)},n.prototype.selectItem=function(e,t){return this.ej2Instances.selectItem(e,t)},n=g([o.EJComponentDecorator({props:j})],n)}(o.ComponentBase),b={name:"ejs-treemap",install:function(e){e.component(b.name,O),e.component(m.name,h),e.component(d.name,f),e.component(a.name,p),e.component(s.name,c)}};e.ColorMappingsDirective=c,e.ColorMappingDirective=p,e.ColorMappingsPlugin=s,e.ColorMappingPlugin=a,e.LevelsDirective=f,e.LevelDirective=h,e.LevelsPlugin=d,e.LevelPlugin=m,e.TreeMapComponent=O,e.TreeMapPlugin=b,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
38
  //# sourceMappingURL=ej2-vue-treemap.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-treemap.umd.min.js","sources":["../src/treemap/colormapping.directive.js","../src/treemap/levels.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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport Vue from 'vue';\nexport var isExecute = gh ? false : true;\nvar vueImport;\nif (!isExecute || parseInt(allVue.version) < 3) {\n vueImport = Vue3.Vue;\n}\nelse {\n vueImport = Vue;\n}\nvar ColorMappingsDirective = /** @class */ (function (_super) {\n __extends(ColorMappingsDirective, _super);\n function ColorMappingsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColorMappingsDirective.prototype.render = function () {\n return;\n };\n ColorMappingsDirective.prototype.getTag = function () {\n return 'e-colorMappings';\n };\n ColorMappingsDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n ], ColorMappingsDirective);\n return ColorMappingsDirective;\n}(vueImport));\nexport { ColorMappingsDirective };\nexport var ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install: function (Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nvar ColorMappingDirective = /** @class */ (function (_super) {\n __extends(ColorMappingDirective, _super);\n function ColorMappingDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColorMappingDirective.prototype.render = function () {\n return;\n };\n ColorMappingDirective.prototype.getTag = function () {\n return 'e-colorMapping';\n };\n ColorMappingDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n ], ColorMappingDirective);\n return ColorMappingDirective;\n}(vueImport));\nexport { ColorMappingDirective };\nexport var ColorMappingPlugin = {\n name: 'e-colorMapping',\n install: function (Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport Vue from 'vue';\nexport var isExecute = gh ? false : true;\nvar vueImport;\nif (!isExecute || parseInt(allVue.version) < 3) {\n vueImport = Vue3.Vue;\n}\nelse {\n vueImport = Vue;\n}\nvar LevelsDirective = /** @class */ (function (_super) {\n __extends(LevelsDirective, _super);\n function LevelsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LevelsDirective.prototype.render = function () {\n return;\n };\n LevelsDirective.prototype.getTag = function () {\n return 'e-levels';\n };\n LevelsDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n ], LevelsDirective);\n return LevelsDirective;\n}(vueImport));\nexport { LevelsDirective };\nexport var LevelsPlugin = {\n name: 'e-levels',\n install: function (Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * `LevelsDirective` directive represent a levels of the react treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\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.prototype.render = function () {\n return;\n };\n LevelDirective.prototype.getTag = function () {\n return 'e-level';\n };\n LevelDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n ], LevelDirective);\n return LevelDirective;\n}(vueImport));\nexport { LevelDirective };\nexport var LevelPlugin = {\n name: 'e-level',\n install: function (Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { ColorMappingsDirective, ColorMappingDirective, ColorMappingsPlugin, ColorMappingPlugin } from './colormapping.directive';\nimport { LevelsDirective, LevelDirective, LevelsPlugin, LevelPlugin } from './levels.directive';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'allowImageExport', 'allowPdfExport', 'allowPrint', 'background', 'border', 'breadcrumbConnector', 'colorValuePath', 'dataSource', 'description', 'drillDownView', 'enableBreadcrumb', 'enableDrillDown', 'enablePersistence', 'enableRtl', 'equalColorValuePath', 'format', 'height', 'highlightSettings', 'initialDrillDown', 'layoutType', 'leafItemSettings', 'legendSettings', 'levels', 'locale', 'margin', 'palette', 'query', 'rangeColorValuePath', 'renderDirection', 'selectionSettings', 'tabIndex', 'theme', 'titleSettings', 'tooltipSettings', 'useGroupingSeparator', 'weightValuePath', 'width', 'beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * Represents Vuejs TreeMap Component\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nvar TreeMapComponent = /** @class */ (function (_super) {\n __extends(TreeMapComponent, _super);\n function TreeMapComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = true;\n _this.hasInjectedModules = true;\n _this.tagMapper = { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } };\n _this.tagNameMapper = { \"e-colorMappings\": \"e-colorMapping\" };\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new TreeMap({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n return _this;\n }\n TreeMapComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n TreeMapComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n TreeMapComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n TreeMapComponent.prototype.calculatePreviousLevelChildItems = function (labelText, drillLevelValues, item, directLevel) {\n return this.ej2Instances.calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel);\n };\n TreeMapComponent.prototype.calculateSelectedTextLevels = function (labelText, item) {\n return this.ej2Instances.calculateSelectedTextLevels(labelText, item);\n };\n TreeMapComponent.prototype.clickOnTreeMap = function (e) {\n return this.ej2Instances.clickOnTreeMap(e);\n };\n TreeMapComponent.prototype.compareSelectedLabelWithDrillDownItems = function (drillLevelValues, item, i) {\n return this.ej2Instances.compareSelectedLabelWithDrillDownItems(drillLevelValues, item, i);\n };\n TreeMapComponent.prototype.doubleClickOnTreeMap = function (e) {\n return this.ej2Instances.doubleClickOnTreeMap(e);\n };\n TreeMapComponent.prototype.export = function (type, fileName, orientation, allowDownload) {\n return this.ej2Instances.export(type, fileName, orientation, allowDownload);\n };\n TreeMapComponent.prototype.findTotalWeight = function (processData, type) {\n return this.ej2Instances.findTotalWeight(processData, type);\n };\n TreeMapComponent.prototype.mouseDownOnTreeMap = function (e) {\n return this.ej2Instances.mouseDownOnTreeMap(e);\n };\n TreeMapComponent.prototype.mouseEndOnTreeMap = function (e) {\n return this.ej2Instances.mouseEndOnTreeMap(e);\n };\n TreeMapComponent.prototype.mouseLeaveOnTreeMap = function (e) {\n return this.ej2Instances.mouseLeaveOnTreeMap(e);\n };\n TreeMapComponent.prototype.mouseMoveOnTreeMap = function (e) {\n return this.ej2Instances.mouseMoveOnTreeMap(e);\n };\n TreeMapComponent.prototype.print = function (id) {\n return this.ej2Instances.print(id);\n };\n TreeMapComponent.prototype.reOrderLevelData = function (start) {\n return this.ej2Instances.reOrderLevelData(start);\n };\n TreeMapComponent.prototype.resizeOnTreeMap = function (e) {\n return this.ej2Instances.resizeOnTreeMap(e);\n };\n TreeMapComponent.prototype.rightClickOnTreeMap = function (e) {\n return this.ej2Instances.rightClickOnTreeMap(e);\n };\n TreeMapComponent.prototype.selectItem = function (levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n };\n TreeMapComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n ], TreeMapComponent);\n return TreeMapComponent;\n}(ComponentBase));\nexport { TreeMapComponent };\nexport var TreeMapPlugin = {\n name: 'ejs-treemap',\n install: function (Vue) {\n Vue.component(TreeMapPlugin.name, TreeMapComponent);\n Vue.component(LevelPlugin.name, LevelDirective);\n Vue.component(LevelsPlugin.name, LevelsDirective);\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\n"],"names":["vueImport","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","isExecute","gh","ColorMappingsDirective","_super","apply","render","getTag","EJComponentDecorator","parseInt","allVue","version","Vue3.Vue","Vue","ColorMappingsPlugin","name","install","component","ColorMappingDirective","ColorMappingPlugin","LevelsDirective","LevelsPlugin","LevelDirective","LevelPlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","keys","push","_i","modelProps_1","props_1","TreeMapComponent","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-levels","e-level","e-colorMappings","tagNameMapper","isVue3","ej2Instances","TreeMap","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateCollection","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","referModels","map","model","test","vueInstance","$emit","createElement","h","slots","isNullOrUndefined","$slots","default","calculatePreviousLevelChildItems","labelText","drillLevelValues","item","directLevel","calculateSelectedTextLevels","clickOnTreeMap","e","compareSelectedLabelWithDrillDownItems","doubleClickOnTreeMap","export","type","fileName","orientation","allowDownload","findTotalWeight","processData","mouseDownOnTreeMap","mouseEndOnTreeMap","mouseLeaveOnTreeMap","mouseMoveOnTreeMap","print","id","reOrderLevelData","start","resizeOnTreeMap","rightClickOnTreeMap","selectItem","levelOrder","isSelected","ComponentBase","TreeMapPlugin"],"mappings":"4hBAAA,IAuBIA,ECAAA,EDvBAC,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAA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vue-treemap.umd.min.js","sources":["../src/treemap/colormapping.directive.js","../src/treemap/levels.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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport Vue from 'vue';\nimport { EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nvar ColorMappingsDirective = /** @class */ (function (_super) {\n __extends(ColorMappingsDirective, _super);\n function ColorMappingsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColorMappingsDirective.prototype.render = function () {\n return;\n };\n ColorMappingsDirective = __decorate([\n EJComponentDecorator({})\n ], ColorMappingsDirective);\n return ColorMappingsDirective;\n}(Vue));\nexport { ColorMappingsDirective };\nexport var ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install: function (Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nvar ColorMappingDirective = /** @class */ (function (_super) {\n __extends(ColorMappingDirective, _super);\n function ColorMappingDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColorMappingDirective.prototype.render = function () {\n return;\n };\n ColorMappingDirective = __decorate([\n EJComponentDecorator({})\n ], ColorMappingDirective);\n return ColorMappingDirective;\n}(Vue));\nexport { ColorMappingDirective };\nexport var ColorMappingPlugin = {\n name: 'e-colorMapping',\n install: function (Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport Vue from 'vue';\nimport { EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nvar LevelsDirective = /** @class */ (function (_super) {\n __extends(LevelsDirective, _super);\n function LevelsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LevelsDirective.prototype.render = function () {\n return;\n };\n LevelsDirective = __decorate([\n EJComponentDecorator({})\n ], LevelsDirective);\n return LevelsDirective;\n}(Vue));\nexport { LevelsDirective };\nexport var LevelsPlugin = {\n name: 'e-levels',\n install: function (Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * `LevelsDirective` directive represent a levels of the react treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\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.prototype.render = function () {\n return;\n };\n LevelDirective = __decorate([\n EJComponentDecorator({})\n ], LevelDirective);\n return LevelDirective;\n}(Vue));\nexport { LevelDirective };\nexport var LevelPlugin = {\n name: 'e-level',\n install: function (Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { ColorMappingsDirective, ColorMappingDirective, ColorMappingsPlugin, ColorMappingPlugin } from './colormapping.directive';\nimport { LevelsDirective, LevelDirective, LevelsPlugin, LevelPlugin } from './levels.directive';\nexport var properties = ['allowImageExport', 'allowPdfExport', 'allowPrint', 'background', 'border', 'breadcrumbConnector', 'colorValuePath', 'dataSource', 'description', 'drillDownView', 'enableBreadcrumb', 'enableDrillDown', 'enablePersistence', 'enableRtl', 'equalColorValuePath', 'format', 'height', 'highlightSettings', 'initialDrillDown', 'layoutType', 'leafItemSettings', 'legendSettings', 'levels', 'locale', 'margin', 'palette', 'query', 'rangeColorValuePath', 'renderDirection', 'selectionSettings', 'tabIndex', 'theme', 'titleSettings', 'tooltipSettings', 'useGroupingSeparator', 'weightValuePath', 'width', 'beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];\nexport var modelProps = [];\n/**\n * Represents Vuejs TreeMap Component\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nvar TreeMapComponent = /** @class */ (function (_super) {\n __extends(TreeMapComponent, _super);\n function TreeMapComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = true;\n _this.hasInjectedModules = true;\n _this.tagMapper = { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } };\n _this.tagNameMapper = { \"e-colorMappings\": \"e-colorMapping\" };\n _this.ej2Instances = new TreeMap({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n TreeMapComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n TreeMapComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n TreeMapComponent.prototype.calculatePreviousLevelChildItems = function (labelText, drillLevelValues, item, directLevel) {\n return this.ej2Instances.calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel);\n };\n TreeMapComponent.prototype.calculateSelectedTextLevels = function (labelText, item) {\n return this.ej2Instances.calculateSelectedTextLevels(labelText, item);\n };\n TreeMapComponent.prototype.clickOnTreeMap = function (e) {\n return this.ej2Instances.clickOnTreeMap(e);\n };\n TreeMapComponent.prototype.compareSelectedLabelWithDrillDownItems = function (drillLevelValues, item, i) {\n return this.ej2Instances.compareSelectedLabelWithDrillDownItems(drillLevelValues, item, i);\n };\n TreeMapComponent.prototype.doubleClickOnTreeMap = function (e) {\n return this.ej2Instances.doubleClickOnTreeMap(e);\n };\n TreeMapComponent.prototype.export = function (type, fileName, orientation, allowDownload) {\n return this.ej2Instances.export(type, fileName, orientation, allowDownload);\n };\n TreeMapComponent.prototype.findTotalWeight = function (processData, type) {\n return this.ej2Instances.findTotalWeight(processData, type);\n };\n TreeMapComponent.prototype.mouseDownOnTreeMap = function (e) {\n return this.ej2Instances.mouseDownOnTreeMap(e);\n };\n TreeMapComponent.prototype.mouseEndOnTreeMap = function (e) {\n return this.ej2Instances.mouseEndOnTreeMap(e);\n };\n TreeMapComponent.prototype.mouseLeaveOnTreeMap = function (e) {\n return this.ej2Instances.mouseLeaveOnTreeMap(e);\n };\n TreeMapComponent.prototype.mouseMoveOnTreeMap = function (e) {\n return this.ej2Instances.mouseMoveOnTreeMap(e);\n };\n TreeMapComponent.prototype.print = function (id) {\n return this.ej2Instances.print(id);\n };\n TreeMapComponent.prototype.reOrderLevelData = function (start) {\n return this.ej2Instances.reOrderLevelData(start);\n };\n TreeMapComponent.prototype.resizeOnTreeMap = function (e) {\n return this.ej2Instances.resizeOnTreeMap(e);\n };\n TreeMapComponent.prototype.rightClickOnTreeMap = function (e) {\n return this.ej2Instances.rightClickOnTreeMap(e);\n };\n TreeMapComponent.prototype.selectItem = function (levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n };\n TreeMapComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], TreeMapComponent);\n return TreeMapComponent;\n}(ComponentBase));\nexport { TreeMapComponent };\nexport var TreeMapPlugin = {\n name: 'ejs-treemap',\n install: function (Vue) {\n Vue.component(TreeMapPlugin.name, TreeMapComponent);\n Vue.component(LevelPlugin.name, LevelDirective);\n Vue.component(LevelsPlugin.name, LevelsDirective);\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","ColorMappingsDirective","_super","apply","render","EJComponentDecorator","Vue","ColorMappingsPlugin","name","install","component","ColorMappingDirective","ColorMappingPlugin","LevelsDirective","LevelsPlugin","LevelDirective","LevelPlugin","properties","modelProps","TreeMapComponent","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-levels","e-level","e-colorMappings","tagNameMapper","ej2Instances","TreeMap","bindProperties","_setProperties","setProperties","prop","muteOnChange","keys","map","model","test","$emit","createElement","$slots","default","calculatePreviousLevelChildItems","labelText","drillLevelValues","item","directLevel","calculateSelectedTextLevels","clickOnTreeMap","e","compareSelectedLabelWithDrillDownItems","doubleClickOnTreeMap","export","type","fileName","orientation","allowDownload","findTotalWeight","processData","mouseDownOnTreeMap","mouseEndOnTreeMap","mouseLeaveOnTreeMap","mouseMoveOnTreeMap","print","id","reOrderLevelData","start","resizeOnTreeMap","rightClickOnTreeMap","selectItem","levelOrder","isSelected","props","ComponentBase","TreeMapPlugin"],"mappings":"yZAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK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OAAOtE,KAAKgD,aAAamC,mBAAmBb,IAEhDlC,EAAiBlC,UAAUkF,MAAQ,SAAUC,GACzC,OAAOrF,KAAKgD,aAAaoC,MAAMC,IAEnCjD,EAAiBlC,UAAUoF,iBAAmB,SAAUC,GACpD,OAAOvF,KAAKgD,aAAasC,iBAAiBC,IAE9CnD,EAAiBlC,UAAUsF,gBAAkB,SAAUlB,GACnD,OAAOtE,KAAKgD,aAAawC,gBAAgBlB,IAE7ClC,EAAiBlC,UAAUuF,oBAAsB,SAAUnB,GACvD,OAAOtE,KAAKgD,aAAayC,oBAAoBnB,IAEjDlC,EAAiBlC,UAAUwF,WAAa,SAAUC,EAAYC,GAC1D,OAAO5F,KAAKgD,aAAa0C,WAAWC,EAAYC,IAEpDxD,EAAmBhC,GACfkB,wBACIuE,MAAO3D,KAEZE,IAEL0D,iBAESC,GACPtE,KAAM,cACNC,QAAS,SAAUH,GACfA,EAAII,UAAUoE,EAActE,KAAMW,GAClCb,EAAII,UAAUM,EAAYR,KAAMO,GAChCT,EAAII,UAAUI,EAAaN,KAAMK,GACjCP,EAAII,UAAUE,EAAmBJ,KAAMG,GACvCL,EAAII,UAAUH,EAAoBC,KAAMP"}
@@ -1,8 +1,8 @@
1
1
  import { TreeMap } from '@syncfusion/ej2-treemap';
2
2
  import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
3
3
  import { Vue } from 'vue-class-component';
4
- import Vue$1 from 'vue';
5
4
  import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
5
+ import Vue$1 from 'vue';
6
6
 
7
7
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8
8
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -10,6 +10,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
10
10
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
11
11
  return c > 3 && r && Object.defineProperty(target, key, r), r;
12
12
  };
13
+ // {{VueImport}}
13
14
  const isExecute = gh ? false : true;
14
15
  let vueImport;
15
16
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -18,16 +19,47 @@ if (!isExecute || parseInt(allVue.version) < 3) {
18
19
  else {
19
20
  vueImport = Vue$1;
20
21
  }
21
- let ColorMappingsDirective = class ColorMappingsDirective extends vueImport {
22
- render() {
22
+ let ColorMappingsDirective =
23
+ /* Start Options({
24
+ inject: {
25
+ custom: {
26
+ default: null
27
+ }
28
+ }
29
+ }) End */
30
+ class ColorMappingsDirective extends vueImport {
31
+ constructor() {
32
+ super(arguments);
33
+ }
34
+ render(createElement) {
35
+ if (gh) {
36
+ let h = gh || createElement;
37
+ let slots = null;
38
+ if (!isNullOrUndefined(this.$slots.default)) {
39
+ slots = gh ? this.$slots.default() : this.$slots.default;
40
+ }
41
+ return h('div', { class: 'e-directive' }, slots);
42
+ }
23
43
  return;
24
44
  }
45
+ updated() {
46
+ if (gh && this.custom) {
47
+ this.custom();
48
+ }
49
+ }
25
50
  getTag() {
26
51
  return 'e-colorMappings';
27
52
  }
28
53
  };
29
54
  ColorMappingsDirective = __decorate([
30
55
  EJComponentDecorator({}, isExecute)
56
+ /* Start Options({
57
+ inject: {
58
+ custom: {
59
+ default: null
60
+ }
61
+ }
62
+ }) End */
31
63
  ], ColorMappingsDirective);
32
64
  const ColorMappingsPlugin = {
33
65
  name: 'e-colorMappings',
@@ -59,6 +91,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
59
91
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
60
92
  return c > 3 && r && Object.defineProperty(target, key, r), r;
61
93
  };
94
+ // {{VueImport}}
62
95
  const isExecute$1 = gh ? false : true;
63
96
  let vueImport$1;
64
97
  if (!isExecute$1 || parseInt(allVue.version) < 3) {
@@ -67,16 +100,47 @@ if (!isExecute$1 || parseInt(allVue.version) < 3) {
67
100
  else {
68
101
  vueImport$1 = Vue$1;
69
102
  }
70
- let LevelsDirective = class LevelsDirective extends vueImport$1 {
71
- render() {
103
+ let LevelsDirective =
104
+ /* Start Options({
105
+ inject: {
106
+ custom: {
107
+ default: null
108
+ }
109
+ }
110
+ }) End */
111
+ class LevelsDirective extends vueImport$1 {
112
+ constructor() {
113
+ super(arguments);
114
+ }
115
+ render(createElement) {
116
+ if (gh) {
117
+ let h = gh || createElement;
118
+ let slots = null;
119
+ if (!isNullOrUndefined(this.$slots.default)) {
120
+ slots = gh ? this.$slots.default() : this.$slots.default;
121
+ }
122
+ return h('div', { class: 'e-directive' }, slots);
123
+ }
72
124
  return;
73
125
  }
126
+ updated() {
127
+ if (gh && this.custom) {
128
+ this.custom();
129
+ }
130
+ }
74
131
  getTag() {
75
132
  return 'e-levels';
76
133
  }
77
134
  };
78
135
  LevelsDirective = __decorate$1([
79
136
  EJComponentDecorator({}, isExecute$1)
137
+ /* Start Options({
138
+ inject: {
139
+ custom: {
140
+ default: null
141
+ }
142
+ }
143
+ }) End */
80
144
  ], LevelsDirective);
81
145
  const LevelsPlugin = {
82
146
  name: 'e-levels',
@@ -140,7 +204,12 @@ let TreeMapComponent =
140
204
  /* Start Options({
141
205
  props: props,
142
206
  watch: watch,
143
- emits: emitProbs
207
+ emits: emitProbs,
208
+ provide: function provide() {
209
+ return {
210
+ custom: this.custom
211
+ };
212
+ }
144
213
  }) End */
145
214
  class TreeMapComponent extends ComponentBase {
146
215
  constructor() {
@@ -157,6 +226,7 @@ class TreeMapComponent extends ComponentBase {
157
226
  this.ej2Instances._setProperties = this.ej2Instances.setProperties;
158
227
  this.ej2Instances.setProperties = this.setProperties;
159
228
  this.ej2Instances.clearTemplate = this.clearTemplate;
229
+ this.updated = this.updated;
160
230
  }
161
231
  clearTemplate(templateNames) {
162
232
  if (!templateNames) {
@@ -211,6 +281,9 @@ class TreeMapComponent extends ComponentBase {
211
281
  }
212
282
  return h('div', slots);
213
283
  }
284
+ custom() {
285
+ this.updated();
286
+ }
214
287
  calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel) {
215
288
  return this.ej2Instances.calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel);
216
289
  }
@@ -267,7 +340,12 @@ TreeMapComponent = __decorate$2([
267
340
  /* Start Options({
268
341
  props: props,
269
342
  watch: watch,
270
- emits: emitProbs
343
+ emits: emitProbs,
344
+ provide: function provide() {
345
+ return {
346
+ custom: this.custom
347
+ };
348
+ }
271
349
  }) End */
272
350
  ], TreeMapComponent);
273
351
  const TreeMapPlugin = {
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-treemap.es2015.js","sources":["../src/es6/treemap/colormapping.directive.js","../src/es6/treemap/levels.directive.js","../src/es6/treemap/treemap.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport Vue from 'vue';\nexport const isExecute = gh ? false : true;\nlet vueImport;\nif (!isExecute || parseInt(allVue.version) < 3) {\n vueImport = Vue3.Vue;\n}\nelse {\n vueImport = Vue;\n}\nlet ColorMappingsDirective = class ColorMappingsDirective extends vueImport {\n render() {\n return;\n }\n getTag() {\n return 'e-colorMappings';\n }\n};\nColorMappingsDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n], ColorMappingsDirective);\nexport { ColorMappingsDirective };\nexport const ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install(Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nlet ColorMappingDirective = class ColorMappingDirective extends vueImport {\n render() {\n return;\n }\n getTag() {\n return 'e-colorMapping';\n }\n};\nColorMappingDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n], ColorMappingDirective);\nexport { ColorMappingDirective };\nexport const ColorMappingPlugin = {\n name: 'e-colorMapping',\n install(Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\n","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport Vue from 'vue';\nexport const isExecute = gh ? false : true;\nlet vueImport;\nif (!isExecute || parseInt(allVue.version) < 3) {\n vueImport = Vue3.Vue;\n}\nelse {\n vueImport = Vue;\n}\nlet LevelsDirective = class LevelsDirective extends vueImport {\n render() {\n return;\n }\n getTag() {\n return 'e-levels';\n }\n};\nLevelsDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n], LevelsDirective);\nexport { LevelsDirective };\nexport const LevelsPlugin = {\n name: 'e-levels',\n install(Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * `LevelsDirective` directive represent a levels of the react treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\n * ```\n */\nlet LevelDirective = class LevelDirective extends vueImport {\n render() {\n return;\n }\n getTag() {\n return 'e-level';\n }\n};\nLevelDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n], LevelDirective);\nexport { LevelDirective };\nexport const LevelPlugin = {\n name: 'e-level',\n install(Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\n","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { ColorMappingsDirective, ColorMappingDirective, ColorMappingsPlugin, ColorMappingPlugin } from './colormapping.directive';\nimport { LevelsDirective, LevelDirective, LevelsPlugin, LevelPlugin } from './levels.directive';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'allowImageExport', 'allowPdfExport', 'allowPrint', 'background', 'border', 'breadcrumbConnector', 'colorValuePath', 'dataSource', 'description', 'drillDownView', 'enableBreadcrumb', 'enableDrillDown', 'enablePersistence', 'enableRtl', 'equalColorValuePath', 'format', 'height', 'highlightSettings', 'initialDrillDown', 'layoutType', 'leafItemSettings', 'legendSettings', 'levels', 'locale', 'margin', 'palette', 'query', 'rangeColorValuePath', 'renderDirection', 'selectionSettings', 'tabIndex', 'theme', 'titleSettings', 'tooltipSettings', 'useGroupingSeparator', 'weightValuePath', 'width', 'beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * Represents Vuejs TreeMap Component\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nlet TreeMapComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n}) End */\nclass TreeMapComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = true;\n this.hasInjectedModules = true;\n this.tagMapper = { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } };\n this.tagNameMapper = { \"e-colorMappings\": \"e-colorMapping\" };\n this.isVue3 = !isExecute;\n this.ej2Instances = new TreeMap({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel) {\n return this.ej2Instances.calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel);\n }\n calculateSelectedTextLevels(labelText, item) {\n return this.ej2Instances.calculateSelectedTextLevels(labelText, item);\n }\n clickOnTreeMap(e) {\n return this.ej2Instances.clickOnTreeMap(e);\n }\n compareSelectedLabelWithDrillDownItems(drillLevelValues, item, i) {\n return this.ej2Instances.compareSelectedLabelWithDrillDownItems(drillLevelValues, item, i);\n }\n doubleClickOnTreeMap(e) {\n return this.ej2Instances.doubleClickOnTreeMap(e);\n }\n export(type, fileName, orientation, allowDownload) {\n return this.ej2Instances.export(type, fileName, orientation, allowDownload);\n }\n findTotalWeight(processData, type) {\n return this.ej2Instances.findTotalWeight(processData, type);\n }\n mouseDownOnTreeMap(e) {\n return this.ej2Instances.mouseDownOnTreeMap(e);\n }\n mouseEndOnTreeMap(e) {\n return this.ej2Instances.mouseEndOnTreeMap(e);\n }\n mouseLeaveOnTreeMap(e) {\n return this.ej2Instances.mouseLeaveOnTreeMap(e);\n }\n mouseMoveOnTreeMap(e) {\n return this.ej2Instances.mouseMoveOnTreeMap(e);\n }\n print(id) {\n return this.ej2Instances.print(id);\n }\n reOrderLevelData(start) {\n return this.ej2Instances.reOrderLevelData(start);\n }\n resizeOnTreeMap(e) {\n return this.ej2Instances.resizeOnTreeMap(e);\n }\n rightClickOnTreeMap(e) {\n return this.ej2Instances.rightClickOnTreeMap(e);\n }\n selectItem(levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n }\n};\nTreeMapComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n], TreeMapComponent);\nexport { TreeMapComponent };\nexport const TreeMapPlugin = {\n name: 'ejs-treemap',\n install(Vue) {\n Vue.component(TreeMapPlugin.name, TreeMapComponent);\n Vue.component(LevelPlugin.name, LevelDirective);\n Vue.component(LevelsPlugin.name, LevelsDirective);\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\n"],"names":["this","Vue3.Vue","Vue","__decorate","isExecute","vueImport"],"mappings":";;;;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;SAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAA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EAAE,aAAa;IACnB,OAAO,CAACF,MAAG,EAAE;QACTA,MAAG,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACpDA,MAAG,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAChDA,MAAG,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QAClDA,MAAG,CAAC,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;QAC9DA,MAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-treemap.es2015.js","sources":["../src/es6/treemap/colormapping.directive.js","../src/es6/treemap/levels.directive.js","../src/es6/treemap/treemap.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport Vue from 'vue';\n// {{VueImport}}\nexport const isExecute = gh ? false : true;\nlet vueImport;\nif (!isExecute || parseInt(allVue.version) < 3) {\n vueImport = Vue3.Vue;\n}\nelse {\n vueImport = Vue;\n}\nlet ColorMappingsDirective = \n/* Start Options({\n inject: {\n custom: {\n default: null\n }\n }\n}) End */\nclass ColorMappingsDirective extends vueImport {\n constructor() {\n super(arguments);\n }\n render(createElement) {\n if (gh) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n }\n updated() {\n if (gh && this.custom) {\n this.custom();\n }\n }\n getTag() {\n return 'e-colorMappings';\n }\n};\nColorMappingsDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n /* Start Options({\n inject: {\n custom: {\n default: null\n }\n }\n }) End */\n], ColorMappingsDirective);\nexport { ColorMappingsDirective };\nexport const ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install(Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nlet ColorMappingDirective = class ColorMappingDirective extends vueImport {\n render() {\n return;\n }\n getTag() {\n return 'e-colorMapping';\n }\n};\nColorMappingDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n], ColorMappingDirective);\nexport { ColorMappingDirective };\nexport const ColorMappingPlugin = {\n name: 'e-colorMapping',\n install(Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\n","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport Vue from 'vue';\n// {{VueImport}}\nexport const isExecute = gh ? false : true;\nlet vueImport;\nif (!isExecute || parseInt(allVue.version) < 3) {\n vueImport = Vue3.Vue;\n}\nelse {\n vueImport = Vue;\n}\nlet LevelsDirective = \n/* Start Options({\n inject: {\n custom: {\n default: null\n }\n }\n}) End */\nclass LevelsDirective extends vueImport {\n constructor() {\n super(arguments);\n }\n render(createElement) {\n if (gh) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n }\n updated() {\n if (gh && this.custom) {\n this.custom();\n }\n }\n getTag() {\n return 'e-levels';\n }\n};\nLevelsDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n /* Start Options({\n inject: {\n custom: {\n default: null\n }\n }\n }) End */\n], LevelsDirective);\nexport { LevelsDirective };\nexport const LevelsPlugin = {\n name: 'e-levels',\n install(Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * `LevelsDirective` directive represent a levels of the react treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\n * ```\n */\nlet LevelDirective = class LevelDirective extends vueImport {\n render() {\n return;\n }\n getTag() {\n return 'e-level';\n }\n};\nLevelDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n], LevelDirective);\nexport { LevelDirective };\nexport const LevelPlugin = {\n name: 'e-level',\n install(Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\n","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { ColorMappingsDirective, ColorMappingDirective, ColorMappingsPlugin, ColorMappingPlugin } from './colormapping.directive';\nimport { LevelsDirective, LevelDirective, LevelsPlugin, LevelPlugin } from './levels.directive';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'allowImageExport', 'allowPdfExport', 'allowPrint', 'background', 'border', 'breadcrumbConnector', 'colorValuePath', 'dataSource', 'description', 'drillDownView', 'enableBreadcrumb', 'enableDrillDown', 'enablePersistence', 'enableRtl', 'equalColorValuePath', 'format', 'height', 'highlightSettings', 'initialDrillDown', 'layoutType', 'leafItemSettings', 'legendSettings', 'levels', 'locale', 'margin', 'palette', 'query', 'rangeColorValuePath', 'renderDirection', 'selectionSettings', 'tabIndex', 'theme', 'titleSettings', 'tooltipSettings', 'useGroupingSeparator', 'weightValuePath', 'width', 'beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * Represents Vuejs TreeMap Component\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nlet TreeMapComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass TreeMapComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = true;\n this.hasInjectedModules = true;\n this.tagMapper = { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } };\n this.tagNameMapper = { \"e-colorMappings\": \"e-colorMapping\" };\n this.isVue3 = !isExecute;\n this.ej2Instances = new TreeMap({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n custom() {\n this.updated();\n }\n calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel) {\n return this.ej2Instances.calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel);\n }\n calculateSelectedTextLevels(labelText, item) {\n return this.ej2Instances.calculateSelectedTextLevels(labelText, item);\n }\n clickOnTreeMap(e) {\n return this.ej2Instances.clickOnTreeMap(e);\n }\n compareSelectedLabelWithDrillDownItems(drillLevelValues, item, i) {\n return this.ej2Instances.compareSelectedLabelWithDrillDownItems(drillLevelValues, item, i);\n }\n doubleClickOnTreeMap(e) {\n return this.ej2Instances.doubleClickOnTreeMap(e);\n }\n export(type, fileName, orientation, allowDownload) {\n return this.ej2Instances.export(type, fileName, orientation, allowDownload);\n }\n findTotalWeight(processData, type) {\n return this.ej2Instances.findTotalWeight(processData, type);\n }\n mouseDownOnTreeMap(e) {\n return this.ej2Instances.mouseDownOnTreeMap(e);\n }\n mouseEndOnTreeMap(e) {\n return this.ej2Instances.mouseEndOnTreeMap(e);\n }\n mouseLeaveOnTreeMap(e) {\n return this.ej2Instances.mouseLeaveOnTreeMap(e);\n }\n mouseMoveOnTreeMap(e) {\n return this.ej2Instances.mouseMoveOnTreeMap(e);\n }\n print(id) {\n return this.ej2Instances.print(id);\n }\n reOrderLevelData(start) {\n return this.ej2Instances.reOrderLevelData(start);\n }\n resizeOnTreeMap(e) {\n return this.ej2Instances.resizeOnTreeMap(e);\n }\n rightClickOnTreeMap(e) {\n return this.ej2Instances.rightClickOnTreeMap(e);\n }\n selectItem(levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n }\n};\nTreeMapComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], TreeMapComponent);\nexport { TreeMapComponent };\nexport const TreeMapPlugin = {\n name: 'ejs-treemap',\n install(Vue) {\n Vue.component(TreeMapPlugin.name, TreeMapComponent);\n Vue.component(LevelPlugin.name, LevelDirective);\n Vue.component(LevelsPlugin.name, LevelsDirective);\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\n"],"names":["this","Vue3.Vue","Vue","__decorate","isExecute","vueImport"],"mappings":";;;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