Skip to content

Commit 9614431

Browse files
author
pipeline
committed
v21.2.3 is released
1 parent 4bc9606 commit 9614431

File tree

400 files changed

+3180
-1783
lines changed

Some content is hidden

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

400 files changed

+3180
-1783
lines changed

controls/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 21.2.3 (2023-05-03)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `#F180652` - The issue with the "drag element top value changes after scrolling to browser end" has been resolved.
12+
513
## 21.1.39 (2023-04-11)
614

715
### Common

controls/base/spec/santize-helper.spec.ts

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ describe('Sanitize Html Helper', () => {
88
let SanitizeInstance: SanitizeHtmlHelper = new SanitizeHtmlHelper();
99
let innerHTML: string = `<div>
1010
<div id="inline-event" onmouseover='javascript:alert(1)'></div>
11+
<div id="onpropertychange" onpropertychange='javascript:alert(1)'></div>
1112
<script>alert('hi')</script>
1213
<style> </style>
1314
<img src="javascript:alert('XSS Image');"/>
@@ -57,6 +58,10 @@ describe('Sanitize Html Helper', () => {
5758
it('check the div element attribute while inline event bind', () => {
5859
expect(htmlObject.querySelector('#inline-event').hasAttribute('onmouseover')).toBe(false);
5960
});
61+
62+
it('should remove onpropertychange attribute', () => {
63+
expect(htmlObject.querySelector('#onpropertychange').hasAttribute('onpropertychange')).toBe(false);
64+
});
6065
afterAll(() => {
6166
detach(htmlObject);
6267
});

controls/base/src/draggable.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ export class Draggable extends Base<HTMLElement> implements INotifyPropertyChang
10641064
pageX = this.clone ? intCoord.pageX : (intCoord.pageX + window.pageXOffset) - this.relativeXPosition;
10651065
pageY = this.clone ? intCoord.pageY : (intCoord.pageY + window.pageYOffset) - this.relativeYPosition;
10661066
}
1067-
if (!this.element.classList.contains("e-dialog") && !this.element.classList.contains("e-card") && document.scrollingElement) {
1067+
if (document.scrollingElement && (!isdragscroll && !this.clone)) {
10681068
let isVerticalScroll: boolean = document.scrollingElement.scrollHeight > 0 && document.scrollingElement.scrollHeight > document.scrollingElement.clientHeight && document.scrollingElement.scrollTop > 0;
10691069
let isHorrizontalScroll: boolean = document.scrollingElement.scrollWidth > 0 && document.scrollingElement.scrollWidth > document.scrollingElement.clientWidth && document.scrollingElement.scrollLeft > 0;
10701070
pageX = isHorrizontalScroll ? pageX - document.scrollingElement.scrollLeft : pageX;

controls/base/src/sanitize-helper.ts

+12-14
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,8 @@ const jsEvents: string[] = ['onchange',
6969
'onafterprint',
7070
'onbeforeonload',
7171
'onbeforeprint',
72-
'onblur',
7372
'oncanplay',
7473
'oncanplaythrough',
75-
'onchange',
76-
'onclick',
7774
'oncontextmenu',
7875
'ondblclick',
7976
'ondrag',
@@ -86,26 +83,18 @@ const jsEvents: string[] = ['onchange',
8683
'ondurationchange',
8784
'onemptied',
8885
'onended',
89-
'onerror',
90-
'onerror',
91-
'onfocus',
9286
'onformchange',
9387
'onforminput',
9488
'onhaschange',
9589
'oninput',
9690
'oninvalid',
97-
'onkeydown',
9891
'onkeypress',
99-
'onkeyup',
100-
'onload',
10192
'onloadeddata',
10293
'onloadedmetadata',
10394
'onloadstart',
10495
'onmessage',
10596
'onmousedown',
10697
'onmousemove',
107-
'onmouseout',
108-
'onmouseover',
10998
'onmouseup',
11099
'onmousewheel',
111100
'onoffline',
@@ -128,7 +117,6 @@ const jsEvents: string[] = ['onchange',
128117
'onselect',
129118
'onstalled',
130119
'onstorage',
131-
'onsubmit',
132120
'onsuspend',
133121
'ontimeupdate',
134122
'onundo',
@@ -137,9 +125,19 @@ const jsEvents: string[] = ['onchange',
137125
'onwaiting',
138126
'onmouseenter',
139127
'onmouseleave',
140-
'onmousewheel',
141128
'onstart',
142-
'onpropertychange'
129+
'onpropertychange',
130+
'oncopy',
131+
'ontoggle',
132+
'onpointerout',
133+
'onpointermove',
134+
'onpointerleave',
135+
'onpointerenter',
136+
'onpointerrawupdate',
137+
'onpointerover',
138+
'onbeforecopy',
139+
'onbeforecut',
140+
'onbeforeinput'
143141
];
144142
export class SanitizeHtmlHelper {
145143
public static removeAttrs: SanitizeRemoveAttrs[];

controls/base/src/validate-lic.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let accountURL: string;
1414
class LicenseValidator {
1515
private isValidated: boolean = false;
1616
public isLicensed: boolean = true;
17-
public version: string = '21.1';
17+
public version: string = '21';
1818
public platform: RegExp = /JavaScript|ASPNET|ASPNETCORE|ASPNETMVC|FileFormats/i;
1919
private errors: IErrorType = {
2020
noLicense: '<span>This application was built using a trial version of Syncfusion Essential Studio.' +
@@ -114,7 +114,7 @@ class LicenseValidator {
114114
}
115115
}
116116
if (validateMsg && typeof document !== 'undefined' && !isNullOrUndefined(document)) {
117-
accountURL = (validateURL && validateURL !== '')? validateURL : "https://www.syncfusion.com/account/claim-license-key?pl=SmF2YVNjcmlwdA==&vs=MjEuMQ==";
117+
accountURL = (validateURL && validateURL !== '')? validateURL : "https://www.syncfusion.com/account/claim-license-key?pl=SmF2YVNjcmlwdA==&vs=MjE=";
118118
const errorDiv: HTMLElement = createElement('div', {
119119
innerHTML: `<img src='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE5OV80KSI+CjxwYXRoIGQ9Ik0xMiAyMUMxNi45NzA2IDIxIDIxIDE2Ljk3MDYgMjEgMTJDMjEgNy4wMjk0NCAxNi45NzA2IDMgMTIgM0M3LjAyOTQ0IDMgMyA3LjAyOTQ0IDMgMTJDMyAxNi45NzA2IDcuMDI5NDQgMjEgMTIgMjFaIiBzdHJva2U9IiM3MzczNzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS4yNSAxMS4yNUgxMlYxNi41SDEyLjc1IiBmaWxsPSIjNjE2MDYzIi8+CjxwYXRoIGQ9Ik0xMS4yNSAxMS4yNUgxMlYxNi41SDEyLjc1IiBzdHJva2U9IiM3MzczNzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS44MTI1IDlDMTIuNDMzOCA5IDEyLjkzNzUgOC40OTYzMiAxMi45Mzc1IDcuODc1QzEyLjkzNzUgNy4yNTM2OCAxMi40MzM4IDYuNzUgMTEuODEyNSA2Ljc1QzExLjE5MTIgNi43NSAxMC42ODc1IDcuMjUzNjggMTAuNjg3NSA3Ljg3NUMxMC42ODc1IDguNDk2MzIgMTEuMTkxMiA5IDExLjgxMjUgOVoiIGZpbGw9IiM3MzczNzMiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xOTlfNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K' style="top: 6px;
120120
position: absolute;

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

-8
Original file line numberDiff line numberDiff line change
@@ -1320,14 +1320,6 @@
13201320
outline-offset: 2px;
13211321
}
13221322
}
1323-
.e-dialog.e-filter-popup {
1324-
.e-footer-content {
1325-
1326-
@if ($skin-name =='FluentUI') {
1327-
padding-top: 0;
1328-
}
1329-
}
1330-
}
13311323
}
13321324

13331325
.e-gantt-dialog .e-tab .e-tab-header {

controls/base/themestudio/styles/gantt/gantt/_theme.scss

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
border-radius: $gantt-header-border-radius;
1010
}
1111

12+
.e-grid .e-spinner-pane {
13+
display: none;
14+
}
15+
1216
.e-cloneproperties.e-draganddrop {
1317
box-shadow: $gantt-clone-prop-box-shadow;
1418
opacity: .95;

controls/base/themestudio/styles/inputs/rating/_bootstrap-dark-definition.scss

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$rating-li-font-size: 20px !default;
22
$rating-li-padding: 4px !default;
33
$rating-li-line-height: 9px !default;
4-
$rating-li-min-width-height: 28px !default;
54
$rating-focus-border-radius: 2px !default;
65
$rating-label-right-margin: 4px !default;
76
$rating-label-bottom-margin: 8px !default;
@@ -14,21 +13,21 @@ $rating-tooltip-tip-bottom-height: 8px !default;
1413

1514
$rating-small-li-font-size: 16px !default;
1615
$rating-small-li-line-height: 4px !default;
17-
$rating-small-li-min-width-height: 24px !default;
16+
$rating-small-li-hover-font-size: 34px !default;
1817
$rating-small-label-font-size: 10px !default;
1918
$rating-small-label-line-height: 16px !default;
2019
$rating-small-reset-font-size : 12px !default;
2120

2221
$rating-bigger-li-font-size: 32px !default;
2322
$rating-bigger-li-line-height: 16px !default;
24-
$rating-bigger-li-min-width-height: 40px !default;
23+
$rating-bigger-li-hover-font-size: 28px !default;
2524
$rating-bigger-label-font-size: 14px !default;
2625
$rating-bigger-label-line-height: 22px !default;
2726
$rating-bigger-reset-font-size : 28px !default;
2827

2928
$rating-bigger-small-li-font-size: 26px !default;
3029
$rating-bigger-small-li-line-height: 9px !default;
31-
$rating-bigger-small-li-min-width-height: 34px !default;
30+
$rating-bigger-small-li-hover-font-size: 28px !default;
3231
$rating-bigger-small-label-font-size: 12px !default;
3332
$rating-bigger-small-label-line-height: 18px !default;
3433
$rating-bigger-small-reset-font-size : 22px !default;

controls/base/themestudio/styles/inputs/rating/_bootstrap-definition.scss

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$rating-li-font-size: 20px !default;
22
$rating-li-padding: 4px !default;
33
$rating-li-line-height: 9px !default;
4-
$rating-li-min-width-height: 28px !default;
54
$rating-focus-border-radius: 2px !default;
65
$rating-label-right-margin: 4px !default;
76
$rating-label-bottom-margin: 9px !default;
@@ -14,21 +13,21 @@ $rating-tooltip-tip-bottom-height: 8px !default;
1413

1514
$rating-small-li-font-size: 16px !default;
1615
$rating-small-li-line-height: 4px !default;
17-
$rating-small-li-min-width-height: 24px !default;
16+
$rating-small-li-hover-font-size: 34px !default;
1817
$rating-small-label-font-size: 10px !default;
1918
$rating-small-label-line-height: 16px !default;
2019
$rating-small-reset-font-size : 12px !default;
2120

2221
$rating-bigger-li-font-size: 32px !default;
2322
$rating-bigger-li-line-height: 16px !default;
24-
$rating-bigger-li-min-width-height: 40px !default;
23+
$rating-bigger-li-hover-font-size: 28px !default;
2524
$rating-bigger-label-font-size: 14px !default;
2625
$rating-bigger-label-line-height: 22px !default;
2726
$rating-bigger-reset-font-size : 28px !default;
2827

2928
$rating-bigger-small-li-font-size: 26px !default;
3029
$rating-bigger-small-li-line-height: 9px !default;
31-
$rating-bigger-small-li-min-width-height: 34px !default;
30+
$rating-bigger-small-li-hover-font-size: 28px !default;
3231
$rating-bigger-small-label-font-size: 12px !default;
3332
$rating-bigger-small-label-line-height: 18px !default;
3433
$rating-bigger-small-reset-font-size : 24px !default;

controls/base/themestudio/styles/inputs/rating/_bootstrap4-definition.scss

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$rating-li-font-size: 20px !default;
22
$rating-li-padding: 4px !default;
33
$rating-li-line-height: 11px !default;
4-
$rating-li-min-width-height: 28px !default;
54
$rating-focus-border-radius: 4px !default;
65
$rating-label-right-margin: 8px !default;
76
$rating-label-bottom-margin: 4px !default;
@@ -14,21 +13,21 @@ $rating-tooltip-tip-bottom-height: 8px !default;
1413

1514
$rating-small-li-font-size: 16px !default;
1615
$rating-small-li-line-height: 4px !default;
17-
$rating-small-li-min-width-height: 24px !default;
16+
$rating-small-li-hover-font-size: 18px !default;
1817
$rating-small-label-font-size: 10px !default;
1918
$rating-small-label-line-height: 16px !default;
2019
$rating-small-reset-font-size : 12px !default;
2120

2221
$rating-bigger-li-font-size: 32px !default;
2322
$rating-bigger-li-line-height: 13px !default;
24-
$rating-bigger-li-min-width-height: 40px !default;
23+
$rating-bigger-li-hover-font-size: 34px !default;
2524
$rating-bigger-label-font-size: 14px !default;
2625
$rating-bigger-label-line-height: 22px !default;
2726
$rating-bigger-reset-font-size : 28px !default;
2827

2928
$rating-bigger-small-li-font-size: 24px !default;
3029
$rating-bigger-small-li-line-height: 9px !default;
31-
$rating-bigger-small-li-min-width-height: 32px !default;
30+
$rating-bigger-small-li-hover-font-size: 26px !default;
3231
$rating-bigger-small-label-font-size: 12px !default;
3332
$rating-bigger-small-label-line-height: 18px !default;
3433
$rating-bigger-small-reset-font-size : 20px !default;

controls/base/themestudio/styles/inputs/rating/_bootstrap5-definition.scss

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$rating-li-font-size: $font-icon-22 !default;
22
$rating-li-padding: 4px !default;
33
$rating-li-line-height: 13px !default;
4-
$rating-li-min-width-height: 30px !default;
54
$rating-focus-border-radius: 4px !default;
65
$rating-label-bottom-margin: 4px !default;
76
$rating-label-right-margin: 8px !default;
@@ -14,21 +13,18 @@ $rating-tooltip-tip-bottom-height: 8px !default;
1413

1514
$rating-small-li-font-size: $font-icon-16 !default;
1615
$rating-small-li-line-height: 6px !default;
17-
$rating-small-li-min-width-height: 24px !default;
1816
$rating-small-label-font-size: $text-xxs !default;
1917
$rating-small-label-line-height: 16px !default;
2018
$rating-small-reset-font-size : $font-icon-12 !default;
2119

2220
$rating-bigger-li-font-size: $font-icon-32 !default;
2321
$rating-bigger-li-line-height: 13px !default;
24-
$rating-bigger-li-min-width-height: 40px !default;
2522
$rating-bigger-label-font-size: $text-sm !default;
2623
$rating-bigger-label-line-height: 22px !default;
2724
$rating-bigger-reset-font-size : $font-icon-28 !default;
2825

2926
$rating-bigger-small-li-font-size: $font-icon-26 !default;
3027
$rating-bigger-small-li-line-height: 13px !default;
31-
$rating-bigger-small-li-min-width-height: 34px !default;
3228
$rating-bigger-small-label-font-size: $text-xs !default;
3329
$rating-bigger-small-label-line-height: 18px !default;
3430
$rating-bigger-small-reset-font-size : $font-icon-22 !default;

controls/base/themestudio/styles/inputs/rating/_fabric-dark-definition.scss

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$rating-li-font-size: 20px !default;
22
$rating-li-padding: 4px !default;
33
$rating-li-line-height: 13px !default;
4-
$rating-li-min-width-height: 28px !default;
54
$rating-focus-border-radius: 0 !default;
65
$rating-label-bottom-margin: 4px !default;
76
$rating-label-right-margin: 8px !default;
@@ -14,21 +13,21 @@ $rating-tooltip-tip-bottom-height: 8px !default;
1413

1514
$rating-small-li-font-size: 16px !default;
1615
$rating-small-li-line-height: 10px !default;
17-
$rating-small-li-min-width-height: 24px !default;
16+
$rating-small-li-hover-font-size: 18px !default;
1817
$rating-small-label-font-size: 10px !default;
1918
$rating-small-label-line-height: 16px !default;
2019
$rating-small-reset-font-size : 12px !default;
2120

2221
$rating-bigger-li-font-size: 28px !default;
2322
$rating-bigger-li-line-height: 21px !default;
24-
$rating-bigger-li-min-width-height: 36px !default;
23+
$rating-bigger-li-hover-font-size: 30px !default;
2524
$rating-bigger-label-font-size: 14px !default;
2625
$rating-bigger-label-line-height: 22px !default;
2726
$rating-bigger-reset-font-size : 24px !default;
2827

2928
$rating-bigger-small-li-font-size: 24px !default;
3029
$rating-bigger-small-li-line-height: 19px !default;
31-
$rating-bigger-small-li-min-width-height: 32px !default;
30+
$rating-bigger-small-li-hover-font-size: 26px !default;
3231
$rating-bigger-small-label-font-size: 12px !default;
3332
$rating-bigger-small-label-line-height: 18px !default;
3433
$rating-bigger-small-reset-font-size : 20px !default;

controls/base/themestudio/styles/inputs/rating/_fabric-definition.scss

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$rating-li-font-size: 20px !default;
22
$rating-li-padding: 4px !default;
33
$rating-li-line-height: 13px !default;
4-
$rating-li-min-width-height: 28px !default;
54
$rating-focus-border-radius: 0 !default;
65
$rating-label-bottom-margin: 4px !default;
76
$rating-label-right-margin: 8px !default;
@@ -14,21 +13,21 @@ $rating-tooltip-tip-bottom-height: 8px !default;
1413

1514
$rating-small-li-font-size: 16px !default;
1615
$rating-small-li-line-height: 13px !default;
17-
$rating-small-li-min-width-height: 24px !default;
16+
$rating-small-li-hover-font-size: 18px !default;
1817
$rating-small-label-font-size: 10px !default;
1918
$rating-small-label-line-height: 16px !default;
2019
$rating-small-reset-font-size : 12px !default;
2120

2221
$rating-bigger-li-font-size: 28px !default;
2322
$rating-bigger-li-line-height: 21px !default;
24-
$rating-bigger-li-min-width-height: 36px !default;
23+
$rating-bigger-li-hover-font-size: 30px !default;
2524
$rating-bigger-label-font-size: 14px !default;
2625
$rating-bigger-label-line-height: 22px !default;
2726
$rating-bigger-reset-font-size : 24px !default;
2827

2928
$rating-bigger-small-li-font-size: 24px !default;
3029
$rating-bigger-small-li-line-height: 19px !default;
31-
$rating-bigger-small-li-min-width-height: 32px !default;
30+
$rating-bigger-small-li-hover-font-size: 26px !default;
3231
$rating-bigger-small-label-font-size: 12px !default;
3332
$rating-bigger-small-label-line-height: 18px !default;
3433
$rating-bigger-small-reset-font-size : 20px !default;

controls/base/themestudio/styles/inputs/rating/_fluent-definition.scss

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
$rating-li-font-size: $font-icon-20 !default;
22
$rating-li-padding: 4px !default;
33
$rating-li-line-height: 13px !default;
4-
$rating-li-min-width-height: 28px !default;
54
$rating-focus-border-radius: 0 !default;
65
$rating-label-bottom-margin: 4px !default;
76
$rating-label-right-margin: 4px !default;
@@ -14,21 +13,18 @@ $rating-tooltip-tip-bottom-height: 12.5px !default;
1413

1514
$rating-small-li-font-size: $font-icon-16 !default;
1615
$rating-small-li-line-height: 13px !default;
17-
$rating-small-li-min-width-height: 24px !default;
1816
$rating-small-label-font-size: $text-xxs !default;
1917
$rating-small-label-line-height: 16px !default;
2018
$rating-small-reset-font-size : $font-icon-12 !default;
2119

2220
$rating-bigger-li-font-size: $font-icon-28 !default;
2321
$rating-bigger-li-line-height: 21px !default;
24-
$rating-bigger-li-min-width-height: 36px !default;
2522
$rating-bigger-label-font-size: $text-sm !default;
2623
$rating-bigger-label-line-height: 22px !default;
2724
$rating-bigger-reset-font-size : $font-icon-24 !default;
2825

2926
$rating-bigger-small-li-font-size: $font-icon-24 !default;
3027
$rating-bigger-small-li-line-height: 19px !default;
31-
$rating-bigger-small-li-min-width-height: 32px !default;
3228
$rating-bigger-small-label-font-size: $text-xs !default;
3329
$rating-bigger-small-label-line-height: 18px !default;
3430
$rating-bigger-small-reset-font-size : $font-icon-20 !default;

0 commit comments

Comments
 (0)