@syncfusion/ej2-vue-treemap 20.3.59 → 20.4.38

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,12 +11,6 @@
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
- ### TreeMap
15
-
16
- #### Bug Fixes
17
-
18
- - `#F178496` - The legend items now render in the same order as the color mapping objects.
19
-
20
14
  ## 18.2.44 (2020-07-07)
21
15
 
22
16
  ### TreeMap
package/README.md CHANGED
@@ -1,69 +1,152 @@
1
- # ej2-vue-treemap
1
+ # Vue TreeMap Component
2
2
 
3
- The tree map control provides a simple and effective way to visualize flat or hierarchical data as clustered rectangles with a specific, weighted attribute determining the size of each rectangle.
3
+ The [Vue TreeMap](https://www.syncfusion.com/vue-components/vue-treemap?utm_source=npm&utm_medium=listing&utm_campaign=vue-treemap-npm) component provides a simple and effective way to visualize flat or hierarchical data as clustered rectangles with a specific, weighted attribute determining the size of each rectangle.
4
4
 
5
- ![TreeMap] (https://ej2.syncfusion.com/products/images/treemap/readme.gif)
5
+ <p align="center">
6
+ <a href="https://ej2.syncfusion.com/vue/documentation/treemap/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=vue-treemap-npm">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-treemap-npm#/bootstrap5/treemap/default.html">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/vue-components/vue-treemap?utm_source=npm&utm_medium=listing&utm_campaign=vue-treemap-npm">Learn more</a>
9
+ </p>
6
10
 
7
- > TreeMap is part of Syncfusion Essential JS 2 commercial program. License is available in two models Community and Paid. Please refer the license file for more information. License can be obtained by registering at [https://www.syncfusion.com/downloads/essential-js2](https://www.syncfusion.com/downloads/essential-js2?utm_source=npm&utm_campaign=treemap)
11
+ <p align="center">
12
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/vue/vue-treemap.png" alt="Vue TreeMap Component">
13
+ </a>
14
+
15
+ <p align="center">
16
+ Trusted by the world's leading companies
17
+ <a href="https://www.syncfusion.com">
18
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
19
+ </a>
20
+ </p>
8
21
 
9
22
  ## Setup
10
23
 
11
- To install TreeMap and its dependent packages, use the following command
24
+ ### Create a Vue Application
25
+
26
+ You can use [`Vue CLI`](https://github.com/vuejs/vue-cli) to setup your Vue 2 applications. To install Vue CLI, use the following commands.
12
27
 
13
- ```sh
14
- npm install @syncfusion/ej2-treemap
28
+ ```bash
29
+ npm install -g @vue/cli
30
+ vue create quickstart
31
+ cd quickstart
32
+ npm run serve
15
33
  ```
16
34
 
17
- ## Resources
35
+ Initiating a new project prompts us to choose the type of project to be used for the current application. Select the option `Default ([Vue 2] babel, eslint)` from the menu.
18
36
 
19
- * [Getting Started](https://ej2.syncfusion.com/vue/documentation/treemap/getting-started.html)
20
- * [View Online Demos](https://ej2.syncfusion.com/vue/demos/#/material/treemap/default.html)
21
- * [Product Page](https://www.syncfusion.com/products/javascript/treemap)
37
+ ### Add Syncfusion TreeMap package
22
38
 
23
- ## Supported Frameworks
39
+ All Syncfusion Vue packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install Vue TreeMap package, use the following command.
24
40
 
25
- TreeMap component is also offered in following list of frameworks.
41
+ ```bash
42
+ npm install @syncfusion/ej2-vue-treemap --save
43
+ ```
26
44
 
27
- 1. [Angular](https://www.npmjs.com/package/@syncfusion/ej2-ng-treemap?utm_source=npm&utm_campaign=treemap)
28
- 2. [React](https://www.npmjs.com/package/@syncfusion/ej2-react-treemap?utm_source=npm&utm_campaign=treemap)
29
- 3. [Vue.js](https://www.npmjs.com/package/@syncfusion/ej2-vue-treemap?utm_source=npm&utm_campaign=treemap)
30
- 4. [ASP.NET Core](https://aspdotnetcore.syncfusion.com/TreeMap/Default#/material)
31
- 5. [ASP.NET MVC](https://aspnetmvc.syncfusion.com/TreeMap/Default#/material)
32
- 6. [JavaScript (ES5)](https://www.syncfusion.com/products/javascript/treemap)
45
+ ### Register TreeMap Component
33
46
 
34
- ## Use case samples
47
+ You can register the TreeMap component in your application by using the **Vue.use()**. Refer to the code example given below.
35
48
 
36
- * Olympic medal categories details ([Live Demo](https://ej2.syncfusion.com/vue/demos/#/material/treemap/customization.html))
37
- * Countries population details ([Live Demo](https://ej2.syncfusion.com/vue/demos/#/material/treemap/drilldown.html))
49
+ ```typescript
50
+ import { TreeMapPlugin } from '@syncfusion/ej2-vue-treemap';
38
51
 
39
- ## Key Features
52
+ Vue.use(TreeMapPlugin);
53
+ ```
40
54
 
41
- * [**Data sources**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/pie.html) - Binds the tree map component with an array of JSON objects or DataManager. Both the heirarcical and flat collection data sources are supported.
42
- * [**Levels**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/default.html) - Renders with any number of levels and items.
43
- * [**Layout**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/layout.html) - Supports four types of layouts: square, horizontal, vertical, and auto.
44
- * [**Drill-down**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/drilldown.html) - Provides drill-down option to have a closer look at the lower level of a hierarchy.
45
- * [**Data label**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/label.html) - Provides additional information about the nodes.
46
- * [**Label template**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/customization.html) - Uses any custom HTML element as data label for each node.
47
- * [**Color mapping**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/label.html) - Applies colors to the nodes based on various conditions. Tree map supports three types of color mapping: range, equal, and desaturation.
48
- * [**Legend**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/election.html) - Denotes the color mapping categories.
49
- * [**Selection and Highlight**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/selection.html) - Supports selecting or highlighting the nodes to bring center of attraction.
50
- * [**Tooltip**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/tooltip.html) - Provides additonal information about the nodes on mouse hover.
51
- * [**Print and Export**](https://ej2.syncfusion.com/vue/demos/#/material/treemap/print.html) - Provides options to print and export the rendered tree map for future use.
55
+ > Registering **TreeMapPlugin** in Vue, will register the TreeMap component along with its required child directives globally.
56
+
57
+ ### Add TreeMap Component
58
+
59
+ Add the Vue TreeMap by using **ejs-treemap** selector in **template** section of the **App.vue** file.
60
+
61
+ ```html
62
+ <template>
63
+ <div id="app">
64
+ <ejs-treemap :dataSource='data' weightValuePath='Count'
65
+ :leafItemSettings='leafItemSettings'></ejs-treemap>
66
+ </div>
67
+ </template>
68
+ <script>
69
+ import Vue from 'vue';
70
+ import { TreeMapPlugin } from '@syncfusion/ej2-vue-treemap';
71
+
72
+ Vue.use(TreeMapPlugin);
73
+ export default Vue.extend ({
74
+ data: function() {
75
+ return {
76
+ dataSource: [
77
+ { State: 'Brazil', Count: 25 },
78
+ { State: 'Colombia', Count: 12 },
79
+ { State: 'Argentina', Count: 9 },
80
+ { State: 'Ecuador', Count: 7 },
81
+ { State: 'Chile', Count: 6 },
82
+ { State: 'Peru', Count: 3 },
83
+ { State: 'Venezuela', Count: 3 },
84
+ { State: 'Bolivia', Count: 2 },
85
+ { State: 'Paraguay', Count: 2 },
86
+ { State: 'Uruguay', Count: 2 },
87
+ { State: 'Falkland Islands',Count: 1 },
88
+ { State: 'French Guiana', Count:1 },
89
+ { State: 'Guyana', Count: 1 },
90
+ { State: 'Suriname', Count: 1 },
91
+ ],
92
+ leafItemSettings: { labelPath: 'State' }
93
+ }
94
+ }
95
+ });
96
+ </script>
97
+ ```
52
98
 
53
- ## Support
99
+ > Refer the [Getting Started with Vue3](https://ej2.syncfusion.com/vue/documentation/treemap/getting-started-vue-3/) topic for using Syncfusion Vue components in Vue 3 applications.
100
+
101
+ ## Supported frameworks
102
+
103
+ TreeMap component is also offered in the following list of frameworks.
104
+
105
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
106
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
54
107
 
55
- Product support is available for through following mediums.
108
+ ## Showcase samples
56
109
 
57
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=treemap) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=treemap).
58
- * New [GitHub issues](https://github.com/syncfusion/ej2-vue-ui-components/issues).
59
- * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
110
+ * Olympic medal categories - [Live Demo](https://ej2.syncfusion.com/vue/demos/#/material/treemap/customization.html)
111
+ * Countries population - [Live Demo](https://ej2.syncfusion.com/vue/demos/#/material/treemap/drilldown.html)
60
112
 
61
- ## License
113
+ ## Key features
62
114
 
63
- Check the license detail [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/treemap/license?utm_source=npm&utm_campaign=treemap).
115
+ * [Data sources](https://ej2.syncfusion.com/vue/documentation/treemap/data-binding/?utm_source=npm&utm_campaign=vue-treemap-npm): Binds the treemap component with an array of JSON objects or DataManager. Both hierarchical and flat collection data sources are supported.
116
+ * [Levels](https://ej2.syncfusion.com/vue/documentation/treemap/levels/?utm_source=npm&utm_campaign=vue-treemap-npm): Renders with any number of levels and items.
117
+ * [Layout](https://ej2.syncfusion.com/vue/documentation/treemap/layout/?utm_source=npm&utm_campaign=vue-treemap-npm): Supports four types of layouts: square, horizontal, vertical, and auto.
118
+ * [Drill-down](https://ej2.syncfusion.com/vue/documentation/treemap/drilldown/?utm_source=npm&utm_campaign=vue-treemap-npm): Provides drill-down option to have a closer look at the lower level of a hierarchy.
119
+ * [Data label](https://ej2.syncfusion.com/vue/documentation/treemap/data-label/?utm_source=npm&utm_campaign=vue-treemap-npm): Provides additional information about the nodes.
120
+ * [Header template](https://ej2.syncfusion.com/vue/documentation/treemap/levels/?utm_source=npm&utm_campaign=vue-treemap-npm#header-template-and-position): Uses any custom HTML element to customize the header of each item.
121
+ * [Label template](https://ej2.syncfusion.com/vue/documentation/treemap/data-label/?utm_source=npm&utm_campaign=vue-treemap-npm#template): Uses any custom HTML element to customize the data label for each node.
122
+ * [Color mapping](https://ej2.syncfusion.com/vue/documentation/treemap/color-mapping/?utm_source=npm&utm_campaign=vue-treemap-npm): Applies colors to the nodes based on various conditions. Treemap supports three types of color mapping: range, equal, and desaturation.
123
+ * [Legend](https://ej2.syncfusion.com/vue/documentation/treemap/legend/?utm_source=npm&utm_campaign=vue-treemap-npm): Provide useful information for conveying what the treemap showcases.
124
+ * [Selection and highlight](https://ej2.syncfusion.com/vue/documentation/treemap/selection-and-highlight/?utm_source=npm&utm_campaign=vue-treemap-npm): Support selecting or highlighting the nodes to bring center of attraction.
125
+ * [Tooltip](https://ej2.syncfusion.com/vue/documentation/treemap/tooltip/?utm_source=npm&utm_campaign=vue-treemap-npm): Provides additional information about the node on hover.
126
+ * [Print and Export](https://ej2.syncfusion.com/vue/documentation/treemap/print-and-export/?utm_source=npm&utm_campaign=vue-treemap-npm): Prints or exports the rendered treemap to a desired format. Exporting supports four formats: PDF, PNG, JPEG and SVG.
127
+ * [Globalization](https://ej2.syncfusion.com/vue/documentation/treemap/internationalization/?utm_source=npm&utm_medium=listing&utm_campaign=vue-treemap-npm): Personalize the component with different languages, as well as culture-specific number, date and time formatting.
128
+ * [Accessibility](https://ej2.syncfusion.com/vue/documentation/treemap/accessibility/?utm_source=npm&utm_medium=listing&utm_campaign=vue-treemap-npm): Provides with built-in accessibility support which helps to access all the treemap component features through the keyboard, screen readers, or other assistive technology devices.
129
+
130
+ ## Support
131
+
132
+ Product support is available through the following mediums.
133
+
134
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
135
+ * [Community forum](https://www.syncfusion.com/forums/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-treemap-npm)
136
+ * [GitHub issues](https://github.com/syncfusion/ej2-vue-ui-components/issues/new)
137
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-treemap-npm)
138
+ * Live chat
64
139
 
65
140
  ## Changelog
66
141
 
67
- Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/treemap/CHANGELOG.md?utm_source=npm&utm_campaign=treemap)
142
+ Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/treemap/CHANGELOG.md?utm_source=npm&utm_campaign=vue-treemap-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
143
+
144
+ ## License and copyright
145
+
146
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [Vue UI components](https://www.syncfusion.com/vue-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
147
+
148
+ > A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
149
+
150
+ See [LICENSE FILE](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/treemap/license?utm_source=npm&utm_campaign=vue-treemap-npm) for more info.
68
151
 
69
152
  © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-treemap.umd.min.js
3
- * version : 20.3.59
3
+ * version : 20.4.38
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("vue"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-treemap","vue","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Treemap,e.Vue,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o,r){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var i=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)}}(),c=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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){},t=c([o.EJComponentDecorator({})],t)}(n),s={name:"e-colorMappings",install:function(e){e.component(s.name,a)}},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){},t=c([o.EJComponentDecorator({})],t)}(n),l={name:"e-colorMapping",install:function(e){e.component(l.name,p)}},u=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)}}(),f=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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){},t=f([o.EJComponentDecorator({})],t)}(n),h={name:"e-levels",install:function(e){e.component(h.name,d)}},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){},t=f([o.EJComponentDecorator({})],t)}(n),y={name:"e-level",install:function(e){e.component(y.name,m)}},g=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)}}(),j=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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},v=["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"],O=[],b=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=v,n.models=O,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.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return g(n,e),n.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],i=this.templateCollection[o];if(i&&i.length){for(var c=0,a=i;c<a.length;c++){var s=a[c];r.getValue("__vue__.$destroy",s)&&s.__vue__.$destroy(),s.innerHTML&&(s.innerHTML="")}delete this.templateCollection[o]}}},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.custom=function(){this.updated()},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=j([o.EJComponentDecorator({props:v})],n)}(o.ComponentBase),M={name:"ejs-treemap",install:function(e){e.component(M.name,b),e.component(y.name,m),e.component(h.name,d),e.component(l.name,p),e.component(s.name,a)}};e.ColorMappingsDirective=a,e.ColorMappingDirective=p,e.ColorMappingsPlugin=s,e.ColorMappingPlugin=l,e.LevelsDirective=d,e.LevelDirective=m,e.LevelsPlugin=h,e.LevelPlugin=y,e.TreeMapComponent=b,e.TreeMapPlugin=M,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("vue"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-treemap","vue","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Treemap,e.Vue,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o,r){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var i=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)}}(),c=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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){},t=c([o.EJComponentDecorator({})],t)}(n),p={name:"e-colorMappings",install:function(e){e.component(p.name,a)}},s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){},t=c([o.EJComponentDecorator({})],t)}(n),l={name:"e-colorMapping",install:function(e){e.component(l.name,s)}},u=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)}}(),f=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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){},t=f([o.EJComponentDecorator({})],t)}(n),h={name:"e-levels",install:function(e){e.component(h.name,d)}},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){},t=f([o.EJComponentDecorator({})],t)}(n),y={name:"e-level",install:function(e){e.component(y.name,m)}},g=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)}}(),j=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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},v=["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"],O=[],b=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=v,n.models=O,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.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return g(n,e),n.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],i=this.templateCollection[o];if(i&&i.length){for(var c=0,a=i;c<a.length;c++){var p=a[c];r.getValue("__vue__.$destroy",p)&&p.__vue__.$destroy(),p.innerHTML&&(p.innerHTML="")}delete this.templateCollection[o]}}},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.custom=function(){this.updated()},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=j([o.EJComponentDecorator({props:v})],n)}(o.ComponentBase),M={name:"ejs-treemap",install:function(e){e.component(M.name,b),e.component(y.name,m),e.component(h.name,d),e.component(l.name,s),e.component(p.name,a)}};e.ColorMappingsDirective=a,e.ColorMappingDirective=s,e.ColorMappingsPlugin=p,e.ColorMappingPlugin=l,e.LevelsDirective=d,e.LevelDirective=m,e.LevelsPlugin=h,e.LevelPlugin=y,e.TreeMapComponent=b,e.TreeMapPlugin=M,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":["../vue2/src/treemap/colormapping.directive.js","../vue2/src/treemap/levels.directive.js","../vue2/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 { 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 = [];\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.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 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.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.custom = function () {\n this.updated();\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","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","createElement","$slots","default","custom","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":"4dAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EA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aL,GAChE,OAAO1F,KAAKgD,aAAa8C,gBAAgBC,EAAaL,IAE1DtD,EAAiBlC,UAAU8F,mBAAqB,SAAUV,GACtD,OAAOtF,KAAKgD,aAAagD,mBAAmBV,IAEhDlD,EAAiBlC,UAAU+F,kBAAoB,SAAUX,GACrD,OAAOtF,KAAKgD,aAAaiD,kBAAkBX,IAE/ClD,EAAiBlC,UAAUgG,oBAAsB,SAAUZ,GACvD,OAAOtF,KAAKgD,aAAakD,oBAAoBZ,IAEjDlD,EAAiBlC,UAAUiG,mBAAqB,SAAUb,GACtD,OAAOtF,KAAKgD,aAAamD,mBAAmBb,IAEhDlD,EAAiBlC,UAAUkG,MAAQ,SAAUC,GACzC,OAAOrG,KAAKgD,aAAaoD,MAAMC,IAEnCjE,EAAiBlC,UAAUoG,iBAAmB,SAAUC,GACpD,OAAOvG,KAAKgD,aAAasD,iBAAiBC,IAE9CnE,EAAiBlC,UAAUsG,gBAAkB,SAAUlB,GACnD,OAAOtF,KAAKgD,aAAawD,gBAAgBlB,IAE7ClD,EAAiBlC,UAAUuG,oBAAsB,SAAUnB,GACvD,OAAOtF,KAAKgD,aAAayD,oBAAoBnB,IAEjDlD,EAAiBlC,UAAUwG,WAAa,SAAUC,EAAYC,GAC1D,OAAO5G,KAAKgD,aAAa0D,WAAWC,EAAYC,IAEpDxE,EAAmBhC,GACfkB,wBACIuF,MAAO3E,KAEZE,IAEL0E,iBAESC,GACPtF,KAAM,cACNC,QAAS,SAAUH,GACfA,EAAII,UAAUoF,EAActF,KAAMW,GAClCb,EAAII,UAAUM,EAAYR,KAAMO,GAChCT,EAAII,UAAUI,EAAaN,KAAMK,GACjCP,EAAII,UAAUE,EAAmBJ,KAAMG,GACvCL,EAAII,UAAUH,EAAoBC,KAAMP"}
1
+ {"version":3,"file":"ej2-vue-treemap.umd.min.js","sources":["../vue2/src/treemap/colormapping.directive.js","../vue2/src/treemap/levels.directive.js","../vue2/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 { 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 = [];\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.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 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.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.custom = function () {\n this.updated();\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","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","createElement","$slots","default","custom","calculateSelectedTextLevels","labelText","item","clickOnTreeMap","e","compareSelectedLabelWithDrillDownItems","drillLevelValues","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":"4dAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAASzB,EAAIc,EAAWW,MAAIJ,GAAKH,EAAI,EAAIlB,EAAEqB,GAAKH,EAAI,EAAIlB,EAAEe,EAAQC,EAAKK,GAAKrB,EAAEe,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKnB,OAAOwB,eAAeX,EAAQC,EAAKK,GAAIA,GAI5DM,E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KAAKgD,aAAasD,gBAAgBnB,IAE7C/C,EAAiBlC,UAAUqG,oBAAsB,SAAUpB,GACvD,OAAOnF,KAAKgD,aAAauD,oBAAoBpB,IAEjD/C,EAAiBlC,UAAUsG,WAAa,SAAUC,EAAYC,GAC1D,OAAO1G,KAAKgD,aAAawD,WAAWC,EAAYC,IAEpDtE,EAAmBhC,GACfkB,wBACIqF,MAAOzE,KAEZE,IAELwE,iBAESC,GACPpF,KAAM,cACNC,QAAS,SAAUH,GACfA,EAAII,UAAUkF,EAAcpF,KAAMW,GAClCb,EAAII,UAAUM,EAAYR,KAAMO,GAChCT,EAAII,UAAUI,EAAaN,KAAMK,GACjCP,EAAII,UAAUE,EAAmBJ,KAAMG,GACvCL,EAAII,UAAUH,EAAoBC,KAAMP"}
@@ -281,9 +281,6 @@ class TreeMapComponent extends ComponentBase {
281
281
  custom() {
282
282
  this.updated();
283
283
  }
284
- calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel) {
285
- return this.ej2Instances.calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel);
286
- }
287
284
  calculateSelectedTextLevels(labelText, item) {
288
285
  return this.ej2Instances.calculateSelectedTextLevels(labelText, item);
289
286
  }
@@ -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, isExecute } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport Vue from 'vue';\n// {{VueImport}}\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 (!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 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, isExecute } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport Vue from 'vue';\n// {{VueImport}}\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 (!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 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, isExecute } 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', '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];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\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 = !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 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","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,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;IAClJ,OAAO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E,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, isExecute } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport Vue from 'vue';\n// {{VueImport}}\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 (!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 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, isExecute } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport Vue from 'vue';\n// {{VueImport}}\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 (!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 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, isExecute } 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', '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];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\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 = !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 custom() {\n this.updated();\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","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,GA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,mBAAmB,CAAC,CAAC,EAAE;QACnB,OAAO,IAAI,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC;KACnD;IACD,UAAU,CAAC,UAAU,EAAE,UAAU,EAAE;QAC/B,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;KAC/D;CACJ,CAAC;AACF,gBAAgB,GAAGG,YAAU,CAAC;IAC1B,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;KACpB,EAAE,SAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,gBAAgB,CAAC,CAAC;AACrB,AACO,MAAM,aAAa,GAAG;IACzB,IAAI,EAAE,aAAa;IACnB,OAAO,CAACD,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;;;;;"}
@@ -313,9 +313,6 @@ var TreeMapComponent = /** @__PURE__ @class */ (function (_super) {
313
313
  TreeMapComponent.prototype.custom = function () {
314
314
  this.updated();
315
315
  };
316
- TreeMapComponent.prototype.calculatePreviousLevelChildItems = function (labelText, drillLevelValues, item, directLevel) {
317
- return this.ej2Instances.calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel);
318
- };
319
316
  TreeMapComponent.prototype.calculateSelectedTextLevels = function (labelText, item) {
320
317
  return this.ej2Instances.calculateSelectedTextLevels(labelText, item);
321
318
  };