@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.
@@ -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
- "_from": "@syncfusion/ej2-base@*",
3
- "_id": "@syncfusion/ej2-base@21.1.38",
4
- "_inBundle": false,
5
- "_integrity": "sha512-LV5PhZtpHY8dpC5BFF3IXNU6n3Ynp2K5FVUO+ViV590o+J8i0U+vCG4yqnR3WPqEt2+XeMcYprZ06+prJfn3BA==",
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-base",
23
- "/@syncfusion/ej2-angular-charts",
24
- "/@syncfusion/ej2-angular-diagrams",
25
- "/@syncfusion/ej2-angular-documenteditor",
26
- "/@syncfusion/ej2-angular-dropdowns",
27
- "/@syncfusion/ej2-angular-filemanager",
28
- "/@syncfusion/ej2-angular-grids",
29
- "/@syncfusion/ej2-angular-image-editor",
30
- "/@syncfusion/ej2-angular-inputs",
31
- "/@syncfusion/ej2-angular-kanban",
32
- "/@syncfusion/ej2-angular-lists",
33
- "/@syncfusion/ej2-angular-navigations",
34
- "/@syncfusion/ej2-angular-pdfviewer",
35
- "/@syncfusion/ej2-angular-pivotview",
36
- "/@syncfusion/ej2-angular-richtexteditor",
37
- "/@syncfusion/ej2-angular-schedule",
38
- "/@syncfusion/ej2-angular-spreadsheet",
39
- "/@syncfusion/ej2-barcode-generator",
40
- "/@syncfusion/ej2-buttons",
41
- "/@syncfusion/ej2-calendars",
42
- "/@syncfusion/ej2-charts",
43
- "/@syncfusion/ej2-circulargauge",
44
- "/@syncfusion/ej2-data",
45
- "/@syncfusion/ej2-diagrams",
46
- "/@syncfusion/ej2-documenteditor",
47
- "/@syncfusion/ej2-drawings",
48
- "/@syncfusion/ej2-dropdowns",
49
- "/@syncfusion/ej2-excel-export",
50
- "/@syncfusion/ej2-filemanager",
51
- "/@syncfusion/ej2-gantt",
52
- "/@syncfusion/ej2-grids",
53
- "/@syncfusion/ej2-heatmap",
54
- "/@syncfusion/ej2-image-editor",
55
- "/@syncfusion/ej2-inplace-editor",
56
- "/@syncfusion/ej2-inputs",
57
- "/@syncfusion/ej2-kanban",
58
- "/@syncfusion/ej2-layouts",
59
- "/@syncfusion/ej2-lineargauge",
60
- "/@syncfusion/ej2-lists",
61
- "/@syncfusion/ej2-maps",
62
- "/@syncfusion/ej2-navigations",
63
- "/@syncfusion/ej2-notifications",
64
- "/@syncfusion/ej2-pdfviewer",
65
- "/@syncfusion/ej2-pivotview",
66
- "/@syncfusion/ej2-popups",
67
- "/@syncfusion/ej2-progressbar",
68
- "/@syncfusion/ej2-querybuilder",
69
- "/@syncfusion/ej2-react-base",
70
- "/@syncfusion/ej2-react-charts",
71
- "/@syncfusion/ej2-react-diagrams",
72
- "/@syncfusion/ej2-react-documenteditor",
73
- "/@syncfusion/ej2-react-dropdowns",
74
- "/@syncfusion/ej2-react-filemanager",
75
- "/@syncfusion/ej2-react-grids",
76
- "/@syncfusion/ej2-react-image-editor",
77
- "/@syncfusion/ej2-react-inputs",
78
- "/@syncfusion/ej2-react-kanban",
79
- "/@syncfusion/ej2-react-lists",
80
- "/@syncfusion/ej2-react-navigations",
81
- "/@syncfusion/ej2-react-pdfviewer",
82
- "/@syncfusion/ej2-react-pivotview",
83
- "/@syncfusion/ej2-react-richtexteditor",
84
- "/@syncfusion/ej2-react-schedule",
85
- "/@syncfusion/ej2-react-spreadsheet",
86
- "/@syncfusion/ej2-ribbon",
87
- "/@syncfusion/ej2-richtexteditor",
88
- "/@syncfusion/ej2-schedule",
89
- "/@syncfusion/ej2-splitbuttons",
90
- "/@syncfusion/ej2-spreadsheet",
91
- "/@syncfusion/ej2-svg-base",
92
- "/@syncfusion/ej2-treegrid",
93
- "/@syncfusion/ej2-treemap",
94
- "/@syncfusion/ej2-vue-base",
95
- "/@syncfusion/ej2-vue-charts",
96
- "/@syncfusion/ej2-vue-diagrams",
97
- "/@syncfusion/ej2-vue-documenteditor",
98
- "/@syncfusion/ej2-vue-dropdowns",
99
- "/@syncfusion/ej2-vue-filemanager",
100
- "/@syncfusion/ej2-vue-grids",
101
- "/@syncfusion/ej2-vue-image-editor",
102
- "/@syncfusion/ej2-vue-inputs",
103
- "/@syncfusion/ej2-vue-kanban",
104
- "/@syncfusion/ej2-vue-lists",
105
- "/@syncfusion/ej2-vue-navigations",
106
- "/@syncfusion/ej2-vue-pdfviewer",
107
- "/@syncfusion/ej2-vue-pivotview",
108
- "/@syncfusion/ej2-vue-richtexteditor",
109
- "/@syncfusion/ej2-vue-schedule",
110
- "/@syncfusion/ej2-vue-spreadsheet"
111
- ],
112
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-21.1.38.tgz",
113
- "_shasum": "a7a318b4b0038af081086f7b2234b14d0f0912d8",
114
- "_spec": "@syncfusion/ej2-base@*",
115
- "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
116
- "author": {
117
- "name": "Syncfusion Inc."
118
- },
119
- "bin": {
120
- "syncfusion-license": "bin/syncfusion-license.js"
121
- },
122
- "bugs": {
123
- "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
124
- },
125
- "bundleDependencies": false,
126
- "dependencies": {
127
- "@syncfusion/ej2-icons": "~21.1.37"
128
- },
129
- "deprecated": false,
130
- "description": "A common package of Essential JS 2 base libraries, methods and class definitions",
131
- "devDependencies": {},
132
- "es2015": "./dist/es6/ej2-base.es5.js",
133
- "homepage": "https://www.syncfusion.com/javascript-ui-controls",
134
- "keywords": [
135
- "ej2",
136
- "syncfusion",
137
- "ej2-base",
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 (!this.element.classList.contains("e-dialog") && !this.element.classList.contains("e-card") && document.scrollingElement) {
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;
@@ -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() {
@@ -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.1';
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=MjEuMQ==";
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
  });