@syncfusion/ej2-base 19.2.57 → 19.3.53
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 +1 -1
- package/CHANGELOG.md +2 -90
- package/{ReadMe.md → README.md} +1 -1
- 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 +2650 -2401
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +3186 -2948
- 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/e2e/crypto.js +1 -1
- package/e2e/index.d.ts +0 -3
- package/e2e/m.protractor.config.js +1 -1
- package/e2e/protractor.config.js +1 -1
- package/helpers/e2e/base.js +3 -3
- package/package.json +212 -212
- package/src/ajax.d.ts +24 -10
- package/src/ajax.js +14 -6
- package/src/animation-model.d.ts +12 -4
- package/src/animation.d.ts +37 -12
- package/src/animation.js +48 -22
- package/src/base.d.ts +31 -11
- package/src/base.js +34 -16
- package/src/browser.d.ts +63 -25
- package/src/browser.js +60 -15
- package/src/child-property.d.ts +21 -10
- package/src/child-property.js +23 -13
- package/src/component-model.d.ts +4 -1
- package/src/component.d.ts +42 -5
- package/src/component.js +52 -35
- package/src/dom.d.ts +76 -25
- package/src/dom.js +126 -121
- package/src/draggable-model.d.ts +5 -0
- package/src/draggable.d.ts +4 -1
- package/src/draggable.js +8 -2
- package/src/droppable-model.d.ts +7 -4
- package/src/droppable.d.ts +7 -3
- package/src/droppable.js +1 -0
- package/src/event-handler.d.ts +10 -6
- package/src/event-handler.js +11 -7
- package/src/hijri-parser.d.ts +12 -0
- package/src/hijri-parser.js +111 -90
- package/src/internationalization.d.ts +54 -21
- package/src/internationalization.js +55 -18
- package/src/intl/date-formatter.d.ts +19 -8
- package/src/intl/date-formatter.js +36 -13
- package/src/intl/date-parser.d.ts +30 -23
- package/src/intl/date-parser.js +61 -42
- package/src/intl/intl-base.d.ts +123 -46
- package/src/intl/intl-base.js +451 -377
- package/src/intl/number-formatter.d.ts +45 -34
- package/src/intl/number-formatter.js +47 -35
- package/src/intl/number-parser.d.ts +11 -8
- package/src/intl/number-parser.js +13 -11
- package/src/intl/parser-base.d.ts +38 -13
- package/src/intl/parser-base.js +45 -16
- package/src/keyboard-model.d.ts +5 -2
- package/src/keyboard.d.ts +26 -8
- package/src/keyboard.js +24 -9
- package/src/l10n.d.ts +16 -7
- package/src/l10n.js +16 -7
- package/src/module-loader.d.ts +13 -8
- package/src/module-loader.js +13 -9
- package/src/notify-property-change.d.ts +19 -7
- package/src/notify-property-change.js +140 -24
- package/src/observer.d.ts +17 -5
- package/src/observer.js +19 -7
- package/src/sanitize-helper.d.ts +1 -0
- package/src/sanitize-helper.js +1 -1
- package/src/template-engine.d.ts +30 -4
- package/src/template-engine.js +37 -12
- package/src/template.d.ts +8 -3
- package/src/template.js +67 -19
- package/src/touch-model.d.ts +11 -4
- package/src/touch.d.ts +51 -9
- package/src/touch.js +45 -13
- package/src/util.d.ts +67 -37
- package/src/util.js +99 -49
- package/styles/_bootstrap-definition.scss +0 -1
- package/styles/_bootstrap5-dark-definition.scss +10 -0
- package/styles/_bootstrap5-definition.scss +9 -0
- package/styles/_fabric-dark-definition.scss +0 -1
- package/styles/_highcontrast-light-definition.scss +1 -0
- package/styles/_material-definition.scss +1 -0
- package/styles/bootstrap-dark.css +2613 -32
- package/styles/bootstrap.css +2613 -32
- package/styles/bootstrap4.css +2149 -32
- package/styles/bootstrap5-dark.css +2161 -0
- package/styles/bootstrap5-dark.scss +3 -0
- package/styles/bootstrap5.css +2161 -0
- package/styles/bootstrap5.scss +3 -0
- package/styles/common/_core.scss +28 -63
- package/styles/definition/_bootstrap-dark.scss +3 -3
- package/styles/definition/_bootstrap.scss +1 -1
- package/styles/definition/_bootstrap5-dark.scss +357 -0
- package/styles/definition/_bootstrap5.scss +356 -0
- package/styles/definition/_material-dark.scss +1 -1
- package/styles/definition/_tailwind-dark.scss +18 -1
- package/styles/definition/_tailwind.scss +17 -0
- package/styles/fabric-dark.css +2589 -32
- package/styles/fabric.css +2589 -32
- package/styles/highcontrast-light.css +2573 -32
- package/styles/highcontrast.css +2573 -32
- package/styles/material-dark.css +2549 -32
- package/styles/material.css +2549 -32
- package/styles/tailwind-dark.css +2221 -32
- package/styles/tailwind.css +2221 -32
- package/src/virtual-dom.d.ts +0 -32
- package/src/virtual-dom.js +0 -449
package/dist/global/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: index.d.ts
|
|
3
|
+
* version : 19.3.53
|
|
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/e2e/crypto.js
CHANGED
package/e2e/index.d.ts
CHANGED
package/e2e/protractor.config.js
CHANGED
package/helpers/e2e/base.js
CHANGED
|
@@ -8,13 +8,13 @@ class TestHelper {
|
|
|
8
8
|
return (this.wrapperFn ? this.wrapperFn(arg) : arg);
|
|
9
9
|
}
|
|
10
10
|
setModel(property, value) {
|
|
11
|
-
return Mapper.setModel(this.id, this.selector, property, value);
|
|
11
|
+
return Mapper.setModel(this.id, this.selector.bind(this), property, value);
|
|
12
12
|
}
|
|
13
13
|
getModel(property) {
|
|
14
|
-
return Mapper.getModel(this.id, this.selector, property);
|
|
14
|
+
return Mapper.getModel(this.id, this.selector.bind(this), property);
|
|
15
15
|
}
|
|
16
16
|
invoke(fName, args = []) {
|
|
17
|
-
return Mapper.invoke(this.id, this.selector, fName, args);
|
|
17
|
+
return Mapper.invoke(this.id, this.selector.bind(this), fName, args);
|
|
18
18
|
}
|
|
19
19
|
eventHandler(eventName, callback) {
|
|
20
20
|
return this.selector('#' + this.id).then((ele) => {
|
package/package.json
CHANGED
|
@@ -1,213 +1,213 @@
|
|
|
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
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
2
|
+
"_from": "@syncfusion/ej2-base@*",
|
|
3
|
+
"_id": "@syncfusion/ej2-base@19.3.47",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-B0M62JlZB1LGr6jOwWlq+WT1gN7MWg3VL/SMmjpIq2ATSuN5S8bkV8Eh8cbhoM2WlcMdFva00V5fisR55eEVcQ==",
|
|
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-hotfix/@syncfusion/ej2-base/-/ej2-base-19.3.47.tgz",
|
|
159
|
+
"_shasum": "b6d659f4003228313b788cefc4dd98f122270cb7",
|
|
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
|
+
"bugs": {
|
|
166
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
167
|
+
},
|
|
168
|
+
"bundleDependencies": false,
|
|
169
|
+
"dependencies": {
|
|
170
|
+
"@syncfusion/ej2-icons": "~19.3.53"
|
|
171
|
+
},
|
|
172
|
+
"deprecated": false,
|
|
173
|
+
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
|
|
174
|
+
"devDependencies": {},
|
|
175
|
+
"es2015": "./dist/es6/ej2-base.es2015.js",
|
|
176
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
177
|
+
"keywords": [
|
|
178
|
+
"ej2",
|
|
179
|
+
"syncfusion",
|
|
180
|
+
"ej2-base",
|
|
181
|
+
"web-components",
|
|
182
|
+
"typescript",
|
|
183
|
+
"base",
|
|
184
|
+
"common",
|
|
185
|
+
"core",
|
|
186
|
+
"library",
|
|
187
|
+
"ajax",
|
|
188
|
+
"animation",
|
|
189
|
+
"internationalization",
|
|
190
|
+
"drag",
|
|
191
|
+
"drop",
|
|
192
|
+
"drag-drop",
|
|
193
|
+
"template",
|
|
194
|
+
"template-engine",
|
|
195
|
+
"rtl",
|
|
196
|
+
"right-to-left",
|
|
197
|
+
"persistence",
|
|
198
|
+
"state-persistence",
|
|
199
|
+
"theme",
|
|
200
|
+
"styles"
|
|
201
|
+
],
|
|
202
|
+
"license": "SEE LICENSE IN license",
|
|
203
|
+
"main": "./dist/ej2-base.umd.min.js",
|
|
204
|
+
"module": "./index.js",
|
|
205
|
+
"name": "@syncfusion/ej2-base",
|
|
206
|
+
"repository": {
|
|
207
|
+
"type": "git",
|
|
208
|
+
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
209
|
+
},
|
|
210
|
+
"typings": "index.d.ts",
|
|
211
|
+
"version": "19.3.53",
|
|
212
|
+
"sideEffects": true
|
|
213
|
+
}
|
package/src/ajax.d.ts
CHANGED
|
@@ -14,31 +14,37 @@
|
|
|
14
14
|
export declare class Ajax {
|
|
15
15
|
/**
|
|
16
16
|
* Specifies the URL to which request to be sent.
|
|
17
|
+
*
|
|
17
18
|
* @default null
|
|
18
19
|
*/
|
|
19
20
|
url: string;
|
|
20
21
|
/**
|
|
21
22
|
* Specifies which HTTP request method to be used. For ex., GET, POST
|
|
23
|
+
*
|
|
22
24
|
* @default GET
|
|
23
25
|
*/
|
|
24
26
|
type: string;
|
|
25
27
|
/**
|
|
26
28
|
* Specifies the data to be sent.
|
|
29
|
+
*
|
|
27
30
|
* @default null
|
|
28
31
|
*/
|
|
29
32
|
data: string | Object;
|
|
30
33
|
/**
|
|
31
34
|
* A boolean value indicating whether the request should be sent asynchronous or not.
|
|
35
|
+
*
|
|
32
36
|
* @default true
|
|
33
37
|
*/
|
|
34
38
|
mode: boolean;
|
|
35
39
|
/**
|
|
36
40
|
* Specifies the callback for creating the XMLHttpRequest object.
|
|
41
|
+
*
|
|
37
42
|
* @default null
|
|
38
43
|
*/
|
|
39
44
|
httpRequest: XMLHttpRequest;
|
|
40
45
|
/**
|
|
41
46
|
* A boolean value indicating whether to ignore the promise reject.
|
|
47
|
+
*
|
|
42
48
|
* @private
|
|
43
49
|
* @default true
|
|
44
50
|
*/
|
|
@@ -53,33 +59,39 @@ export declare class Ajax {
|
|
|
53
59
|
private dataType;
|
|
54
60
|
/**
|
|
55
61
|
* Constructor for Ajax class
|
|
56
|
-
*
|
|
57
|
-
* @param {string}
|
|
58
|
-
* @param {
|
|
59
|
-
* @
|
|
62
|
+
*
|
|
63
|
+
* @param {string|Object} options ?
|
|
64
|
+
* @param {string} type ?
|
|
65
|
+
* @param {boolean} async ?
|
|
66
|
+
* @returns defaultType any
|
|
60
67
|
*/
|
|
61
68
|
constructor(options?: string | Object, type?: string, async?: boolean, contentType?: string);
|
|
62
69
|
/**
|
|
70
|
+
*
|
|
63
71
|
* Send the request to server.
|
|
72
|
+
*
|
|
64
73
|
* @param {any} data - To send the user data
|
|
65
|
-
* @return {Promise}
|
|
74
|
+
* @return {Promise} ?
|
|
66
75
|
*/
|
|
67
76
|
send(data?: string | Object): Promise<Ajax>;
|
|
68
77
|
/**
|
|
69
78
|
* Specifies the callback function to be triggered before sending request to sever.
|
|
70
79
|
* This can be used to modify the XMLHttpRequest object before it is sent.
|
|
71
|
-
*
|
|
80
|
+
*
|
|
81
|
+
* @event beforeSend
|
|
72
82
|
*/
|
|
73
83
|
beforeSend: Function;
|
|
74
84
|
/**
|
|
75
85
|
* Specifies callback function to be triggered after XmlHttpRequest is succeeded.
|
|
76
86
|
* The callback will contain server response as the parameter.
|
|
77
|
-
*
|
|
87
|
+
*
|
|
88
|
+
* @event onSuccess
|
|
78
89
|
*/
|
|
79
90
|
onSuccess: Function;
|
|
80
91
|
/**
|
|
81
92
|
* Triggers when XmlHttpRequest is failed.
|
|
82
|
-
*
|
|
93
|
+
*
|
|
94
|
+
* @event onFailure
|
|
83
95
|
*/
|
|
84
96
|
onFailure: Function;
|
|
85
97
|
private successHandler;
|
|
@@ -87,8 +99,9 @@ export declare class Ajax {
|
|
|
87
99
|
private stateChange;
|
|
88
100
|
/**
|
|
89
101
|
* To get the response header from XMLHttpRequest
|
|
102
|
+
*
|
|
90
103
|
* @param {string} key Key to search in the response header
|
|
91
|
-
* @returns {string}
|
|
104
|
+
* @returns {string} ?
|
|
92
105
|
*/
|
|
93
106
|
getResponseHeader(key: string): string;
|
|
94
107
|
}
|
|
@@ -100,7 +113,8 @@ export interface HeaderOptions {
|
|
|
100
113
|
}
|
|
101
114
|
/**
|
|
102
115
|
* Specifies the ajax beforeSend event arguments
|
|
103
|
-
*
|
|
116
|
+
*
|
|
117
|
+
* @event BeforeSendEventArgs
|
|
104
118
|
*/
|
|
105
119
|
export interface BeforeSendEventArgs {
|
|
106
120
|
/** To cancel the ajax request in beforeSend */
|