Skip to content

Commit 80c467c

Browse files
author
pipeline
committed
v21.2.10 is released
1 parent e363f59 commit 80c467c

Some content is hidden

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

61 files changed

+1155
-38
lines changed

components/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 21.2.10 (2023-06-13)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `#I457123` - The issue with "Unable to render Grid component using v-for and a slot template in Vue 3" has been resolved.
12+
- `#I468694` - The issue with "Unable to access the global directives in Vue 3 slot templates" has been resolved.
13+
14+
## 21.2.6 (2023-05-23)
15+
16+
### Common
17+
18+
#### Bug Fixes
19+
20+
- `#I453141` - The issue with "Unable to access the template data inside the external template while using Composition API" has been resolved.
21+
522
## 21.1.41 (2023-04-18)
623

724
### Common

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": "21.2.3",
3+
"version": "21.2.6",
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ export let ComponentBase = vueDefineComponent({
257257
let slot: any = [];
258258
let innerDirValues: any;
259259
slot = slots.default ? slots.default() : slots;
260+
slot = slot.flatMap((item: any) => Array.isArray(item.children) ? item.children : item);
260261
let items: any = {};
261262
items[`${tagName}`] = [];
262263
for (const childSlot of slot) {

components/base/src/template.ts

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,18 @@ export function compile(
6868
}
6969
let tempRef: any;
7070
if (propsData) {
71-
tempRef = (<any>Object).assign(templateCompRef.data(), propsData);
72-
} else {
73-
tempRef = (<any>Object).assign(templateCompRef.data(), dataObj.data);
71+
if (templateCompRef.setup) {
72+
tempRef = (<any>Object).assign(templateCompRef.setup(null, { expose: function () {}}), propsData);
73+
} else {
74+
tempRef = (<any>Object).assign(templateCompRef.data(), propsData);
75+
}
76+
}
77+
else {
78+
if (templateCompRef.setup) {
79+
tempRef = (<any>Object).assign(templateCompRef.setup(null, { expose: function () {}}), dataObj.data);
80+
} else {
81+
tempRef = (<any>Object).assign(templateCompRef.data(), dataObj.data);
82+
}
7483
if (templateCompRef.components) {
7584
let objkeys: any = Object.keys(templateCompRef.components) || [];
7685
for (let objstring of objkeys) {
@@ -82,6 +91,14 @@ export function compile(
8291
}
8392
}
8493
}
94+
if (templateCompRef.setup) {
95+
templateCompRef.setup = function (__props: any, { expose: __expose }: any) {
96+
__expose();
97+
const __returned__ = tempRef;
98+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
99+
return __returned__;
100+
}
101+
}
85102
templateCompRef.data = function () { return tempRef; };
86103
let app: any = Vue.createApp(templateCompRef);
87104
if (plugins) {
@@ -140,6 +157,12 @@ export function compile(
140157
if (typeof templateFunction !== "function") {
141158
templateFunction = Vue.extend(templateFunction);
142159
}
160+
if (templateFunction.options.setup) {
161+
var variables: any = (<any>Object).assign(templateFunction.options.setup(), dataObj.data);
162+
templateFunction.options.setup = function(__props: any) {
163+
return variables;
164+
};
165+
}
143166
let templateVue: any = new templateFunction(dataObj);
144167
// let templateVue = new Vue(tempObj.template);
145168
// templateVue.$data.data = extend(tempObj.data, data);
@@ -173,7 +196,7 @@ function getValues(app: any, cInstance: any, root: any): any {
173196
return;
174197
}
175198
// Get globally defined variables.
176-
let globalVariables: string[] = ['components', 'mixins', 'provides'];
199+
let globalVariables: string[] = ['components', 'mixins', 'provides', 'directives'];
177200
for (let i: number = 0; i < globalVariables.length; i++) {
178201
let gVariable: string = globalVariables[i];
179202
if (app['_context'][gVariable] && vueInstance['$']['appContext'][gVariable]) {
@@ -258,6 +281,7 @@ function getChildVueSlot(slots: any, templateElement: any): any {
258281
return slots;
259282
} else if (slots && slots.default) {
260283
let childSlots: any = slots.default();
284+
childSlots = childSlots.flatMap((item: any) => Array.isArray(item.children) ? item.children : item);
261285
for (let i: number = 0; i < childSlots.length; i++) {
262286
let slot: any = getChildVueSlot(childSlots[parseInt(i.toString(), 10)].children, templateElement);
263287
if (slot) {

components/buttons/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 21.2.10 (2023-06-13)
6+
7+
### RadioButton
8+
9+
#### Bug Fixes
10+
11+
- `#F182133` - The issue with "Correcting Ripple element is not destroyed properly while clicking on radio button component" has been resolved.
12+
13+
## 21.2.6 (2023-05-23)
14+
15+
### RadioButton
16+
17+
#### Bug Fixes
18+
19+
- `#I463728` - The issue with "Provide the boolean value support for radio button while using the v-model property in VUE platform" has been resolved.
20+
21+
## 21.2.5 (2023-05-16)
22+
23+
### RadioButton
24+
25+
#### Bug Fixes
26+
27+
- `#F182133` - The issue with "Ripple element is not destroyed properly while clicking on radio button component" has been resolved.
28+
529
## 21.2.3 (2023-05-03)
630

731
### Switch

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": "21.1.37",
3+
"version": "21.2.6",
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/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 21.2.8 (2023-05-30)
6+
7+
### TimePicker
8+
9+
#### Bug Fixes
10+
11+
- `#I461842` - The performance issue with the Time picker, which was caused by the creation of the popup during component rendering has been resolved.
12+
13+
## 21.2.6 (2023-05-23)
14+
15+
### TimePicker
16+
17+
#### Bug Fixes
18+
19+
- `#SF-461465` - Issue with "Time picker dropdown width not responsive to input and icon" has been resolved.
20+
521
## 21.1.41 (2023-04-18)
622

723
### DatePicker
@@ -1256,6 +1272,23 @@ TimePicker component is the pre-filled dropdown list with the time values 12/24
12561272
- **Accessibility** - Provided with built-in accessibility support which helps to access all the TimePicker component features through the keyboard, screen readers, or other assistive technology devices.
12571273

12581274

1275+
## 21.2.9 (2023-06-06)
1276+
1277+
### DatePicker
1278+
1279+
#### Bug Fixes
1280+
1281+
`#F43274` - Issue with "Typing values in datepicker and press tab or enter key cause console error" has been resolved.
1282+
1283+
1284+
## 21.2.5 (2023-05-16)
1285+
1286+
### Calendar
1287+
1288+
#### Bug Fixes
1289+
1290+
- `#I458215` - Issue with "Islamic calendar decade view in the Arabic culture where the years were not being displayed correctly" has been resolved.
1291+
12591292
## 19.1.56 (2021-04-13)
12601293

12611294
### DateRangePicker

components/calendars/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-calendars",
3-
"version": "21.1.41",
3+
"version": "21.2.9",
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

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

33
## [Unreleased]
44

5+
## 21.2.10 (2023-06-13)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I451537` - Spline is now proper for negative points without specify the range.
12+
13+
## 21.2.9 (2023-06-06)
14+
15+
### Chart
16+
17+
#### Bug Fixes
18+
19+
- `#F182216` - Fixed the issue where the data label was hidden.
20+
- `#I464403` - Fixed an issue where strip line text was getting cut off when it was too long.
21+
22+
## 21.2.8 (2023-05-30)
23+
24+
### Chart
25+
26+
#### Bug Fixes
27+
28+
- `#F181551` - The tooltip now displays the percentage of each stacking group.
29+
- `#F182191` - Now, tooltip values are displayed correctly when no data is given for the data point in a series.
30+
- `#I461357` - Now, zooming and selection are working properly when using both at the same time.
31+
- `#I452148` - The issue of the y-axis label overlap has been fixed.
32+
- `#I464813` - Fixed MinorGridLine to be visible even when the width is not set for MajorTickLine.
33+
- `#I463171` - Fixed issue where column width was not being set properly.
34+
- `#I462090` - Fixed an issue where startFromAxis was not working correctly for stripLine.
35+
36+
## 21.2.6 (2023-05-23)
37+
38+
### Chart
39+
40+
#### Bug Fixes
41+
42+
- `#F182033` - The marker is now proper while zooming the chart.
43+
44+
## 21.2.5 (2023-05-16)
45+
46+
### Chart
47+
48+
#### Bug Fixes
49+
50+
- `#F181976` - Now the tooltip is proper when using two axes in a chart.
51+
- `#I451537` - Now, the axis label value is correct when an interval is not given.
52+
- `#I451537` - Fixed an issue where the axis label was not displaying correctly.
53+
- `#I451537` - Now, the secondary axis label will be correctly displayed without an interval.
54+
- `#I452395` - Fixed an issue where the y-axis axis label was displaying double values.
55+
- `#I452390` - Fixed the issue where the axis label was being trimmed despite the shift given to the edgeLabelPlacement.
56+
57+
## 21.2.4 (2023-05-09)
58+
59+
### Chart
60+
61+
#### Bug Fixes
62+
63+
- `#I457088` - Fixed the console error thrown on clicking on the legend.
64+
- `#I459170` - Now the accumulation data label is visible when using a template.
65+
566
## 21.2.3 (2023-05-03)
667

768
### 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": "21.1.41",
3+
"version": "21.2.9",
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/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-circulargauge",
3-
"version": "21.1.38",
3+
"version": "21.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

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

33
## [Unreleased]
44

5+
## 21.2.10 (2023-06-13)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I463138` - Now, Scroll bar is updated properly without flickering while scrolling the diagram using touchpad.
12+
13+
## 21.2.8 (2023-05-30)
14+
15+
### Diagram
16+
17+
#### Bug Fixes
18+
19+
- `#I461020` - The undefined Exception will No longer thrown while dragging Swimlane after performing undo/redo on swimlane child nodes.
20+
- `#I462780` - Now, Nodes are updated properly while zoom out diagram in canvas mode.
21+
22+
## 21.2.6 (2023-05-23)
23+
24+
### Diagram
25+
26+
#### Bug Fixes
27+
28+
- `#I464229` - Now, Complex hierarchical tree layout is working fine while injecting line distribution.
29+
30+
## 21.2.5 (2023-05-16)
31+
32+
### Diagram
33+
34+
#### Bug Fixes
35+
36+
- `#I456104` - Now, swimlane child nodes are selectable after save and load.
37+
38+
## 21.2.4 (2023-05-09)
39+
40+
### Diagram
41+
42+
#### Bug Fixes
43+
44+
- `#I456288` - Now, scroller updated properly when we move nodes outside viewport.
45+
- `#I458205` - Now, bezier connector annotation alignment is working properly.
46+
- `#I456037` - Now, while hovering the port with single select and ZoomPan constraints drawing tool enabled.
47+
548
## 21.2.3 (2023-05-03)
649

750
### Diagram

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": "21.1.39",
3+
"version": "21.2.8",
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",

0 commit comments

Comments
 (0)