@syncfusion/ej2-base 20.2.43 → 20.2.45

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,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.2.43
3
+ * version : 20.2.45
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.38",
3
+ "_id": "@syncfusion/ej2-base@20.2.43",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-BgSJmu755AFPhPBzfWxM3d+dA2iX9ltWIMYsNcFkaUKN1AhX9ApfAst3jOBROD0cpZ00qNyvVrFdOyJ765Jutg==",
5
+ "_integrity": "sha512-rlIi6t1RJQ3BGUhwUK2EGcPTGdUwe4BVsepacfNOeH53j1rzubjHuAleGhh+q29+iU0hdgOL/MbxI+Hv0GK0LQ==",
6
6
  "_location": "/@syncfusion/ej2-base",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -155,8 +155,8 @@
155
155
  "/@syncfusion/ej2-vue-treegrid",
156
156
  "/@syncfusion/ej2-vue-treemap"
157
157
  ],
158
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.2.38.tgz",
159
- "_shasum": "2dc689f29303104c0d7adfbe1c8c235821f02900",
158
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.2.43.tgz",
159
+ "_shasum": "eeafff15c23602839b4559f93cab0edbc66baadc",
160
160
  "_spec": "@syncfusion/ej2-base@*",
161
161
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
162
162
  "author": {
@@ -170,7 +170,7 @@
170
170
  },
171
171
  "bundleDependencies": false,
172
172
  "dependencies": {
173
- "@syncfusion/ej2-icons": "~20.2.43"
173
+ "@syncfusion/ej2-icons": "~20.2.45"
174
174
  },
175
175
  "deprecated": false,
176
176
  "description": "A common package of Essential JS 2 base libraries, methods and class definitions",
@@ -211,6 +211,6 @@
211
211
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
212
212
  },
213
213
  "typings": "index.d.ts",
214
- "version": "20.2.43",
214
+ "version": "20.2.45",
215
215
  "sideEffects": true
216
216
  }
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * To set license key.
3
+ *
3
4
  * @param {string} key - license key
4
5
  */
5
6
  export declare function registerLicense(key: string): void;
@@ -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 style="color:yellow;text-decoration:none;"' +
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 style="color:yellow;text-decoration:none;"' +
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 style="color:yellow;text-decoration:none;" ' +
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 style="color:yellow;text-decoration:none;" ' +
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 style="color:yellow;text-decoration:none;" ' +
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 = "npxKeyReplace";
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() != 'npxKeyReplace')) {
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 !== "undefined" && !isNullOrUndefined(document)) {
96
+ if (validateMsg && typeof document !== 'undefined' && !isNullOrUndefined(document)) {
97
97
  var errorDiv = createElement('div', {
98
98
  innerHTML: validateMsg +
99
- '<span style="position:absolute;right: 10px;top:27%;cursor:pointer;"' +
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 {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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
  }
@@ -2080,6 +2080,18 @@
2080
2080
  touch-action: pinch-zoom;
2081
2081
  }
2082
2082
 
2083
+ .e-license {
2084
+ color: rgb(255, 255, 0);
2085
+ text-decoration: none;
2086
+ }
2087
+
2088
+ .e-license-banner {
2089
+ cursor: pointer;
2090
+ position: absolute;
2091
+ right: 10px;
2092
+ top: 27%;
2093
+ }
2094
+
2083
2095
  /*! animation keyframes */
2084
2096
  @keyframes SlideLeftOut {
2085
2097
  from {
package/styles/fabric.css CHANGED
@@ -2080,6 +2080,18 @@
2080
2080
  touch-action: pinch-zoom;
2081
2081
  }
2082
2082
 
2083
+ .e-license {
2084
+ color: rgb(255, 255, 0);
2085
+ text-decoration: none;
2086
+ }
2087
+
2088
+ .e-license-banner {
2089
+ cursor: pointer;
2090
+ position: absolute;
2091
+ right: 10px;
2092
+ top: 27%;
2093
+ }
2094
+
2083
2095
  /*! animation keyframes */
2084
2096
  @keyframes SlideLeftOut {
2085
2097
  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/fluent.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 {
@@ -2068,6 +2068,18 @@
2068
2068
  touch-action: pinch-zoom;
2069
2069
  }
2070
2070
 
2071
+ .e-license {
2072
+ color: rgb(255, 255, 0);
2073
+ text-decoration: none;
2074
+ }
2075
+
2076
+ .e-license-banner {
2077
+ cursor: pointer;
2078
+ position: absolute;
2079
+ right: 10px;
2080
+ top: 27%;
2081
+ }
2082
+
2071
2083
  /*! animation keyframes */
2072
2084
  @keyframes SlideLeftOut {
2073
2085
  from {
@@ -2068,6 +2068,18 @@
2068
2068
  touch-action: pinch-zoom;
2069
2069
  }
2070
2070
 
2071
+ .e-license {
2072
+ color: rgb(255, 255, 0);
2073
+ text-decoration: none;
2074
+ }
2075
+
2076
+ .e-license-banner {
2077
+ cursor: pointer;
2078
+ position: absolute;
2079
+ right: 10px;
2080
+ top: 27%;
2081
+ }
2082
+
2071
2083
  /*! animation keyframes */
2072
2084
  @keyframes SlideLeftOut {
2073
2085
  from {
@@ -2051,6 +2051,18 @@
2051
2051
  touch-action: pinch-zoom;
2052
2052
  }
2053
2053
 
2054
+ .e-license {
2055
+ color: rgb(255, 255, 0);
2056
+ text-decoration: none;
2057
+ }
2058
+
2059
+ .e-license-banner {
2060
+ cursor: pointer;
2061
+ position: absolute;
2062
+ right: 10px;
2063
+ top: 27%;
2064
+ }
2065
+
2054
2066
  /*! animation keyframes */
2055
2067
  @keyframes SlideLeftOut {
2056
2068
  from {
@@ -2051,6 +2051,18 @@
2051
2051
  touch-action: pinch-zoom;
2052
2052
  }
2053
2053
 
2054
+ .e-license {
2055
+ color: rgb(255, 255, 0);
2056
+ text-decoration: none;
2057
+ }
2058
+
2059
+ .e-license-banner {
2060
+ cursor: pointer;
2061
+ position: absolute;
2062
+ right: 10px;
2063
+ top: 27%;
2064
+ }
2065
+
2054
2066
  /*! animation keyframes */
2055
2067
  @keyframes SlideLeftOut {
2056
2068
  from {
@@ -1325,6 +1325,18 @@
1325
1325
  touch-action: pinch-zoom;
1326
1326
  }
1327
1327
 
1328
+ .e-license {
1329
+ color: rgb(255, 255, 0);
1330
+ text-decoration: none;
1331
+ }
1332
+
1333
+ .e-license-banner {
1334
+ cursor: pointer;
1335
+ position: absolute;
1336
+ right: 10px;
1337
+ top: 27%;
1338
+ }
1339
+
1328
1340
  /*! animation keyframes */
1329
1341
  @keyframes SlideLeftOut {
1330
1342
  from {
@@ -1325,6 +1325,18 @@
1325
1325
  touch-action: pinch-zoom;
1326
1326
  }
1327
1327
 
1328
+ .e-license {
1329
+ color: rgb(255, 255, 0);
1330
+ text-decoration: none;
1331
+ }
1332
+
1333
+ .e-license-banner {
1334
+ cursor: pointer;
1335
+ position: absolute;
1336
+ right: 10px;
1337
+ top: 27%;
1338
+ }
1339
+
1328
1340
  /*! animation keyframes */
1329
1341
  @keyframes SlideLeftOut {
1330
1342
  from {