@syncfusion/ej2-base 21.1.40 → 21.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/{ReadMe.md → README.md} +1 -1
- package/bin/syncfusion-license.js +1 -1
- package/dist/ej2-base.min.js +10 -1
- package/dist/ej2-base.umd.min.js +10 -1
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +15 -17
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +15 -17
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +10 -1
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +9 -0
- package/package.json +136 -169
- package/src/draggable.js +1 -1
- package/src/sanitize-helper.js +12 -14
- package/src/validate-lic.js +2 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: index.d.ts
|
|
3
|
+
* version : 21.2.3
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
1
10
|
import * as _base from '@syncfusion/ej2-base';
|
|
2
11
|
|
|
3
12
|
export declare namespace ej {
|
package/package.json
CHANGED
|
@@ -1,170 +1,137 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"web-components",
|
|
139
|
-
"typescript",
|
|
140
|
-
"base",
|
|
141
|
-
"common",
|
|
142
|
-
"core",
|
|
143
|
-
"library",
|
|
144
|
-
"ajax",
|
|
145
|
-
"animation",
|
|
146
|
-
"internationalization",
|
|
147
|
-
"drag",
|
|
148
|
-
"drop",
|
|
149
|
-
"drag-drop",
|
|
150
|
-
"template",
|
|
151
|
-
"template-engine",
|
|
152
|
-
"rtl",
|
|
153
|
-
"right-to-left",
|
|
154
|
-
"persistence",
|
|
155
|
-
"state-persistence",
|
|
156
|
-
"theme",
|
|
157
|
-
"styles"
|
|
158
|
-
],
|
|
159
|
-
"license": "SEE LICENSE IN license",
|
|
160
|
-
"main": "./dist/ej2-base.umd.min.js",
|
|
161
|
-
"module": "./index.js",
|
|
162
|
-
"name": "@syncfusion/ej2-base",
|
|
163
|
-
"repository": {
|
|
164
|
-
"type": "git",
|
|
165
|
-
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
166
|
-
},
|
|
167
|
-
"typings": "index.d.ts",
|
|
168
|
-
"version": "21.1.40",
|
|
169
|
-
"sideEffects": true
|
|
170
|
-
}
|
|
2
|
+
"_from": "@syncfusion/ej2-base@*",
|
|
3
|
+
"_id": "@syncfusion/ej2-base@21.1.39",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-FTK0S0QGfGHBggjRr43m6VvV5YD4gsLKa+bLZFu3lrDeWpqwt9p9Z2vZwkfEBPWPsRsTjWLah2O2nuAIVwZCXg==",
|
|
6
|
+
"_location": "/@syncfusion/ej2-base",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "range",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "@syncfusion/ej2-base@*",
|
|
12
|
+
"name": "@syncfusion/ej2-base",
|
|
13
|
+
"escapedName": "@syncfusion%2fej2-base",
|
|
14
|
+
"scope": "@syncfusion",
|
|
15
|
+
"rawSpec": "*",
|
|
16
|
+
"saveSpec": null,
|
|
17
|
+
"fetchSpec": "*"
|
|
18
|
+
},
|
|
19
|
+
"_requiredBy": [
|
|
20
|
+
"/",
|
|
21
|
+
"/@syncfusion/ej2",
|
|
22
|
+
"/@syncfusion/ej2-angular-barcode-generator",
|
|
23
|
+
"/@syncfusion/ej2-angular-base",
|
|
24
|
+
"/@syncfusion/ej2-angular-buttons",
|
|
25
|
+
"/@syncfusion/ej2-angular-circulargauge",
|
|
26
|
+
"/@syncfusion/ej2-angular-lists",
|
|
27
|
+
"/@syncfusion/ej2-angular-popups",
|
|
28
|
+
"/@syncfusion/ej2-barcode-generator",
|
|
29
|
+
"/@syncfusion/ej2-buttons",
|
|
30
|
+
"/@syncfusion/ej2-calendars",
|
|
31
|
+
"/@syncfusion/ej2-charts",
|
|
32
|
+
"/@syncfusion/ej2-circulargauge",
|
|
33
|
+
"/@syncfusion/ej2-data",
|
|
34
|
+
"/@syncfusion/ej2-diagrams",
|
|
35
|
+
"/@syncfusion/ej2-documenteditor",
|
|
36
|
+
"/@syncfusion/ej2-drawings",
|
|
37
|
+
"/@syncfusion/ej2-dropdowns",
|
|
38
|
+
"/@syncfusion/ej2-excel-export",
|
|
39
|
+
"/@syncfusion/ej2-filemanager",
|
|
40
|
+
"/@syncfusion/ej2-gantt",
|
|
41
|
+
"/@syncfusion/ej2-grids",
|
|
42
|
+
"/@syncfusion/ej2-heatmap",
|
|
43
|
+
"/@syncfusion/ej2-image-editor",
|
|
44
|
+
"/@syncfusion/ej2-inplace-editor",
|
|
45
|
+
"/@syncfusion/ej2-inputs",
|
|
46
|
+
"/@syncfusion/ej2-kanban",
|
|
47
|
+
"/@syncfusion/ej2-layouts",
|
|
48
|
+
"/@syncfusion/ej2-lineargauge",
|
|
49
|
+
"/@syncfusion/ej2-lists",
|
|
50
|
+
"/@syncfusion/ej2-maps",
|
|
51
|
+
"/@syncfusion/ej2-navigations",
|
|
52
|
+
"/@syncfusion/ej2-notifications",
|
|
53
|
+
"/@syncfusion/ej2-pdfviewer",
|
|
54
|
+
"/@syncfusion/ej2-pivotview",
|
|
55
|
+
"/@syncfusion/ej2-popups",
|
|
56
|
+
"/@syncfusion/ej2-progressbar",
|
|
57
|
+
"/@syncfusion/ej2-querybuilder",
|
|
58
|
+
"/@syncfusion/ej2-react-barcode-generator",
|
|
59
|
+
"/@syncfusion/ej2-react-base",
|
|
60
|
+
"/@syncfusion/ej2-react-buttons",
|
|
61
|
+
"/@syncfusion/ej2-react-circulargauge",
|
|
62
|
+
"/@syncfusion/ej2-react-lists",
|
|
63
|
+
"/@syncfusion/ej2-react-popups",
|
|
64
|
+
"/@syncfusion/ej2-ribbon",
|
|
65
|
+
"/@syncfusion/ej2-richtexteditor",
|
|
66
|
+
"/@syncfusion/ej2-schedule",
|
|
67
|
+
"/@syncfusion/ej2-splitbuttons",
|
|
68
|
+
"/@syncfusion/ej2-spreadsheet",
|
|
69
|
+
"/@syncfusion/ej2-svg-base",
|
|
70
|
+
"/@syncfusion/ej2-treegrid",
|
|
71
|
+
"/@syncfusion/ej2-treemap",
|
|
72
|
+
"/@syncfusion/ej2-vue-barcode-generator",
|
|
73
|
+
"/@syncfusion/ej2-vue-base",
|
|
74
|
+
"/@syncfusion/ej2-vue-buttons",
|
|
75
|
+
"/@syncfusion/ej2-vue-circulargauge",
|
|
76
|
+
"/@syncfusion/ej2-vue-lists",
|
|
77
|
+
"/@syncfusion/ej2-vue-popups"
|
|
78
|
+
],
|
|
79
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-21.1.39.tgz",
|
|
80
|
+
"_shasum": "27c564490dd7783542a34e2d0df4a7da922b2f03",
|
|
81
|
+
"_spec": "@syncfusion/ej2-base@*",
|
|
82
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
83
|
+
"author": {
|
|
84
|
+
"name": "Syncfusion Inc."
|
|
85
|
+
},
|
|
86
|
+
"bin": {
|
|
87
|
+
"syncfusion-license": "bin/syncfusion-license.js"
|
|
88
|
+
},
|
|
89
|
+
"bugs": {
|
|
90
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
91
|
+
},
|
|
92
|
+
"bundleDependencies": false,
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"@syncfusion/ej2-icons": "~21.2.3"
|
|
95
|
+
},
|
|
96
|
+
"deprecated": false,
|
|
97
|
+
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
|
|
98
|
+
"devDependencies": {},
|
|
99
|
+
"es2015": "./dist/es6/ej2-base.es5.js",
|
|
100
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
101
|
+
"keywords": [
|
|
102
|
+
"ej2",
|
|
103
|
+
"syncfusion",
|
|
104
|
+
"ej2-base",
|
|
105
|
+
"web-components",
|
|
106
|
+
"typescript",
|
|
107
|
+
"base",
|
|
108
|
+
"common",
|
|
109
|
+
"core",
|
|
110
|
+
"library",
|
|
111
|
+
"ajax",
|
|
112
|
+
"animation",
|
|
113
|
+
"internationalization",
|
|
114
|
+
"drag",
|
|
115
|
+
"drop",
|
|
116
|
+
"drag-drop",
|
|
117
|
+
"template",
|
|
118
|
+
"template-engine",
|
|
119
|
+
"rtl",
|
|
120
|
+
"right-to-left",
|
|
121
|
+
"persistence",
|
|
122
|
+
"state-persistence",
|
|
123
|
+
"theme",
|
|
124
|
+
"styles"
|
|
125
|
+
],
|
|
126
|
+
"license": "SEE LICENSE IN license",
|
|
127
|
+
"main": "./dist/ej2-base.umd.min.js",
|
|
128
|
+
"module": "./index.js",
|
|
129
|
+
"name": "@syncfusion/ej2-base",
|
|
130
|
+
"repository": {
|
|
131
|
+
"type": "git",
|
|
132
|
+
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
133
|
+
},
|
|
134
|
+
"typings": "index.d.ts",
|
|
135
|
+
"version": "21.2.3",
|
|
136
|
+
"sideEffects": true
|
|
137
|
+
}
|
package/src/draggable.js
CHANGED
|
@@ -771,7 +771,7 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
771
771
|
pageX = this.clone ? intCoord.pageX : (intCoord.pageX + window.pageXOffset) - this.relativeXPosition;
|
|
772
772
|
pageY = this.clone ? intCoord.pageY : (intCoord.pageY + window.pageYOffset) - this.relativeYPosition;
|
|
773
773
|
}
|
|
774
|
-
if (
|
|
774
|
+
if (document.scrollingElement && (!isdragscroll && !this.clone)) {
|
|
775
775
|
var isVerticalScroll = document.scrollingElement.scrollHeight > 0 && document.scrollingElement.scrollHeight > document.scrollingElement.clientHeight && document.scrollingElement.scrollTop > 0;
|
|
776
776
|
var isHorrizontalScroll = document.scrollingElement.scrollWidth > 0 && document.scrollingElement.scrollWidth > document.scrollingElement.clientWidth && document.scrollingElement.scrollLeft > 0;
|
|
777
777
|
pageX = isHorrizontalScroll ? pageX - document.scrollingElement.scrollLeft : pageX;
|
package/src/sanitize-helper.js
CHANGED
|
@@ -38,11 +38,8 @@ var jsEvents = ['onchange',
|
|
|
38
38
|
'onafterprint',
|
|
39
39
|
'onbeforeonload',
|
|
40
40
|
'onbeforeprint',
|
|
41
|
-
'onblur',
|
|
42
41
|
'oncanplay',
|
|
43
42
|
'oncanplaythrough',
|
|
44
|
-
'onchange',
|
|
45
|
-
'onclick',
|
|
46
43
|
'oncontextmenu',
|
|
47
44
|
'ondblclick',
|
|
48
45
|
'ondrag',
|
|
@@ -55,26 +52,18 @@ var jsEvents = ['onchange',
|
|
|
55
52
|
'ondurationchange',
|
|
56
53
|
'onemptied',
|
|
57
54
|
'onended',
|
|
58
|
-
'onerror',
|
|
59
|
-
'onerror',
|
|
60
|
-
'onfocus',
|
|
61
55
|
'onformchange',
|
|
62
56
|
'onforminput',
|
|
63
57
|
'onhaschange',
|
|
64
58
|
'oninput',
|
|
65
59
|
'oninvalid',
|
|
66
|
-
'onkeydown',
|
|
67
60
|
'onkeypress',
|
|
68
|
-
'onkeyup',
|
|
69
|
-
'onload',
|
|
70
61
|
'onloadeddata',
|
|
71
62
|
'onloadedmetadata',
|
|
72
63
|
'onloadstart',
|
|
73
64
|
'onmessage',
|
|
74
65
|
'onmousedown',
|
|
75
66
|
'onmousemove',
|
|
76
|
-
'onmouseout',
|
|
77
|
-
'onmouseover',
|
|
78
67
|
'onmouseup',
|
|
79
68
|
'onmousewheel',
|
|
80
69
|
'onoffline',
|
|
@@ -97,7 +86,6 @@ var jsEvents = ['onchange',
|
|
|
97
86
|
'onselect',
|
|
98
87
|
'onstalled',
|
|
99
88
|
'onstorage',
|
|
100
|
-
'onsubmit',
|
|
101
89
|
'onsuspend',
|
|
102
90
|
'ontimeupdate',
|
|
103
91
|
'onundo',
|
|
@@ -106,9 +94,19 @@ var jsEvents = ['onchange',
|
|
|
106
94
|
'onwaiting',
|
|
107
95
|
'onmouseenter',
|
|
108
96
|
'onmouseleave',
|
|
109
|
-
'onmousewheel',
|
|
110
97
|
'onstart',
|
|
111
|
-
'onpropertychange'
|
|
98
|
+
'onpropertychange',
|
|
99
|
+
'oncopy',
|
|
100
|
+
'ontoggle',
|
|
101
|
+
'onpointerout',
|
|
102
|
+
'onpointermove',
|
|
103
|
+
'onpointerleave',
|
|
104
|
+
'onpointerenter',
|
|
105
|
+
'onpointerrawupdate',
|
|
106
|
+
'onpointerover',
|
|
107
|
+
'onbeforecopy',
|
|
108
|
+
'onbeforecut',
|
|
109
|
+
'onbeforeinput'
|
|
112
110
|
];
|
|
113
111
|
var SanitizeHtmlHelper = /** @class */ (function () {
|
|
114
112
|
function SanitizeHtmlHelper() {
|
package/src/validate-lic.js
CHANGED
|
@@ -14,7 +14,7 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
14
14
|
function LicenseValidator(key) {
|
|
15
15
|
this.isValidated = false;
|
|
16
16
|
this.isLicensed = true;
|
|
17
|
-
this.version = '21
|
|
17
|
+
this.version = '21';
|
|
18
18
|
this.platform = /JavaScript|ASPNET|ASPNETCORE|ASPNETMVC|FileFormats/i;
|
|
19
19
|
this.errors = {
|
|
20
20
|
noLicense: '<span>This application was built using a trial version of Syncfusion Essential Studio.' +
|
|
@@ -116,7 +116,7 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
if (validateMsg && typeof document !== 'undefined' && !isNullOrUndefined(document)) {
|
|
119
|
-
accountURL = (validateURL && validateURL !== '') ? validateURL : "https://www.syncfusion.com/account/claim-license-key?pl=SmF2YVNjcmlwdA==&vs=
|
|
119
|
+
accountURL = (validateURL && validateURL !== '') ? validateURL : "https://www.syncfusion.com/account/claim-license-key?pl=SmF2YVNjcmlwdA==&vs=MjE=";
|
|
120
120
|
var errorDiv = createElement('div', {
|
|
121
121
|
innerHTML: "<img src='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE5OV80KSI+CjxwYXRoIGQ9Ik0xMiAyMUMxNi45NzA2IDIxIDIxIDE2Ljk3MDYgMjEgMTJDMjEgNy4wMjk0NCAxNi45NzA2IDMgMTIgM0M3LjAyOTQ0IDMgMyA3LjAyOTQ0IDMgMTJDMyAxNi45NzA2IDcuMDI5NDQgMjEgMTIgMjFaIiBzdHJva2U9IiM3MzczNzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS4yNSAxMS4yNUgxMlYxNi41SDEyLjc1IiBmaWxsPSIjNjE2MDYzIi8+CjxwYXRoIGQ9Ik0xMS4yNSAxMS4yNUgxMlYxNi41SDEyLjc1IiBzdHJva2U9IiM3MzczNzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS44MTI1IDlDMTIuNDMzOCA5IDEyLjkzNzUgOC40OTYzMiAxMi45Mzc1IDcuODc1QzEyLjkzNzUgNy4yNTM2OCAxMi40MzM4IDYuNzUgMTEuODEyNSA2Ljc1QzExLjE5MTIgNi43NSAxMC42ODc1IDcuMjUzNjggMTAuNjg3NSA3Ljg3NUMxMC42ODc1IDguNDk2MzIgMTEuMTkxMiA5IDExLjgxMjUgOVoiIGZpbGw9IiM3MzczNzMiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xOTlfNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K' style=\"top: 6px;\n position: absolute;\n left: 16px;\n width: 24px;\n height: 24px;\"/>" + validateMsg + ' ' + '<a style="text-decoration: none;color: #0D6EFD;font-weight: 500;" href=' + accountURL + '>Claim your free account</a>'
|
|
122
122
|
});
|