@syncfusion/ej2-vue-treemap 24.2.3 → 25.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-treemap.umd.min.js
3
- * version : 24.2.3
3
+ * version : 25.1.35
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-treemap","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Treemap,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,i){"use strict";var s=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},s)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-colorMappings"}}}),o={name:"e-colorMappings",install:function(e){e.component(o.name,s)}},l=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-colorMapping"}}}),r={name:"e-colorMapping",install:function(e){e.component(r.name,l)}},a=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},s)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-levels"}}}),u={name:"e-levels",install:function(e){e.component(u.name,a)}},c=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-level"}}}),p={name:"e-level",install:function(e){e.component(p.name,c)}},d=["isLazyUpdate","plugins","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"],m=[],h=n.getProps({props:d}),f=h[0],g=h[1],v=Object.keys(g);v.push("modelchanged","update:modelValue");for(var j=0,M=m;j<M.length;j++){var C=M[j];v.push("update:"+C)}var b=n.vueDefineComponent({name:"TreeMapComponent",mixins:[n.ComponentBase],props:f,watch:g,emits:v,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instance:new t.TreeMap({}),propKeys:d,models:m,hasChildDirective:!0,hasInjectedModules:!0,tagMapper:{"e-levels":{"e-level":{"e-colorMappings":"e-colorMapping"}}},tagNameMapper:{"e-colorMappings":"e-colorMapping"},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",s)},methods:{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 s=n[t],o=this.templateCollection[s];if(o&&o.length){for(var l=0,r=o;l<r.length;l++){var a=r[l];i.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[s]}}},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(i){t!==i||/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])))})})},custom:function(){this.updated()},doubleClickOnTreeMap:function(e){return this.ej2Instances.doubleClickOnTreeMap(e)},export:function(e,t,n,i){return this.ej2Instances.export(e,t,n,i)},print:function(e){return this.ej2Instances.print(e)},selectItem:function(e,t){return this.ej2Instances.selectItem(e,t)}}}),P={name:"ejs-treemap",install:function(e){e.component(P.name,b),e.component(p.name,c),e.component(u.name,a),e.component(r.name,l),e.component(o.name,s)}};e.ColorMappingsDirective=s,e.ColorMappingDirective=l,e.ColorMappingsPlugin=o,e.ColorMappingPlugin=r,e.LevelsDirective=a,e.LevelDirective=c,e.LevelsPlugin=u,e.LevelPlugin=p,e.TreeMapComponent=b,e.TreeMapPlugin=P,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-treemap"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-treemap","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Treemap,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,i){"use strict";var s=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},s)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-colorMappings"}}}),o={name:"e-colorMappings",install:function(e){e.component(o.name,s)}},l=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-colorMapping"}}}),r={name:"e-colorMapping",install:function(e){e.component(r.name,l)}},a=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},s)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-levels"}}}),u={name:"e-levels",install:function(e){e.component(u.name,a)}},c=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-level"}}}),p={name:"e-level",install:function(e){e.component(p.name,c)}},d=["isLazyUpdate","plugins","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"],m=[],h=n.getProps({props:d}),f=h[0],g=h[1],v=Object.keys(g);v.push("modelchanged","update:modelValue");for(var j=0,M=m;j<M.length;j++){var C=M[j];v.push("update:"+C)}var b=n.vueDefineComponent({name:"TreeMapComponent",mixins:[n.ComponentBase],props:f,watch:g,emits:v,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.TreeMap({}),propKeys:d,models:m,hasChildDirective:!0,hasInjectedModules:!0,tagMapper:{"e-levels":{"e-level":{"e-colorMappings":"e-colorMapping"}}},tagNameMapper:{"e-colorMappings":"e-colorMapping"},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",s)},methods:{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 s=n[t],o=this.templateCollection[s];if(o&&o.length){for(var l=0,r=o;l<r.length;l++){var a=r[l];i.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[s]}}},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(i){t!==i||/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])))})})},custom:function(){this.updated()},doubleClickOnTreeMap:function(e){return this.ej2Instances.doubleClickOnTreeMap(e)},export:function(e,t,n,i){return this.ej2Instances.export(e,t,n,i)},print:function(e){return this.ej2Instances.print(e)},selectItem:function(e,t){return this.ej2Instances.selectItem(e,t)}}}),P={name:"ejs-treemap",install:function(e){e.component(P.name,b),e.component(p.name,c),e.component(u.name,a),e.component(r.name,l),e.component(o.name,s)}};e.ColorMappingsDirective=s,e.ColorMappingDirective=l,e.ColorMappingsPlugin=o,e.ColorMappingPlugin=r,e.LevelsDirective=a,e.LevelDirective=c,e.LevelsPlugin=u,e.LevelPlugin=p,e.TreeMapComponent=b,e.TreeMapPlugin=P,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# 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":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var ColorMappingsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-colorMappings';\n }\n }\n});\nexport var ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install: function (Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nexport var ColorMappingDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-colorMapping';\n }\n }\n});\nexport var ColorMappingPlugin = {\n name: 'e-colorMapping',\n install: function (Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var LevelsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-levels';\n }\n }\n});\nexport var LevelsPlugin = {\n name: 'e-levels',\n install: function (Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\n * ```\n */\nexport var LevelDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-level';\n }\n }\n});\nexport var LevelPlugin = {\n name: 'e-level',\n install: function (Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } 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';\nexport var properties = ['isLazyUpdate', 'plugins', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the Vue TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nexport var TreeMapComponent = vueDefineComponent({\n name: 'TreeMapComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instance: new TreeMap({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } },\n tagNameMapper: { \"e-colorMappings\": \"e-colorMapping\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n doubleClickOnTreeMap: function (e) {\n return this.ej2Instances.doubleClickOnTreeMap(e);\n },\n export: function (type, fileName, orientation, allowDownload) {\n return this.ej2Instances.export(type, fileName, orientation, allowDownload);\n },\n print: function (id) {\n return this.ej2Instances.print(id);\n },\n selectItem: function (levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n },\n }\n});\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":["ColorMappingsDirective","vueDefineComponent","inject","custom","default","render","createElement","isExecute","h","gh","slots","isNullOrUndefined","this","$slots","class","updated","methods","getTag","ColorMappingsPlugin","name","install","Vue","component","ColorMappingDirective","ColorMappingPlugin","LevelsDirective","LevelsPlugin","LevelDirective","LevelPlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","TreeMapComponent","mixins","ComponentBase","emits","provide","data","ej2Instance","TreeMap","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-levels","e-level","e-colorMappings","tagNameMapper","isVue3","templateCollection","created","bindProperties","ej2Instances","_setProperties","setProperties","clearTemplate","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","doubleClickOnTreeMap","e","export","type","fileName","orientation","allowDownload","print","id","selectItem","levelOrder","isSelected","TreeMapPlugin"],"mappings":"kZAEO,IAAIA,EAAyBC,sBAChCC,QAAUC,QAAUC,QAAS,OAC7BC,OAAQ,SAAUC,GACd,IAAKC,YAAW,CACZ,IAAIC,EAAKD,YAAiBD,EAALG,KACjBC,EAAQ,KAIZ,OAHKC,oBAAkBC,KAAKC,OAAOT,WAC/BM,EAASH,YAAoCK,KAAKC,OAAOT,QAApCQ,KAAKC,OAAOT,WAE9BI,EAAE,OAASM,MAAO,eAAiBJ,KAIlDK,QAAS,YACAR,aAAaK,KAAKT,QACnBS,KAAKT,UAGba,SACIC,OAAQ,WACJ,MAAO,sBAIRC,GACPC,KAAM,kBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAoBC,KAAMnB,KAGrCuB,EAAwBtB,sBAC/BI,OAAQ,aAGRW,SACIC,OAAQ,WACJ,MAAO,qBAIRO,GACPL,KAAM,iBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUE,EAAmBL,KAAMI,KC3CpCE,EAAkBxB,sBACzBC,QAAUC,QAAUC,QAAS,OAC7BC,OAAQ,SAAUC,GACd,IAAKC,YAAW,CACZ,IAAIC,EAAKD,YAAiBD,EAALG,KACjBC,EAAQ,KAIZ,OAHKC,oBAAkBC,KAAKC,OAAOT,WAC/BM,EAASH,YAAoCK,KAAKC,OAAOT,QAApCQ,KAAKC,OAAOT,WAE9BI,EAAE,OAASM,MAAO,eAAiBJ,KAIlDK,QAAS,YACAR,aAAaK,KAAKT,QACnBS,KAAKT,UAGba,SACIC,OAAQ,WACJ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AC5BH,EAAM7B,OAAO+B,IAAI,SAAUE,GAClBD,IAAQC,GAAY,cAAcC,KAAKF,KACpCH,EAAMrB,OACNqB,EAAMjB,aAAauB,YAAYC,MAAM,UAAYJ,EAAKL,EAAKK,KAG3DH,EAAMO,MAAM,UAAYJ,EAAKL,EAAKK,IAClCH,EAAMO,MAAM,eAAgBT,EAAKK,WAOzDjF,OAAQ,WACJS,KAAKG,WAET0E,qBAAsB,SAAUC,GAC5B,OAAO9E,KAAKoD,aAAayB,qBAAqBC,IAElDC,OAAQ,SAAUC,EAAMC,EAAUC,EAAaC,GAC3C,OAAOnF,KAAKoD,aAAa2B,OAAOC,EAAMC,EAAUC,EAAaC,IAEjEC,MAAO,SAAUC,GACb,OAAOrF,KAAKoD,aAAagC,MAAMC,IAEnCC,WAAY,SAAUC,EAAYC,GAC9B,OAAOxF,KAAKoD,aAAakC,WAAWC,EAAYC,OAIjDC,GACPlF,KAAM,cACNC,QAAS,SAAUC,GACfA,EAAIC,UAAU+E,EAAclF,KAAMwB,GAClCtB,EAAIC,UAAUM,EAAYT,KAAMQ,GAChCN,EAAIC,UAAUI,EAAaP,KAAMM,GACjCJ,EAAIC,UAAUE,EAAmBL,KAAMI,GACvCF,EAAIC,UAAUJ,EAAoBC,KAAMnB"}
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":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var ColorMappingsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-colorMappings';\n }\n }\n});\nexport var ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install: function (Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nexport var ColorMappingDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-colorMapping';\n }\n }\n});\nexport var ColorMappingPlugin = {\n name: 'e-colorMapping',\n install: function (Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var LevelsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-levels';\n }\n }\n});\nexport var LevelsPlugin = {\n name: 'e-levels',\n install: function (Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\n * ```\n */\nexport var LevelDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-level';\n }\n }\n});\nexport var LevelPlugin = {\n name: 'e-level',\n install: function (Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } 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';\nexport var properties = ['isLazyUpdate', 'plugins', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the Vue TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nexport var TreeMapComponent = vueDefineComponent({\n name: 'TreeMapComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new TreeMap({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } },\n tagNameMapper: { \"e-colorMappings\": \"e-colorMapping\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n doubleClickOnTreeMap: function (e) {\n return this.ej2Instances.doubleClickOnTreeMap(e);\n },\n export: function (type, fileName, orientation, allowDownload) {\n return this.ej2Instances.export(type, fileName, orientation, allowDownload);\n },\n print: function (id) {\n return this.ej2Instances.print(id);\n },\n selectItem: function (levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n },\n }\n});\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":["ColorMappingsDirective","vueDefineComponent","inject","custom","default","render","createElement","isExecute","h","gh","slots","isNullOrUndefined","this","$slots","class","updated","methods","getTag","ColorMappingsPlugin","name","install","Vue","component","ColorMappingDirective","ColorMappingPlugin","LevelsDirective","LevelsPlugin","LevelDirective","LevelPlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","TreeMapComponent","mixins","ComponentBase","emits","provide","data","ej2Instances","TreeMap","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-levels","e-level","e-colorMappings","tagNameMapper","isVue3","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","doubleClickOnTreeMap","e","export","type","fileName","orientation","allowDownload","print","id","selectItem","levelOrder","isSelected","TreeMapPlugin"],"mappings":"kZAEO,IAAIA,EAAyBC,sBAChCC,QAAUC,QAAUC,QAAS,OAC7BC,OAAQ,SAAUC,GACd,IAAKC,YAAW,CACZ,IAAIC,EAAKD,YAAiBD,EAALG,KACjBC,EAAQ,KAIZ,OAHKC,oBAAkBC,KAAKC,OAAOT,WAC/BM,EAASH,YAAoCK,KAAKC,OAAOT,QAApCQ,KAAKC,OAAOT,WAE9BI,EA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AAYC,OAIjDC,GACPjF,KAAM,cACNC,QAAS,SAAUC,GACfA,EAAIC,UAAU8E,EAAcjF,KAAMwB,GAClCtB,EAAIC,UAAUM,EAAYT,KAAMQ,GAChCN,EAAIC,UAAUI,EAAaP,KAAMM,GACjCJ,EAAIC,UAAUE,EAAmBL,KAAMI,GACvCF,EAAIC,UAAUJ,EAAoBC,KAAMnB"}
@@ -131,7 +131,7 @@ let TreeMapComponent = vueDefineComponent({
131
131
  provide() { return { custom: this.custom }; },
132
132
  data() {
133
133
  return {
134
- ej2Instance: new TreeMap({}),
134
+ ej2Instances: new TreeMap({}),
135
135
  propKeys: properties,
136
136
  models: modelProps,
137
137
  hasChildDirective: true,
@@ -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":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let ColorMappingsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-colorMappings';\n }\n }\n});\nexport const ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install(Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nexport let ColorMappingDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-colorMapping';\n }\n }\n});\nexport const ColorMappingPlugin = {\n name: 'e-colorMapping',\n install(Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let LevelsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-levels';\n }\n }\n});\nexport const LevelsPlugin = {\n name: 'e-levels',\n install(Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\n * ```\n */\nexport let LevelDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-level';\n }\n }\n});\nexport const LevelPlugin = {\n name: 'e-level',\n install(Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } 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';\nexport const properties = ['isLazyUpdate', 'plugins', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents the Vue TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nexport let TreeMapComponent = vueDefineComponent({\n name: 'TreeMapComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instance: new TreeMap({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } },\n tagNameMapper: { \"e-colorMappings\": \"e-colorMapping\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\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 custom() {\n this.updated();\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 print(id) {\n return this.ej2Instances.print(id);\n },\n selectItem(levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n },\n }\n});\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":[],"mappings":";;;;AAEO,IAAI,sBAAsB,GAAG,kBAAkB,CAAC;IACnD,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACrC,MAAM,CAAC,aAAa,EAAE;QAClB,IAAI,CAAC,SAAS,EAAE;YACZ,IAAI,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U,CAAC,UAAU,EAAE,UAAU,EAAE;YAC/B,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;SAC/D;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,aAAa,GAAG;IACzB,IAAI,EAAE,aAAa;IACnB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACpD,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAChD,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QAClD,GAAG,CAAC,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;QAC9D,GAAG,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":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let ColorMappingsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-colorMappings';\n }\n }\n});\nexport const ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install(Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nexport let ColorMappingDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-colorMapping';\n }\n }\n});\nexport const ColorMappingPlugin = {\n name: 'e-colorMapping',\n install(Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport let LevelsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render(createElement) {\n if (!isExecute) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated() {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag() {\n return 'e-levels';\n }\n }\n});\nexport const LevelsPlugin = {\n name: 'e-levels',\n install(Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\n * ```\n */\nexport let LevelDirective = vueDefineComponent({\n render() {\n return;\n },\n methods: {\n getTag() {\n return 'e-level';\n }\n }\n});\nexport const LevelPlugin = {\n name: 'e-level',\n install(Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } 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';\nexport const properties = ['isLazyUpdate', 'plugins', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents the Vue TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nexport let TreeMapComponent = vueDefineComponent({\n name: 'TreeMapComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new TreeMap({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } },\n tagNameMapper: { \"e-colorMappings\": \"e-colorMapping\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\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 custom() {\n this.updated();\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 print(id) {\n return this.ej2Instances.print(id);\n },\n selectItem(levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n },\n }\n});\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":[],"mappings":";;;;AAEO,IAAI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AC,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;SAC/E;QACD,KAAK,CAAC,EAAE,EAAE;YACN,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;SACtC;QACD,UAAU,CAAC,UAAU,EAAE,UAAU,EAAE;YAC/B,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;SAC/D;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,aAAa,GAAG;IACzB,IAAI,EAAE,aAAa;IACnB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACpD,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAChD,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QAClD,GAAG,CAAC,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;QAC9D,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
@@ -132,7 +132,7 @@ var TreeMapComponent = vueDefineComponent({
132
132
  provide: function () { return { custom: this.custom }; },
133
133
  data: function () {
134
134
  return {
135
- ej2Instance: new TreeMap({}),
135
+ ej2Instances: new TreeMap({}),
136
136
  propKeys: properties,
137
137
  models: modelProps,
138
138
  hasChildDirective: true,
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-treemap.es5.js","sources":["../../src/treemap/colormapping.directive.js","../../src/treemap/levels.directive.js","../../src/treemap/treemap.component.js"],"sourcesContent":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var ColorMappingsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-colorMappings';\n }\n }\n});\nexport var ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install: function (Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nexport var ColorMappingDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-colorMapping';\n }\n }\n});\nexport var ColorMappingPlugin = {\n name: 'e-colorMapping',\n install: function (Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var LevelsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-levels';\n }\n }\n});\nexport var LevelsPlugin = {\n name: 'e-levels',\n install: function (Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\n * ```\n */\nexport var LevelDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-level';\n }\n }\n});\nexport var LevelPlugin = {\n name: 'e-level',\n install: function (Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } 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';\nexport var properties = ['isLazyUpdate', 'plugins', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the Vue TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nexport var TreeMapComponent = vueDefineComponent({\n name: 'TreeMapComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instance: new TreeMap({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } },\n tagNameMapper: { \"e-colorMappings\": \"e-colorMapping\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n doubleClickOnTreeMap: function (e) {\n return this.ej2Instances.doubleClickOnTreeMap(e);\n },\n export: function (type, fileName, orientation, allowDownload) {\n return this.ej2Instances.export(type, fileName, orientation, allowDownload);\n },\n print: function (id) {\n return this.ej2Instances.print(id);\n },\n selectItem: function (levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n },\n }\n});\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":[],"mappings":";;;;AAEO,IAAI,sBAAsB,GAAG,kBAAkB,CAAC;IACnD,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACrC,MAAM,EAAE,UAAU,aAAa,EAAE;QAC7B,IAAI,CAAC,SAAS,EAAE;YACZ,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,EAAE,GAAG,aAAa,CAAC;YACxC,IAAI,KAAK,GAAG,IAAI,CAAC;YACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;gBACzC,KAAK,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;aACpE;YACD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,KAAK,CAAC,CAAC;SACpD;QACD,OAAO;KACV;IACD,OAAO,EAAE,YAAY;QACjB,IAA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EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;SAC/E;QACD,KAAK,EAAE,UAAU,EAAE,EAAE;YACjB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;SACtC;QACD,UAAU,EAAE,UAAU,UAAU,EAAE,UAAU,EAAE;YAC1C,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;SAC/D;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,IAAI,aAAa,GAAG;IACvB,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,UAAU,GAAG,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACpD,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAChD,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QAClD,GAAG,CAAC,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;QAC9D,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-treemap.es5.js","sources":["../../src/treemap/colormapping.directive.js","../../src/treemap/levels.directive.js","../../src/treemap/treemap.component.js"],"sourcesContent":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var ColorMappingsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-colorMappings';\n }\n }\n});\nexport var ColorMappingsPlugin = {\n name: 'e-colorMappings',\n install: function (Vue) {\n Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);\n }\n};\nexport var ColorMappingDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-colorMapping';\n }\n }\n});\nexport var ColorMappingPlugin = {\n name: 'e-colorMapping',\n install: function (Vue) {\n Vue.component(ColorMappingPlugin.name, ColorMappingDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var LevelsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-levels';\n }\n }\n});\nexport var LevelsPlugin = {\n name: 'e-levels',\n install: function (Vue) {\n Vue.component(LevelsPlugin.name, LevelsDirective);\n }\n};\n/**\n * Represents the directive to configure and render level leaf items in the treemap.\n * ```vue\n * <ejs-treemap>\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * </ejs-treemap>\n * ```\n */\nexport var LevelDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-level';\n }\n }\n});\nexport var LevelPlugin = {\n name: 'e-level',\n install: function (Vue) {\n Vue.component(LevelPlugin.name, LevelDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } 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';\nexport var properties = ['isLazyUpdate', 'plugins', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the Vue TreeMap component. It is used to visualize both hierarchical and flat data.\n * ```vue\n * <ejs-treemap></ejs-treemap>\n * ```\n */\nexport var TreeMapComponent = vueDefineComponent({\n name: 'TreeMapComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new TreeMap({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: true,\n tagMapper: { \"e-levels\": { \"e-level\": { \"e-colorMappings\": \"e-colorMapping\" } } },\n tagNameMapper: { \"e-colorMappings\": \"e-colorMapping\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n doubleClickOnTreeMap: function (e) {\n return this.ej2Instances.doubleClickOnTreeMap(e);\n },\n export: function (type, fileName, orientation, allowDownload) {\n return this.ej2Instances.export(type, fileName, orientation, allowDownload);\n },\n print: function (id) {\n return this.ej2Instances.print(id);\n },\n selectItem: function (levelOrder, isSelected) {\n return this.ej2Instances.selectItem(levelOrder, isSelected);\n },\n }\n});\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":[],"mappings":";;;;AAEO,IAAI,sBAAsB,GAAG,kBAAkB,CAAC;IACnD,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACrC,MAAM,EAAE,UAAU,aAAa,EAAE;QAC7B,IAAI,CAAC,SAAS,EAAE;YACZ,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,EAAE,GAAG,aAAa,CAAC;YACxC,IAAI,KAAK,GAAG,IAAI,CAAC;YACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;gBACzC,KAAK,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;aACpE;YACD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,KAAK,CAAC,CAAC;SACpD;QACD,OAAO;KACV;IACD,OAAO,EAAE,YAAY;QACjB,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;YAC3B,IAAI,CAAC,MAAM,EAAE,CAAC;SACjB;KACJ;IACD,OAAO,EAAE;QACL,MAAM,EAAE,YAAY;YAChB,OAAO,iBAAiB,CAAC;SAC5B;KACJ;CACJ,CAAC,CAAC;AACH,AA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