Skip to content

Commit 08457f5

Browse files
author
pipeline
committed
v20.3.47 is released
1 parent f2fd58c commit 08457f5

File tree

615 files changed

+2814
-5184
lines changed

Some content is hidden

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

615 files changed

+2814
-5184
lines changed

components/base/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 20.2.44 (2022-08-16)
5+
## 20.3.47 (2022-09-29)
66

77
### Common
88

9-
#### Bug Fixes
9+
#### New Features
1010

11-
- `#I385176` - The issue with the `vue-class-component` is not removed in vue 2 has been resolved.
11+
- `#I404540`, `#I403034`, `#F176393` - Provided the Vue 2.7 compatible support for the Vue components.
1212

1313
## 20.2.36 (2022-06-30)
1414

@@ -19,10 +19,10 @@
1919
- Provided the TypeScript 4.7 compatible support for the Vue components.
2020
- Provided the option to register the license key by using the `npx` command. Follow these steps to register the license using the `npx` command:
2121

22-
| The `npx` command |
22+
| The `npx` command |
2323
|---|
24-
| Install the Syncfusion packages from `npm`. |
25-
| Add the license key either in the environment variable `SYNCFUSION_LICENSE` or in the `syncfusion-license.txt` text file. |
24+
| Install the Syncfusion packages from `npm`. |
25+
| Add the license key either in the environment variable `SYNCFUSION_LICENSE` or in the `syncfusion-license.txt` text file. |
2626
| Run the command `npx syncfusion-license activate` to automatically register the license. |
2727

2828
## 20.1.61 (2022-06-21)

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": "20.2.45",
3+
"version": "19.3.53",
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import Vue from 'vue';
2626

2727
export const allVue: any = aVue;
2828
export const gh: any = allVue.h;
29-
export const isExecute: any = gh ? false : true;
29+
export const isExecute: any = (parseInt(allVue.version) > 2) ? false : true;
3030

3131
let vueImport: any;
3232

@@ -85,7 +85,7 @@ import Vue from 'vue';
8585

8686
public mounted(): void {
8787
let cusEle: any = this.$el ? this.$el.querySelectorAll("div.e-directive") : null;
88-
if (gh && cusEle) {
88+
if (!isExecute && cusEle) {
8989
for (let i: number = 0; i < cusEle.length; i++) {
9090
cusEle[i].parentElement && cusEle[i].parentElement.removeChild(cusEle[i]);
9191
}

components/base/src/template.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
getValue,
1010
} from "@syncfusion/ej2-base";
1111

12-
import { aVue, allVue, gh } from "./component-base";
12+
import { aVue, allVue, isExecute } from "./component-base";
1313

1414
// tslint:disable:no-any
1515
let stringCompiler: (
@@ -33,7 +33,7 @@ export function compile(
3333
innerHTML: '<div id="' + id + '"></div>',
3434
});
3535
document.body.appendChild(ele);
36-
if (gh && typeof templateElement === "string") {
36+
if (!isExecute && typeof templateElement === "string") {
3737
let vueSlot: any = getCurrentVueSlot(context.vueInstance, templateElement, root);
3838
if (vueSlot) {
3939
// Compilation for Vue 3 slot template
@@ -55,7 +55,7 @@ export function compile(
5555
detach(ele);
5656
return stringCompiler(templateElement, helper)(data);
5757
}
58-
} else if (gh) {
58+
} else if (!isExecute) {
5959
// Compilation for Vue 3 functional template
6060
let tempObj: any = templateElement.call(that, {});
6161
let object: any = tempObj;

components/buttons/CHANGELOG.md

+20-8
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,41 @@
22

33
## [Unreleased]
44

5-
## 20.2.46 (2022-08-30)
5+
## 20.3.47 (2022-09-29)
66

7-
### Checkbox
7+
### Floating Action Button `Preview`
88

9-
#### Bug Fixes
9+
The Floating Action Button (FAB) component performs the primary action that appears in front of all screen contents. It can be positioned in relation to a page or a target container.
1010

11-
- `#I399484` - The issue with aria-checked accessibility issue in angular checkbox has been fixed.
1211

13-
## 20.2.43 (2022-08-08)
12+
- **Rendering** - The FAB component can be rendered as Icon only, Icon with Label, Label only, or in a disabled state.
13+
- **Positioning** - Supports to place various built-in positions on the target element.
14+
- **Styles** - The appearance of the FAB can be customized using predefined styles.
15+
- **Accessibility** - The FAB provides built-in compliance with the `WAI-ARIA` specifications and it is achieved through attributes.
16+
17+
### Speed Dial `Preview`
18+
19+
The Speed Dial component is an extension of the floating action button that displays a list of action buttons when clicked. It is useful when there is more than one primary action for the page.
20+
21+
22+
- **Rendering** - The Speed Dial component can be rendered in two display modes: Linear and Radial.
23+
- **Positioning** - Supports to place various built-in positions on the target element.
24+
- **Styles** - The appearance of the Speed Dial can be customized using predefined styles.
25+
- **Template Support** - The Speed Dial component action items and popup container can also be rendered with custom templates.
26+
- **Modal Support** - Supports showing a modal overlay behind the Speed Dial.
27+
- **Accessibility** - The Speed Dial provides built-in compliance with the `WAI-ARIA` specifications and it is achieved through attributes.
1428

1529
### Switch
1630

1731
#### Bug Fixes
1832

1933
- `#384387` - The issue with "Switch component click event trigger two times when we handling enable/disable dynamically" has been resolved.
2034

21-
## 20.2.36 (2022-06-30)
22-
2335
### Checkbox
2436

2537
#### Bug Fixes
2638

27-
- `F379986` - The issue with "Screen reader reads checkbox field twice for tab keypress" has been resolved.
39+
- `#I399484` - The issue with aria-checked accessibility issue in angular checkbox has been fixed.
2840

2941
## 19.2.47 (2021-07-13)
3042

components/buttons/package.json

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-vue-buttons",
3-
"version": "20.2.46",
3+
"version": "18.44.0",
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",
@@ -28,13 +28,20 @@
2828
"form control",
2929
"form controls",
3030
"input",
31+
"fab",
32+
"floating button",
33+
"floating action button",
34+
"speeddial",
35+
"floating menu",
3136
"vue",
3237
"vuejs",
3338
"ej2-vue-buttons",
3439
"vue-button",
3540
"vue-checkbox",
3641
"vue-radiobutton",
37-
"vue-switch"
42+
"vue-switch",
43+
"vue-fab",
44+
"vue-speeddial"
3845
],
3946
"repository": {
4047
"type": "git",

components/buttons/src/button/button.component.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Options } from 'vue-class-component';
2-
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
2+
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
33
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
44

55
import { Button } from '@syncfusion/ej2-buttons';
@@ -21,8 +21,6 @@ for (let props of modelProps) {
2121
);
2222
}
2323

24-
export const isExecute: any = gh ? false : true;
25-
2624
/**
2725
* Represents the Essential JS 2 VueJS Button Component
2826
* ```html
@@ -115,10 +113,10 @@ export class ButtonComponent extends ComponentBase {
115113
}
116114

117115
public render(createElement: any) {
118-
let h: any = gh || createElement;
116+
let h: any = !isExecute ? gh : createElement;
119117
let slots: any = null;
120118
if(!isNullOrUndefined((this as any).$slots.default)) {
121-
slots = gh ? (this as any).$slots.default() : (this as any).$slots.default;
119+
slots = !isExecute ? (this as any).$slots.default() : (this as any).$slots.default;
122120
}
123121
return h('button', slots);
124122
}

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

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Options } from 'vue-class-component';
22
import { isUndefined } from '@syncfusion/ej2-base';
3-
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
3+
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
44
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
55

66
import { CheckBox } from '@syncfusion/ej2-buttons';
@@ -22,8 +22,6 @@ for (let props of modelProps) {
2222
);
2323
}
2424

25-
export const isExecute: any = gh ? false : true;
26-
2725
/**
2826
* Represents the Essential JS 2 VueJS CheckBox Component
2927
* ```html
@@ -157,10 +155,10 @@ export class CheckBoxComponent extends ComponentBase {
157155
}
158156

159157
public render(createElement: any) {
160-
let h: any = gh || createElement;
158+
let h: any = !isExecute ? gh : createElement;
161159
let slots: any = null;
162160
if(!isNullOrUndefined((this as any).$slots.default)) {
163-
slots = gh ? (this as any).$slots.default() : (this as any).$slots.default;
161+
slots = !isExecute ? (this as any).$slots.default() : (this as any).$slots.default;
164162
}
165163
return h('input', slots);
166164
}

components/buttons/src/chips/chiplist.component.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Options } from 'vue-class-component';
2-
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base';
2+
import { ComponentBase, EJComponentDecorator, getProps, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
33
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
44

55
import { ChipList } from '@syncfusion/ej2-buttons';
@@ -22,8 +22,6 @@ for (let props of modelProps) {
2222
);
2323
}
2424

25-
export const isExecute: any = gh ? false : true;
26-
2725
/**
2826
* Represents the Essential JS 2 VueJS ChipList Component.
2927
* ```html
@@ -116,10 +114,10 @@ export class ChipListComponent extends ComponentBase {
116114
}
117115

118116
public render(createElement: any) {
119-
let h: any = gh || createElement;
117+
let h: any = !isExecute ? gh : createElement;
120118
let slots: any = null;
121119
if(!isNullOrUndefined((this as any).$slots.default)) {
122-
slots = gh ? (this as any).$slots.default() : (this as any).$slots.default;
120+
slots = !isExecute ? (this as any).$slots.default() : (this as any).$slots.default;
123121
}
124122
return h('div', slots);
125123
}

components/buttons/src/chips/chips.directive.ts

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import { ComponentBase, EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
1+
import { ComponentBase, EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
22
import * as Vue3 from 'vue-class-component';
33
import { Options } from 'vue-class-component';
44
import { isNullOrUndefined } from '@syncfusion/ej2-base';
55
import Vue from 'vue';
66
// {{VueImport}}
7-
export const isExecute: any = gh ? false : true;
87

98
let vueImport: any;
109
if (!isExecute || parseInt(allVue.version) < 3) {
@@ -27,18 +26,18 @@ export class ChipsDirective extends vueImport {
2726
super(arguments);
2827
}
2928
public render(createElement: any): void {
30-
if (gh) {
31-
let h: any = gh || createElement;
29+
if (!isExecute) {
30+
let h: any = !isExecute ? gh : createElement;
3231
let slots: any = null;
3332
if(!isNullOrUndefined((this as any).$slots.default)) {
34-
slots = gh ? (this as any).$slots.default() : (this as any).$slots.default;
33+
slots = !isExecute ? (this as any).$slots.default() : (this as any).$slots.default;
3534
}
3635
return h('div', { class: 'e-directive' }, slots);
3736
}
3837
return;
3938
}
4039
public updated(): void {
41-
if (gh && this.custom) {
40+
if (!isExecute && this.custom) {
4241
this.custom();
4342
}
4443
}

0 commit comments

Comments
 (0)