@syncfusion/ej2-base 20.1.55 → 20.1.60

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.1.55
3
+ * version : 20.1.60
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.1.50",
3
+ "_id": "@syncfusion/ej2-base@20.1.56",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-x9S7xO0fp4TKGMhlkMc8GXdKRVXCqIx4FglxivCeGdYLhK+ernPhQ+ZEANO5xbvpFaMrJNv/kARbheE9+V7RJA==",
5
+ "_integrity": "sha512-RMeD2CrC9HYS678G8lXx+0BhGYT9NW+nFLGVQ1b9ZBperVQ6UX9/IbPsFA4UAo151dYqkJ+50YwzYYlkOKAi7g==",
6
6
  "_location": "/@syncfusion/ej2-base",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,39 +19,20 @@
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
- "/@syncfusion/ej2-angular-charts",
27
- "/@syncfusion/ej2-angular-circulargauge",
28
23
  "/@syncfusion/ej2-angular-diagrams",
29
24
  "/@syncfusion/ej2-angular-documenteditor",
30
25
  "/@syncfusion/ej2-angular-dropdowns",
31
26
  "/@syncfusion/ej2-angular-filemanager",
32
27
  "/@syncfusion/ej2-angular-gantt",
33
28
  "/@syncfusion/ej2-angular-grids",
34
- "/@syncfusion/ej2-angular-heatmap",
35
- "/@syncfusion/ej2-angular-inplace-editor",
36
- "/@syncfusion/ej2-angular-inputs",
37
29
  "/@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
30
  "/@syncfusion/ej2-angular-navigations",
43
31
  "/@syncfusion/ej2-angular-notifications",
44
32
  "/@syncfusion/ej2-angular-pdfviewer",
45
- "/@syncfusion/ej2-angular-pivotview",
46
- "/@syncfusion/ej2-angular-popups",
47
- "/@syncfusion/ej2-angular-progressbar",
48
- "/@syncfusion/ej2-angular-querybuilder",
49
33
  "/@syncfusion/ej2-angular-richtexteditor",
50
- "/@syncfusion/ej2-angular-schedule",
51
- "/@syncfusion/ej2-angular-splitbuttons",
52
34
  "/@syncfusion/ej2-angular-spreadsheet",
53
35
  "/@syncfusion/ej2-angular-treegrid",
54
- "/@syncfusion/ej2-angular-treemap",
55
36
  "/@syncfusion/ej2-barcode-generator",
56
37
  "/@syncfusion/ej2-buttons",
57
38
  "/@syncfusion/ej2-calendars",
@@ -81,39 +62,20 @@
81
62
  "/@syncfusion/ej2-popups",
82
63
  "/@syncfusion/ej2-progressbar",
83
64
  "/@syncfusion/ej2-querybuilder",
84
- "/@syncfusion/ej2-react-barcode-generator",
85
65
  "/@syncfusion/ej2-react-base",
86
- "/@syncfusion/ej2-react-buttons",
87
- "/@syncfusion/ej2-react-calendars",
88
- "/@syncfusion/ej2-react-charts",
89
- "/@syncfusion/ej2-react-circulargauge",
90
66
  "/@syncfusion/ej2-react-diagrams",
91
67
  "/@syncfusion/ej2-react-documenteditor",
92
68
  "/@syncfusion/ej2-react-dropdowns",
93
69
  "/@syncfusion/ej2-react-filemanager",
94
70
  "/@syncfusion/ej2-react-gantt",
95
71
  "/@syncfusion/ej2-react-grids",
96
- "/@syncfusion/ej2-react-heatmap",
97
- "/@syncfusion/ej2-react-inplace-editor",
98
- "/@syncfusion/ej2-react-inputs",
99
72
  "/@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
73
  "/@syncfusion/ej2-react-navigations",
105
74
  "/@syncfusion/ej2-react-notifications",
106
75
  "/@syncfusion/ej2-react-pdfviewer",
107
- "/@syncfusion/ej2-react-pivotview",
108
- "/@syncfusion/ej2-react-popups",
109
- "/@syncfusion/ej2-react-progressbar",
110
- "/@syncfusion/ej2-react-querybuilder",
111
76
  "/@syncfusion/ej2-react-richtexteditor",
112
- "/@syncfusion/ej2-react-schedule",
113
- "/@syncfusion/ej2-react-splitbuttons",
114
77
  "/@syncfusion/ej2-react-spreadsheet",
115
78
  "/@syncfusion/ej2-react-treegrid",
116
- "/@syncfusion/ej2-react-treemap",
117
79
  "/@syncfusion/ej2-richtexteditor",
118
80
  "/@syncfusion/ej2-schedule",
119
81
  "/@syncfusion/ej2-splitbuttons",
@@ -121,42 +83,23 @@
121
83
  "/@syncfusion/ej2-svg-base",
122
84
  "/@syncfusion/ej2-treegrid",
123
85
  "/@syncfusion/ej2-treemap",
124
- "/@syncfusion/ej2-vue-barcode-generator",
125
86
  "/@syncfusion/ej2-vue-base",
126
- "/@syncfusion/ej2-vue-buttons",
127
- "/@syncfusion/ej2-vue-calendars",
128
- "/@syncfusion/ej2-vue-charts",
129
- "/@syncfusion/ej2-vue-circulargauge",
130
87
  "/@syncfusion/ej2-vue-diagrams",
131
88
  "/@syncfusion/ej2-vue-documenteditor",
132
89
  "/@syncfusion/ej2-vue-dropdowns",
133
90
  "/@syncfusion/ej2-vue-filemanager",
134
91
  "/@syncfusion/ej2-vue-gantt",
135
92
  "/@syncfusion/ej2-vue-grids",
136
- "/@syncfusion/ej2-vue-heatmap",
137
- "/@syncfusion/ej2-vue-inplace-editor",
138
- "/@syncfusion/ej2-vue-inputs",
139
93
  "/@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
94
  "/@syncfusion/ej2-vue-navigations",
145
95
  "/@syncfusion/ej2-vue-notifications",
146
96
  "/@syncfusion/ej2-vue-pdfviewer",
147
- "/@syncfusion/ej2-vue-pivotview",
148
- "/@syncfusion/ej2-vue-popups",
149
- "/@syncfusion/ej2-vue-progressbar",
150
- "/@syncfusion/ej2-vue-querybuilder",
151
97
  "/@syncfusion/ej2-vue-richtexteditor",
152
- "/@syncfusion/ej2-vue-schedule",
153
- "/@syncfusion/ej2-vue-splitbuttons",
154
98
  "/@syncfusion/ej2-vue-spreadsheet",
155
- "/@syncfusion/ej2-vue-treegrid",
156
- "/@syncfusion/ej2-vue-treemap"
99
+ "/@syncfusion/ej2-vue-treegrid"
157
100
  ],
158
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.1.50.tgz",
159
- "_shasum": "b78a054842adae9dd220bcad233246d35c6ca371",
101
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.1.56.tgz",
102
+ "_shasum": "4c0e7cd29448b29de427ddda6dca2f8868709c29",
160
103
  "_spec": "@syncfusion/ej2-base@*",
161
104
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
162
105
  "author": {
@@ -208,6 +151,6 @@
208
151
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
209
152
  },
210
153
  "typings": "index.d.ts",
211
- "version": "20.1.55",
154
+ "version": "20.1.60",
212
155
  "sideEffects": true
213
156
  }
package/src/draggable.js CHANGED
@@ -510,6 +510,18 @@ var Draggable = /** @class */ (function (_super) {
510
510
  draEleTop -= this.parentScrollY;
511
511
  draEleLeft -= this.parentScrollX;
512
512
  }
513
+ if (this.helperElement.classList.contains('e-treeview')) {
514
+ var body = document.body;
515
+ var html = document.documentElement;
516
+ var tempHeight = Math.max(body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
517
+ var tempWidth = Math.max(body.offsetWidth, html.clientWidth, html.scrollWidth, html.offsetWidth);
518
+ if (draEleTop > tempHeight) {
519
+ draEleTop = tempHeight;
520
+ }
521
+ if (draEleLeft > tempWidth) {
522
+ draEleLeft = tempWidth;
523
+ }
524
+ }
513
525
  var dragValue = this.getProcessedPositionValue({ top: draEleTop + 'px', left: draEleLeft + 'px' });
514
526
  setStyleAttribute(helperElement, this.getDragPosition(dragValue));
515
527
  if (!this.elementInViewport(helperElement) && this.enableAutoScroll) {
@@ -136,7 +136,7 @@ var SanitizeHtmlHelper = /** @class */ (function () {
136
136
  this.removeXssAttrs();
137
137
  var tempEleValue = this.wrapElement.innerHTML;
138
138
  this.removeElement();
139
- return tempEleValue;
139
+ return tempEleValue.replace('&', '&');
140
140
  };
141
141
  SanitizeHtmlHelper.removeElement = function () {
142
142
  // Removes an element's attibute to avoid html tag validation