@syncfusion/ej2-base 20.2.43 → 20.2.47
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 +8 -0
- package/{README.md → ReadMe.md} +1 -1
- package/bin/syncfusion-license.js +1 -1
- package/dist/ej2-base.umd.min.js +1 -10
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +31 -28
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +17 -14
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +1 -10
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/package.json +164 -215
- package/src/draggable.js +3 -3
- package/src/validate-lic.d.ts +1 -0
- package/src/validate-lic.js +14 -11
- package/styles/bootstrap-dark.css +12 -0
- package/styles/bootstrap.css +12 -0
- package/styles/bootstrap4.css +12 -0
- package/styles/bootstrap5-dark.css +12 -0
- package/styles/bootstrap5.css +12 -0
- package/styles/common/_core.scss +14 -0
- package/styles/fabric-dark.css +12 -0
- package/styles/fabric.css +12 -0
- package/styles/fluent-dark.css +12 -0
- package/styles/fluent.css +12 -0
- package/styles/highcontrast-light.css +12 -0
- package/styles/highcontrast.css +12 -0
- package/styles/material-dark.css +12 -0
- package/styles/material.css +12 -0
- package/styles/tailwind-dark.css +12 -0
- package/styles/tailwind.css +12 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* filename: index.d.ts
|
|
3
|
-
* version : 20.2.43
|
|
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,216 +1,165 @@
|
|
|
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
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"syncfusion-license": "bin/syncfusion-license.js"
|
|
167
|
-
},
|
|
168
|
-
"bugs": {
|
|
169
|
-
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
170
|
-
},
|
|
171
|
-
"bundleDependencies": false,
|
|
172
|
-
"dependencies": {
|
|
173
|
-
"@syncfusion/ej2-icons": "~20.2.43"
|
|
174
|
-
},
|
|
175
|
-
"deprecated": false,
|
|
176
|
-
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
|
|
177
|
-
"devDependencies": {},
|
|
178
|
-
"es2015": "./dist/es6/ej2-base.es2015.js",
|
|
179
|
-
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
180
|
-
"keywords": [
|
|
181
|
-
"ej2",
|
|
182
|
-
"syncfusion",
|
|
183
|
-
"ej2-base",
|
|
184
|
-
"web-components",
|
|
185
|
-
"typescript",
|
|
186
|
-
"base",
|
|
187
|
-
"common",
|
|
188
|
-
"core",
|
|
189
|
-
"library",
|
|
190
|
-
"ajax",
|
|
191
|
-
"animation",
|
|
192
|
-
"internationalization",
|
|
193
|
-
"drag",
|
|
194
|
-
"drop",
|
|
195
|
-
"drag-drop",
|
|
196
|
-
"template",
|
|
197
|
-
"template-engine",
|
|
198
|
-
"rtl",
|
|
199
|
-
"right-to-left",
|
|
200
|
-
"persistence",
|
|
201
|
-
"state-persistence",
|
|
202
|
-
"theme",
|
|
203
|
-
"styles"
|
|
204
|
-
],
|
|
205
|
-
"license": "SEE LICENSE IN license",
|
|
206
|
-
"main": "./dist/ej2-base.umd.min.js",
|
|
207
|
-
"module": "./index.js",
|
|
208
|
-
"name": "@syncfusion/ej2-base",
|
|
209
|
-
"repository": {
|
|
210
|
-
"type": "git",
|
|
211
|
-
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
212
|
-
},
|
|
213
|
-
"typings": "index.d.ts",
|
|
214
|
-
"version": "20.2.43",
|
|
215
|
-
"sideEffects": true
|
|
216
|
-
}
|
|
2
|
+
"_from": "@syncfusion/ej2-base@*",
|
|
3
|
+
"_id": "@syncfusion/ej2-base@20.2.45",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-GMWZu+hJGp8jAwK0UpA48jh/9VYQFollik7WYKm0Cd5JboD4lT6aX833hOXRPKSg9dMgCE1KyOlrvkhkbTf89g==",
|
|
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-buttons",
|
|
24
|
+
"/@syncfusion/ej2-angular-calendars",
|
|
25
|
+
"/@syncfusion/ej2-angular-charts",
|
|
26
|
+
"/@syncfusion/ej2-angular-documenteditor",
|
|
27
|
+
"/@syncfusion/ej2-angular-dropdowns",
|
|
28
|
+
"/@syncfusion/ej2-angular-gantt",
|
|
29
|
+
"/@syncfusion/ej2-angular-grids",
|
|
30
|
+
"/@syncfusion/ej2-angular-layouts",
|
|
31
|
+
"/@syncfusion/ej2-angular-lists",
|
|
32
|
+
"/@syncfusion/ej2-angular-navigations",
|
|
33
|
+
"/@syncfusion/ej2-angular-pdfviewer",
|
|
34
|
+
"/@syncfusion/ej2-angular-querybuilder",
|
|
35
|
+
"/@syncfusion/ej2-angular-richtexteditor",
|
|
36
|
+
"/@syncfusion/ej2-angular-spreadsheet",
|
|
37
|
+
"/@syncfusion/ej2-angular-treegrid",
|
|
38
|
+
"/@syncfusion/ej2-barcode-generator",
|
|
39
|
+
"/@syncfusion/ej2-buttons",
|
|
40
|
+
"/@syncfusion/ej2-calendars",
|
|
41
|
+
"/@syncfusion/ej2-charts",
|
|
42
|
+
"/@syncfusion/ej2-circulargauge",
|
|
43
|
+
"/@syncfusion/ej2-data",
|
|
44
|
+
"/@syncfusion/ej2-diagrams",
|
|
45
|
+
"/@syncfusion/ej2-documenteditor",
|
|
46
|
+
"/@syncfusion/ej2-drawings",
|
|
47
|
+
"/@syncfusion/ej2-dropdowns",
|
|
48
|
+
"/@syncfusion/ej2-excel-export",
|
|
49
|
+
"/@syncfusion/ej2-filemanager",
|
|
50
|
+
"/@syncfusion/ej2-gantt",
|
|
51
|
+
"/@syncfusion/ej2-grids",
|
|
52
|
+
"/@syncfusion/ej2-heatmap",
|
|
53
|
+
"/@syncfusion/ej2-inplace-editor",
|
|
54
|
+
"/@syncfusion/ej2-inputs",
|
|
55
|
+
"/@syncfusion/ej2-kanban",
|
|
56
|
+
"/@syncfusion/ej2-layouts",
|
|
57
|
+
"/@syncfusion/ej2-lineargauge",
|
|
58
|
+
"/@syncfusion/ej2-lists",
|
|
59
|
+
"/@syncfusion/ej2-maps",
|
|
60
|
+
"/@syncfusion/ej2-navigations",
|
|
61
|
+
"/@syncfusion/ej2-notifications",
|
|
62
|
+
"/@syncfusion/ej2-pdfviewer",
|
|
63
|
+
"/@syncfusion/ej2-pivotview",
|
|
64
|
+
"/@syncfusion/ej2-popups",
|
|
65
|
+
"/@syncfusion/ej2-progressbar",
|
|
66
|
+
"/@syncfusion/ej2-querybuilder",
|
|
67
|
+
"/@syncfusion/ej2-react-base",
|
|
68
|
+
"/@syncfusion/ej2-react-buttons",
|
|
69
|
+
"/@syncfusion/ej2-react-calendars",
|
|
70
|
+
"/@syncfusion/ej2-react-charts",
|
|
71
|
+
"/@syncfusion/ej2-react-documenteditor",
|
|
72
|
+
"/@syncfusion/ej2-react-dropdowns",
|
|
73
|
+
"/@syncfusion/ej2-react-gantt",
|
|
74
|
+
"/@syncfusion/ej2-react-grids",
|
|
75
|
+
"/@syncfusion/ej2-react-layouts",
|
|
76
|
+
"/@syncfusion/ej2-react-lists",
|
|
77
|
+
"/@syncfusion/ej2-react-navigations",
|
|
78
|
+
"/@syncfusion/ej2-react-pdfviewer",
|
|
79
|
+
"/@syncfusion/ej2-react-querybuilder",
|
|
80
|
+
"/@syncfusion/ej2-react-richtexteditor",
|
|
81
|
+
"/@syncfusion/ej2-react-spreadsheet",
|
|
82
|
+
"/@syncfusion/ej2-react-treegrid",
|
|
83
|
+
"/@syncfusion/ej2-richtexteditor",
|
|
84
|
+
"/@syncfusion/ej2-schedule",
|
|
85
|
+
"/@syncfusion/ej2-splitbuttons",
|
|
86
|
+
"/@syncfusion/ej2-spreadsheet",
|
|
87
|
+
"/@syncfusion/ej2-svg-base",
|
|
88
|
+
"/@syncfusion/ej2-treegrid",
|
|
89
|
+
"/@syncfusion/ej2-treemap",
|
|
90
|
+
"/@syncfusion/ej2-vue-base",
|
|
91
|
+
"/@syncfusion/ej2-vue-buttons",
|
|
92
|
+
"/@syncfusion/ej2-vue-calendars",
|
|
93
|
+
"/@syncfusion/ej2-vue-charts",
|
|
94
|
+
"/@syncfusion/ej2-vue-documenteditor",
|
|
95
|
+
"/@syncfusion/ej2-vue-dropdowns",
|
|
96
|
+
"/@syncfusion/ej2-vue-gantt",
|
|
97
|
+
"/@syncfusion/ej2-vue-grids",
|
|
98
|
+
"/@syncfusion/ej2-vue-layouts",
|
|
99
|
+
"/@syncfusion/ej2-vue-lists",
|
|
100
|
+
"/@syncfusion/ej2-vue-navigations",
|
|
101
|
+
"/@syncfusion/ej2-vue-pdfviewer",
|
|
102
|
+
"/@syncfusion/ej2-vue-querybuilder",
|
|
103
|
+
"/@syncfusion/ej2-vue-richtexteditor",
|
|
104
|
+
"/@syncfusion/ej2-vue-spreadsheet",
|
|
105
|
+
"/@syncfusion/ej2-vue-treegrid"
|
|
106
|
+
],
|
|
107
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.2.45.tgz",
|
|
108
|
+
"_shasum": "f93ffc0e86cc3ce39af32b62422e123cd72b2e1c",
|
|
109
|
+
"_spec": "@syncfusion/ej2-base@*",
|
|
110
|
+
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
111
|
+
"author": {
|
|
112
|
+
"name": "Syncfusion Inc."
|
|
113
|
+
},
|
|
114
|
+
"bin": {
|
|
115
|
+
"syncfusion-license": "bin/syncfusion-license.js"
|
|
116
|
+
},
|
|
117
|
+
"bugs": {
|
|
118
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
119
|
+
},
|
|
120
|
+
"bundleDependencies": false,
|
|
121
|
+
"dependencies": {
|
|
122
|
+
"@syncfusion/ej2-icons": "~20.2.45"
|
|
123
|
+
},
|
|
124
|
+
"deprecated": false,
|
|
125
|
+
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
|
|
126
|
+
"devDependencies": {},
|
|
127
|
+
"es2015": "./dist/es6/ej2-base.es2015.js",
|
|
128
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
129
|
+
"keywords": [
|
|
130
|
+
"ej2",
|
|
131
|
+
"syncfusion",
|
|
132
|
+
"ej2-base",
|
|
133
|
+
"web-components",
|
|
134
|
+
"typescript",
|
|
135
|
+
"base",
|
|
136
|
+
"common",
|
|
137
|
+
"core",
|
|
138
|
+
"library",
|
|
139
|
+
"ajax",
|
|
140
|
+
"animation",
|
|
141
|
+
"internationalization",
|
|
142
|
+
"drag",
|
|
143
|
+
"drop",
|
|
144
|
+
"drag-drop",
|
|
145
|
+
"template",
|
|
146
|
+
"template-engine",
|
|
147
|
+
"rtl",
|
|
148
|
+
"right-to-left",
|
|
149
|
+
"persistence",
|
|
150
|
+
"state-persistence",
|
|
151
|
+
"theme",
|
|
152
|
+
"styles"
|
|
153
|
+
],
|
|
154
|
+
"license": "SEE LICENSE IN license",
|
|
155
|
+
"main": "./dist/ej2-base.umd.min.js",
|
|
156
|
+
"module": "./index.js",
|
|
157
|
+
"name": "@syncfusion/ej2-base",
|
|
158
|
+
"repository": {
|
|
159
|
+
"type": "git",
|
|
160
|
+
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
161
|
+
},
|
|
162
|
+
"typings": "index.d.ts",
|
|
163
|
+
"version": "20.2.47",
|
|
164
|
+
"sideEffects": true
|
|
165
|
+
}
|
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) {
|
package/src/validate-lic.d.ts
CHANGED
package/src/validate-lic.js
CHANGED
|
@@ -16,19 +16,19 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
16
16
|
noLicense: 'This application was built using a trial version of Syncfusion Essential Studio.' +
|
|
17
17
|
' Please include a valid license to permanently remove this license validation message.' +
|
|
18
18
|
' You can also obtain a free 30 day evaluation license to temporarily remove this message ' +
|
|
19
|
-
'during the evaluation period. Please refer to this <a
|
|
19
|
+
'during the evaluation period. Please refer to this <a class="e-license"' +
|
|
20
20
|
'href="https://help.syncfusion.com/common/essential-studio/licensing">help topic</a> for more information.',
|
|
21
21
|
trailExpired: 'Your Syncfusion trial license has expired. Please refer to this ' +
|
|
22
|
-
'<a
|
|
22
|
+
'<a class="e-license"' +
|
|
23
23
|
'href="https://help.syncfusion.com/common/essential-studio/licensing/licensing-errors#trial-expired">help topic</a> for more information.',
|
|
24
24
|
versionMismatched: 'The included Syncfusion license (v##LicenseVersion) is invalid for version ' +
|
|
25
|
-
'##Requireversion. Please refer to this <a
|
|
25
|
+
'##Requireversion. Please refer to this <a class="e-license" ' +
|
|
26
26
|
'href="https://help.syncfusion.com/es/licensing/version-mismatch/">help topic</a> for more information.',
|
|
27
27
|
platformMismatched: 'The included Syncfusion license is invalid (Platform mismatch). Please refer' +
|
|
28
|
-
' to this <a
|
|
28
|
+
' to this <a class="e-license" ' +
|
|
29
29
|
'href="https://help.syncfusion.com/common/essential-studio/licensing/licensing-errors#platform-mismatch">help topic</a> for more information.',
|
|
30
30
|
invalidKey: 'The included Syncfusion license is invalid. Please refer to this ' +
|
|
31
|
-
'<a
|
|
31
|
+
'<a class="e-license" ' +
|
|
32
32
|
'href="https://help.syncfusion.com/common/essential-studio/licensing/licensing-errors#invalid-key">help topic</a> for more information.'
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
@@ -47,7 +47,7 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
47
47
|
* To manage npx licensing operation.
|
|
48
48
|
*/
|
|
49
49
|
this.npxManager = (function () {
|
|
50
|
-
var npxLicKey =
|
|
50
|
+
var npxLicKey = 'npxKeyReplace';
|
|
51
51
|
function get() { return npxLicKey; }
|
|
52
52
|
return {
|
|
53
53
|
getKey: get
|
|
@@ -57,11 +57,11 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* To validate the provided license key.
|
|
60
|
-
|
|
60
|
+
*/
|
|
61
61
|
LicenseValidator.prototype.validate = function () {
|
|
62
62
|
if (!this.isValidated && (containerObject && !getValue(convertToChar(bypassKey), containerObject) && !getValue('Blazor', containerObject))) {
|
|
63
63
|
var validateMsg = void 0;
|
|
64
|
-
if ((this.manager && this.manager.getKey()) || (this.npxManager && this.npxManager.getKey()
|
|
64
|
+
if ((this.manager && this.manager.getKey()) || (this.npxManager && this.npxManager.getKey() !== 'npxKeyReplace')) {
|
|
65
65
|
var result = this.getInfoFromKey();
|
|
66
66
|
if (result && result.length) {
|
|
67
67
|
for (var _i = 0, result_1 = result; _i < result_1.length; _i++) {
|
|
@@ -93,11 +93,10 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
93
93
|
else {
|
|
94
94
|
validateMsg = this.errors.noLicense;
|
|
95
95
|
}
|
|
96
|
-
if (validateMsg && typeof document !==
|
|
96
|
+
if (validateMsg && typeof document !== 'undefined' && !isNullOrUndefined(document)) {
|
|
97
97
|
var errorDiv = createElement('div', {
|
|
98
98
|
innerHTML: validateMsg +
|
|
99
|
-
'<span
|
|
100
|
-
'onClick=this.parentElement.remove();>' +
|
|
99
|
+
'<span id="license-banner-error" class=".e-license-banner">' +
|
|
101
100
|
'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20">' +
|
|
102
101
|
'<line x1="5" y1="5" x2="15" y2="15" stroke="yellow" stroke-width="2.5" ' +
|
|
103
102
|
'stroke-miterlimit="10" stroke-linecap="round"></line><line x1="15" y1="5" ' +
|
|
@@ -109,6 +108,9 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
109
108
|
});
|
|
110
109
|
errorDiv.setAttribute('id', 'js-licensing');
|
|
111
110
|
document.body.appendChild(errorDiv);
|
|
111
|
+
document.getElementById('license-banner-error').addEventListener('click', function () {
|
|
112
|
+
document.getElementById('js-licensing').remove();
|
|
113
|
+
});
|
|
112
114
|
}
|
|
113
115
|
this.isValidated = true;
|
|
114
116
|
setValue(convertToChar(bypassKey), this.isValidated, containerObject);
|
|
@@ -208,6 +210,7 @@ function convertToChar(cArr) {
|
|
|
208
210
|
}
|
|
209
211
|
/**
|
|
210
212
|
* To set license key.
|
|
213
|
+
*
|
|
211
214
|
* @param {string} key - license key
|
|
212
215
|
*/
|
|
213
216
|
export function registerLicense(key) {
|
|
@@ -2098,6 +2098,18 @@
|
|
|
2098
2098
|
touch-action: pinch-zoom;
|
|
2099
2099
|
}
|
|
2100
2100
|
|
|
2101
|
+
.e-license {
|
|
2102
|
+
color: rgb(255, 255, 0);
|
|
2103
|
+
text-decoration: none;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
.e-license-banner {
|
|
2107
|
+
cursor: pointer;
|
|
2108
|
+
position: absolute;
|
|
2109
|
+
right: 10px;
|
|
2110
|
+
top: 27%;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2101
2113
|
/*! animation keyframes */
|
|
2102
2114
|
@keyframes SlideLeftOut {
|
|
2103
2115
|
from {
|
package/styles/bootstrap.css
CHANGED
|
@@ -2098,6 +2098,18 @@
|
|
|
2098
2098
|
touch-action: pinch-zoom;
|
|
2099
2099
|
}
|
|
2100
2100
|
|
|
2101
|
+
.e-license {
|
|
2102
|
+
color: rgb(255, 255, 0);
|
|
2103
|
+
text-decoration: none;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
.e-license-banner {
|
|
2107
|
+
cursor: pointer;
|
|
2108
|
+
position: absolute;
|
|
2109
|
+
right: 10px;
|
|
2110
|
+
top: 27%;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2101
2113
|
/*! animation keyframes */
|
|
2102
2114
|
@keyframes SlideLeftOut {
|
|
2103
2115
|
from {
|
package/styles/bootstrap4.css
CHANGED
|
@@ -1750,6 +1750,18 @@
|
|
|
1750
1750
|
touch-action: pinch-zoom;
|
|
1751
1751
|
}
|
|
1752
1752
|
|
|
1753
|
+
.e-license {
|
|
1754
|
+
color: rgb(255, 255, 0);
|
|
1755
|
+
text-decoration: none;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
.e-license-banner {
|
|
1759
|
+
cursor: pointer;
|
|
1760
|
+
position: absolute;
|
|
1761
|
+
right: 10px;
|
|
1762
|
+
top: 27%;
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1753
1765
|
/*! animation keyframes */
|
|
1754
1766
|
@keyframes SlideLeftOut {
|
|
1755
1767
|
from {
|
|
@@ -1324,6 +1324,18 @@
|
|
|
1324
1324
|
touch-action: pinch-zoom;
|
|
1325
1325
|
}
|
|
1326
1326
|
|
|
1327
|
+
.e-license {
|
|
1328
|
+
color: rgb(255, 255, 0);
|
|
1329
|
+
text-decoration: none;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
.e-license-banner {
|
|
1333
|
+
cursor: pointer;
|
|
1334
|
+
position: absolute;
|
|
1335
|
+
right: 10px;
|
|
1336
|
+
top: 27%;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1327
1339
|
/*! animation keyframes */
|
|
1328
1340
|
@keyframes SlideLeftOut {
|
|
1329
1341
|
from {
|
package/styles/bootstrap5.css
CHANGED
|
@@ -1324,6 +1324,18 @@
|
|
|
1324
1324
|
touch-action: pinch-zoom;
|
|
1325
1325
|
}
|
|
1326
1326
|
|
|
1327
|
+
.e-license {
|
|
1328
|
+
color: rgb(255, 255, 0);
|
|
1329
|
+
text-decoration: none;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
.e-license-banner {
|
|
1333
|
+
cursor: pointer;
|
|
1334
|
+
position: absolute;
|
|
1335
|
+
right: 10px;
|
|
1336
|
+
top: 27%;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1327
1339
|
/*! animation keyframes */
|
|
1328
1340
|
@keyframes SlideLeftOut {
|
|
1329
1341
|
from {
|
package/styles/common/_core.scss
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
$background: #e82824;
|
|
12
12
|
|
|
13
13
|
$warning: #ffd800;
|
|
14
|
+
$yellow: rgb(255, 255, 0);
|
|
14
15
|
|
|
15
16
|
.e-error {
|
|
16
17
|
color: $error-font-color;
|
|
@@ -83,4 +84,17 @@
|
|
|
83
84
|
.e-block-touch {
|
|
84
85
|
touch-action: pinch-zoom;
|
|
85
86
|
}
|
|
87
|
+
|
|
88
|
+
.e-license {
|
|
89
|
+
color: $yellow;
|
|
90
|
+
text-decoration: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.e-license-banner {
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
position: absolute;
|
|
96
|
+
right: 10px;
|
|
97
|
+
top: 27%;
|
|
98
|
+
}
|
|
99
|
+
|
|
86
100
|
}
|