@syncfusion/ej2-base 25.2.7 → 26.1.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/.eslintrc.json +3 -2
- package/{README.md → ReadMe.md} +1 -1
- package/bin/syncfusion-license.js +1 -1
- package/dist/ej2-base.min.js +1 -10
- 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 +340 -566
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +181 -404
- 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 +225 -161
- package/src/ajax.d.ts +1 -1
- package/src/ajax.js +3 -7
- package/src/animation.d.ts +1 -1
- package/src/animation.js +1 -3
- package/src/base.d.ts +2 -1
- package/src/base.js +4 -13
- package/src/browser.d.ts +1 -1
- package/src/browser.js +3 -4
- package/src/child-property.d.ts +1 -0
- package/src/child-property.js +2 -2
- package/src/component.d.ts +4 -0
- package/src/component.js +9 -17
- package/src/dom.js +4 -11
- package/src/draggable.js +1 -22
- package/src/droppable.js +0 -1
- package/src/event-handler.js +2 -6
- package/src/fetch.js +1 -2
- package/src/hijri-parser.js +3 -3
- package/src/internationalization.js +0 -5
- package/src/intl/date-formatter.js +19 -33
- package/src/intl/date-parser.js +33 -62
- package/src/intl/intl-base.d.ts +7 -0
- package/src/intl/intl-base.js +16 -16
- package/src/intl/number-formatter.js +5 -5
- package/src/intl/number-parser.js +2 -6
- package/src/intl/parser-base.js +6 -11
- package/src/keyboard.js +0 -1
- package/src/module-loader.js +1 -0
- package/src/notify-property-change.d.ts +0 -20
- package/src/notify-property-change.js +16 -55
- package/src/observer.js +3 -6
- package/src/sanitize-helper.js +0 -1
- package/src/template-engine.js +1 -7
- package/src/template.js +13 -18
- package/src/touch.js +3 -8
- package/src/util.d.ts +4 -4
- package/src/util.js +12 -37
- package/src/validate-lic.js +4 -3
- package/styles/_bootstrap5.3-dark-definition.scss +8 -0
- package/styles/_bootstrap5.3-definition.scss +8 -0
- package/styles/_fluent2-dark-definition.scss +9 -0
- package/styles/_fluent2-definition.scss +9 -0
- package/styles/_fluent2-highcontrast-definition.scss +9 -0
- package/styles/animation/_all.scss +0 -1
- package/styles/bootstrap-dark.css +865 -143
- package/styles/bootstrap.css +865 -143
- package/styles/bootstrap4.css +865 -143
- package/styles/bootstrap5-dark.css +865 -143
- package/styles/bootstrap5.css +865 -143
- package/styles/common/_core.scss +3 -7
- package/styles/definition/_bds-dark.scss +45 -156
- package/styles/definition/_bds.scss +71 -202
- package/styles/definition/_bootstrap-dark.scss +1 -13
- package/styles/definition/_bootstrap.scss +0 -13
- package/styles/definition/_bootstrap4.scss +24 -38
- package/styles/definition/_bootstrap5-dark.scss +69 -88
- package/styles/definition/_bootstrap5.3-dark.scss +853 -0
- package/styles/definition/_bootstrap5.3.scss +1486 -0
- package/styles/definition/_bootstrap5.scss +64 -84
- package/styles/definition/_fabric-dark.scss +0 -12
- package/styles/definition/_fabric.scss +0 -12
- package/styles/definition/_fluent-dark.scss +27 -96
- package/styles/definition/_fluent.scss +27 -97
- package/styles/definition/_fluent2-dark.scss +1506 -0
- package/styles/definition/_fluent2-highcontrast.scss +1506 -0
- package/styles/definition/_fluent2.scss +2264 -0
- package/styles/definition/_fusionnew-dark.scss +40 -78
- package/styles/definition/_fusionnew.scss +36 -75
- package/styles/definition/_highcontrast-light.scss +0 -10
- package/styles/definition/_highcontrast.scss +0 -12
- package/styles/definition/_material-dark.scss +0 -11
- package/styles/definition/_material.scss +1 -13
- package/styles/definition/_material3-dark.scss +15 -71
- package/styles/definition/_material3.scss +15 -84
- package/styles/definition/_tailwind-dark.scss +17 -66
- package/styles/definition/_tailwind.scss +18 -66
- package/styles/fabric-dark.css +865 -143
- package/styles/fabric.css +865 -143
- package/styles/fluent-dark.css +865 -143
- package/styles/fluent.css +865 -143
- package/styles/fluent2.css +3825 -0
- package/styles/fluent2.scss +3 -0
- package/styles/highcontrast-light.css +865 -143
- package/styles/highcontrast.css +865 -143
- package/styles/material-dark.css +865 -143
- package/styles/material.css +865 -143
- package/styles/material3-dark.css +865 -144
- package/styles/material3.css +865 -144
- package/styles/offline-theme/material-dark.css +865 -143
- package/styles/offline-theme/material.css +865 -143
- package/styles/offline-theme/tailwind-dark.css +866 -144
- package/styles/offline-theme/tailwind.css +866 -144
- package/styles/tailwind-dark.css +866 -144
- package/styles/tailwind.css +866 -144
- package/CHANGELOG.md +0 -649
package/dist/global/index.d.ts
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* filename: index.d.ts
|
|
3
|
-
* version : 25.2.7
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 - 2023. 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,162 +1,226 @@
|
|
|
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
|
-
|
|
2
|
+
"_from": "@syncfusion/ej2-base@*",
|
|
3
|
+
"_id": "@syncfusion/ej2-base@18.92.0",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-rZOMO+O2Ro1uTwkzHzAu3HegBPcyvvmxC4u3bFVLStheeCUR1FQmVTqX95I1A8N9HO7v2i5sVnt+G2FiQqA0dA==",
|
|
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-image-editor",
|
|
36
|
+
"/@syncfusion/ej2-angular-inplace-editor",
|
|
37
|
+
"/@syncfusion/ej2-angular-inputs",
|
|
38
|
+
"/@syncfusion/ej2-angular-kanban",
|
|
39
|
+
"/@syncfusion/ej2-angular-layouts",
|
|
40
|
+
"/@syncfusion/ej2-angular-lineargauge",
|
|
41
|
+
"/@syncfusion/ej2-angular-lists",
|
|
42
|
+
"/@syncfusion/ej2-angular-maps",
|
|
43
|
+
"/@syncfusion/ej2-angular-navigations",
|
|
44
|
+
"/@syncfusion/ej2-angular-notifications",
|
|
45
|
+
"/@syncfusion/ej2-angular-pdfviewer",
|
|
46
|
+
"/@syncfusion/ej2-angular-pivotview",
|
|
47
|
+
"/@syncfusion/ej2-angular-popups",
|
|
48
|
+
"/@syncfusion/ej2-angular-progressbar",
|
|
49
|
+
"/@syncfusion/ej2-angular-querybuilder",
|
|
50
|
+
"/@syncfusion/ej2-angular-ribbon",
|
|
51
|
+
"/@syncfusion/ej2-angular-richtexteditor",
|
|
52
|
+
"/@syncfusion/ej2-angular-schedule",
|
|
53
|
+
"/@syncfusion/ej2-angular-splitbuttons",
|
|
54
|
+
"/@syncfusion/ej2-angular-spreadsheet",
|
|
55
|
+
"/@syncfusion/ej2-angular-treegrid",
|
|
56
|
+
"/@syncfusion/ej2-angular-treemap",
|
|
57
|
+
"/@syncfusion/ej2-barcode-generator",
|
|
58
|
+
"/@syncfusion/ej2-buttons",
|
|
59
|
+
"/@syncfusion/ej2-calendars",
|
|
60
|
+
"/@syncfusion/ej2-charts",
|
|
61
|
+
"/@syncfusion/ej2-circulargauge",
|
|
62
|
+
"/@syncfusion/ej2-data",
|
|
63
|
+
"/@syncfusion/ej2-diagrams",
|
|
64
|
+
"/@syncfusion/ej2-documenteditor",
|
|
65
|
+
"/@syncfusion/ej2-drawings",
|
|
66
|
+
"/@syncfusion/ej2-dropdowns",
|
|
67
|
+
"/@syncfusion/ej2-excel-export",
|
|
68
|
+
"/@syncfusion/ej2-filemanager",
|
|
69
|
+
"/@syncfusion/ej2-gantt",
|
|
70
|
+
"/@syncfusion/ej2-grids",
|
|
71
|
+
"/@syncfusion/ej2-heatmap",
|
|
72
|
+
"/@syncfusion/ej2-image-editor",
|
|
73
|
+
"/@syncfusion/ej2-inplace-editor",
|
|
74
|
+
"/@syncfusion/ej2-inputs",
|
|
75
|
+
"/@syncfusion/ej2-kanban",
|
|
76
|
+
"/@syncfusion/ej2-layouts",
|
|
77
|
+
"/@syncfusion/ej2-lineargauge",
|
|
78
|
+
"/@syncfusion/ej2-lists",
|
|
79
|
+
"/@syncfusion/ej2-maps",
|
|
80
|
+
"/@syncfusion/ej2-multicolumn-combobox",
|
|
81
|
+
"/@syncfusion/ej2-navigations",
|
|
82
|
+
"/@syncfusion/ej2-notifications",
|
|
83
|
+
"/@syncfusion/ej2-pdf",
|
|
84
|
+
"/@syncfusion/ej2-pdfviewer",
|
|
85
|
+
"/@syncfusion/ej2-pivotview",
|
|
86
|
+
"/@syncfusion/ej2-popups",
|
|
87
|
+
"/@syncfusion/ej2-progressbar",
|
|
88
|
+
"/@syncfusion/ej2-querybuilder",
|
|
89
|
+
"/@syncfusion/ej2-react-barcode-generator",
|
|
90
|
+
"/@syncfusion/ej2-react-base",
|
|
91
|
+
"/@syncfusion/ej2-react-buttons",
|
|
92
|
+
"/@syncfusion/ej2-react-calendars",
|
|
93
|
+
"/@syncfusion/ej2-react-charts",
|
|
94
|
+
"/@syncfusion/ej2-react-circulargauge",
|
|
95
|
+
"/@syncfusion/ej2-react-diagrams",
|
|
96
|
+
"/@syncfusion/ej2-react-documenteditor",
|
|
97
|
+
"/@syncfusion/ej2-react-dropdowns",
|
|
98
|
+
"/@syncfusion/ej2-react-filemanager",
|
|
99
|
+
"/@syncfusion/ej2-react-gantt",
|
|
100
|
+
"/@syncfusion/ej2-react-grids",
|
|
101
|
+
"/@syncfusion/ej2-react-heatmap",
|
|
102
|
+
"/@syncfusion/ej2-react-image-editor",
|
|
103
|
+
"/@syncfusion/ej2-react-inplace-editor",
|
|
104
|
+
"/@syncfusion/ej2-react-inputs",
|
|
105
|
+
"/@syncfusion/ej2-react-kanban",
|
|
106
|
+
"/@syncfusion/ej2-react-layouts",
|
|
107
|
+
"/@syncfusion/ej2-react-lineargauge",
|
|
108
|
+
"/@syncfusion/ej2-react-lists",
|
|
109
|
+
"/@syncfusion/ej2-react-maps",
|
|
110
|
+
"/@syncfusion/ej2-react-navigations",
|
|
111
|
+
"/@syncfusion/ej2-react-notifications",
|
|
112
|
+
"/@syncfusion/ej2-react-pdfviewer",
|
|
113
|
+
"/@syncfusion/ej2-react-pivotview",
|
|
114
|
+
"/@syncfusion/ej2-react-popups",
|
|
115
|
+
"/@syncfusion/ej2-react-progressbar",
|
|
116
|
+
"/@syncfusion/ej2-react-querybuilder",
|
|
117
|
+
"/@syncfusion/ej2-react-ribbon",
|
|
118
|
+
"/@syncfusion/ej2-react-richtexteditor",
|
|
119
|
+
"/@syncfusion/ej2-react-schedule",
|
|
120
|
+
"/@syncfusion/ej2-react-splitbuttons",
|
|
121
|
+
"/@syncfusion/ej2-react-spreadsheet",
|
|
122
|
+
"/@syncfusion/ej2-react-treegrid",
|
|
123
|
+
"/@syncfusion/ej2-react-treemap",
|
|
124
|
+
"/@syncfusion/ej2-ribbon",
|
|
125
|
+
"/@syncfusion/ej2-richtexteditor",
|
|
126
|
+
"/@syncfusion/ej2-schedule",
|
|
127
|
+
"/@syncfusion/ej2-splitbuttons",
|
|
128
|
+
"/@syncfusion/ej2-spreadsheet",
|
|
129
|
+
"/@syncfusion/ej2-svg-base",
|
|
130
|
+
"/@syncfusion/ej2-treegrid",
|
|
131
|
+
"/@syncfusion/ej2-treemap",
|
|
132
|
+
"/@syncfusion/ej2-vue-barcode-generator",
|
|
133
|
+
"/@syncfusion/ej2-vue-base",
|
|
134
|
+
"/@syncfusion/ej2-vue-buttons",
|
|
135
|
+
"/@syncfusion/ej2-vue-calendars",
|
|
136
|
+
"/@syncfusion/ej2-vue-charts",
|
|
137
|
+
"/@syncfusion/ej2-vue-circulargauge",
|
|
138
|
+
"/@syncfusion/ej2-vue-diagrams",
|
|
139
|
+
"/@syncfusion/ej2-vue-documenteditor",
|
|
140
|
+
"/@syncfusion/ej2-vue-dropdowns",
|
|
141
|
+
"/@syncfusion/ej2-vue-filemanager",
|
|
142
|
+
"/@syncfusion/ej2-vue-gantt",
|
|
143
|
+
"/@syncfusion/ej2-vue-grids",
|
|
144
|
+
"/@syncfusion/ej2-vue-heatmap",
|
|
145
|
+
"/@syncfusion/ej2-vue-image-editor",
|
|
146
|
+
"/@syncfusion/ej2-vue-inplace-editor",
|
|
147
|
+
"/@syncfusion/ej2-vue-inputs",
|
|
148
|
+
"/@syncfusion/ej2-vue-kanban",
|
|
149
|
+
"/@syncfusion/ej2-vue-layouts",
|
|
150
|
+
"/@syncfusion/ej2-vue-lineargauge",
|
|
151
|
+
"/@syncfusion/ej2-vue-lists",
|
|
152
|
+
"/@syncfusion/ej2-vue-maps",
|
|
153
|
+
"/@syncfusion/ej2-vue-navigations",
|
|
154
|
+
"/@syncfusion/ej2-vue-notifications",
|
|
155
|
+
"/@syncfusion/ej2-vue-pdfviewer",
|
|
156
|
+
"/@syncfusion/ej2-vue-pivotview",
|
|
157
|
+
"/@syncfusion/ej2-vue-popups",
|
|
158
|
+
"/@syncfusion/ej2-vue-progressbar",
|
|
159
|
+
"/@syncfusion/ej2-vue-querybuilder",
|
|
160
|
+
"/@syncfusion/ej2-vue-ribbon",
|
|
161
|
+
"/@syncfusion/ej2-vue-richtexteditor",
|
|
162
|
+
"/@syncfusion/ej2-vue-schedule",
|
|
163
|
+
"/@syncfusion/ej2-vue-splitbuttons",
|
|
164
|
+
"/@syncfusion/ej2-vue-spreadsheet",
|
|
165
|
+
"/@syncfusion/ej2-vue-treegrid",
|
|
166
|
+
"/@syncfusion/ej2-vue-treemap"
|
|
167
|
+
],
|
|
168
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.92.0.tgz",
|
|
169
|
+
"_shasum": "f501d832abeab3a58710fb18fc2e73b774a2cc32",
|
|
170
|
+
"_spec": "@syncfusion/ej2-base@*",
|
|
171
|
+
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
172
|
+
"author": {
|
|
173
|
+
"name": "Syncfusion Inc."
|
|
174
|
+
},
|
|
175
|
+
"bin": {
|
|
176
|
+
"syncfusion-license": "bin/syncfusion-license.js"
|
|
177
|
+
},
|
|
178
|
+
"bugs": {
|
|
179
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
180
|
+
},
|
|
181
|
+
"bundleDependencies": false,
|
|
182
|
+
"dependencies": {
|
|
183
|
+
"@syncfusion/ej2-icons": "~26.1.35"
|
|
184
|
+
},
|
|
185
|
+
"deprecated": false,
|
|
186
|
+
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
|
|
187
|
+
"devDependencies": {},
|
|
188
|
+
"es2015": "./dist/es6/ej2-base.es5.js",
|
|
189
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
190
|
+
"keywords": [
|
|
191
|
+
"ej2",
|
|
192
|
+
"syncfusion",
|
|
193
|
+
"ej2-base",
|
|
194
|
+
"web-components",
|
|
195
|
+
"typescript",
|
|
196
|
+
"base",
|
|
197
|
+
"common",
|
|
198
|
+
"core",
|
|
199
|
+
"library",
|
|
200
|
+
"ajax",
|
|
201
|
+
"animation",
|
|
202
|
+
"internationalization",
|
|
203
|
+
"drag",
|
|
204
|
+
"drop",
|
|
205
|
+
"drag-drop",
|
|
206
|
+
"template",
|
|
207
|
+
"template-engine",
|
|
208
|
+
"rtl",
|
|
209
|
+
"right-to-left",
|
|
210
|
+
"persistence",
|
|
211
|
+
"state-persistence",
|
|
212
|
+
"theme",
|
|
213
|
+
"styles"
|
|
214
|
+
],
|
|
215
|
+
"license": "SEE LICENSE IN license",
|
|
216
|
+
"main": "./dist/ej2-base.umd.min.js",
|
|
217
|
+
"module": "./index.js",
|
|
218
|
+
"name": "@syncfusion/ej2-base",
|
|
219
|
+
"repository": {
|
|
220
|
+
"type": "git",
|
|
221
|
+
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
222
|
+
},
|
|
223
|
+
"typings": "index.d.ts",
|
|
224
|
+
"version": "26.1.36",
|
|
225
|
+
"sideEffects": true
|
|
226
|
+
}
|
package/src/ajax.d.ts
CHANGED
package/src/ajax.js
CHANGED
|
@@ -55,7 +55,7 @@ var Ajax = /** @class */ (function () {
|
|
|
55
55
|
* Send the request to server.
|
|
56
56
|
*
|
|
57
57
|
* @param {any} data - To send the user data
|
|
58
|
-
* @
|
|
58
|
+
* @returns {Promise} ?
|
|
59
59
|
*/
|
|
60
60
|
Ajax.prototype.send = function (data) {
|
|
61
61
|
var _this = this;
|
|
@@ -150,17 +150,13 @@ var Ajax = /** @class */ (function () {
|
|
|
150
150
|
* @returns {string} ?
|
|
151
151
|
*/
|
|
152
152
|
Ajax.prototype.getResponseHeader = function (key) {
|
|
153
|
-
var responseHeaders;
|
|
154
|
-
var header;
|
|
155
|
-
// eslint-disable-next-line
|
|
156
|
-
responseHeaders = {};
|
|
153
|
+
var responseHeaders = {};
|
|
157
154
|
var headers = headerRegex.exec(this.httpRequest.getAllResponseHeaders());
|
|
158
155
|
while (headers) {
|
|
159
156
|
responseHeaders[headers[1].toLowerCase()] = headers[2];
|
|
160
157
|
headers = headerRegex.exec(this.httpRequest.getAllResponseHeaders());
|
|
161
158
|
}
|
|
162
|
-
|
|
163
|
-
header = responseHeaders[key.toLowerCase()];
|
|
159
|
+
var header = responseHeaders[key.toLowerCase()];
|
|
164
160
|
return isNullOrUndefined(header) ? null : header;
|
|
165
161
|
};
|
|
166
162
|
return Ajax;
|
package/src/animation.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export declare class Animation extends Base<HTMLElement> implements INotifyPrope
|
|
|
85
85
|
*
|
|
86
86
|
* @param {HTMLElement} element - Element which needs to be stop the animation.
|
|
87
87
|
* @param {AnimationOptions} model - Handling the animation model at stop function.
|
|
88
|
-
* @
|
|
88
|
+
* @returns {void}
|
|
89
89
|
*/
|
|
90
90
|
static stop(element: HTMLElement, model?: AnimationOptions): void;
|
|
91
91
|
/**
|
package/src/animation.js
CHANGED
|
@@ -81,7 +81,7 @@ var Animation = /** @class */ (function (_super) {
|
|
|
81
81
|
*
|
|
82
82
|
* @param {HTMLElement} element - Element which needs to be stop the animation.
|
|
83
83
|
* @param {AnimationOptions} model - Handling the animation model at stop function.
|
|
84
|
-
* @
|
|
84
|
+
* @returns {void}
|
|
85
85
|
*/
|
|
86
86
|
Animation.stop = function (element, model) {
|
|
87
87
|
element.style.animation = '';
|
|
@@ -211,7 +211,6 @@ var Animation = /** @class */ (function (_super) {
|
|
|
211
211
|
* @param {AnimationModel} oldProp ?
|
|
212
212
|
* @returns {void} ?
|
|
213
213
|
*/
|
|
214
|
-
// eslint-disable-next-line
|
|
215
214
|
Animation.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
216
215
|
// no code needed
|
|
217
216
|
};
|
|
@@ -401,7 +400,6 @@ function removeRipple(e, eventArgs) {
|
|
|
401
400
|
if (eventArgs.parent !== element) {
|
|
402
401
|
EventHandler.remove(element, 'mouseleave', rippleLeaveHandler);
|
|
403
402
|
}
|
|
404
|
-
/* tslint:disable:align */
|
|
405
403
|
setTimeout(function () {
|
|
406
404
|
if (rippleElement && rippleElement.parentNode) {
|
|
407
405
|
rippleElement.parentNode.removeChild(rippleElement);
|
package/src/base.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export interface BlazorDotnetObject {
|
|
|
15
15
|
* Base library module is common module for Framework modules like touch,keyboard and etc.,
|
|
16
16
|
*
|
|
17
17
|
* @private
|
|
18
|
+
* @returns {void} ?
|
|
18
19
|
*/
|
|
19
20
|
export declare abstract class Base<ElementType extends HTMLElement> {
|
|
20
21
|
element: ElementType;
|
|
@@ -135,7 +136,7 @@ export declare function getComponent<T>(elem: HTMLElement | string, comp: string
|
|
|
135
136
|
* Function to remove the child instances.
|
|
136
137
|
*
|
|
137
138
|
* @param {HTMLElement} element ?
|
|
138
|
-
* @
|
|
139
|
+
* @returns {void} ?
|
|
139
140
|
* @private
|
|
140
141
|
*/
|
|
141
142
|
export declare function removeChildInstance(element: HTMLElement): void;
|
package/src/base.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1
2
|
import { isUndefined, isNullOrUndefined, merge, setImmediate, setValue, isBlazor, getValue, extend } from './util';
|
|
2
3
|
import { addClass, removeClass } from './dom';
|
|
3
4
|
import { Observer } from './observer';
|
|
4
5
|
var isColEName = new RegExp(']');
|
|
5
|
-
/* tslint:enable:no-any */
|
|
6
6
|
/**
|
|
7
7
|
* Base library module is common module for Framework modules like touch,keyboard and etc.,
|
|
8
8
|
*
|
|
9
9
|
* @private
|
|
10
|
+
* @returns {void} ?
|
|
10
11
|
*/
|
|
11
12
|
var Base = /** @class */ (function () {
|
|
12
13
|
/**
|
|
@@ -27,7 +28,6 @@ var Base = /** @class */ (function () {
|
|
|
27
28
|
this.bulkChanges = {};
|
|
28
29
|
this.refreshing = false;
|
|
29
30
|
this.ignoreCollectionWatch = false;
|
|
30
|
-
// eslint-disable-next-line
|
|
31
31
|
this.finalUpdate = function () { };
|
|
32
32
|
this.childChangedProperties = {};
|
|
33
33
|
this.modelObserver = new Observer(this);
|
|
@@ -80,7 +80,6 @@ var Base = /** @class */ (function () {
|
|
|
80
80
|
* @param {Object} parent ?
|
|
81
81
|
* @returns {void} ?
|
|
82
82
|
*/
|
|
83
|
-
// tslint:disable-next-line:no-any
|
|
84
83
|
Base.callChildDataBind = function (obj, parent) {
|
|
85
84
|
var keys = Object.keys(obj);
|
|
86
85
|
for (var _i = 0, keys_1 = keys; _i < keys_1.length; _i++) {
|
|
@@ -121,7 +120,6 @@ var Base = /** @class */ (function () {
|
|
|
121
120
|
this.isProtectedOnChange = prevDetection;
|
|
122
121
|
}
|
|
123
122
|
};
|
|
124
|
-
/* tslint:disable:no-any */
|
|
125
123
|
Base.prototype.serverDataBind = function (newChanges) {
|
|
126
124
|
if (!isBlazor()) {
|
|
127
125
|
return;
|
|
@@ -134,10 +132,8 @@ var Base = /** @class */ (function () {
|
|
|
134
132
|
this.bulkChanges = {};
|
|
135
133
|
}
|
|
136
134
|
};
|
|
137
|
-
/* tslint:enable:no-any */
|
|
138
135
|
Base.prototype.saveChanges = function (key, newValue, oldValue) {
|
|
139
136
|
if (isBlazor()) {
|
|
140
|
-
// tslint:disable-next-line:no-any
|
|
141
137
|
var newChanges = {};
|
|
142
138
|
newChanges["" + key] = newValue;
|
|
143
139
|
this.serverDataBind(newChanges);
|
|
@@ -255,7 +251,7 @@ var Base = /** @class */ (function () {
|
|
|
255
251
|
*/
|
|
256
252
|
Base.prototype.destroy = function () {
|
|
257
253
|
var _this = this;
|
|
258
|
-
// eslint-disable-next-line
|
|
254
|
+
// eslint-disable-next-line camelcase
|
|
259
255
|
this.element.ej2_instances =
|
|
260
256
|
this.element.ej2_instances ?
|
|
261
257
|
this.element.ej2_instances.filter(function (i) {
|
|
@@ -284,7 +280,6 @@ export { Base };
|
|
|
284
280
|
* @param {string} comp Specifies the component module name or Component.
|
|
285
281
|
* @returns {any} ?
|
|
286
282
|
*/
|
|
287
|
-
// tslint:disable-next-line:no-any
|
|
288
283
|
export function getComponent(elem, comp) {
|
|
289
284
|
var instance;
|
|
290
285
|
var i;
|
|
@@ -298,7 +293,6 @@ export function getComponent(elem, comp) {
|
|
|
298
293
|
}
|
|
299
294
|
}
|
|
300
295
|
else {
|
|
301
|
-
// tslint:disable-next-line:no-any
|
|
302
296
|
if (instance instanceof comp) {
|
|
303
297
|
return instance;
|
|
304
298
|
}
|
|
@@ -310,16 +304,13 @@ export function getComponent(elem, comp) {
|
|
|
310
304
|
* Function to remove the child instances.
|
|
311
305
|
*
|
|
312
306
|
* @param {HTMLElement} element ?
|
|
313
|
-
* @
|
|
307
|
+
* @returns {void} ?
|
|
314
308
|
* @private
|
|
315
309
|
*/
|
|
316
|
-
// tslint:disable-next-line:no-any
|
|
317
310
|
export function removeChildInstance(element) {
|
|
318
|
-
// tslint:disable-next-line:no-any
|
|
319
311
|
var childEle = [].slice.call(element.getElementsByClassName('e-control'));
|
|
320
312
|
for (var i = 0; i < childEle.length; i++) {
|
|
321
313
|
var compName = childEle[parseInt(i.toString(), 10)].classList[1].split('e-')[1];
|
|
322
|
-
// tslint:disable-next-line:no-any
|
|
323
314
|
var compInstance = getComponent(childEle[parseInt(i.toString(), 10)], compName);
|
|
324
315
|
if (!isUndefined(compInstance)) {
|
|
325
316
|
compInstance.destroy();
|
package/src/browser.d.ts
CHANGED
package/src/browser.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1
2
|
import { isUndefined } from './util';
|
|
2
3
|
var REGX_MOBILE = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i;
|
|
3
4
|
var REGX_IE = /msie|trident/i;
|
|
@@ -41,8 +42,7 @@ var Browser = /** @class */ (function () {
|
|
|
41
42
|
browserInfo.name = (clientInfo[1].toLowerCase() === 'crios' ? 'chrome' : browserInfo.name);
|
|
42
43
|
browserInfo.version = clientInfo[2];
|
|
43
44
|
browserInfo.culture.name = browserInfo.culture.language = navigator.language;
|
|
44
|
-
|
|
45
|
-
if (!!Browser.userAgent.match(REGX_IE11)) {
|
|
45
|
+
if (Browser.userAgent.match(REGX_IE11)) {
|
|
46
46
|
browserInfo.name = 'msie';
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
@@ -59,10 +59,9 @@ var Browser = /** @class */ (function () {
|
|
|
59
59
|
* To get events from the browser
|
|
60
60
|
*
|
|
61
61
|
* @param {string} event - type of event triggered.
|
|
62
|
-
* @returns {
|
|
62
|
+
* @returns {string} ?
|
|
63
63
|
*/
|
|
64
64
|
Browser.getEvent = function (event) {
|
|
65
|
-
// eslint-disable-next-line
|
|
66
65
|
var events = {
|
|
67
66
|
start: {
|
|
68
67
|
isPointer: 'pointerdown', isTouch: 'touchstart', isDevice: 'mousedown'
|