@syncfusion/ej2-base 20.4.40 → 20.4.44
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 +27 -0
- package/README.md +1 -1
- package/bin/syncfusion-license.js +1 -1
- package/dist/ej2-base.min.js +2 -2
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +9 -3
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +9 -3
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +15 -53
- package/src/browser.js +2 -2
- package/src/component.js +1 -1
- package/src/draggable.js +6 -0
- package/styles/bootstrap-dark.css +34 -4
- package/styles/bootstrap.css +34 -4
- package/styles/bootstrap4.css +34 -4
- package/styles/bootstrap5-dark.css +34 -4
- package/styles/bootstrap5.css +34 -4
- package/styles/definition/_tailwind.scss +1 -1
- package/styles/fabric-dark.css +38 -5
- package/styles/fabric.css +38 -5
- package/styles/fluent-dark.css +35 -5
- package/styles/fluent.css +35 -5
- package/styles/highcontrast-light.css +41 -5
- package/styles/highcontrast.css +41 -5
- package/styles/material-dark.css +34 -4
- package/styles/material.css +34 -4
- package/styles/offline-theme/material-dark.css +34 -4
- package/styles/offline-theme/material.css +34 -4
- package/styles/offline-theme/tailwind-dark.css +34 -4
- package/styles/offline-theme/tailwind.css +34 -4
- package/styles/tailwind-dark.css +34 -4
- package/styles/tailwind.css +34 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.44
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-base@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-base@20.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-base@20.4.42",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-ZAWN28IU6sIf0kQDoGU/XNcXjQJEP7oftnavg6VZJMvr5s6wvbjCAqYxfg4i0coOUCjb7cwEJjFkTHsfwInTQw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-base",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,31 +19,21 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
21
|
"/@syncfusion/ej2",
|
|
22
|
-
"/@syncfusion/ej2-angular-barcode-generator",
|
|
23
22
|
"/@syncfusion/ej2-angular-base",
|
|
24
23
|
"/@syncfusion/ej2-angular-buttons",
|
|
25
24
|
"/@syncfusion/ej2-angular-calendars",
|
|
26
25
|
"/@syncfusion/ej2-angular-charts",
|
|
27
|
-
"/@syncfusion/ej2-angular-circulargauge",
|
|
28
|
-
"/@syncfusion/ej2-angular-diagrams",
|
|
29
26
|
"/@syncfusion/ej2-angular-documenteditor",
|
|
30
|
-
"/@syncfusion/ej2-angular-dropdowns",
|
|
31
|
-
"/@syncfusion/ej2-angular-filemanager",
|
|
32
|
-
"/@syncfusion/ej2-angular-gantt",
|
|
33
27
|
"/@syncfusion/ej2-angular-grids",
|
|
34
|
-
"/@syncfusion/ej2-angular-heatmap",
|
|
35
|
-
"/@syncfusion/ej2-angular-image-editor",
|
|
36
|
-
"/@syncfusion/ej2-angular-inputs",
|
|
37
28
|
"/@syncfusion/ej2-angular-kanban",
|
|
38
|
-
"/@syncfusion/ej2-angular-layouts",
|
|
39
|
-
"/@syncfusion/ej2-angular-lineargauge",
|
|
40
|
-
"/@syncfusion/ej2-angular-lists",
|
|
41
29
|
"/@syncfusion/ej2-angular-maps",
|
|
42
30
|
"/@syncfusion/ej2-angular-navigations",
|
|
43
|
-
"/@syncfusion/ej2-angular-
|
|
31
|
+
"/@syncfusion/ej2-angular-pdfviewer",
|
|
32
|
+
"/@syncfusion/ej2-angular-pivotview",
|
|
44
33
|
"/@syncfusion/ej2-angular-popups",
|
|
45
34
|
"/@syncfusion/ej2-angular-richtexteditor",
|
|
46
|
-
"/@syncfusion/ej2-angular-
|
|
35
|
+
"/@syncfusion/ej2-angular-schedule",
|
|
36
|
+
"/@syncfusion/ej2-angular-spreadsheet",
|
|
47
37
|
"/@syncfusion/ej2-angular-treegrid",
|
|
48
38
|
"/@syncfusion/ej2-barcode-generator",
|
|
49
39
|
"/@syncfusion/ej2-buttons",
|
|
@@ -75,31 +65,21 @@
|
|
|
75
65
|
"/@syncfusion/ej2-popups",
|
|
76
66
|
"/@syncfusion/ej2-progressbar",
|
|
77
67
|
"/@syncfusion/ej2-querybuilder",
|
|
78
|
-
"/@syncfusion/ej2-react-barcode-generator",
|
|
79
68
|
"/@syncfusion/ej2-react-base",
|
|
80
69
|
"/@syncfusion/ej2-react-buttons",
|
|
81
70
|
"/@syncfusion/ej2-react-calendars",
|
|
82
71
|
"/@syncfusion/ej2-react-charts",
|
|
83
|
-
"/@syncfusion/ej2-react-circulargauge",
|
|
84
|
-
"/@syncfusion/ej2-react-diagrams",
|
|
85
72
|
"/@syncfusion/ej2-react-documenteditor",
|
|
86
|
-
"/@syncfusion/ej2-react-dropdowns",
|
|
87
|
-
"/@syncfusion/ej2-react-filemanager",
|
|
88
|
-
"/@syncfusion/ej2-react-gantt",
|
|
89
73
|
"/@syncfusion/ej2-react-grids",
|
|
90
|
-
"/@syncfusion/ej2-react-heatmap",
|
|
91
|
-
"/@syncfusion/ej2-react-image-editor",
|
|
92
|
-
"/@syncfusion/ej2-react-inputs",
|
|
93
74
|
"/@syncfusion/ej2-react-kanban",
|
|
94
|
-
"/@syncfusion/ej2-react-layouts",
|
|
95
|
-
"/@syncfusion/ej2-react-lineargauge",
|
|
96
|
-
"/@syncfusion/ej2-react-lists",
|
|
97
75
|
"/@syncfusion/ej2-react-maps",
|
|
98
76
|
"/@syncfusion/ej2-react-navigations",
|
|
99
|
-
"/@syncfusion/ej2-react-
|
|
77
|
+
"/@syncfusion/ej2-react-pdfviewer",
|
|
78
|
+
"/@syncfusion/ej2-react-pivotview",
|
|
100
79
|
"/@syncfusion/ej2-react-popups",
|
|
101
80
|
"/@syncfusion/ej2-react-richtexteditor",
|
|
102
|
-
"/@syncfusion/ej2-react-
|
|
81
|
+
"/@syncfusion/ej2-react-schedule",
|
|
82
|
+
"/@syncfusion/ej2-react-spreadsheet",
|
|
103
83
|
"/@syncfusion/ej2-react-treegrid",
|
|
104
84
|
"/@syncfusion/ej2-richtexteditor",
|
|
105
85
|
"/@syncfusion/ej2-schedule",
|
|
@@ -108,43 +88,25 @@
|
|
|
108
88
|
"/@syncfusion/ej2-svg-base",
|
|
109
89
|
"/@syncfusion/ej2-treegrid",
|
|
110
90
|
"/@syncfusion/ej2-treemap",
|
|
111
|
-
"/@syncfusion/ej2-vue-barcode-generator",
|
|
112
91
|
"/@syncfusion/ej2-vue-base",
|
|
113
92
|
"/@syncfusion/ej2-vue-buttons",
|
|
114
93
|
"/@syncfusion/ej2-vue-calendars",
|
|
115
94
|
"/@syncfusion/ej2-vue-charts",
|
|
116
|
-
"/@syncfusion/ej2-vue-circulargauge",
|
|
117
|
-
"/@syncfusion/ej2-vue-diagrams",
|
|
118
95
|
"/@syncfusion/ej2-vue-documenteditor",
|
|
119
|
-
"/@syncfusion/ej2-vue-dropdowns",
|
|
120
|
-
"/@syncfusion/ej2-vue-filemanager",
|
|
121
|
-
"/@syncfusion/ej2-vue-gantt",
|
|
122
96
|
"/@syncfusion/ej2-vue-grids",
|
|
123
|
-
"/@syncfusion/ej2-vue-heatmap",
|
|
124
|
-
"/@syncfusion/ej2-vue-image-editor",
|
|
125
|
-
"/@syncfusion/ej2-vue-inplace-editor",
|
|
126
|
-
"/@syncfusion/ej2-vue-inputs",
|
|
127
97
|
"/@syncfusion/ej2-vue-kanban",
|
|
128
|
-
"/@syncfusion/ej2-vue-layouts",
|
|
129
|
-
"/@syncfusion/ej2-vue-lineargauge",
|
|
130
|
-
"/@syncfusion/ej2-vue-lists",
|
|
131
98
|
"/@syncfusion/ej2-vue-maps",
|
|
132
99
|
"/@syncfusion/ej2-vue-navigations",
|
|
133
|
-
"/@syncfusion/ej2-vue-notifications",
|
|
134
100
|
"/@syncfusion/ej2-vue-pdfviewer",
|
|
135
101
|
"/@syncfusion/ej2-vue-pivotview",
|
|
136
102
|
"/@syncfusion/ej2-vue-popups",
|
|
137
|
-
"/@syncfusion/ej2-vue-progressbar",
|
|
138
|
-
"/@syncfusion/ej2-vue-querybuilder",
|
|
139
103
|
"/@syncfusion/ej2-vue-richtexteditor",
|
|
140
104
|
"/@syncfusion/ej2-vue-schedule",
|
|
141
|
-
"/@syncfusion/ej2-vue-splitbuttons",
|
|
142
105
|
"/@syncfusion/ej2-vue-spreadsheet",
|
|
143
|
-
"/@syncfusion/ej2-vue-treegrid"
|
|
144
|
-
"/@syncfusion/ej2-vue-treemap"
|
|
106
|
+
"/@syncfusion/ej2-vue-treegrid"
|
|
145
107
|
],
|
|
146
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.4.
|
|
147
|
-
"_shasum": "
|
|
108
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.4.42.tgz",
|
|
109
|
+
"_shasum": "83c8dcedffa1554cc87e86d6818d0a73bcb57809",
|
|
148
110
|
"_spec": "@syncfusion/ej2-base@*",
|
|
149
111
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
150
112
|
"author": {
|
|
@@ -158,7 +120,7 @@
|
|
|
158
120
|
},
|
|
159
121
|
"bundleDependencies": false,
|
|
160
122
|
"dependencies": {
|
|
161
|
-
"@syncfusion/ej2-icons": "~20.4.
|
|
123
|
+
"@syncfusion/ej2-icons": "~20.4.42"
|
|
162
124
|
},
|
|
163
125
|
"deprecated": false,
|
|
164
126
|
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
|
|
@@ -199,6 +161,6 @@
|
|
|
199
161
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
200
162
|
},
|
|
201
163
|
"typings": "index.d.ts",
|
|
202
|
-
"version": "20.4.
|
|
164
|
+
"version": "20.4.44",
|
|
203
165
|
"sideEffects": true
|
|
204
166
|
}
|
package/src/browser.js
CHANGED
|
@@ -121,8 +121,8 @@ var Browser = /** @class */ (function () {
|
|
|
121
121
|
* @returns {Object} ?
|
|
122
122
|
*/
|
|
123
123
|
Browser.getValue = function (key, regX) {
|
|
124
|
-
var browserDetails = window.browserDetails;
|
|
125
|
-
if (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 && Browser.isTouch === true) {
|
|
124
|
+
var browserDetails = typeof window !== 'undefined' ? window.browserDetails : {};
|
|
125
|
+
if (typeof navigator !== 'undefined' && navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 && Browser.isTouch === true) {
|
|
126
126
|
browserDetails['isIos'] = true;
|
|
127
127
|
browserDetails['isDevice'] = true;
|
|
128
128
|
browserDetails['isTouch'] = true;
|
package/src/component.js
CHANGED
|
@@ -78,7 +78,7 @@ var Component = /** @class */ (function (_super) {
|
|
|
78
78
|
// tslint:disable-next-line:no-function-constructor-with-string-args
|
|
79
79
|
onIntlChange.on('notifyExternalChange', _this.detectFunction, _this, _this.randomId);
|
|
80
80
|
// Based on the considered control list we have count the instance
|
|
81
|
-
if (!validateLicense()) {
|
|
81
|
+
if (typeof window !== "undefined" && typeof document !== "undefined" && !validateLicense()) {
|
|
82
82
|
if (componentList.indexOf(_this.getModuleName()) !== -1) {
|
|
83
83
|
instancecount = instancecount + 1;
|
|
84
84
|
if (instancecount > 5) {
|
package/src/draggable.js
CHANGED
|
@@ -769,6 +769,12 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
769
769
|
pageX = this.clone ? intCoord.pageX : (intCoord.pageX + window.pageXOffset) - this.relativeXPosition;
|
|
770
770
|
pageY = this.clone ? intCoord.pageY : (intCoord.pageY + window.pageYOffset) - this.relativeYPosition;
|
|
771
771
|
}
|
|
772
|
+
if (this.element && this.element.classList.length > 0 && this.element.classList.value.indexOf("e-dialog") === -1 && document.scrollingElement) {
|
|
773
|
+
var isVerticalScroll = document.scrollingElement.scrollHeight > 0 && document.scrollingElement.scrollHeight > document.scrollingElement.clientHeight && document.scrollingElement.scrollTop > 0;
|
|
774
|
+
var isHorrizontalScroll = document.scrollingElement.scrollWidth > 0 && document.scrollingElement.scrollWidth > document.scrollingElement.clientWidth && document.scrollingElement.scrollLeft > 0;
|
|
775
|
+
pageX = isHorrizontalScroll ? pageX - document.scrollingElement.scrollLeft : pageX;
|
|
776
|
+
pageY = isVerticalScroll ? pageY - document.scrollingElement.scrollTop : pageY;
|
|
777
|
+
}
|
|
772
778
|
return {
|
|
773
779
|
left: pageX - (this.margin.left + this.cursorAt.left),
|
|
774
780
|
top: pageY - (this.margin.top + this.cursorAt.top)
|