@syncfusion/ej2-base 20.2.45 → 20.2.48
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 +14 -0
- package/bin/syncfusion-license.js +1 -1
- 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 +3 -3
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +3 -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 +6 -72
- package/src/draggable.js +3 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.2.
|
|
3
|
+
* version : 20.2.48
|
|
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.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-base@20.2.46",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-E2urjFA6PniINMv0+38lPaFZHht0cBZPx8D8gRbj8c4COhJoc2SZgh8Nnurprs/cfgYTCO+IDaZZ9OusrcN16Q==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-base",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,39 +19,17 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
21
|
"/@syncfusion/ej2",
|
|
22
|
-
"/@syncfusion/ej2-angular-barcode-generator",
|
|
23
22
|
"/@syncfusion/ej2-angular-base",
|
|
24
|
-
"/@syncfusion/ej2-angular-buttons",
|
|
25
|
-
"/@syncfusion/ej2-angular-calendars",
|
|
26
23
|
"/@syncfusion/ej2-angular-charts",
|
|
27
|
-
"/@syncfusion/ej2-angular-circulargauge",
|
|
28
|
-
"/@syncfusion/ej2-angular-diagrams",
|
|
29
24
|
"/@syncfusion/ej2-angular-documenteditor",
|
|
30
25
|
"/@syncfusion/ej2-angular-dropdowns",
|
|
31
|
-
"/@syncfusion/ej2-angular-filemanager",
|
|
32
|
-
"/@syncfusion/ej2-angular-gantt",
|
|
33
26
|
"/@syncfusion/ej2-angular-grids",
|
|
34
27
|
"/@syncfusion/ej2-angular-heatmap",
|
|
35
|
-
"/@syncfusion/ej2-angular-inplace-editor",
|
|
36
28
|
"/@syncfusion/ej2-angular-inputs",
|
|
37
|
-
"/@syncfusion/ej2-angular-kanban",
|
|
38
|
-
"/@syncfusion/ej2-angular-layouts",
|
|
39
|
-
"/@syncfusion/ej2-angular-lineargauge",
|
|
40
|
-
"/@syncfusion/ej2-angular-lists",
|
|
41
|
-
"/@syncfusion/ej2-angular-maps",
|
|
42
29
|
"/@syncfusion/ej2-angular-navigations",
|
|
43
|
-
"/@syncfusion/ej2-angular-notifications",
|
|
44
30
|
"/@syncfusion/ej2-angular-pdfviewer",
|
|
45
|
-
"/@syncfusion/ej2-angular-pivotview",
|
|
46
|
-
"/@syncfusion/ej2-angular-popups",
|
|
47
|
-
"/@syncfusion/ej2-angular-progressbar",
|
|
48
31
|
"/@syncfusion/ej2-angular-querybuilder",
|
|
49
|
-
"/@syncfusion/ej2-angular-richtexteditor",
|
|
50
|
-
"/@syncfusion/ej2-angular-schedule",
|
|
51
|
-
"/@syncfusion/ej2-angular-splitbuttons",
|
|
52
32
|
"/@syncfusion/ej2-angular-spreadsheet",
|
|
53
|
-
"/@syncfusion/ej2-angular-treegrid",
|
|
54
|
-
"/@syncfusion/ej2-angular-treemap",
|
|
55
33
|
"/@syncfusion/ej2-barcode-generator",
|
|
56
34
|
"/@syncfusion/ej2-buttons",
|
|
57
35
|
"/@syncfusion/ej2-calendars",
|
|
@@ -81,39 +59,17 @@
|
|
|
81
59
|
"/@syncfusion/ej2-popups",
|
|
82
60
|
"/@syncfusion/ej2-progressbar",
|
|
83
61
|
"/@syncfusion/ej2-querybuilder",
|
|
84
|
-
"/@syncfusion/ej2-react-barcode-generator",
|
|
85
62
|
"/@syncfusion/ej2-react-base",
|
|
86
|
-
"/@syncfusion/ej2-react-buttons",
|
|
87
|
-
"/@syncfusion/ej2-react-calendars",
|
|
88
63
|
"/@syncfusion/ej2-react-charts",
|
|
89
|
-
"/@syncfusion/ej2-react-circulargauge",
|
|
90
|
-
"/@syncfusion/ej2-react-diagrams",
|
|
91
64
|
"/@syncfusion/ej2-react-documenteditor",
|
|
92
65
|
"/@syncfusion/ej2-react-dropdowns",
|
|
93
|
-
"/@syncfusion/ej2-react-filemanager",
|
|
94
|
-
"/@syncfusion/ej2-react-gantt",
|
|
95
66
|
"/@syncfusion/ej2-react-grids",
|
|
96
67
|
"/@syncfusion/ej2-react-heatmap",
|
|
97
|
-
"/@syncfusion/ej2-react-inplace-editor",
|
|
98
68
|
"/@syncfusion/ej2-react-inputs",
|
|
99
|
-
"/@syncfusion/ej2-react-kanban",
|
|
100
|
-
"/@syncfusion/ej2-react-layouts",
|
|
101
|
-
"/@syncfusion/ej2-react-lineargauge",
|
|
102
|
-
"/@syncfusion/ej2-react-lists",
|
|
103
|
-
"/@syncfusion/ej2-react-maps",
|
|
104
69
|
"/@syncfusion/ej2-react-navigations",
|
|
105
|
-
"/@syncfusion/ej2-react-notifications",
|
|
106
70
|
"/@syncfusion/ej2-react-pdfviewer",
|
|
107
|
-
"/@syncfusion/ej2-react-pivotview",
|
|
108
|
-
"/@syncfusion/ej2-react-popups",
|
|
109
|
-
"/@syncfusion/ej2-react-progressbar",
|
|
110
71
|
"/@syncfusion/ej2-react-querybuilder",
|
|
111
|
-
"/@syncfusion/ej2-react-richtexteditor",
|
|
112
|
-
"/@syncfusion/ej2-react-schedule",
|
|
113
|
-
"/@syncfusion/ej2-react-splitbuttons",
|
|
114
72
|
"/@syncfusion/ej2-react-spreadsheet",
|
|
115
|
-
"/@syncfusion/ej2-react-treegrid",
|
|
116
|
-
"/@syncfusion/ej2-react-treemap",
|
|
117
73
|
"/@syncfusion/ej2-richtexteditor",
|
|
118
74
|
"/@syncfusion/ej2-schedule",
|
|
119
75
|
"/@syncfusion/ej2-splitbuttons",
|
|
@@ -121,42 +77,20 @@
|
|
|
121
77
|
"/@syncfusion/ej2-svg-base",
|
|
122
78
|
"/@syncfusion/ej2-treegrid",
|
|
123
79
|
"/@syncfusion/ej2-treemap",
|
|
124
|
-
"/@syncfusion/ej2-vue-barcode-generator",
|
|
125
80
|
"/@syncfusion/ej2-vue-base",
|
|
126
|
-
"/@syncfusion/ej2-vue-buttons",
|
|
127
|
-
"/@syncfusion/ej2-vue-calendars",
|
|
128
81
|
"/@syncfusion/ej2-vue-charts",
|
|
129
|
-
"/@syncfusion/ej2-vue-circulargauge",
|
|
130
|
-
"/@syncfusion/ej2-vue-diagrams",
|
|
131
82
|
"/@syncfusion/ej2-vue-documenteditor",
|
|
132
83
|
"/@syncfusion/ej2-vue-dropdowns",
|
|
133
|
-
"/@syncfusion/ej2-vue-filemanager",
|
|
134
|
-
"/@syncfusion/ej2-vue-gantt",
|
|
135
84
|
"/@syncfusion/ej2-vue-grids",
|
|
136
85
|
"/@syncfusion/ej2-vue-heatmap",
|
|
137
|
-
"/@syncfusion/ej2-vue-inplace-editor",
|
|
138
86
|
"/@syncfusion/ej2-vue-inputs",
|
|
139
|
-
"/@syncfusion/ej2-vue-kanban",
|
|
140
|
-
"/@syncfusion/ej2-vue-layouts",
|
|
141
|
-
"/@syncfusion/ej2-vue-lineargauge",
|
|
142
|
-
"/@syncfusion/ej2-vue-lists",
|
|
143
|
-
"/@syncfusion/ej2-vue-maps",
|
|
144
87
|
"/@syncfusion/ej2-vue-navigations",
|
|
145
|
-
"/@syncfusion/ej2-vue-notifications",
|
|
146
88
|
"/@syncfusion/ej2-vue-pdfviewer",
|
|
147
|
-
"/@syncfusion/ej2-vue-pivotview",
|
|
148
|
-
"/@syncfusion/ej2-vue-popups",
|
|
149
|
-
"/@syncfusion/ej2-vue-progressbar",
|
|
150
89
|
"/@syncfusion/ej2-vue-querybuilder",
|
|
151
|
-
"/@syncfusion/ej2-vue-
|
|
152
|
-
"/@syncfusion/ej2-vue-schedule",
|
|
153
|
-
"/@syncfusion/ej2-vue-splitbuttons",
|
|
154
|
-
"/@syncfusion/ej2-vue-spreadsheet",
|
|
155
|
-
"/@syncfusion/ej2-vue-treegrid",
|
|
156
|
-
"/@syncfusion/ej2-vue-treemap"
|
|
90
|
+
"/@syncfusion/ej2-vue-spreadsheet"
|
|
157
91
|
],
|
|
158
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.2.
|
|
159
|
-
"_shasum": "
|
|
92
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.2.46.tgz",
|
|
93
|
+
"_shasum": "ccaac49dc09064bd53f2692f488c627c9f933837",
|
|
160
94
|
"_spec": "@syncfusion/ej2-base@*",
|
|
161
95
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
162
96
|
"author": {
|
|
@@ -211,6 +145,6 @@
|
|
|
211
145
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
212
146
|
},
|
|
213
147
|
"typings": "index.d.ts",
|
|
214
|
-
"version": "20.2.
|
|
148
|
+
"version": "20.2.48",
|
|
215
149
|
"sideEffects": true
|
|
216
150
|
}
|
package/src/draggable.js
CHANGED
|
@@ -233,9 +233,6 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
233
233
|
if (isChangeTouch && (evt.changedTouches.length !== 1)) {
|
|
234
234
|
return;
|
|
235
235
|
}
|
|
236
|
-
if (isChangeTouch) {
|
|
237
|
-
evt.preventDefault();
|
|
238
|
-
}
|
|
239
236
|
var intCordinate = this.getCoordinates(evt);
|
|
240
237
|
var pos;
|
|
241
238
|
var styleProp = getComputedStyle(this.element);
|
|
@@ -266,6 +263,9 @@ var Draggable = /** @class */ (function (_super) {
|
|
|
266
263
|
if (!ele || isNullOrUndefined(ele)) {
|
|
267
264
|
return;
|
|
268
265
|
}
|
|
266
|
+
if (isChangeTouch) {
|
|
267
|
+
evt.preventDefault();
|
|
268
|
+
}
|
|
269
269
|
var dragTargetElement = this.helperElement = ele;
|
|
270
270
|
this.parentClientRect = this.calculateParentPosition(dragTargetElement.offsetParent);
|
|
271
271
|
if (this.dragStart) {
|