Skip to content

Commit 929088a

Browse files
author
pipeline
committed
v20.3.59 is released
1 parent df8e2ab commit 929088a

File tree

752 files changed

+42931
-40887
lines changed

Some content is hidden

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

752 files changed

+42931
-40887
lines changed

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

controls/buttons/src/chips/chip-list.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,8 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
571571
* A function that finds chip based on given input.
572572
*
573573
* @param {number | HTMLElement } fields - We can pass index number or element of chip.
574-
* {% codeBlock src='chips/find/index.md' %}{% endcodeBlock %}.
574+
* {% codeBlock src='chips/find/index.md' %}{% endcodeBlock %}
575+
*
575576
*/
576577

577578
public find(fields: number | HTMLElement): ChipDataArgs {
@@ -597,6 +598,7 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
597598
* @param {string[] | number[] | ChipModel[] | string | number | ChipModel} chipsData - We can pass array of string or
598599
* array of number or array of chip model or string data or number data or chip model.
599600
* {% codeBlock src='chips/add/index.md' %}{% endcodeBlock %}
601+
*
600602
* @deprecated
601603
*/
602604

@@ -615,6 +617,7 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
615617
* @param {number | number[] | HTMLElement | HTMLElement[]} fields - We can pass number or array of number
616618
* or chip element or array of chip element.
617619
* {% codeBlock src='chips/select/index.md' %}{% endcodeBlock %}
620+
*
618621
*/
619622

620623
public select(fields: number | number[] | HTMLElement | HTMLElement[] | string[], selectionType?: selectionType): void {
@@ -686,6 +689,7 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
686689
* @param {number | number[] | HTMLElement | HTMLElement[]} fields - We can pass number or array of number
687690
* or chip element or array of chip element.
688691
* {% codeBlock src='chips/remove/index.md' %}{% endcodeBlock %}
692+
*
689693
*/
690694

691695
public remove(fields: number | number[] | HTMLElement | HTMLElement[]): void {
@@ -711,6 +715,7 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
711715
/**
712716
* Returns the selected chip(s) data.
713717
* {% codeBlock src='chips/getSelectedChips/index.md' %}{% endcodeBlock %}
718+
*
714719
*/
715720

716721
public getSelectedChips(): SelectedItem | SelectedItems {
@@ -902,6 +907,7 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
902907
/**
903908
* Removes the component from the DOM and detaches all its related event handlers. Also, it removes the attributes and classes.
904909
* {% codeBlock src='chips/destroy/index.md' %}{% endcodeBlock %}
910+
*
905911
*/
906912

907913
public destroy(): void {

controls/buttons/themestudio/styles/gantt/gantt/_layout.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,12 +622,12 @@
622622
}
623623

624624
.e-zero-spacing {
625-
border-spacing: 0;
625+
border-spacing: .25px;
626626
}
627627

628628
.e-chart-row:first-child .e-chart-row-border {
629629
//border-width: 0;
630-
border-top-color: transparent;
630+
border-top: 0;
631631
}
632632

633633
.e-chart-row {
@@ -907,6 +907,7 @@
907907

908908
.e-task-table {
909909
overflow: hidden;
910+
border-collapse: separate;
910911
}
911912

912913
.e-left-resize-gripper,

controls/buttons/themestudio/styles/icons/bootstrap4.scss

Lines changed: 598 additions & 598 deletions
Large diffs are not rendered by default.

controls/buttons/themestudio/styles/icons/bootstrap5.scss

Lines changed: 456 additions & 456 deletions
Large diffs are not rendered by default.

controls/buttons/themestudio/styles/icons/fluent.scss

Lines changed: 456 additions & 456 deletions
Large diffs are not rendered by default.

controls/buttons/themestudio/styles/icons/fusion.scss

Lines changed: 466 additions & 466 deletions
Large diffs are not rendered by default.

controls/calendars/src/datepicker/datepicker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ export class DatePicker extends Calendar implements IInput {
12571257
}
12581258
if ((this.getModuleName() === 'datetimepicker')) {
12591259
if (this.checkDateValue(this.globalize.parseDate(this.inputElement.value, dateOptions))) {
1260-
date = this.globalize.parseDate(this.inputElement.value, dateOptions);
1260+
date = this.globalize.parseDate(this.inputElement.value.toLocaleUpperCase(), dateOptions);
12611261
} else {
12621262
if (this.calendarMode === 'Gregorian') {
12631263
formatOptions = { type: 'dateTime', skeleton: 'yMd' };

controls/calendars/themestudio/styles/buttons/check-box/_fluent-definition.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
//layout variables
22
$cbox-bigger-check-fontsize: 18px !default;
3-
$cbox-bigger-font-size: 18px !default;
3+
$cbox-bigger-font-size: 16px !default;
44
$cbox-bigger-height: 24px !default;
55
$cbox-bigger-indeterminate-fontsize: 20px !default;
66
$cbox-bigger-indeterminate-lineheight: 23px !default;
77
$cbox-bigger-lineheight: 22px !default;
88
$cbox-bigger-margin: 12px !default;
99
$cbox-bigger-small-check-fontsize: 16px !default;
10-
$cbox-bigger-small-font-size: 16px !default;
10+
$cbox-bigger-small-font-size: 14px !default;
1111
$cbox-bigger-small-height: 22px !default;
1212
$cbox-bigger-small-indeterminate-fontsize: 16px !default;
1313
$cbox-bigger-small-indeterminate-lineheight: 21px !default;
1414
$cbox-bigger-small-lineheight: 21px !default;
1515
$cbox-bigger-small-width: 22px !default;
1616
$cbox-bigger-width: 24px !default;
1717
$cbox-border: 1px solid !default;
18-
$cbox-font-size: 16px !default;
18+
$cbox-font-size: 14px !default;
1919
$cbox-height: 20px !default;
2020
$cbox-border-radius: $inputs-radius !default;
2121
$cbox-check-fontsize: 16px !default;

controls/calendars/themestudio/styles/gantt/gantt/_layout.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,12 +622,12 @@
622622
}
623623

624624
.e-zero-spacing {
625-
border-spacing: 0;
625+
border-spacing: .25px;
626626
}
627627

628628
.e-chart-row:first-child .e-chart-row-border {
629629
//border-width: 0;
630-
border-top-color: transparent;
630+
border-top: 0;
631631
}
632632

633633
.e-chart-row {
@@ -907,6 +907,7 @@
907907

908908
.e-task-table {
909909
overflow: hidden;
910+
border-collapse: separate;
910911
}
911912

912913
.e-left-resize-gripper,

controls/calendars/themestudio/styles/icons/bootstrap4.scss

Lines changed: 598 additions & 598 deletions
Large diffs are not rendered by default.

controls/calendars/themestudio/styles/icons/bootstrap5.scss

Lines changed: 456 additions & 456 deletions
Large diffs are not rendered by default.

controls/calendars/themestudio/styles/icons/fluent.scss

Lines changed: 456 additions & 456 deletions
Large diffs are not rendered by default.

controls/calendars/themestudio/styles/icons/fusion.scss

Lines changed: 466 additions & 466 deletions
Large diffs are not rendered by default.

controls/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-charts",
3-
"version": "20.3.57",
3+
"version": "20.3.58",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/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-diagrams",
3-
"version": "20.3.57",
3+
"version": "20.3.58",
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.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/diagrams/src/diagram/interaction/tool.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,9 +747,11 @@ export class ConnectTool extends ToolBase {
747747
inPort = getInOutConnectPorts((args.target as Node), true); outPort = getInOutConnectPorts((args.target as Node), false);
748748
}
749749
if (!arg.cancel && this.inAction && this.endPoint !== undefined && diffX !== 0 || diffY !== 0) {
750-
this.blocked = !this.commandHandler.dragConnectorEnds(
751-
this.endPoint, args.source, this.currentPosition, this.selectedSegment, args.target, targetPortId);
752-
this.commandHandler.updateSelector();
750+
if(!arg.cancel){
751+
this.blocked = !this.commandHandler.dragConnectorEnds(
752+
this.endPoint, args.source, this.currentPosition, this.selectedSegment, args.target, targetPortId);
753+
this.commandHandler.updateSelector();
754+
}
753755
if (args.target && ((this.endPoint === 'ConnectorSourceEnd' && (canOutConnect(args.target) || canPortOutConnect(outPort)))
754756
|| (this.endPoint === 'ConnectorTargetEnd' && (canInConnect(args.target) || canPortInConnect(inPort))))) {
755757
if (this.commandHandler.canDisconnect(this.endPoint, args, targetPortId, targetNodeId)) {

controls/diagrams/themestudio/styles/buttons/check-box/_fluent-definition.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
//layout variables
22
$cbox-bigger-check-fontsize: 18px !default;
3-
$cbox-bigger-font-size: 18px !default;
3+
$cbox-bigger-font-size: 16px !default;
44
$cbox-bigger-height: 24px !default;
55
$cbox-bigger-indeterminate-fontsize: 20px !default;
66
$cbox-bigger-indeterminate-lineheight: 23px !default;
77
$cbox-bigger-lineheight: 22px !default;
88
$cbox-bigger-margin: 12px !default;
99
$cbox-bigger-small-check-fontsize: 16px !default;
10-
$cbox-bigger-small-font-size: 16px !default;
10+
$cbox-bigger-small-font-size: 14px !default;
1111
$cbox-bigger-small-height: 22px !default;
1212
$cbox-bigger-small-indeterminate-fontsize: 16px !default;
1313
$cbox-bigger-small-indeterminate-lineheight: 21px !default;
1414
$cbox-bigger-small-lineheight: 21px !default;
1515
$cbox-bigger-small-width: 22px !default;
1616
$cbox-bigger-width: 24px !default;
1717
$cbox-border: 1px solid !default;
18-
$cbox-font-size: 16px !default;
18+
$cbox-font-size: 14px !default;
1919
$cbox-height: 20px !default;
2020
$cbox-border-radius: $inputs-radius !default;
2121
$cbox-check-fontsize: 16px !default;

controls/diagrams/themestudio/styles/gantt/gantt/_layout.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,12 +622,12 @@
622622
}
623623

624624
.e-zero-spacing {
625-
border-spacing: 0;
625+
border-spacing: .25px;
626626
}
627627

628628
.e-chart-row:first-child .e-chart-row-border {
629629
//border-width: 0;
630-
border-top-color: transparent;
630+
border-top: 0;
631631
}
632632

633633
.e-chart-row {
@@ -907,6 +907,7 @@
907907

908908
.e-task-table {
909909
overflow: hidden;
910+
border-collapse: separate;
910911
}
911912

912913
.e-left-resize-gripper,

controls/diagrams/themestudio/styles/icons/bootstrap4.scss

Lines changed: 598 additions & 598 deletions
Large diffs are not rendered by default.

controls/diagrams/themestudio/styles/icons/bootstrap5.scss

Lines changed: 456 additions & 456 deletions
Large diffs are not rendered by default.

controls/diagrams/themestudio/styles/icons/fluent.scss

Lines changed: 456 additions & 456 deletions
Large diffs are not rendered by default.

controls/diagrams/themestudio/styles/icons/fusion.scss

Lines changed: 466 additions & 466 deletions
Large diffs are not rendered by default.

controls/documenteditor/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 20.3.59 (2022-11-29)
6+
7+
### Document Editor
8+
9+
#### Bug Fixes
10+
11+
- `#I417535` - The page number is not updated properly while inserting TOC.
12+
- `#I418000` , `#F178993` - Resolved the tab character width issue.
13+
514
## 20.3.58 (2022-11-22)
615

716
### Document Editor

controls/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-documenteditor",
3-
"version": "20.3.57",
3+
"version": "20.3.58",
44
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs.",
55
"keywords": [
66
"ej2",

controls/documenteditor/spec/implementation/editor/editor.spec.ts

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DocumentEditor } from '../../../src/document-editor/document-editor';
22
import { createElement } from '@syncfusion/ej2-base';
3-
import { Editor, FieldElementBox, FieldInfo, ListTextElementBox, TableWidget, TextElementBox } from '../../../src/index';
3+
import { BordersAndShadingDialog, Editor, FieldElementBox, FieldInfo, ListTextElementBox, TableWidget, TextElementBox } from '../../../src/index';
44
import { TestHelper } from '../../test-helper.spec';
55
import { Selection } from '../../../src/index';
66
import { LineWidget, ImageElementBox,ParagraphWidget } from '../../../src/index';
@@ -1002,4 +1002,42 @@ describe('To check cell index updated properly after delete columns', () => {
10021002
editor.editor.deleteColumn();
10031003
expect(editor.selection.start.paragraph.associatedCell.index).toBe(2);
10041004
});
1005+
});
1006+
describe('To Check table format while applied border style as None', () => {
1007+
let editor: DocumentEditor = undefined;
1008+
let borderAndShadingDialog: BordersAndShadingDialog;
1009+
beforeAll((): void => {
1010+
let ele: HTMLElement = createElement('div', { id: 'container' });
1011+
document.body.appendChild(ele);
1012+
editor = new DocumentEditor({ enableEditorHistory: true, enableWordExport: true, enableEditor: true, isReadOnly: false, enableSelection: true, enableSfdtExport: true, enableComment: true , enableBordersAndShadingDialog: true});
1013+
editor.acceptTab = true;
1014+
DocumentEditor.Inject(Editor, Selection, EditorHistory, BordersAndShadingDialog);
1015+
(editor.documentHelper as any).containerCanvasIn = TestHelper.containerCanvas;
1016+
(editor.documentHelper as any).selectionCanvasIn = TestHelper.selectionCanvas;
1017+
(editor.documentHelper.render as any).pageCanvasIn = TestHelper.pageCanvas;
1018+
(editor.documentHelper.render as any).selectionCanvasIn = TestHelper.pageSelectionCanvas;
1019+
editor.appendTo('#container');
1020+
borderAndShadingDialog = editor.bordersAndShadingDialogModule;
1021+
});
1022+
afterAll((done) => {
1023+
if (editor) {
1024+
editor.destroy();
1025+
}
1026+
document.body.removeChild(document.getElementById('container'));
1027+
editor = undefined;
1028+
borderAndShadingDialog.destroy();
1029+
document.body.innerHTML = '';
1030+
setTimeout(function () {
1031+
done();
1032+
}, 1000);
1033+
});
1034+
it('To Check table format while changing border style as None', () => {
1035+
console.log('To Check table format while applied border style as None');
1036+
editor.openBlank();
1037+
editor.editor.insertTable(1,1);
1038+
borderAndShadingDialog.show();
1039+
(borderAndShadingDialog as any).borderStyle = 'None';
1040+
(borderAndShadingDialog as any).applyBordersShadingsProperties();
1041+
expect(editor.selection.tableFormat.table.tableFormat.borders.top.lineStyle).toBe('None');
1042+
});
10051043
});

controls/documenteditor/spec/implementation/editor/restrict-editing.spec.ts

Lines changed: 33 additions & 0 deletions
Large diffs are not rendered by default.

controls/documenteditor/spec/implementation/toc/insert-toc.spec.ts

Lines changed: 19 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)