@syncfusion/ej2-base 27.1.48 → 27.1.52

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.
Files changed (58) hide show
  1. package/bin/syncfusion-license.js +1 -1
  2. package/dist/ej2-base.min.js +2 -2
  3. package/dist/ej2-base.umd.min.js +2 -2
  4. package/dist/ej2-base.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-base.es2015.js +13 -3
  6. package/dist/es6/ej2-base.es2015.js.map +1 -1
  7. package/dist/es6/ej2-base.es5.js +13 -3
  8. package/dist/es6/ej2-base.es5.js.map +1 -1
  9. package/dist/global/ej2-base.min.js +2 -2
  10. package/dist/global/ej2-base.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +7 -62
  13. package/src/sanitize-helper.js +13 -3
  14. package/styles/animation/_all.scss +0 -24
  15. package/styles/bootstrap-dark-lite.css +0 -50
  16. package/styles/bootstrap-dark.css +0 -50
  17. package/styles/bootstrap-lite.css +0 -50
  18. package/styles/bootstrap.css +0 -50
  19. package/styles/bootstrap4-lite.css +0 -50
  20. package/styles/bootstrap4.css +0 -50
  21. package/styles/bootstrap5-dark-lite.css +0 -50
  22. package/styles/bootstrap5-dark.css +0 -50
  23. package/styles/bootstrap5-lite.css +0 -50
  24. package/styles/bootstrap5.3-lite.css +0 -50
  25. package/styles/bootstrap5.3.css +0 -50
  26. package/styles/bootstrap5.css +0 -50
  27. package/styles/common/_core.scss +0 -2
  28. package/styles/definition/_bootstrap5.3-dark.scss +1 -1
  29. package/styles/fabric-dark-lite.css +0 -50
  30. package/styles/fabric-dark.css +0 -50
  31. package/styles/fabric-lite.css +0 -50
  32. package/styles/fabric.css +0 -50
  33. package/styles/fluent-dark-lite.css +0 -50
  34. package/styles/fluent-dark.css +0 -50
  35. package/styles/fluent-lite.css +0 -50
  36. package/styles/fluent.css +0 -50
  37. package/styles/fluent2-lite.css +0 -50
  38. package/styles/fluent2.css +0 -50
  39. package/styles/highcontrast-light-lite.css +0 -50
  40. package/styles/highcontrast-light.css +0 -50
  41. package/styles/highcontrast-lite.css +0 -50
  42. package/styles/highcontrast.css +0 -50
  43. package/styles/material-dark-lite.css +0 -50
  44. package/styles/material-dark.css +0 -50
  45. package/styles/material-lite.css +0 -50
  46. package/styles/material.css +0 -50
  47. package/styles/material3-dark-lite.css +0 -50
  48. package/styles/material3-dark.css +0 -50
  49. package/styles/material3-lite.css +0 -50
  50. package/styles/material3.css +0 -50
  51. package/styles/offline-theme/material-dark.css +0 -50
  52. package/styles/offline-theme/material.css +0 -50
  53. package/styles/offline-theme/tailwind-dark.css +0 -50
  54. package/styles/offline-theme/tailwind.css +0 -50
  55. package/styles/tailwind-dark-lite.css +0 -50
  56. package/styles/tailwind-dark.css +0 -50
  57. package/styles/tailwind-lite.css +0 -50
  58. package/styles/tailwind.css +0 -50
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.1.48
3
+ * version : 27.1.52
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@18.92.0",
3
+ "_id": "@syncfusion/ej2-base@27.1.50",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-rVSbB+nDSmk/q2uaEaJhoqpSqRMI5wflitAg6RRWUObfJONkf0W0qgONoTANT1A7l4zyfAatXWGO4fg0ZWSt7Q==",
5
+ "_integrity": "sha512-U1qKXbgGAODsvyxSaoY3RVm9t+VL9APeSNFfxT52aewqibrbGoAaCMQ/7DvCSSQad3zfRZvKq47GWhd2Jcg3iA==",
6
6
  "_location": "/@syncfusion/ej2-base",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -21,41 +21,23 @@
21
21
  "/@syncfusion/ej2",
22
22
  "/@syncfusion/ej2-angular-barcode-generator",
23
23
  "/@syncfusion/ej2-angular-base",
24
- "/@syncfusion/ej2-angular-buttons",
25
24
  "/@syncfusion/ej2-angular-calendars",
26
25
  "/@syncfusion/ej2-angular-charts",
27
- "/@syncfusion/ej2-angular-circulargauge",
28
26
  "/@syncfusion/ej2-angular-diagrams",
29
27
  "/@syncfusion/ej2-angular-documenteditor",
30
28
  "/@syncfusion/ej2-angular-dropdowns",
31
29
  "/@syncfusion/ej2-angular-filemanager",
32
30
  "/@syncfusion/ej2-angular-gantt",
33
31
  "/@syncfusion/ej2-angular-grids",
34
- "/@syncfusion/ej2-angular-heatmap",
35
32
  "/@syncfusion/ej2-angular-image-editor",
36
- "/@syncfusion/ej2-angular-inplace-editor",
37
- "/@syncfusion/ej2-angular-inputs",
38
- "/@syncfusion/ej2-angular-interactive-chat",
39
33
  "/@syncfusion/ej2-angular-kanban",
40
- "/@syncfusion/ej2-angular-layouts",
41
- "/@syncfusion/ej2-angular-lineargauge",
42
- "/@syncfusion/ej2-angular-lists",
43
- "/@syncfusion/ej2-angular-maps",
44
- "/@syncfusion/ej2-angular-multicolumn-combobox",
45
34
  "/@syncfusion/ej2-angular-navigations",
46
- "/@syncfusion/ej2-angular-notifications",
47
35
  "/@syncfusion/ej2-angular-pdfviewer",
48
36
  "/@syncfusion/ej2-angular-pivotview",
49
- "/@syncfusion/ej2-angular-popups",
50
- "/@syncfusion/ej2-angular-progressbar",
51
37
  "/@syncfusion/ej2-angular-querybuilder",
52
- "/@syncfusion/ej2-angular-ribbon",
53
38
  "/@syncfusion/ej2-angular-richtexteditor",
54
39
  "/@syncfusion/ej2-angular-schedule",
55
- "/@syncfusion/ej2-angular-splitbuttons",
56
40
  "/@syncfusion/ej2-angular-spreadsheet",
57
- "/@syncfusion/ej2-angular-treegrid",
58
- "/@syncfusion/ej2-angular-treemap",
59
41
  "/@syncfusion/ej2-barcode-generator",
60
42
  "/@syncfusion/ej2-buttons",
61
43
  "/@syncfusion/ej2-calendars",
@@ -91,41 +73,23 @@
91
73
  "/@syncfusion/ej2-querybuilder",
92
74
  "/@syncfusion/ej2-react-barcode-generator",
93
75
  "/@syncfusion/ej2-react-base",
94
- "/@syncfusion/ej2-react-buttons",
95
76
  "/@syncfusion/ej2-react-calendars",
96
77
  "/@syncfusion/ej2-react-charts",
97
- "/@syncfusion/ej2-react-circulargauge",
98
78
  "/@syncfusion/ej2-react-diagrams",
99
79
  "/@syncfusion/ej2-react-documenteditor",
100
80
  "/@syncfusion/ej2-react-dropdowns",
101
81
  "/@syncfusion/ej2-react-filemanager",
102
82
  "/@syncfusion/ej2-react-gantt",
103
83
  "/@syncfusion/ej2-react-grids",
104
- "/@syncfusion/ej2-react-heatmap",
105
84
  "/@syncfusion/ej2-react-image-editor",
106
- "/@syncfusion/ej2-react-inplace-editor",
107
- "/@syncfusion/ej2-react-inputs",
108
- "/@syncfusion/ej2-react-interactive-chat",
109
85
  "/@syncfusion/ej2-react-kanban",
110
- "/@syncfusion/ej2-react-layouts",
111
- "/@syncfusion/ej2-react-lineargauge",
112
- "/@syncfusion/ej2-react-lists",
113
- "/@syncfusion/ej2-react-maps",
114
- "/@syncfusion/ej2-react-multicolumn-combobox",
115
86
  "/@syncfusion/ej2-react-navigations",
116
- "/@syncfusion/ej2-react-notifications",
117
87
  "/@syncfusion/ej2-react-pdfviewer",
118
88
  "/@syncfusion/ej2-react-pivotview",
119
- "/@syncfusion/ej2-react-popups",
120
- "/@syncfusion/ej2-react-progressbar",
121
89
  "/@syncfusion/ej2-react-querybuilder",
122
- "/@syncfusion/ej2-react-ribbon",
123
90
  "/@syncfusion/ej2-react-richtexteditor",
124
91
  "/@syncfusion/ej2-react-schedule",
125
- "/@syncfusion/ej2-react-splitbuttons",
126
92
  "/@syncfusion/ej2-react-spreadsheet",
127
- "/@syncfusion/ej2-react-treegrid",
128
- "/@syncfusion/ej2-react-treemap",
129
93
  "/@syncfusion/ej2-ribbon",
130
94
  "/@syncfusion/ej2-richtexteditor",
131
95
  "/@syncfusion/ej2-schedule",
@@ -136,44 +100,26 @@
136
100
  "/@syncfusion/ej2-treemap",
137
101
  "/@syncfusion/ej2-vue-barcode-generator",
138
102
  "/@syncfusion/ej2-vue-base",
139
- "/@syncfusion/ej2-vue-buttons",
140
103
  "/@syncfusion/ej2-vue-calendars",
141
104
  "/@syncfusion/ej2-vue-charts",
142
- "/@syncfusion/ej2-vue-circulargauge",
143
105
  "/@syncfusion/ej2-vue-diagrams",
144
106
  "/@syncfusion/ej2-vue-documenteditor",
145
107
  "/@syncfusion/ej2-vue-dropdowns",
146
108
  "/@syncfusion/ej2-vue-filemanager",
147
109
  "/@syncfusion/ej2-vue-gantt",
148
110
  "/@syncfusion/ej2-vue-grids",
149
- "/@syncfusion/ej2-vue-heatmap",
150
111
  "/@syncfusion/ej2-vue-image-editor",
151
- "/@syncfusion/ej2-vue-inplace-editor",
152
- "/@syncfusion/ej2-vue-inputs",
153
- "/@syncfusion/ej2-vue-interactive-chat",
154
112
  "/@syncfusion/ej2-vue-kanban",
155
- "/@syncfusion/ej2-vue-layouts",
156
- "/@syncfusion/ej2-vue-lineargauge",
157
- "/@syncfusion/ej2-vue-lists",
158
- "/@syncfusion/ej2-vue-maps",
159
- "/@syncfusion/ej2-vue-multicolumn-combobox",
160
113
  "/@syncfusion/ej2-vue-navigations",
161
- "/@syncfusion/ej2-vue-notifications",
162
114
  "/@syncfusion/ej2-vue-pdfviewer",
163
115
  "/@syncfusion/ej2-vue-pivotview",
164
- "/@syncfusion/ej2-vue-popups",
165
- "/@syncfusion/ej2-vue-progressbar",
166
116
  "/@syncfusion/ej2-vue-querybuilder",
167
- "/@syncfusion/ej2-vue-ribbon",
168
117
  "/@syncfusion/ej2-vue-richtexteditor",
169
118
  "/@syncfusion/ej2-vue-schedule",
170
- "/@syncfusion/ej2-vue-splitbuttons",
171
- "/@syncfusion/ej2-vue-spreadsheet",
172
- "/@syncfusion/ej2-vue-treegrid",
173
- "/@syncfusion/ej2-vue-treemap"
119
+ "/@syncfusion/ej2-vue-spreadsheet"
174
120
  ],
175
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.92.0.tgz",
176
- "_shasum": "40a1d271e8fd200e92ba2a422bb9f82f46f04389",
121
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-27.1.50.tgz",
122
+ "_shasum": "3e5f2fba2aae3f3057754ed32207af8700f5ef40",
177
123
  "_spec": "@syncfusion/ej2-base@*",
178
124
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
179
125
  "author": {
@@ -187,8 +133,7 @@
187
133
  },
188
134
  "bundleDependencies": false,
189
135
  "dependencies": {
190
- "@syncfusion/ej2-icons": "~27.1.48",
191
- "markdown-spellcheck": "^1.3.1"
136
+ "@syncfusion/ej2-icons": "~27.1.50"
192
137
  },
193
138
  "deprecated": false,
194
139
  "description": "A common package of Essential JS 2 base libraries, methods and class definitions",
@@ -229,6 +174,6 @@
229
174
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
230
175
  },
231
176
  "typings": "index.d.ts",
232
- "version": "27.1.48",
177
+ "version": "27.1.52",
233
178
  "sideEffects": true
234
179
  }
@@ -18,6 +18,7 @@ var removeTags = [
18
18
  ];
19
19
  var removeAttrs = [
20
20
  { attribute: 'href', selector: '[href*="javascript:"]' },
21
+ { attribute: 'href', selector: 'a[href]' },
21
22
  { attribute: 'background', selector: '[background^="javascript:"]' },
22
23
  { attribute: 'style', selector: '[style*="javascript:"]' },
23
24
  { attribute: 'style', selector: '[style*="expression("]' },
@@ -182,9 +183,18 @@ var SanitizeHtmlHelper = /** @class */ (function () {
182
183
  this.removeAttrs.forEach(function (item, index) {
183
184
  var elements = _this.wrapElement.querySelectorAll(item.selector);
184
185
  if (elements.length > 0) {
185
- elements.forEach(function (element) {
186
- element.removeAttribute(item.attribute);
187
- });
186
+ if (item.selector === 'a[href]') {
187
+ elements.forEach(function (element) {
188
+ if ((element.getAttribute(item.attribute)).replace(/\t|\s|&/, '').indexOf('javascript:alert') !== -1) {
189
+ element.removeAttribute(item.attribute);
190
+ }
191
+ });
192
+ }
193
+ else {
194
+ elements.forEach(function (element) {
195
+ element.removeAttribute(item.attribute);
196
+ });
197
+ }
188
198
  }
189
199
  });
190
200
  };
@@ -122,24 +122,20 @@
122
122
 
123
123
  @keyframes FadeIn {
124
124
  0% {
125
- filter: alpha(opacity=0);
126
125
  opacity: 0;
127
126
  }
128
127
 
129
128
  100% {
130
- filter: alpha(opacity=100);
131
129
  opacity: 1;
132
130
  }
133
131
  }
134
132
 
135
133
  @keyframes FadeOut {
136
134
  from {
137
- filter: alpha(opacity=100);
138
135
  opacity: 1;
139
136
  }
140
137
 
141
138
  to {
142
- filter: alpha(opacity=0);
143
139
  opacity: 0;
144
140
  }
145
141
  }
@@ -166,13 +162,11 @@
166
162
 
167
163
  @keyframes FadeZoomIn {
168
164
  from {
169
- filter: alpha(opacity=0);
170
165
  opacity: 0;
171
166
  transform: scale(0);
172
167
  }
173
168
 
174
169
  to {
175
- filter: alpha(opacity=100);
176
170
  opacity: 1;
177
171
  transform: scale(1);
178
172
  }
@@ -180,13 +174,11 @@
180
174
 
181
175
  @keyframes FadeZoomOut {
182
176
  from {
183
- filter: alpha(opacity=100);
184
177
  opacity: 1;
185
178
  transform: scale(1);
186
179
  }
187
180
 
188
181
  to {
189
- filter: alpha(opacity=0);
190
182
  opacity: 0;
191
183
  transform: scale(0);
192
184
  }
@@ -306,7 +298,6 @@
306
298
 
307
299
  @keyframes FlipYLeftIn {
308
300
  from {
309
- filter: alpha(opacity=0);
310
301
  opacity: 0;
311
302
  transform: perspective(400px) rotateY(180deg);
312
303
  transform-origin: center center;
@@ -318,7 +309,6 @@
318
309
  }
319
310
 
320
311
  to {
321
- filter: alpha(opacity=100);
322
312
  opacity: 1;
323
313
  transform: rotateY(0deg);
324
314
  transform-origin: center center;
@@ -328,7 +318,6 @@
328
318
 
329
319
  @keyframes FlipYLeftOut {
330
320
  from {
331
- filter: alpha(opacity=100);
332
321
  opacity: 1;
333
322
  transform: perspective(400px) rotateY(0deg);
334
323
  transform-origin: center center;
@@ -344,7 +333,6 @@
344
333
  }
345
334
 
346
335
  to {
347
- filter: alpha(opacity=0);
348
336
  opacity: 0;
349
337
  transform: rotateY(180deg);
350
338
  transform-origin: center center;
@@ -354,7 +342,6 @@
354
342
 
355
343
  @keyframes FlipYRightIn {
356
344
  from {
357
- filter: alpha(opacity=0);
358
345
  opacity: 0;
359
346
  transform: perspective(400px) rotateY(-180deg);
360
347
  transform-origin: center center;
@@ -366,7 +353,6 @@
366
353
  }
367
354
 
368
355
  to {
369
- filter: alpha(opacity=100);
370
356
  opacity: 1;
371
357
  transform: rotateY(0deg);
372
358
  transform-origin: center center;
@@ -376,7 +362,6 @@
376
362
 
377
363
  @keyframes FlipYRightOut {
378
364
  from {
379
- filter: alpha(opacity=100);
380
365
  opacity: 1;
381
366
  transform: perspective(400px) rotateY(0deg);
382
367
  transform-origin: center center;
@@ -388,7 +373,6 @@
388
373
  }
389
374
 
390
375
  to {
391
- filter: alpha(opacity=0);
392
376
  opacity: 0;
393
377
  transform: rotateY(-180deg);
394
378
  transform-origin: center center;
@@ -398,7 +382,6 @@
398
382
 
399
383
  @keyframes FlipXDownIn {
400
384
  from {
401
- filter: alpha(opacity=0);
402
385
  opacity: 0;
403
386
  transform: perspective(400px) rotateX(180deg);
404
387
  transform-origin: center center;
@@ -410,7 +393,6 @@
410
393
  }
411
394
 
412
395
  to {
413
- filter: alpha(opacity=100);
414
396
  opacity: 1;
415
397
  transform: rotateX(0deg);
416
398
  transform-origin: center center;
@@ -420,7 +402,6 @@
420
402
 
421
403
  @keyframes FlipXDownOut {
422
404
  from {
423
- filter: alpha(opacity=100);
424
405
  opacity: 1;
425
406
  transform: perspective(400px) rotateX(0deg);
426
407
  transform-origin: center center;
@@ -436,7 +417,6 @@
436
417
  }
437
418
 
438
419
  to {
439
- filter: alpha(opacity=0);
440
420
  opacity: 0;
441
421
  transform: rotateX(180deg);
442
422
  transform-origin: center center;
@@ -446,7 +426,6 @@
446
426
 
447
427
  @keyframes FlipXUpIn {
448
428
  from {
449
- filter: alpha(opacity=0);
450
429
  opacity: 0;
451
430
  transform: perspective(400px) rotateX(-180deg);
452
431
  transform-origin: center center;
@@ -458,7 +437,6 @@
458
437
  }
459
438
 
460
439
  to {
461
- filter: alpha(opacity=100);
462
440
  opacity: 1;
463
441
  transform: rotateX(0deg);
464
442
  transform-origin: center center;
@@ -468,7 +446,6 @@
468
446
 
469
447
  @keyframes FlipXUpOut {
470
448
  from {
471
- filter: alpha(opacity=100);
472
449
  opacity: 1;
473
450
  transform: perspective(400px) rotateX(0deg);
474
451
  transform-origin: center center;
@@ -480,7 +457,6 @@
480
457
  }
481
458
 
482
459
  to {
483
- filter: alpha(opacity=0);
484
460
  opacity: 0;
485
461
  transform: rotateX(-180deg);
486
462
  transform-origin: center center;