@syncfusion/ej2-base 21.1.39 → 21.1.40

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,12 +1,3 @@
1
- /*!
2
- * filename: index.d.ts
3
- * version : 21.1.39
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
- */
10
1
  import * as _base from '@syncfusion/ej2-base';
11
2
 
12
3
  export declare namespace ej {
package/package.json CHANGED
@@ -1,170 +1,170 @@
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.39",
169
- "sideEffects": true
170
- }
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
+ }
package/src/browser.js CHANGED
@@ -132,9 +132,8 @@ var Browser = /** @class */ (function () {
132
132
  */
133
133
  Browser.getValue = function (key, regX) {
134
134
  var browserDetails = typeof window !== 'undefined' ? window.browserDetails : {};
135
- var isSurfaceDevice = typeof navigator !== 'undefined' && navigator.userAgent.indexOf('Windows') > -1 && screen && screen.width < 1360;
136
- if (typeof navigator !== 'undefined' && (navigator.platform === 'MacIntel' || isSurfaceDevice) && navigator.maxTouchPoints > 1 && Browser.isTouch === true) {
137
- browserDetails['isIos'] = navigator.platform === 'MacIntel';
135
+ if (typeof navigator !== 'undefined' && navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 && Browser.isTouch === true) {
136
+ browserDetails['isIos'] = true;
138
137
  browserDetails['isDevice'] = true;
139
138
  browserDetails['isTouch'] = true;
140
139
  browserDetails['isPointer'] = true;