@syncfusion/ej2-base 20.1.57 → 20.2.36
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 +7 -29
- package/{ReadMe.md → README.md} +1 -1
- package/bin/syncfusion-license.js +97 -0
- package/dist/ej2-base.umd.min.js +10 -1
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +78 -17
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +78 -17
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +10 -1
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +9 -0
- package/helpers/e2e/base.js +62 -52
- package/helpers/e2e/index.js +8 -6
- package/package.json +215 -158
- package/src/animation.d.ts +9 -0
- package/src/animation.js +24 -3
- package/src/component.js +1 -3
- package/src/draggable.js +12 -0
- package/src/util.js +1 -1
- package/src/validate-lic.js +39 -9
- package/styles/_fusionnew-dark-definition.scss +9 -0
- package/styles/_fusionnew-definition.scss +9 -0
- package/styles/_material3-dark-definition.scss +10 -0
- package/styles/_material3-definition.scss +9 -0
- package/styles/common/_core.scss +2 -1
- package/styles/definition/_fusionnew-dark.scss +358 -0
- package/styles/definition/_fusionnew.scss +357 -0
- package/styles/definition/_material3-dark.scss +408 -0
- package/styles/definition/_material3.scss +357 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: index.d.ts
|
|
3
|
+
* version : 20.2.36
|
|
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
|
+
*/
|
|
1
10
|
import * as _base from '@syncfusion/ej2-base';
|
|
2
11
|
|
|
3
12
|
export declare namespace ej {
|
package/helpers/e2e/base.js
CHANGED
|
@@ -1,56 +1,66 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
setModel(property, value) {
|
|
11
|
-
return Mapper.setModel(this.id, this.selector.bind(this), property, value);
|
|
12
|
-
}
|
|
13
|
-
getModel(property) {
|
|
14
|
-
return Mapper.getModel(this.id, this.selector.bind(this), property);
|
|
15
|
-
}
|
|
16
|
-
invoke(fName, args = []) {
|
|
17
|
-
return Mapper.invoke(this.id, this.selector.bind(this), fName, args);
|
|
18
|
-
}
|
|
19
|
-
eventHandler(eventName, callback) {
|
|
20
|
-
return this.selector('#' + this.id).then((ele) => {
|
|
21
|
-
var inst = ele[0].ej2_instances[0];
|
|
22
|
-
return inst[eventName] = callback;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.TestHelper = TestHelper;
|
|
27
|
-
class Mapper {
|
|
28
|
-
static setModel(id, selector, property, value) {
|
|
29
|
-
let result;
|
|
30
|
-
if (cy) {
|
|
31
|
-
result = selector('#' + id).then((ele) => {
|
|
32
|
-
return ele[0].ej2_instances[0][property] = value;
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
return result;
|
|
36
|
-
}
|
|
37
|
-
static getModel(id, selector, property) {
|
|
38
|
-
let result;
|
|
39
|
-
if (cy) {
|
|
40
|
-
result = selector('#' + id).then((ele) => {
|
|
41
|
-
return ele[0].ej2_instances[0][property];
|
|
42
|
-
});
|
|
1
|
+
define(["require", "exports"], function (require, exports) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
/**
|
|
5
|
+
* Base E2E Helper Function
|
|
6
|
+
*/
|
|
7
|
+
var TestHelper = /** @class */ (function () {
|
|
8
|
+
function TestHelper() {
|
|
43
9
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
10
|
+
TestHelper.prototype.selector = function (arg) {
|
|
11
|
+
return (this.wrapperFn ? this.wrapperFn(arg) : arg);
|
|
12
|
+
};
|
|
13
|
+
TestHelper.prototype.setModel = function (property, value) {
|
|
14
|
+
return Mapper.setModel(this.id, this.selector.bind(this), property, value);
|
|
15
|
+
};
|
|
16
|
+
TestHelper.prototype.getModel = function (property) {
|
|
17
|
+
return Mapper.getModel(this.id, this.selector.bind(this), property);
|
|
18
|
+
};
|
|
19
|
+
TestHelper.prototype.invoke = function (fName, args) {
|
|
20
|
+
if (args === void 0) { args = []; }
|
|
21
|
+
return Mapper.invoke(this.id, this.selector.bind(this), fName, args);
|
|
22
|
+
};
|
|
23
|
+
TestHelper.prototype.eventHandler = function (eventName, callback) {
|
|
24
|
+
return this.selector('#' + this.id).then(function (ele) {
|
|
50
25
|
var inst = ele[0].ej2_instances[0];
|
|
51
|
-
return inst[
|
|
26
|
+
return inst[eventName] = callback;
|
|
52
27
|
});
|
|
28
|
+
};
|
|
29
|
+
return TestHelper;
|
|
30
|
+
}());
|
|
31
|
+
exports.TestHelper = TestHelper;
|
|
32
|
+
var Mapper = /** @class */ (function () {
|
|
33
|
+
function Mapper() {
|
|
53
34
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
35
|
+
Mapper.setModel = function (id, selector, property, value) {
|
|
36
|
+
var result;
|
|
37
|
+
if (cy) {
|
|
38
|
+
result = selector('#' + id).then(function (ele) {
|
|
39
|
+
return ele[0].ej2_instances[0][property] = value;
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
Mapper.getModel = function (id, selector, property) {
|
|
45
|
+
var result;
|
|
46
|
+
if (cy) {
|
|
47
|
+
result = selector('#' + id).then(function (ele) {
|
|
48
|
+
return ele[0].ej2_instances[0][property];
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return result;
|
|
52
|
+
};
|
|
53
|
+
Mapper.invoke = function (id, selector, fName, args) {
|
|
54
|
+
if (args === void 0) { args = []; }
|
|
55
|
+
var result;
|
|
56
|
+
if (cy) {
|
|
57
|
+
result = selector('#' + id).then(function (ele) {
|
|
58
|
+
var inst = ele[0].ej2_instances[0];
|
|
59
|
+
return inst[fName].call(inst, args);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
return result;
|
|
63
|
+
};
|
|
64
|
+
return Mapper;
|
|
65
|
+
}());
|
|
66
|
+
});
|
package/helpers/e2e/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
define(["require", "exports", "./base"], function (require, exports, base_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
function __export(m) {
|
|
4
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
__export(base_1);
|
|
8
|
+
});
|
package/package.json
CHANGED
|
@@ -1,159 +1,216 @@
|
|
|
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
|
-
|
|
2
|
+
"_from": "@syncfusion/ej2-base@*",
|
|
3
|
+
"_id": "@syncfusion/ej2-base@18.58.0",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-rIaDhHUxi9+mx5Ju81+gwKF/QaAXqR86ATrDmUgKB2ePY2PuNHnJideD7QFdrYAqZAR5Hr5WGQyH66x76y9lCA==",
|
|
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-barcode-generator",
|
|
23
|
+
"/@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
|
+
"/@syncfusion/ej2-angular-diagrams",
|
|
29
|
+
"/@syncfusion/ej2-angular-documenteditor",
|
|
30
|
+
"/@syncfusion/ej2-angular-dropdowns",
|
|
31
|
+
"/@syncfusion/ej2-angular-filemanager",
|
|
32
|
+
"/@syncfusion/ej2-angular-gantt",
|
|
33
|
+
"/@syncfusion/ej2-angular-grids",
|
|
34
|
+
"/@syncfusion/ej2-angular-heatmap",
|
|
35
|
+
"/@syncfusion/ej2-angular-inplace-editor",
|
|
36
|
+
"/@syncfusion/ej2-angular-inputs",
|
|
37
|
+
"/@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
|
+
"/@syncfusion/ej2-angular-navigations",
|
|
43
|
+
"/@syncfusion/ej2-angular-notifications",
|
|
44
|
+
"/@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
|
+
"/@syncfusion/ej2-angular-richtexteditor",
|
|
50
|
+
"/@syncfusion/ej2-angular-schedule",
|
|
51
|
+
"/@syncfusion/ej2-angular-splitbuttons",
|
|
52
|
+
"/@syncfusion/ej2-angular-spreadsheet",
|
|
53
|
+
"/@syncfusion/ej2-angular-treegrid",
|
|
54
|
+
"/@syncfusion/ej2-angular-treemap",
|
|
55
|
+
"/@syncfusion/ej2-barcode-generator",
|
|
56
|
+
"/@syncfusion/ej2-buttons",
|
|
57
|
+
"/@syncfusion/ej2-calendars",
|
|
58
|
+
"/@syncfusion/ej2-charts",
|
|
59
|
+
"/@syncfusion/ej2-circulargauge",
|
|
60
|
+
"/@syncfusion/ej2-data",
|
|
61
|
+
"/@syncfusion/ej2-diagrams",
|
|
62
|
+
"/@syncfusion/ej2-documenteditor",
|
|
63
|
+
"/@syncfusion/ej2-drawings",
|
|
64
|
+
"/@syncfusion/ej2-dropdowns",
|
|
65
|
+
"/@syncfusion/ej2-excel-export",
|
|
66
|
+
"/@syncfusion/ej2-filemanager",
|
|
67
|
+
"/@syncfusion/ej2-gantt",
|
|
68
|
+
"/@syncfusion/ej2-grids",
|
|
69
|
+
"/@syncfusion/ej2-heatmap",
|
|
70
|
+
"/@syncfusion/ej2-inplace-editor",
|
|
71
|
+
"/@syncfusion/ej2-inputs",
|
|
72
|
+
"/@syncfusion/ej2-kanban",
|
|
73
|
+
"/@syncfusion/ej2-layouts",
|
|
74
|
+
"/@syncfusion/ej2-lineargauge",
|
|
75
|
+
"/@syncfusion/ej2-lists",
|
|
76
|
+
"/@syncfusion/ej2-maps",
|
|
77
|
+
"/@syncfusion/ej2-navigations",
|
|
78
|
+
"/@syncfusion/ej2-notifications",
|
|
79
|
+
"/@syncfusion/ej2-pdfviewer",
|
|
80
|
+
"/@syncfusion/ej2-pivotview",
|
|
81
|
+
"/@syncfusion/ej2-popups",
|
|
82
|
+
"/@syncfusion/ej2-progressbar",
|
|
83
|
+
"/@syncfusion/ej2-querybuilder",
|
|
84
|
+
"/@syncfusion/ej2-react-barcode-generator",
|
|
85
|
+
"/@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
|
+
"/@syncfusion/ej2-react-diagrams",
|
|
91
|
+
"/@syncfusion/ej2-react-documenteditor",
|
|
92
|
+
"/@syncfusion/ej2-react-dropdowns",
|
|
93
|
+
"/@syncfusion/ej2-react-filemanager",
|
|
94
|
+
"/@syncfusion/ej2-react-gantt",
|
|
95
|
+
"/@syncfusion/ej2-react-grids",
|
|
96
|
+
"/@syncfusion/ej2-react-heatmap",
|
|
97
|
+
"/@syncfusion/ej2-react-inplace-editor",
|
|
98
|
+
"/@syncfusion/ej2-react-inputs",
|
|
99
|
+
"/@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
|
+
"/@syncfusion/ej2-react-navigations",
|
|
105
|
+
"/@syncfusion/ej2-react-notifications",
|
|
106
|
+
"/@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
|
+
"/@syncfusion/ej2-react-richtexteditor",
|
|
112
|
+
"/@syncfusion/ej2-react-schedule",
|
|
113
|
+
"/@syncfusion/ej2-react-splitbuttons",
|
|
114
|
+
"/@syncfusion/ej2-react-spreadsheet",
|
|
115
|
+
"/@syncfusion/ej2-react-treegrid",
|
|
116
|
+
"/@syncfusion/ej2-react-treemap",
|
|
117
|
+
"/@syncfusion/ej2-richtexteditor",
|
|
118
|
+
"/@syncfusion/ej2-schedule",
|
|
119
|
+
"/@syncfusion/ej2-splitbuttons",
|
|
120
|
+
"/@syncfusion/ej2-spreadsheet",
|
|
121
|
+
"/@syncfusion/ej2-svg-base",
|
|
122
|
+
"/@syncfusion/ej2-treegrid",
|
|
123
|
+
"/@syncfusion/ej2-treemap",
|
|
124
|
+
"/@syncfusion/ej2-vue-barcode-generator",
|
|
125
|
+
"/@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
|
+
"/@syncfusion/ej2-vue-diagrams",
|
|
131
|
+
"/@syncfusion/ej2-vue-documenteditor",
|
|
132
|
+
"/@syncfusion/ej2-vue-dropdowns",
|
|
133
|
+
"/@syncfusion/ej2-vue-filemanager",
|
|
134
|
+
"/@syncfusion/ej2-vue-gantt",
|
|
135
|
+
"/@syncfusion/ej2-vue-grids",
|
|
136
|
+
"/@syncfusion/ej2-vue-heatmap",
|
|
137
|
+
"/@syncfusion/ej2-vue-inplace-editor",
|
|
138
|
+
"/@syncfusion/ej2-vue-inputs",
|
|
139
|
+
"/@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
|
+
"/@syncfusion/ej2-vue-navigations",
|
|
145
|
+
"/@syncfusion/ej2-vue-notifications",
|
|
146
|
+
"/@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
|
+
"/@syncfusion/ej2-vue-richtexteditor",
|
|
152
|
+
"/@syncfusion/ej2-vue-schedule",
|
|
153
|
+
"/@syncfusion/ej2-vue-splitbuttons",
|
|
154
|
+
"/@syncfusion/ej2-vue-spreadsheet",
|
|
155
|
+
"/@syncfusion/ej2-vue-treegrid",
|
|
156
|
+
"/@syncfusion/ej2-vue-treemap"
|
|
157
|
+
],
|
|
158
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.58.0.tgz",
|
|
159
|
+
"_shasum": "1a8c8e230d4aae3ab630f56f19c1e1955c121ce7",
|
|
160
|
+
"_spec": "@syncfusion/ej2-base@*",
|
|
161
|
+
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
162
|
+
"author": {
|
|
163
|
+
"name": "Syncfusion Inc."
|
|
164
|
+
},
|
|
165
|
+
"bin": {
|
|
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.36"
|
|
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.36",
|
|
215
|
+
"sideEffects": true
|
|
216
|
+
}
|
package/src/animation.d.ts
CHANGED
|
@@ -194,3 +194,12 @@ export declare let isRippleEnabled: boolean;
|
|
|
194
194
|
* @returns {boolean} ?
|
|
195
195
|
*/
|
|
196
196
|
export declare function enableRipple(isRipple: boolean): boolean;
|
|
197
|
+
/**
|
|
198
|
+
* Defines the Modes of Global animation.
|
|
199
|
+
* @private
|
|
200
|
+
*/
|
|
201
|
+
export declare let animationMode: string;
|
|
202
|
+
/**
|
|
203
|
+
* Method for set the Global animation modes for Syncfusion Blazor components.
|
|
204
|
+
*/
|
|
205
|
+
export declare function setGlobalAnimation(value: string): void;
|
package/src/animation.js
CHANGED
|
@@ -103,11 +103,21 @@ var Animation = /** @class */ (function (_super) {
|
|
|
103
103
|
* @returns {void}
|
|
104
104
|
*/
|
|
105
105
|
Animation.delayAnimation = function (model) {
|
|
106
|
-
if (
|
|
107
|
-
|
|
106
|
+
if (animationMode === 'Disable') {
|
|
107
|
+
if (model.begin) {
|
|
108
|
+
model.begin.call(this, model);
|
|
109
|
+
}
|
|
110
|
+
if (model.end) {
|
|
111
|
+
model.end.call(this, model);
|
|
112
|
+
}
|
|
108
113
|
}
|
|
109
114
|
else {
|
|
110
|
-
|
|
115
|
+
if (model.delay) {
|
|
116
|
+
setTimeout(function () { Animation_1.applyAnimation(model); }, model.delay);
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
Animation_1.applyAnimation(model);
|
|
120
|
+
}
|
|
111
121
|
}
|
|
112
122
|
};
|
|
113
123
|
/**
|
|
@@ -413,3 +423,14 @@ export function enableRipple(isRipple) {
|
|
|
413
423
|
isRippleEnabled = isRipple;
|
|
414
424
|
return isRippleEnabled;
|
|
415
425
|
}
|
|
426
|
+
/**
|
|
427
|
+
* Defines the Modes of Global animation.
|
|
428
|
+
* @private
|
|
429
|
+
*/
|
|
430
|
+
export var animationMode = '';
|
|
431
|
+
/**
|
|
432
|
+
* Method for set the Global animation modes for Syncfusion Blazor components.
|
|
433
|
+
*/
|
|
434
|
+
export function setGlobalAnimation(value) {
|
|
435
|
+
animationMode = value;
|
|
436
|
+
}
|
package/src/component.js
CHANGED
|
@@ -71,9 +71,7 @@ var Component = /** @class */ (function (_super) {
|
|
|
71
71
|
_this.localObserver = new Observer(_this);
|
|
72
72
|
// tslint:disable-next-line:no-function-constructor-with-string-args
|
|
73
73
|
onIntlChange.on('notifyExternalChange', _this.detectFunction, _this, _this.randomId);
|
|
74
|
-
|
|
75
|
-
validateLicense();
|
|
76
|
-
}
|
|
74
|
+
validateLicense();
|
|
77
75
|
if (!isUndefined(selector)) {
|
|
78
76
|
_this.appendTo();
|
|
79
77
|
}
|
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) {
|
package/src/util.js
CHANGED
|
@@ -212,7 +212,7 @@ export function extend(copied, first, second, deep) {
|
|
|
212
212
|
else {
|
|
213
213
|
/* istanbul ignore next */
|
|
214
214
|
clone = isBlazor() ? src && Object.keys(copy).length : src ? src : [];
|
|
215
|
-
result[key] = extend([], clone, copy,
|
|
215
|
+
result[key] = extend([], clone, copy, (clone && clone.length) || (copy && copy.length));
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
else {
|