Skip to content

Commit 621f5bd

Browse files
author
pipeline
committed
v25.2.4 is released
1 parent 98e9742 commit 621f5bd

Some content is hidden

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

56 files changed

+274
-223
lines changed

components/barcodegenerator/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 25.2.3 (2024-05-08)
5+
## 25.2.4 (2024-05-14)
66

77
### Barcode
88

components/base/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 25.2.4 (2024-05-14)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `#I573822` - The issue with "the element duplications occur while routing in the Vue template component" has been resolved.
12+
513
## 25.1.35 (2024-03-15)
614

715
### Common

components/base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-base",
3-
"version": "25.1.35",
3+
"version": "25.2.3",
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/releasenotes/README.md

-183
This file was deleted.

components/base/src/component-base.ts

+16
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,24 @@ export let ComponentBase: ComponentBase = vueDefineComponent({
186186
let tempBeforeDestroyThis: any = this;
187187
tempBeforeDestroyThis.ej2Instances.destroy();
188188
(tempBeforeDestroyThis.$el as any).style.visibility = 'hidden';
189+
tempBeforeDestroyThis.destroyPortals();
189190
tempBeforeDestroyThis = null;
190191
},
192+
destroyPortals(): void {
193+
if (this.portals) {
194+
for (const portal of this.portals) {
195+
const controls: any[] = portal.classList.contains('e-control') ? [portal] : portal.getElementsByClassName('e-control');
196+
for (let index: number = 0; index < controls.length; index++) {
197+
const control: any = controls[parseInt(index.toString(), 10)];
198+
if (control.ej2_instances && control.ej2_instances[0]) {
199+
control.ej2_instances[0].destroy();
200+
index--;
201+
}
202+
}
203+
}
204+
this.portals = null;
205+
}
206+
},
191207
bindProperties(): void {
192208
let options: Object = {};
193209
for (let prop of this.propKeys) {

components/base/src/template.ts

+18
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export function compile(
1313
let returnEle: any;
1414
if (context) {
1515
let plugins: any = context.vueInstance && context.vueInstance.plugins ? { plugins: context.vueInstance.plugins } : {};
16+
const vueInstance: any = context.vueInstance ? context.vueInstance :
17+
((root && root.vueInstance) ? root.vueInstance : null);
1618
let pid: string = getUniqueID("templateParentDiv");
1719
let id: string = getUniqueID("templateDiv");
1820
let ele: HTMLElement = createElement("div", {
@@ -33,6 +35,10 @@ export function compile(
3335
// Get values for Vue 3 slot template
3436
getValues(app, context.vueInstance, root);
3537
Vue.render(app, ele);
38+
if (vueInstance) {
39+
if (!vueInstance['portals']) { vueInstance['portals'] = []; }
40+
vueInstance.portals.push(...[].slice.call(ele.children));
41+
}
3642
returnEle = ele.childNodes;
3743
detach(ele);
3844
} else {
@@ -96,6 +102,10 @@ export function compile(
96102
// Get values for Vue 3 functional template
97103
getValues(app, context.vueInstance, root);
98104
Vue.render(app, ele);
105+
if (vueInstance) {
106+
if (!vueInstance['portals']) { vueInstance['portals'] = []; }
107+
vueInstance.portals.push(...[].slice.call(ele.children));
108+
}
99109
returnEle = ele.childNodes;
100110
if (context.vueInstance) {
101111
let templateInstance: any = context.vueInstance.templateCollection;
@@ -134,6 +144,10 @@ export function compile(
134144
}
135145
});
136146
vueTemplate.$mount("#" + id);
147+
if (vueInstance) {
148+
if (!vueInstance['portals']) { vueInstance['portals'] = []; }
149+
vueInstance.portals.push(...[].slice.call(ele.children));
150+
}
137151
returnEle = ele.childNodes;
138152
detach(ele);
139153
} else {
@@ -164,6 +178,10 @@ export function compile(
164178
// let templateVue = new Vue(tempObj.template);
165179
// templateVue.$data.data = extend(tempObj.data, data);
166180
templateVue.$mount("#" + id);
181+
if (vueInstance) {
182+
if (!vueInstance['portals']) { vueInstance['portals'] = []; }
183+
vueInstance.portals.push(...[].slice.call(ele.children));
184+
}
167185
returnEle = ele.childNodes;
168186
if (context.vueInstance) {
169187
let templateInstance: any = context.vueInstance.templateCollection;

components/buttons/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 25.2.4 (2024-05-14)
6+
7+
### Checkbox
8+
9+
#### Bug Fixes
10+
11+
- The issue with "Script error thrown in CheckBox `unWireEvents` method" has been resolved.
12+
513
## 25.1.39 (2024-04-09)
614

715
### Checkbox

components/buttons/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-buttons",
3-
"version": "25.1.39",
3+
"version": "25.2.3",
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/calendars/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-calendars",
3-
"version": "25.1.40",
3+
"version": "25.2.3",
44
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization. for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/charts/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 25.2.3 (2024-05-08)
5+
## 25.2.4 (2024-05-14)
66

77
### Accumulation Chart
88

components/circulargauge/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-circulargauge",
3-
"version": "25.1.35",
3+
"version": "25.2.3",
44
"description": "Essential JS 2 CircularGauge Components for Vue",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/diagrams/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
## [Unreleased]
44

5+
## 25.2.4 (2024-05-14)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I579409` - Now, the connectors updated properly in complex hierarchical tree while performing expand and collapse.
12+
- `#I582187` - Now, the order commands working properly when we set zIndex at initial rendering.
13+
- `#I585972` - Now, the overview rectangle updated properly while double clicking the overview canvas.
14+
- `#F186044` - Now, the fill color for phases applied properly while adding phases at runtime.
15+
- `#I52018` - Now, While SwimLane dragged from palette and deletion does not throw console exception.
16+
517
## 25.1.42 (2024-04-30)
618

719
### Diagram

components/diagrams/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-diagrams",
3-
"version": "25.1.42",
3+
"version": "25.2.3",
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

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
## [Unreleased]
44

5+
## 25.2.4 (2024-05-14)
6+
7+
### DocumentEditor
8+
9+
#### Bug Fixes
10+
11+
- `#F187485` - Resolved the issue of Form Field dialog always pops up upon double clicking anywhere within the word document.
12+
- `#I575901` - Resolved the table divided to next page.
13+
- `#I560985` - Resolved table cell split issue in the attached document.
14+
- `#F187818` - Resolved the document collapse issue while undoing.
15+
516
## 25.1.42 (2024-04-30)
617

718
### DocumentEditor

components/documenteditor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-documenteditor",
3-
"version": "25.1.42",
3+
"version": "25.2.3",
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",

0 commit comments

Comments
 (0)