Skip to content

Commit e702530

Browse files
author
pipeline
committed
v19.1.69 is released
1 parent c5982cb commit e702530

40 files changed

+239
-106
lines changed

components/barcodegenerator/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.1.67 (2021-06-08)
5+
## 19.1.63 (2021-05-13)
66

77
### Barcode
88

components/barcodegenerator/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-react-barcode-generator",
3-
"version": "19.1.56",
3+
"version": "19.1.63",
44
"description": "Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code. for React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 19.1.69 (2021-06-15)
6+
7+
### Common
8+
9+
- `I324905` - Resolved the issue with `editTemplate` methods are reassigned to other columns while reordering and applying `setState`.
10+
511
## 19.1.67 (2021-06-08)
612

713
### 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-react-base",
3-
"version": "19.1.65",
3+
"version": "19.1.67",
44
"description": "A common package of Essential JS 2 React base, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/base/src/component-base.ts

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
7272
private reactElement: HTMLElement;
7373
public portals:any;
7474
protected value: any;
75+
protected columns: any;
76+
7577
// Lifecycle methods are changed by React team and so we can deprecate this method and use
7678
// Reference link:https://reactjs.org/docs/react-component.html#unsafe_componentWillMount
7779
// tslint:disable-next-line:no-any
@@ -181,7 +183,8 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
181183
public getDefaultAttributes(): Object {
182184
this.isReact = true;
183185
let propKeys: string[] = Object.keys(this.props);
184-
if (this.getModuleName() === "autocomplete" || "drpdownlist") {
186+
let stringValue: string[] = ["autocomplete", "dropdownlist", "combobox"];
187+
if ((stringValue.indexOf(this.getModuleName()) !== -1) && (!isNullOrUndefined(this.props["value"]))) {
185188
this.value = (<{ [key: string]: Object }>this.props)["value"];
186189
}
187190
if(!this.htmlattributes) {
@@ -294,6 +297,9 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
294297
for (let key of keys) {
295298
let oldValue = oldProp[key];
296299
let newValue = newProp[key];
300+
if (this.getModuleName()=== 'grid' && key === 'field') {
301+
curObj[key] = newValue;
302+
}
297303
if (!oldProp.hasOwnProperty(key) || !this.compareValues(newValue, oldValue)) {
298304
if (!propName) {
299305
return { status: false };
@@ -362,14 +368,34 @@ export class ComponentBase<P, S> extends React.Component<P, S> {
362368
this.prevProperties = extend({}, directiveValue, {}, true);
363369
}
364370
if (changedProps.length) {
365-
for (let changes of changedProps) {
366-
let propInstance: any = getValue(changes.key + '.' + changes.index, this);
367-
if (propInstance && propInstance.setProperties) {
368-
propInstance.setProperties(changes.value);
369-
} else {
370-
extend(propInstance, changes.value);
371+
if (this.getModuleName() === 'grid' && key === 'columns') {
372+
for (var _c1 = 0, allColumns = this.columns; _c1 < allColumns.length; _c1++) {
373+
let compareField1: any = getValue('field', allColumns[_c1]);
374+
let compareField2: any = getValue(_c1 + '.value.field', changedProps);
375+
if (compareField1 === compareField2) {
376+
var propInstance: any = getValue(changedProps[_c1].key + '.' + changedProps[_c1].index, this);
377+
if (propInstance && propInstance.setProperties) {
378+
propInstance.setProperties(changedProps[_c1].value);
379+
}
380+
else {
381+
extend(propInstance, changedProps[_c1].value);
382+
}
383+
}
384+
}
385+
}
386+
else {
387+
for (let changes of changedProps) {
388+
let propInstance: any = getValue(changes.key + '.' + changes.index, this);
389+
if (propInstance && propInstance.setProperties) {
390+
propInstance.setProperties(changes.value);
391+
}
392+
else {
393+
extend(propInstance, changes.value);
394+
}
395+
371396
}
372397
}
398+
373399
} else {
374400
this.setProperties(directiveValue, silent);
375401
}

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.1.69 (2021-06-15)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#329311` - Legend text is now rendering properly with ampersand symbol.
12+
513
## 19.1.67 (2021-06-08)
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-react-charts",
3-
"version": "19.1.65",
3+
"version": "19.1.67",
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 React",
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.1.67 (2021-06-08)
8+
## 19.1.69 (2021-06-15)
99

1010
### CircularGauge
1111

components/diagrams/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.1.69 (2021-06-15)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I329576` - The issue While changing the connector flip property the connector's segment path is not updated correctly issue has been fixed.
12+
513
## 19.1.67 (2021-06-08)
614

715
### 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-react-diagrams",
3-
"version": "19.1.66",
3+
"version": "19.1.67",
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 React",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)