@syncfusion/ej2-vue-treemap 20.1.47 → 20.2.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-treemap@*",
3
- "_id": "@syncfusion/ej2-vue-treemap@16.30.0",
3
+ "_id": "@syncfusion/ej2-vue-treemap@20.2.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-BpjN3Y6E0Dj9bfOgZmOb51dpPE1QK9EOrSQtpC0x5bcU0sKbXZ1IBeebrPSikip64ixnpkMS2lDE3L4hKINdBA==",
5
+ "_integrity": "sha512-Di7vQzrjsjFZ5Vwrgy2ih/cPSO8dC+eWteQpPqeGnGrrOt1NMNLBp6vBH3RQtG2nZia6mJ+1QBLRgFNSRwcegA==",
6
6
  "_location": "/@syncfusion/ej2-vue-treemap",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-treemap/-/ej2-vue-treemap-16.30.0.tgz",
23
- "_shasum": "9d97387806252b1d15271d8e5fd82bf0a4ed0a4e",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-treemap/-/ej2-vue-treemap-20.2.1.tgz",
23
+ "_shasum": "b3b74563da5e21dfb0670872d2a5e4a0f6b9b309",
24
24
  "_spec": "@syncfusion/ej2-vue-treemap@*",
25
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
26
26
  "author": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~20.1.47",
35
- "@syncfusion/ej2-treemap": "20.1.47",
36
- "@syncfusion/ej2-vue-base": "~20.1.47"
34
+ "@syncfusion/ej2-base": "~20.2.36",
35
+ "@syncfusion/ej2-treemap": "20.2.36",
36
+ "@syncfusion/ej2-vue-base": "~20.2.36"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Essential JS 2 TreeMap Components for Vue",
@@ -70,6 +70,6 @@
70
70
  "type": "git",
71
71
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
72
72
  },
73
- "version": "20.1.47",
73
+ "version": "20.2.36",
74
74
  "sideEffects": false
75
75
  }
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class ColorMappingsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const ColorMappingsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var ColorMappingsDirective = /** @class */ (function (_super) {
32
34
  __extends(ColorMappingsDirective, _super);
33
35
  function ColorMappingsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- ColorMappingsDirective.prototype.render = function () {
38
+ ColorMappingsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ ColorMappingsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  ColorMappingsDirective.prototype.getTag = function () {
40
55
  return 'e-colorMappings';
41
56
  };
42
57
  ColorMappingsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], ColorMappingsDirective);
45
67
  return ColorMappingsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class LevelsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const LevelsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var LevelsDirective = /** @class */ (function (_super) {
32
34
  __extends(LevelsDirective, _super);
33
35
  function LevelsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- LevelsDirective.prototype.render = function () {
38
+ LevelsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ LevelsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  LevelsDirective.prototype.getTag = function () {
40
55
  return 'e-levels';
41
56
  };
42
57
  LevelsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], LevelsDirective);
45
67
  return LevelsDirective;
46
68
  }(vueImport));
@@ -28,6 +28,7 @@ export declare class TreeMapComponent extends ComponentBase {
28
28
  clearTemplate(templateNames?: string[]): any;
29
29
  setProperties(prop: any, muteOnChange: boolean): void;
30
30
  render(createElement: any): any;
31
+ custom(): void;
31
32
  calculatePreviousLevelChildItems(labelText: string, drillLevelValues: any, item: any, directLevel: boolean): boolean;
32
33
  calculateSelectedTextLevels(labelText: string, item: any): any;
33
34
  clickOnTreeMap(e: Object): void;
@@ -23,7 +23,7 @@ import { TreeMap } from '@syncfusion/ej2-treemap';
23
23
  import { ColorMappingsDirective, ColorMappingDirective, ColorMappingsPlugin, ColorMappingPlugin } from './colormapping.directive';
24
24
  import { LevelsDirective, LevelDirective, LevelsPlugin, LevelPlugin } from './levels.directive';
25
25
  import { Options } from 'vue-class-component';
26
- export var properties = ['isLazyUpdate', 'allowImageExport', 'allowPdfExport', 'allowPrint', 'background', 'border', 'breadcrumbConnector', 'colorValuePath', 'dataSource', 'description', 'drillDownView', 'enableBreadcrumb', 'enableDrillDown', 'enablePersistence', 'enableRtl', 'equalColorValuePath', 'format', 'height', 'highlightSettings', 'initialDrillDown', 'layoutType', 'leafItemSettings', 'legendSettings', 'levels', 'locale', 'margin', 'palette', 'query', 'rangeColorValuePath', 'renderDirection', 'selectionSettings', 'tabIndex', 'theme', 'titleSettings', 'tooltipSettings', 'useGroupingSeparator', 'weightValuePath', 'width', 'beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];
26
+ export 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'];
27
27
  export var modelProps = [];
28
28
  export var testProp = getProps({ props: properties });
29
29
  export var props = testProp[0];
@@ -57,6 +57,7 @@ var TreeMapComponent = /** @class */ (function (_super) {
57
57
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
58
58
  _this.ej2Instances.setProperties = _this.setProperties;
59
59
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
60
+ _this.updated = _this.updated;
60
61
  return _this;
61
62
  }
62
63
  TreeMapComponent.prototype.clearTemplate = function (templateNames) {
@@ -115,6 +116,9 @@ var TreeMapComponent = /** @class */ (function (_super) {
115
116
  }
116
117
  return h('div', slots);
117
118
  };
119
+ TreeMapComponent.prototype.custom = function () {
120
+ this.updated();
121
+ };
118
122
  TreeMapComponent.prototype.calculatePreviousLevelChildItems = function (labelText, drillLevelValues, item, directLevel) {
119
123
  return this.ej2Instances.calculatePreviousLevelChildItems(labelText, drillLevelValues, item, directLevel);
120
124
  };
@@ -170,7 +174,12 @@ var TreeMapComponent = /** @class */ (function (_super) {
170
174
  ,Options({
171
175
  props: props,
172
176
  watch: watch,
173
- emits: emitProbs
177
+ emits: emitProbs,
178
+ provide: function provide() {
179
+ return {
180
+ custom: this.custom
181
+ };
182
+ }
174
183
  })
175
184
  ], TreeMapComponent);
176
185
  return TreeMapComponent;