@syncfusion/ej2-vue-treemap 20.4.48 → 21.1.37

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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-treemap@*",
3
- "_id": "@syncfusion/ej2-vue-treemap@20.4.42",
3
+ "_id": "@syncfusion/ej2-vue-treemap@21.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-fqVvMsM6ZBunDFwZ27Fn+cQQ0vEKwF17hpgfKpKyCxClIMNsgT/APaFaq5QjhBaOZLjTCnDsbU/G182/AV3Vrw==",
5
+ "_integrity": "sha512-Q+rsNV2qWuK/i/2LQNh+gHo471U2u0sWAdPieCzHbxaWg6+nHQeUtT4+9SK3pHlZUbvBI/Iz1kbfVX8tIoPqlQ==",
6
6
  "_location": "/@syncfusion/ej2-vue-treemap",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-treemap/-/ej2-vue-treemap-20.4.42.tgz",
23
- "_shasum": "37d1e159cd7728c9c145dd726b6d707ca199d5a1",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-treemap/-/ej2-vue-treemap-21.1.35.tgz",
23
+ "_shasum": "dd84b0dd1065e7c8768564465f5284cd6aa97158",
24
24
  "_spec": "@syncfusion/ej2-vue-treemap@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~20.4.48",
35
- "@syncfusion/ej2-treemap": "20.4.48",
36
- "@syncfusion/ej2-vue-base": "~20.4.48"
34
+ "@syncfusion/ej2-base": "~21.1.37",
35
+ "@syncfusion/ej2-treemap": "21.1.37",
36
+ "@syncfusion/ej2-vue-base": "~21.1.37"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Essential JS 2 TreeMap Components for Vue",
@@ -55,8 +55,9 @@
55
55
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
56
56
  },
57
57
  "scripts": {
58
- "postinstall": "node ../ej2-vue-base/postinstall.js"
58
+ "ci-publish": "gulp ci-publish",
59
+ "compile": "gulp ci-compile && gulp vue-global-script"
59
60
  },
60
- "version": "20.4.48",
61
+ "version": "21.1.37",
61
62
  "sideEffects": false
62
63
  }
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class ColorMappingsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let ColorMappingsDirective: any;
8
2
  export declare const ColorMappingsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class ColorMappingDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let ColorMappingDirective: any;
16
7
  export declare const ColorMappingPlugin: {
17
8
  name: string;
18
9
  install(Vue: any): void;
19
10
  };
20
- export {};
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- 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;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var ColorMappingsDirective = /** @class */ (function (_super) {
33
- __extends(ColorMappingsDirective, _super);
34
- function ColorMappingsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ColorMappingsDirective.prototype.render = function (createElement) {
3
+ export var ColorMappingsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,51 +12,34 @@ var ColorMappingsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ColorMappingsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ColorMappingsDirective.prototype.getTag = function () {
54
- return 'e-colorMappings';
55
- };
56
- ColorMappingsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ColorMappingsDirective);
66
- return ColorMappingsDirective;
67
- }(vueImport));
68
- export { ColorMappingsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-colorMappings';
24
+ }
25
+ }
26
+ });
69
27
  export var ColorMappingsPlugin = {
70
28
  name: 'e-colorMappings',
71
29
  install: function (Vue) {
72
30
  Vue.component(ColorMappingsPlugin.name, ColorMappingsDirective);
73
31
  }
74
32
  };
75
- var ColorMappingDirective = /** @class */ (function (_super) {
76
- __extends(ColorMappingDirective, _super);
77
- function ColorMappingDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- ColorMappingDirective.prototype.render = function () {
33
+ export var ColorMappingDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- ColorMappingDirective.prototype.getTag = function () {
84
- return 'e-colorMapping';
85
- };
86
- ColorMappingDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], ColorMappingDirective);
89
- return ColorMappingDirective;
90
- }(vueImport));
91
- export { ColorMappingDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-colorMapping';
40
+ }
41
+ }
42
+ });
92
43
  export var ColorMappingPlugin = {
93
44
  name: 'e-colorMapping',
94
45
  install: function (Vue) {
@@ -1,16 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class LevelsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let LevelsDirective: any;
8
2
  export declare const LevelsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
6
  /**
13
- * `LevelsDirective` directive represent a levels of the react treemap.
7
+ * Represents the directive to configure and render level leaf items in the treemap.
14
8
  * ```vue
15
9
  * <ejs-treemap>
16
10
  * <e-levels>
@@ -19,12 +13,8 @@ export declare const LevelsPlugin: {
19
13
  * </ejs-treemap>
20
14
  * ```
21
15
  */
22
- export declare class LevelDirective extends vueImport {
23
- render(): void;
24
- getTag(): string;
25
- }
16
+ export declare let LevelDirective: any;
26
17
  export declare const LevelPlugin: {
27
18
  name: string;
28
19
  install(Vue: any): void;
29
20
  };
30
- export {};
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- 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;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var LevelsDirective = /** @class */ (function (_super) {
33
- __extends(LevelsDirective, _super);
34
- function LevelsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- LevelsDirective.prototype.render = function (createElement) {
3
+ export var LevelsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,28 +12,18 @@ var LevelsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- LevelsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- LevelsDirective.prototype.getTag = function () {
54
- return 'e-levels';
55
- };
56
- LevelsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], LevelsDirective);
66
- return LevelsDirective;
67
- }(vueImport));
68
- export { LevelsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-levels';
24
+ }
25
+ }
26
+ });
69
27
  export var LevelsPlugin = {
70
28
  name: 'e-levels',
71
29
  install: function (Vue) {
@@ -73,7 +31,7 @@ export var LevelsPlugin = {
73
31
  }
74
32
  };
75
33
  /**
76
- * `LevelsDirective` directive represent a levels of the react treemap.
34
+ * Represents the directive to configure and render level leaf items in the treemap.
77
35
  * ```vue
78
36
  * <ejs-treemap>
79
37
  * <e-levels>
@@ -82,23 +40,16 @@ export var LevelsPlugin = {
82
40
  * </ejs-treemap>
83
41
  * ```
84
42
  */
85
- var LevelDirective = /** @class */ (function (_super) {
86
- __extends(LevelDirective, _super);
87
- function LevelDirective() {
88
- return _super !== null && _super.apply(this, arguments) || this;
89
- }
90
- LevelDirective.prototype.render = function () {
43
+ export var LevelDirective = vueDefineComponent({
44
+ render: function () {
91
45
  return;
92
- };
93
- LevelDirective.prototype.getTag = function () {
94
- return 'e-level';
95
- };
96
- LevelDirective = __decorate([
97
- EJComponentDecorator({}, isExecute)
98
- ], LevelDirective);
99
- return LevelDirective;
100
- }(vueImport));
101
- export { LevelDirective };
46
+ },
47
+ methods: {
48
+ getTag: function () {
49
+ return 'e-level';
50
+ }
51
+ }
52
+ });
102
53
  export var LevelPlugin = {
103
54
  name: 'e-level',
104
55
  install: function (Vue) {
@@ -1,49 +1,15 @@
1
- import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
1
  export declare const properties: string[];
3
2
  export declare const modelProps: string[];
4
3
  export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
8
5
  /**
9
- * Represents Vuejs TreeMap Component
6
+ * Represents the Vue TreeMap component. It is used to visualize both hierarchical and flat data.
10
7
  * ```vue
11
8
  * <ejs-treemap></ejs-treemap>
12
9
  * ```
13
10
  */
14
- export declare class TreeMapComponent extends ComponentBase {
15
- ej2Instances: any;
16
- propKeys: string[];
17
- models: string[];
18
- hasChildDirective: boolean;
19
- protected hasInjectedModules: boolean;
20
- tagMapper: {
21
- [key: string]: Object;
22
- };
23
- tagNameMapper: Object;
24
- isVue3: boolean;
25
- templateCollection: any;
26
- constructor();
27
- clearTemplate(templateNames?: string[]): any;
28
- setProperties(prop: any, muteOnChange: boolean): void;
29
- render(createElement: any): any;
30
- custom(): void;
31
- calculateSelectedTextLevels(labelText: string, item: any): any;
32
- clickOnTreeMap(e: Object): void;
33
- compareSelectedLabelWithDrillDownItems(drillLevelValues: any, item: any, i: number): any;
34
- doubleClickOnTreeMap(e: Object): void;
35
- export(type: Object, fileName: string, orientation?: Object, allowDownload?: boolean): Object;
36
- findTotalWeight(processData: any[], type: string): void;
37
- mouseDownOnTreeMap(e: Object): void;
38
- mouseEndOnTreeMap(e: Object): void;
39
- mouseLeaveOnTreeMap(e: Object): void;
40
- mouseMoveOnTreeMap(e: Object): void;
41
- print(id?: string[] | string | Object): void;
42
- reOrderLevelData(start: number): void;
43
- resizeOnTreeMap(e: Object): void;
44
- rightClickOnTreeMap(e: Object): void;
45
- selectItem(levelOrder: string[], isSelected?: boolean): void;
46
- }
11
+ export declare let TreeMapComponent: any;
12
+ export declare type TreeMapComponent = InstanceType<typeof TreeMapComponent>;
47
13
  export declare const TreeMapPlugin: {
48
14
  name: string;
49
15
  install(Vue: any): void;