Skip to content

Commit 22e7c86

Browse files
author
pipeline
committed
v20.1.52 is released
1 parent ec99c65 commit 22e7c86

Some content is hidden

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

49 files changed

+204
-24
lines changed

components/base/CHANGELOG.md

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

99
#### Bug Fixes
1010

11+
- `#FB9750` - The issue with "Providers are not accessible for Vue component with typescript application environment" has been resolved.
12+
13+
## 20.1.51 (2022-04-26)
14+
15+
### Common
16+
17+
#### Bug Fixes
18+
1119
- `#I334904`, `#I347008` - The issue with "Script error in Vite + Vue application" has been resolved.
1220

1321
## 20.1.48 (2022-04-12)

components/base/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-base",
3-
"version": "20.1.48",
3+
"version": "20.1.51",
44
"description": "A common package of Essential JS 2 base Vue libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/base/src/component-base.ts

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
protected hasChildDirective: boolean = false;
4747
protected childDirObjects: string = '';
4848
protected propKeys: any;
49+
protected isDecorator: boolean = false;
4950

5051
constructor() {
5152
super(arguments);
@@ -64,7 +65,10 @@
6465
let vueInjectables: any = getValue('$parent.$options.provide', this);
6566
if (this.hasInjectedModules && !isExecute) {
6667
let prevModule: Object[] = [];
67-
if (injectables) {
68+
if (injectables && injectables.managed) {
69+
this.isDecorator = true;
70+
prevModule = this.getInjectedServices() || [];
71+
} else if (injectables) {
6872
prevModule = injectables[this.ej2Instances.getModuleName()] || [];
6973
} else if (vueInjectables) {
7074
prevModule = this.getInjectedServices() || [];
@@ -97,7 +101,9 @@
97101
}
98102
public getInjectedServices(): Object[] {
99103
let ret = []; let provide: any;
100-
if (this.$vnode) {
104+
if (this.$root && this.isDecorator) {
105+
provide = getValue('$root.$options.provide', this);
106+
} else if (this.$vnode) {
101107
provide = getValue('$vnode.context.$options.provide', this);
102108
} else if (this.$parent) {
103109
provide = getValue('$parent.$options.provide', this);
@@ -106,15 +112,42 @@
106112
// tslint:disable:no-any
107113
let injectables: any = provide;
108114
if (typeof provide === 'function') {
115+
if (provide.managed) {
116+
let provideKey: Object = provide.managed;
117+
let provideValue: string[] = Object.keys(provideKey);
118+
let key: string[];
119+
if (this.$root && this.isDecorator) {
120+
key = Object.keys(this.$root);
121+
} else if (this.$vnode) {
122+
key = Object.keys(this.$vnode.context);
123+
} else if (this.$parent) {
124+
key = Object.keys(this.$parent);
125+
}
126+
for (let i: number = 0; i < provideValue.length; i++) {
127+
for (let j: number = 0; j < key.length; j++) {
128+
if ((key[j].indexOf(provideValue[i])) !== -1) {
129+
if (this.$root && this.isDecorator) {
130+
provideKey[provideValue[j]] = this.$root[key[i]];
131+
} else if (this.$vnode) {
132+
provideKey[provideValue[i]] = this.$vnode.context[key[j]];
133+
} else if (this.$parent) {
134+
provideKey[provideValue[i]] = this.$parent[key[j]];
135+
}
136+
injectables = provideKey;
137+
}
138+
}
139+
}
140+
}
109141
// tslint:disable:no-any
110-
if (this.$vnode) {
142+
else if (this.$vnode) {
111143
injectables = this.$vnode.context.$options.provide();
112144
} else if(this.$parent) {
113145
injectables = this.$parent.$options.provide();
114146
}
115147
}
116148
ret = injectables[this.ej2Instances.getModuleName()] || [];
117149
}
150+
this.isDecorator = false;
118151
return ret;
119152
}
120153
public updated(): void {

components/buttons/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 20.1.51 (2022-04-26)
5+
## 20.1.52 (2022-05-04)
6+
7+
### Switch
8+
9+
#### Bug Fixes
10+
11+
- `#I362372` - The issue with "Script error occurs while using the reactive method in the switch component in Vue 3" has been resolved.
12+
13+
## 20.1.50 (2022-04-19)
614

715
### Radio Button
816

components/buttons/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-buttons",
3-
"version": "20.1.47",
3+
"version": "20.1.50",
44
"description": "A package of feature-rich Essential JS 2 components such as Button, CheckBox, RadioButton and Switch. for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/buttons/src/check-box/checkbox.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class CheckBoxComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/buttons/src/radio-button/radiobutton.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class RadioButtonComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/buttons/src/switch/switch.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class SwitchComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/charts/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 20.1.52 (2022-05-04)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I375071` - Now axis labels is rendering properly with label rotation.
12+
13+
## 20.1.51 (2022-04-26)
14+
15+
### Chart
16+
17+
#### Bug Fixes
18+
19+
- `#I375071` - Now axis labels is rendering properly with label rotation.
20+
521
## 20.1.50 (2022-04-19)
622

723
### 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": "20.1.50",
3+
"version": "20.1.51",
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/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": "20.1.48",
3+
"version": "20.1.51",
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: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
## [Unreleased]
44

5+
## 20.1.52 (2022-05-04)
6+
7+
### Document Editor
8+
9+
#### Bug Fixes
10+
11+
- `#SF-368653` - Resolved the Document Editor numbering continuity issue.
12+
- `#SF-376374` - Resolved the exception thrown on exporting a sfdt without a metafile property in server-side.
13+
- `#SF-373298` - Resolved the extra paragraph added while updating the table of contents.
14+
- `#SF-373359` - Resolved the multiples instances of table of content creation when track changes is enabled.
15+
- `#SF-373451` - Resolved exception while open the document with image without relation identifier.
16+
- `#SF-373159` - Resolved the console error thrown on pasting a content and then changing page orientation.
17+
- `#SF-373175` - Resolved the script error thrown on deleting the revision text.
18+
- `#SF-372741` - Resolved inconsistent behaviour of text selection inside an editable table cell within a read only document.
19+
- `#SF-372794` - Resolved the script error while serializing sfdt document with page break to html format in server-side.
20+
- `#SF-372636` - Resolved the text inside the shape with wrapping style 'in-front of text'.
21+
- `#SF-372159` - Default number format for Page field is now displayed properly.
22+
- `#SF-371816` - List format is now preserved properly on importing.
23+
- `#SF-371644` - Table formatting is now preserved properly while copy pasting table and resolved the document hanging in copying.
24+
- `#SF-370909` - Resolved the script error rendering after content delete.
25+
- `#SF-369585` - Resolved the scrolling becomes quite slow while selecting the text in document with more than 20 pages.
26+
- `#SF-368794` - Resolved the tab space issue.
27+
- `#SF-366157`, `#SF-367362` - Resolved the table rendering issue at the bottom of the page.
28+
- `#SF-293527` - Justify paragraph layout issue in new page first paragraph is now resolved.
29+
- `#SF-373340` - Resolved the content hanging issue while opening the attached document.
30+
- `#SF-372431` - Resolved the table misalignment issue if the table has positioning properties.
31+
532
## 20.1.51 (2022-04-26)
633

734
### 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": "20.1.50",
3+
"version": "20.1.51",
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/dropdowns/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-
## 20.1.51 (2022-04-26)
5+
## 20.1.52 (2022-05-04)
66

77
### ListBox
88

components/dropdowns/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-dropdowns",
3-
"version": "20.1.50",
3+
"version": "20.1.51",
44
"description": "Essential JS 2 DropDown Components for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/dropdowns/src/auto-complete/autocomplete.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class AutoCompleteComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/dropdowns/src/combo-box/combobox.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class ComboBoxComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/dropdowns/src/drop-down-list/dropdownlist.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class DropDownListComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/dropdowns/src/drop-down-tree/dropdowntree.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class DropDownTreeComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/dropdowns/src/list-box/listbox.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class ListBoxComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/dropdowns/src/multi-select/multiselect.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class MultiSelectComponent extends ComponentBase {
130130
if (!isExecute) {
131131
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
132132
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
133+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
133134
} else {
134135
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
135136
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/filemanager/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+
## 20.1.52 (2022-05-04)
6+
7+
### File Manager
8+
9+
#### Bug Fixes
10+
11+
- `#I371623` - The issue with "Unable to perform file operations on the filtered file items in File Manager" has been resolved.
12+
513
## 19.2.56 (2021-08-17)
614

715
### File Manager

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+
## 20.1.52 (2022-05-04)
6+
7+
### Gantt
8+
9+
#### Bug Fixes
10+
11+
- `#372661` - Data not properly updated in the Gantt Chart when switching between list view issue has been fixed.
12+
513
## 20.1.51 (2022-04-26)
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": "20.1.50",
3+
"version": "20.1.51",
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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## [Unreleased]
44

5+
## 20.1.52 (2022-05-04)
6+
7+
### Grid
8+
9+
#### Bug Fixes
10+
11+
- `#I366094` - Need to consider validation when multiple records are added in batch edit mode has been fixed.
12+
- `#I374850` - When `allowKeyboard` was set to false the selection was not prevented correctly has been fixed.
13+
- `#F141605` - Provide support get distinct value from server when open the Excel/Checkbox filter has been fixed.
14+
515
## 20.1.51 (2022-04-26)
616

717
### 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": "20.1.48",
3+
"version": "20.1.51",
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/grids/src/grid/grid.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export class GridComponent extends ComponentBase {
134134
if (!isExecute) {
135135
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
136136
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
137+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
137138
} else {
138139
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
139140
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

components/lineargauge/CHANGELOG.md

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

1515
## [Unreleased]
1616

17-
## 20.1.51 (2022-04-26)
17+
## 20.1.52 (2022-05-04)
1818

1919
### LinearGauge
2020

components/maps/CHANGELOG.md

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

1515
## [Unreleased]
1616

17-
## 20.1.51 (2022-04-26)
17+
## 20.1.48 (2022-04-12)
1818

1919
### Maps
2020

components/maps/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-maps",
3-
"version": "20.1.47",
3+
"version": "20.1.48",
44
"description": "The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/maps/src/maps/maps.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export class MapsComponent extends ComponentBase {
137137
if (!isExecute) {
138138
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
139139
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
140+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
140141
} else {
141142
if (eventName === 'change' || ((this as any).$props && !(this as any).$props.isLazyUpdate)) {
142143
(this as any).$emit('update:'+ propKey, eventProp[propKey]);

0 commit comments

Comments
 (0)