Skip to content

Commit 5fccd21

Browse files
author
pipeline
committed
v19.2.60 is released
1 parent 88c6137 commit 5fccd21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+333
-41
lines changed

components/calendars/src/calendar/calendar.component.ts

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Options } from 'vue-class-component';
22
import { isUndefined } from '@syncfusion/ej2-base';
33
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
4-
import { isNullOrUndefined } from '@syncfusion/ej2-base';
4+
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
55

66
import { Calendar } from '@syncfusion/ej2-calendars';
77

@@ -53,7 +53,7 @@ export class CalendarComponent extends ComponentBase {
5353
public tagMapper: { [key: string]: Object } = {};
5454
public tagNameMapper: Object = {};
5555
public isVue3: boolean;
56-
56+
public templateCollection: any;
5757
constructor() {
5858
super(arguments);
5959
this.isVue3 = !isExecute;
@@ -63,7 +63,32 @@ export class CalendarComponent extends ComponentBase {
6363
this.bindProperties();
6464
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
6565
this.ej2Instances.setProperties = this.setProperties;
66+
this.ej2Instances.clearTemplate = this.clearTemplate;
67+
}
68+
69+
public clearTemplate(templateNames?: string[]): any {
70+
if (!templateNames){
71+
templateNames = Object.keys(this.templateCollection || {});
6672
}
73+
if (templateNames.length && this.templateCollection) {
74+
for (let tempName of templateNames){
75+
let elementCollection: any = this.templateCollection[tempName];
76+
if(elementCollection && elementCollection.length) {
77+
for(let ele of elementCollection) {
78+
let destroy: any = getValue('__vue__.$destroy', ele);
79+
if (destroy) {
80+
ele.__vue__.$destroy();
81+
}
82+
if (ele.innerHTML){
83+
ele.innerHTML = '';
84+
}
85+
}
86+
delete this.templateCollection[tempName];
87+
}
88+
}
89+
}
90+
}
91+
6792
public setProperties(prop: any, muteOnChange: boolean): void {
6893
if(this.isVue3) {
6994
this.models = !this.models ? this.ej2Instances.referModels : this.models;

components/calendars/src/datepicker/datepicker.component.ts

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Options } from 'vue-class-component';
22
import { isUndefined } from '@syncfusion/ej2-base';
33
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
4-
import { isNullOrUndefined } from '@syncfusion/ej2-base';
4+
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
55

66
import { DatePicker } from '@syncfusion/ej2-calendars';
77

@@ -53,7 +53,7 @@ export class DatePickerComponent extends ComponentBase {
5353
public tagMapper: { [key: string]: Object } = {};
5454
public tagNameMapper: Object = {};
5555
public isVue3: boolean;
56-
56+
public templateCollection: any;
5757
constructor() {
5858
super(arguments);
5959
this.isVue3 = !isExecute;
@@ -63,7 +63,32 @@ export class DatePickerComponent extends ComponentBase {
6363
this.bindProperties();
6464
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
6565
this.ej2Instances.setProperties = this.setProperties;
66+
this.ej2Instances.clearTemplate = this.clearTemplate;
67+
}
68+
69+
public clearTemplate(templateNames?: string[]): any {
70+
if (!templateNames){
71+
templateNames = Object.keys(this.templateCollection || {});
72+
}
73+
if (templateNames.length && this.templateCollection) {
74+
for (let tempName of templateNames){
75+
let elementCollection: any = this.templateCollection[tempName];
76+
if(elementCollection && elementCollection.length) {
77+
for(let ele of elementCollection) {
78+
let destroy: any = getValue('__vue__.$destroy', ele);
79+
if (destroy) {
80+
ele.__vue__.$destroy();
81+
}
82+
if (ele.innerHTML){
83+
ele.innerHTML = '';
84+
}
85+
}
86+
delete this.templateCollection[tempName];
87+
}
6688
}
89+
}
90+
}
91+
6792
public setProperties(prop: any, muteOnChange: boolean): void {
6893
if(this.isVue3) {
6994
this.models = !this.models ? this.ej2Instances.referModels : this.models;

components/calendars/src/daterangepicker/daterangepicker.component.ts

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Options } from 'vue-class-component';
22
import { isUndefined } from '@syncfusion/ej2-base';
33
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
4-
import { isNullOrUndefined } from '@syncfusion/ej2-base';
4+
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
55

66
import { DateRangePicker } from '@syncfusion/ej2-calendars';
77
import { PresetsDirective, PresetDirective, PresetsPlugin, PresetPlugin } from './presets.directive'
@@ -54,7 +54,7 @@ export class DateRangePickerComponent extends ComponentBase {
5454
public tagMapper: { [key: string]: Object } = {"e-presets":"e-preset"};
5555
public tagNameMapper: Object = {};
5656
public isVue3: boolean;
57-
57+
public templateCollection: any;
5858
constructor() {
5959
super(arguments);
6060
this.isVue3 = !isExecute;
@@ -64,7 +64,32 @@ export class DateRangePickerComponent extends ComponentBase {
6464
this.bindProperties();
6565
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
6666
this.ej2Instances.setProperties = this.setProperties;
67+
this.ej2Instances.clearTemplate = this.clearTemplate;
68+
}
69+
70+
public clearTemplate(templateNames?: string[]): any {
71+
if (!templateNames){
72+
templateNames = Object.keys(this.templateCollection || {});
6773
}
74+
if (templateNames.length && this.templateCollection) {
75+
for (let tempName of templateNames){
76+
let elementCollection: any = this.templateCollection[tempName];
77+
if(elementCollection && elementCollection.length) {
78+
for(let ele of elementCollection) {
79+
let destroy: any = getValue('__vue__.$destroy', ele);
80+
if (destroy) {
81+
ele.__vue__.$destroy();
82+
}
83+
if (ele.innerHTML){
84+
ele.innerHTML = '';
85+
}
86+
}
87+
delete this.templateCollection[tempName];
88+
}
89+
}
90+
}
91+
}
92+
6893
public setProperties(prop: any, muteOnChange: boolean): void {
6994
if(this.isVue3) {
7095
this.models = !this.models ? this.ej2Instances.referModels : this.models;

components/calendars/src/datetimepicker/datetimepicker.component.ts

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Options } from 'vue-class-component';
22
import { isUndefined } from '@syncfusion/ej2-base';
33
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
4-
import { isNullOrUndefined } from '@syncfusion/ej2-base';
4+
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
55

66
import { DateTimePicker } from '@syncfusion/ej2-calendars';
77

@@ -53,7 +53,7 @@ export class DateTimePickerComponent extends ComponentBase {
5353
public tagMapper: { [key: string]: Object } = {};
5454
public tagNameMapper: Object = {};
5555
public isVue3: boolean;
56-
56+
public templateCollection: any;
5757
constructor() {
5858
super(arguments);
5959
this.isVue3 = !isExecute;
@@ -63,7 +63,32 @@ export class DateTimePickerComponent extends ComponentBase {
6363
this.bindProperties();
6464
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
6565
this.ej2Instances.setProperties = this.setProperties;
66+
this.ej2Instances.clearTemplate = this.clearTemplate;
67+
}
68+
69+
public clearTemplate(templateNames?: string[]): any {
70+
if (!templateNames){
71+
templateNames = Object.keys(this.templateCollection || {});
72+
}
73+
if (templateNames.length && this.templateCollection) {
74+
for (let tempName of templateNames){
75+
let elementCollection: any = this.templateCollection[tempName];
76+
if(elementCollection && elementCollection.length) {
77+
for(let ele of elementCollection) {
78+
let destroy: any = getValue('__vue__.$destroy', ele);
79+
if (destroy) {
80+
ele.__vue__.$destroy();
81+
}
82+
if (ele.innerHTML){
83+
ele.innerHTML = '';
84+
}
85+
}
86+
delete this.templateCollection[tempName];
87+
}
6688
}
89+
}
90+
}
91+
6792
public setProperties(prop: any, muteOnChange: boolean): void {
6893
if(this.isVue3) {
6994
this.models = !this.models ? this.ej2Instances.referModels : this.models;

components/calendars/src/timepicker/timepicker.component.ts

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Options } from 'vue-class-component';
22
import { isUndefined } from '@syncfusion/ej2-base';
33
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
4-
import { isNullOrUndefined } from '@syncfusion/ej2-base';
4+
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
55

66
import { TimePicker } from '@syncfusion/ej2-calendars';
77

@@ -53,7 +53,7 @@ export class TimePickerComponent extends ComponentBase {
5353
public tagMapper: { [key: string]: Object } = {};
5454
public tagNameMapper: Object = {};
5555
public isVue3: boolean;
56-
56+
public templateCollection: any;
5757
constructor() {
5858
super(arguments);
5959
this.isVue3 = !isExecute;
@@ -63,7 +63,32 @@ export class TimePickerComponent extends ComponentBase {
6363
this.bindProperties();
6464
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
6565
this.ej2Instances.setProperties = this.setProperties;
66+
this.ej2Instances.clearTemplate = this.clearTemplate;
67+
}
68+
69+
public clearTemplate(templateNames?: string[]): any {
70+
if (!templateNames){
71+
templateNames = Object.keys(this.templateCollection || {});
6672
}
73+
if (templateNames.length && this.templateCollection) {
74+
for (let tempName of templateNames){
75+
let elementCollection: any = this.templateCollection[tempName];
76+
if(elementCollection && elementCollection.length) {
77+
for(let ele of elementCollection) {
78+
let destroy: any = getValue('__vue__.$destroy', ele);
79+
if (destroy) {
80+
ele.__vue__.$destroy();
81+
}
82+
if (ele.innerHTML){
83+
ele.innerHTML = '';
84+
}
85+
}
86+
delete this.templateCollection[tempName];
87+
}
88+
}
89+
}
90+
}
91+
6792
public setProperties(prop: any, muteOnChange: boolean): void {
6893
if(this.isVue3) {
6994
this.models = !this.models ? this.ej2Instances.referModels : this.models;

components/charts/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 19.2.60 (2021-09-07)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I340525` - Data labels are rendering fine when the background is specified for the chart.
12+
513
## 19.2.59 (2021-08-31)
614

715
### Chart

components/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-charts",
3-
"version": "19.2.57",
3+
"version": "19.2.59",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball. for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/circulargauge/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## [Unreleased]
77

8-
## 19.2.59 (2021-08-31)
8+
## 19.2.60 (2021-09-07)
99

1010
### CircularGauge
1111

components/diagrams/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-diagrams",
3-
"version": "19.2.57",
3+
"version": "19.2.59",
44
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts. for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/documenteditor/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
## [Unreleased]
44

5+
## 19.2.60 (2021-09-07)
6+
7+
### Document Editor
8+
9+
#### Bug Fixes
10+
11+
- `#I340416` - Resolved the toolbar reinitialization issue.
12+
- `#I337274` - Resolved the merged cell border rendering issue.
13+
- `#I335107` - Text is not layouted properly when used with floating table.
14+
- `#I336588` - Resolved the RTL text Copy/paste text only mode.
15+
516
## 19.2.59 (2021-08-31)
617

718
### Document Editor

components/documenteditor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-documenteditor",
3-
"version": "19.2.57",
3+
"version": "19.2.59",
44
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/filemanager/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.2.59 (2021-08-31)
5+
## 19.2.60 (2021-09-07)
66

77
### File Manager
88

components/gantt/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 19.2.60 (2021-09-07)
6+
7+
### Gantt
8+
9+
#### Bug Fixes
10+
11+
- `#340155` - Dialog closes when pressing insert key issue has been fixed.
12+
513
## 19.2.59 (2021-08-31)
614

715
### Gantt

components/gantt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-gantt",
3-
"version": "19.2.57",
3+
"version": "19.2.59",
44
"description": "Essential JS 2 Gantt Component for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/grids/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
## [Unreleased]
44

5+
## 19.2.60 (2021-09-07)
6+
7+
### Grid
8+
9+
#### Bug Fixes
10+
11+
- `#I339334` - `exportDetailDataBound` event not triggered when export the `HierarchyGrid` has been fixed.
12+
- `#I339880` - Script error throws when enable `textwrap` with auto generated columns, issue has been fixed.
13+
- `#FB27674` - Multi column dynamic sorting issue has been resolved.
14+
- `#I340037` - Grid focus out issue has been resolved.
15+
- `#I340122` - Script error while using custom component on boolean menu filter has been resolved.
16+
- `#I339774` - Script error throws while hiding columns in enabled `lazyload` grid, has been fixed.
17+
- `#I336801` - Infinite scrolling with editing with checkbox selection issue has been fixed.
18+
519
## 19.2.59 (2021-08-31)
620

721
### Grid

components/grids/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-grids",
3-
"version": "19.2.57",
3+
"version": "19.2.59",
44
"description": "Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel. for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/inputs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-inputs",
3-
"version": "19.2.55",
3+
"version": "19.2.59",
44
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users. for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)