@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.
Files changed (111) hide show
  1. package/.eslintrc.json +1 -1
  2. package/CHANGELOG.md +2 -90
  3. package/{ReadMe.md → README.md} +1 -1
  4. package/dist/ej2-base.umd.min.js +10 -1
  5. package/dist/ej2-base.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-base.es2015.js +2650 -2401
  7. package/dist/es6/ej2-base.es2015.js.map +1 -1
  8. package/dist/es6/ej2-base.es5.js +3186 -2948
  9. package/dist/es6/ej2-base.es5.js.map +1 -1
  10. package/dist/global/ej2-base.min.js +10 -1
  11. package/dist/global/ej2-base.min.js.map +1 -1
  12. package/dist/global/index.d.ts +9 -0
  13. package/e2e/crypto.js +1 -1
  14. package/e2e/index.d.ts +0 -3
  15. package/e2e/m.protractor.config.js +1 -1
  16. package/e2e/protractor.config.js +1 -1
  17. package/helpers/e2e/base.js +3 -3
  18. package/package.json +212 -212
  19. package/src/ajax.d.ts +24 -10
  20. package/src/ajax.js +14 -6
  21. package/src/animation-model.d.ts +12 -4
  22. package/src/animation.d.ts +37 -12
  23. package/src/animation.js +48 -22
  24. package/src/base.d.ts +31 -11
  25. package/src/base.js +34 -16
  26. package/src/browser.d.ts +63 -25
  27. package/src/browser.js +60 -15
  28. package/src/child-property.d.ts +21 -10
  29. package/src/child-property.js +23 -13
  30. package/src/component-model.d.ts +4 -1
  31. package/src/component.d.ts +42 -5
  32. package/src/component.js +52 -35
  33. package/src/dom.d.ts +76 -25
  34. package/src/dom.js +126 -121
  35. package/src/draggable-model.d.ts +5 -0
  36. package/src/draggable.d.ts +4 -1
  37. package/src/draggable.js +8 -2
  38. package/src/droppable-model.d.ts +7 -4
  39. package/src/droppable.d.ts +7 -3
  40. package/src/droppable.js +1 -0
  41. package/src/event-handler.d.ts +10 -6
  42. package/src/event-handler.js +11 -7
  43. package/src/hijri-parser.d.ts +12 -0
  44. package/src/hijri-parser.js +111 -90
  45. package/src/internationalization.d.ts +54 -21
  46. package/src/internationalization.js +55 -18
  47. package/src/intl/date-formatter.d.ts +19 -8
  48. package/src/intl/date-formatter.js +36 -13
  49. package/src/intl/date-parser.d.ts +30 -23
  50. package/src/intl/date-parser.js +61 -42
  51. package/src/intl/intl-base.d.ts +123 -46
  52. package/src/intl/intl-base.js +451 -377
  53. package/src/intl/number-formatter.d.ts +45 -34
  54. package/src/intl/number-formatter.js +47 -35
  55. package/src/intl/number-parser.d.ts +11 -8
  56. package/src/intl/number-parser.js +13 -11
  57. package/src/intl/parser-base.d.ts +38 -13
  58. package/src/intl/parser-base.js +45 -16
  59. package/src/keyboard-model.d.ts +5 -2
  60. package/src/keyboard.d.ts +26 -8
  61. package/src/keyboard.js +24 -9
  62. package/src/l10n.d.ts +16 -7
  63. package/src/l10n.js +16 -7
  64. package/src/module-loader.d.ts +13 -8
  65. package/src/module-loader.js +13 -9
  66. package/src/notify-property-change.d.ts +19 -7
  67. package/src/notify-property-change.js +140 -24
  68. package/src/observer.d.ts +17 -5
  69. package/src/observer.js +19 -7
  70. package/src/sanitize-helper.d.ts +1 -0
  71. package/src/sanitize-helper.js +1 -1
  72. package/src/template-engine.d.ts +30 -4
  73. package/src/template-engine.js +37 -12
  74. package/src/template.d.ts +8 -3
  75. package/src/template.js +67 -19
  76. package/src/touch-model.d.ts +11 -4
  77. package/src/touch.d.ts +51 -9
  78. package/src/touch.js +45 -13
  79. package/src/util.d.ts +67 -37
  80. package/src/util.js +99 -49
  81. package/styles/_bootstrap-definition.scss +0 -1
  82. package/styles/_bootstrap5-dark-definition.scss +10 -0
  83. package/styles/_bootstrap5-definition.scss +9 -0
  84. package/styles/_fabric-dark-definition.scss +0 -1
  85. package/styles/_highcontrast-light-definition.scss +1 -0
  86. package/styles/_material-definition.scss +1 -0
  87. package/styles/bootstrap-dark.css +2613 -32
  88. package/styles/bootstrap.css +2613 -32
  89. package/styles/bootstrap4.css +2149 -32
  90. package/styles/bootstrap5-dark.css +2161 -0
  91. package/styles/bootstrap5-dark.scss +3 -0
  92. package/styles/bootstrap5.css +2161 -0
  93. package/styles/bootstrap5.scss +3 -0
  94. package/styles/common/_core.scss +28 -63
  95. package/styles/definition/_bootstrap-dark.scss +3 -3
  96. package/styles/definition/_bootstrap.scss +1 -1
  97. package/styles/definition/_bootstrap5-dark.scss +357 -0
  98. package/styles/definition/_bootstrap5.scss +356 -0
  99. package/styles/definition/_material-dark.scss +1 -1
  100. package/styles/definition/_tailwind-dark.scss +18 -1
  101. package/styles/definition/_tailwind.scss +17 -0
  102. package/styles/fabric-dark.css +2589 -32
  103. package/styles/fabric.css +2589 -32
  104. package/styles/highcontrast-light.css +2573 -32
  105. package/styles/highcontrast.css +2573 -32
  106. package/styles/material-dark.css +2549 -32
  107. package/styles/material.css +2549 -32
  108. package/styles/tailwind-dark.css +2221 -32
  109. package/styles/tailwind.css +2221 -32
  110. package/src/virtual-dom.d.ts +0 -32
  111. package/src/virtual-dom.js +0 -449
package/src/ajax.js CHANGED
@@ -17,19 +17,22 @@ var defaultType = 'GET';
17
17
  var Ajax = /** @class */ (function () {
18
18
  /**
19
19
  * Constructor for Ajax class
20
- * @param {string|Object} options?
21
- * @param {string} type?
22
- * @param {boolean} async?
23
- * @returns defaultType
20
+ *
21
+ * @param {string|Object} options ?
22
+ * @param {string} type ?
23
+ * @param {boolean} async ?
24
+ * @returns defaultType any
24
25
  */
25
26
  function Ajax(options, type, async, contentType) {
26
27
  /**
27
28
  * A boolean value indicating whether the request should be sent asynchronous or not.
29
+ *
28
30
  * @default true
29
31
  */
30
32
  this.mode = true;
31
33
  /**
32
34
  * A boolean value indicating whether to ignore the promise reject.
35
+ *
33
36
  * @private
34
37
  * @default true
35
38
  */
@@ -48,9 +51,11 @@ var Ajax = /** @class */ (function () {
48
51
  this.contentType = (this.contentType !== undefined) ? this.contentType : contentType;
49
52
  }
50
53
  /**
54
+ *
51
55
  * Send the request to server.
56
+ *
52
57
  * @param {any} data - To send the user data
53
- * @return {Promise}
58
+ * @return {Promise} ?
54
59
  */
55
60
  Ajax.prototype.send = function (data) {
56
61
  var _this = this;
@@ -140,18 +145,21 @@ var Ajax = /** @class */ (function () {
140
145
  };
141
146
  /**
142
147
  * To get the response header from XMLHttpRequest
148
+ *
143
149
  * @param {string} key Key to search in the response header
144
- * @returns {string}
150
+ * @returns {string} ?
145
151
  */
146
152
  Ajax.prototype.getResponseHeader = function (key) {
147
153
  var responseHeaders;
148
154
  var header;
155
+ // eslint-disable-next-line
149
156
  responseHeaders = {};
150
157
  var headers = headerRegex.exec(this.httpRequest.getAllResponseHeaders());
151
158
  while (headers) {
152
159
  responseHeaders[headers[1].toLowerCase()] = headers[2];
153
160
  headers = headerRegex.exec(this.httpRequest.getAllResponseHeaders());
154
161
  }
162
+ // eslint-disable-next-line
155
163
  header = responseHeaders[key.toLowerCase()];
156
164
  return isNullOrUndefined(header) ? null : header;
157
165
  };
@@ -8,49 +8,57 @@ export interface AnimationModel {
8
8
 
9
9
  /**
10
10
  * Specify the type of animation
11
+ *
11
12
  * @default : 'FadeIn';
12
13
  */
13
14
  name?: Effect;
14
15
 
15
16
  /**
16
17
  * Specify the duration to animate
18
+ *
17
19
  * @default : 400;
18
20
  */
19
21
  duration?: number;
20
22
 
21
23
  /**
22
24
  * Specify the animation timing function
25
+ *
23
26
  * @default : 'ease';
24
27
  */
25
28
  timingFunction?: string;
26
29
 
27
30
  /**
28
31
  * Specify the delay to start animation
32
+ *
29
33
  * @default : 0;
30
34
  */
31
35
  delay?: number;
32
36
 
33
37
  /**
34
38
  * Triggers when animation is in-progress
35
- * @event
39
+ *
40
+ * @event progress
36
41
  */
37
42
  progress?: EmitType<AnimationOptions>;
38
43
 
39
44
  /**
40
45
  * Triggers when the animation is started
41
- * @event
46
+ *
47
+ * @event begin
42
48
  */
43
49
  begin?: EmitType<AnimationOptions>;
44
50
 
45
51
  /**
46
52
  * Triggers when animation is completed
47
- * @event
53
+ *
54
+ * @event end
48
55
  */
49
56
  end?: EmitType<AnimationOptions>;
50
57
 
51
58
  /**
52
59
  * Triggers when animation is failed due to any scripts
53
- * @event
60
+ *
61
+ * @event fail
54
62
  */
55
63
  fail?: EmitType<AnimationOptions>;
56
64
 
@@ -19,42 +19,50 @@ export declare type Effect = 'FadeIn' | 'FadeOut' | 'FadeZoomIn' | 'FadeZoomOut'
19
19
  export declare class Animation extends Base<HTMLElement> implements INotifyPropertyChanged {
20
20
  /**
21
21
  * Specify the type of animation
22
+ *
22
23
  * @default : 'FadeIn';
23
24
  */
24
25
  name: Effect;
25
26
  /**
26
27
  * Specify the duration to animate
28
+ *
27
29
  * @default : 400;
28
30
  */
29
31
  duration: number;
30
32
  /**
31
33
  * Specify the animation timing function
34
+ *
32
35
  * @default : 'ease';
33
36
  */
34
37
  timingFunction: string;
35
38
  /**
36
39
  * Specify the delay to start animation
40
+ *
37
41
  * @default : 0;
38
42
  */
39
43
  delay: number;
40
44
  /**
41
45
  * Triggers when animation is in-progress
42
- * @event
46
+ *
47
+ * @event progress
43
48
  */
44
49
  progress: EmitType<AnimationOptions>;
45
50
  /**
46
51
  * Triggers when the animation is started
47
- * @event
52
+ *
53
+ * @event begin
48
54
  */
49
55
  begin: EmitType<AnimationOptions>;
50
56
  /**
51
57
  * Triggers when animation is completed
52
- * @event
58
+ *
59
+ * @event end
53
60
  */
54
61
  end: EmitType<AnimationOptions>;
55
62
  /**
56
63
  * Triggers when animation is failed due to any scripts
57
- * @event
64
+ *
65
+ * @event fail
58
66
  */
59
67
  fail: EmitType<AnimationOptions>;
60
68
  /**
@@ -66,13 +74,15 @@ export declare class Animation extends Base<HTMLElement> implements INotifyPrope
66
74
  constructor(options: AnimationModel);
67
75
  /**
68
76
  * Applies animation to the current element.
77
+ *
69
78
  * @param {string | HTMLElement} element - Element which needs to be animated.
70
79
  * @param {AnimationModel} options - Overriding default animation settings.
71
- * @return {void}
80
+ * @returns {void} ?
72
81
  */
73
82
  animate(element: string | HTMLElement, options?: AnimationModel): void;
74
83
  /**
75
84
  * Stop the animation effect on animated element.
85
+ *
76
86
  * @param {HTMLElement} element - Element which needs to be stop the animation.
77
87
  * @param {AnimationOptions} model - Handling the animation model at stop function.
78
88
  * @return {void}
@@ -80,33 +90,43 @@ export declare class Animation extends Base<HTMLElement> implements INotifyPrope
80
90
  static stop(element: HTMLElement, model?: AnimationOptions): void;
81
91
  /**
82
92
  * Set delay to animation element
83
- * @param {AnimationModel} model
93
+ *
94
+ * @param {AnimationModel} model ?
84
95
  * @returns {void}
85
96
  */
86
97
  private static delayAnimation;
87
98
  /**
88
99
  * Triggers animation
89
- * @param {AnimationModel} model
100
+ *
101
+ * @param {AnimationModel} model ?
90
102
  * @returns {void}
91
103
  */
92
104
  private static applyAnimation;
93
105
  /**
94
106
  * Returns Animation Model
95
- * @param {AnimationModel} options
96
- * @returns {AnimationModel}
107
+ *
108
+ * @param {AnimationModel} options ?
109
+ * @returns {AnimationModel} ?
97
110
  */
98
111
  private getModel;
99
112
  /**
100
113
  * @private
114
+ * @param {AnimationModel} newProp ?
115
+ * @param {AnimationModel} oldProp ?
116
+ * @returns {void} ?
101
117
  */
102
118
  onPropertyChanged(newProp: AnimationModel, oldProp: AnimationModel): void;
103
119
  /**
104
120
  * Returns module name as animation
121
+ *
105
122
  * @private
123
+ * @returns {void} ?
106
124
  */
107
125
  getModuleName(): string;
108
126
  /**
127
+ *
109
128
  * @private
129
+ * @returns {void} ?
110
130
  */
111
131
  destroy(): void;
112
132
  }
@@ -131,13 +151,17 @@ export interface AnimationOptions extends AnimationModel {
131
151
  * rippleEffect(document.getElementById('ripple'));
132
152
  * </script>
133
153
  * ```
154
+ *
134
155
  * @private
135
- * @param HTMLElement element - Target element
136
- * @param RippleOptions rippleOptions - Ripple options .
156
+ * @param {HTMLElement} element - Target element
157
+ * @param {RippleOptions} rippleOptions - Ripple options .
158
+ * @param {Function} done .
159
+ * @returns {void} .
137
160
  */
138
161
  export declare function rippleEffect(element: HTMLElement, rippleOptions?: RippleOptions, done?: Function): () => void;
139
162
  /**
140
163
  * Ripple method arguments to handle ripple effect
164
+ *
141
165
  * @private
142
166
  */
143
167
  export interface RippleOptions {
@@ -165,7 +189,8 @@ export interface RippleOptions {
165
189
  export declare let isRippleEnabled: boolean;
166
190
  /**
167
191
  * Animation Module provides support to enable ripple effect functionality to Essential JS 2 components.
192
+ *
168
193
  * @param {boolean} isRipple Specifies the boolean value to enable or disable ripple effect.
169
- * @returns {boolean}
194
+ * @returns {boolean} ?
170
195
  */
171
196
  export declare function enableRipple(isRipple: boolean): boolean;
package/src/animation.js CHANGED
@@ -55,9 +55,10 @@ var Animation = /** @class */ (function (_super) {
55
55
  Animation_1 = Animation;
56
56
  /**
57
57
  * Applies animation to the current element.
58
+ *
58
59
  * @param {string | HTMLElement} element - Element which needs to be animated.
59
60
  * @param {AnimationModel} options - Overriding default animation settings.
60
- * @return {void}
61
+ * @returns {void} ?
61
62
  */
62
63
  Animation.prototype.animate = function (element, options) {
63
64
  options = !options ? {} : options;
@@ -77,6 +78,7 @@ var Animation = /** @class */ (function (_super) {
77
78
  };
78
79
  /**
79
80
  * Stop the animation effect on animated element.
81
+ *
80
82
  * @param {HTMLElement} element - Element which needs to be stop the animation.
81
83
  * @param {AnimationOptions} model - Handling the animation model at stop function.
82
84
  * @return {void}
@@ -96,7 +98,8 @@ var Animation = /** @class */ (function (_super) {
96
98
  };
97
99
  /**
98
100
  * Set delay to animation element
99
- * @param {AnimationModel} model
101
+ *
102
+ * @param {AnimationModel} model ?
100
103
  * @returns {void}
101
104
  */
102
105
  Animation.delayAnimation = function (model) {
@@ -109,7 +112,8 @@ var Animation = /** @class */ (function (_super) {
109
112
  };
110
113
  /**
111
114
  * Triggers animation
112
- * @param {AnimationModel} model
115
+ *
116
+ * @param {AnimationModel} model ?
113
117
  * @returns {void}
114
118
  */
115
119
  Animation.applyAnimation = function (model) {
@@ -117,7 +121,6 @@ var Animation = /** @class */ (function (_super) {
117
121
  model.timeStamp = 0;
118
122
  var step = 0;
119
123
  var timerId = 0;
120
- var startTime = 0;
121
124
  var prevTimeStamp = 0;
122
125
  var duration = model.duration;
123
126
  model.element.setAttribute('e-animate', 'true');
@@ -137,12 +140,12 @@ var Animation = /** @class */ (function (_super) {
137
140
  step = step + 1;
138
141
  var avg = model.timeStamp / step;
139
142
  if (model.timeStamp < duration && model.timeStamp + avg < duration && model.element.getAttribute('e-animate')) {
140
- // apply animation effect to the current element
143
+ // apply animation effect to the current element
141
144
  model.element.style.animation = model.name + ' ' + model.duration + 'ms ' + model.timingFunction;
142
145
  if (model.progress) {
143
146
  model.progress.call(_this, model);
144
147
  }
145
- // repeat requestAnimationFrame
148
+ // repeat requestAnimationFrame
146
149
  requestAnimationFrame(startAnimation);
147
150
  }
148
151
  else {
@@ -157,7 +160,7 @@ var Animation = /** @class */ (function (_super) {
157
160
  }
158
161
  }
159
162
  else {
160
- startTime = performance.now();
163
+ //startTime = performance.now();
161
164
  // set initial requestAnimationFrame
162
165
  timerId = requestAnimationFrame(startAnimation);
163
166
  model.element.setAttribute('e-animation-id', timerId.toString());
@@ -175,8 +178,9 @@ var Animation = /** @class */ (function (_super) {
175
178
  };
176
179
  /**
177
180
  * Returns Animation Model
178
- * @param {AnimationModel} options
179
- * @returns {AnimationModel}
181
+ *
182
+ * @param {AnimationModel} options ?
183
+ * @returns {AnimationModel} ?
180
184
  */
181
185
  Animation.prototype.getModel = function (options) {
182
186
  return {
@@ -193,19 +197,27 @@ var Animation = /** @class */ (function (_super) {
193
197
  };
194
198
  /**
195
199
  * @private
200
+ * @param {AnimationModel} newProp ?
201
+ * @param {AnimationModel} oldProp ?
202
+ * @returns {void} ?
196
203
  */
204
+ // eslint-disable-next-line
197
205
  Animation.prototype.onPropertyChanged = function (newProp, oldProp) {
198
206
  // no code needed
199
207
  };
200
208
  /**
201
209
  * Returns module name as animation
210
+ *
202
211
  * @private
212
+ * @returns {void} ?
203
213
  */
204
214
  Animation.prototype.getModuleName = function () {
205
215
  return 'animation';
206
216
  };
207
217
  /**
218
+ *
208
219
  * @private
220
+ * @returns {void} ?
209
221
  */
210
222
  Animation.prototype.destroy = function () {
211
223
  //Override base destroy;
@@ -249,14 +261,17 @@ export { Animation };
249
261
  * rippleEffect(document.getElementById('ripple'));
250
262
  * </script>
251
263
  * ```
264
+ *
252
265
  * @private
253
- * @param HTMLElement element - Target element
254
- * @param RippleOptions rippleOptions - Ripple options .
266
+ * @param {HTMLElement} element - Target element
267
+ * @param {RippleOptions} rippleOptions - Ripple options .
268
+ * @param {Function} done .
269
+ * @returns {void} .
255
270
  */
256
271
  export function rippleEffect(element, rippleOptions, done) {
257
272
  var rippleModel = getRippleModel(rippleOptions);
258
273
  if (rippleModel.rippleFlag === false || (rippleModel.rippleFlag === undefined && !isRippleEnabled)) {
259
- return (function () { });
274
+ return Function;
260
275
  }
261
276
  element.setAttribute('data-ripple', 'true');
262
277
  EventHandler.add(element, 'mousedown', rippleHandler, { parent: element, rippleOptions: rippleModel });
@@ -273,6 +288,12 @@ export function rippleEffect(element, rippleOptions, done) {
273
288
  EventHandler.remove(element, 'transitionend', rippleLeaveHandler);
274
289
  });
275
290
  }
291
+ /**
292
+ * Handler for ripple model
293
+ *
294
+ * @param {RippleOptions} rippleOptions ?
295
+ * @returns {RippleOptions} ?
296
+ */
276
297
  function getRippleModel(rippleOptions) {
277
298
  var rippleModel = {
278
299
  selector: rippleOptions && rippleOptions.selector ? rippleOptions.selector : null,
@@ -285,8 +306,9 @@ function getRippleModel(rippleOptions) {
285
306
  }
286
307
  /**
287
308
  * Handler for ripple event
288
- * @param {MouseEvent} e
289
- * @returns {void}
309
+ *
310
+ * @param {MouseEvent} e ?
311
+ * @returns {void} ?
290
312
  * @private
291
313
  */
292
314
  function rippleHandler(e) {
@@ -325,8 +347,9 @@ function rippleHandler(e) {
325
347
  }
326
348
  /**
327
349
  * Handler for ripple element mouse up event
328
- * @param {MouseEvent} e
329
- * @returns {void}
350
+ *
351
+ * @param {MouseEvent} e ?
352
+ * @returns {void} ?
330
353
  * @private
331
354
  */
332
355
  function rippleUpHandler(e) {
@@ -334,8 +357,9 @@ function rippleUpHandler(e) {
334
357
  }
335
358
  /**
336
359
  * Handler for ripple element mouse move event
337
- * @param {MouseEvent} e
338
- * @returns {void}
360
+ *
361
+ * @param {MouseEvent} e ?
362
+ * @returns {void} ?
339
363
  * @private
340
364
  */
341
365
  function rippleLeaveHandler(e) {
@@ -343,9 +367,10 @@ function rippleLeaveHandler(e) {
343
367
  }
344
368
  /**
345
369
  * Handler for removing ripple element
346
- * @param {MouseEvent} e
347
- * @param {rippleArgs} eventArgs
348
- * @returns {void}
370
+ *
371
+ * @param {MouseEvent} e ?
372
+ * @param {RippleArgs} eventArgs ?
373
+ * @returns {void} ?
349
374
  * @private
350
375
  */
351
376
  function removeRipple(e, eventArgs) {
@@ -380,8 +405,9 @@ function removeRipple(e, eventArgs) {
380
405
  export var isRippleEnabled = false;
381
406
  /**
382
407
  * Animation Module provides support to enable ripple effect functionality to Essential JS 2 components.
408
+ *
383
409
  * @param {boolean} isRipple Specifies the boolean value to enable or disable ripple effect.
384
- * @returns {boolean}
410
+ * @returns {boolean} ?
385
411
  */
386
412
  export function enableRipple(isRipple) {
387
413
  isRippleEnabled = isRipple;
package/src/base.d.ts CHANGED
@@ -13,6 +13,7 @@ export interface BlazorDotnetObject {
13
13
  }
14
14
  /**
15
15
  * Base library module is common module for Framework modules like touch,keyboard and etc.,
16
+ *
16
17
  * @private
17
18
  */
18
19
  export declare abstract class Base<ElementType extends HTMLElement> {
@@ -47,21 +48,26 @@ export declare abstract class Base<ElementType extends HTMLElement> {
47
48
  /** Property base section */
48
49
  /**
49
50
  * Function used to set bunch of property at a time.
51
+ *
50
52
  * @private
51
53
  * @param {Object} prop - JSON object which holds components properties.
52
- * @param {boolean} muteOnChange? - Specifies to true when we set properties.
54
+ * @param {boolean} muteOnChange ? - Specifies to true when we set properties.
55
+ * @returns {void} ?
53
56
  */
54
57
  setProperties(prop: Object, muteOnChange?: boolean): void;
55
58
  /**
56
59
  * Calls for child element data bind
57
- * @param {Object} obj
58
- * @param {Object} parent
59
- * @returns {void}
60
+ *
61
+ * @param {Object} obj ?
62
+ * @param {Object} parent ?
63
+ * @returns {void} ?
60
64
  */
61
65
  private static callChildDataBind;
62
66
  protected clearChanges(): void;
63
67
  /**
64
68
  * Bind property changes immediately to components
69
+ *
70
+ * @returns {void} ?
65
71
  */
66
72
  dataBind(): void;
67
73
  serverDataBind(newChanges?: {
@@ -71,50 +77,64 @@ export declare abstract class Base<ElementType extends HTMLElement> {
71
77
  /** Event Base Section */
72
78
  /**
73
79
  * Adds the handler to the given event listener.
80
+ *
74
81
  * @param {string} eventName - A String that specifies the name of the event
75
- * @param {Function} listener - Specifies the call to run when the event occurs.
76
- * @return {void}
82
+ * @param {Function} handler - Specifies the call to run when the event occurs.
83
+ * @returns {void} ?
77
84
  */
78
85
  addEventListener(eventName: string, handler: Function): void;
79
86
  /**
80
87
  * Removes the handler from the given event listener.
88
+ *
81
89
  * @param {string} eventName - A String that specifies the name of the event to remove
82
- * @param {Function} listener - Specifies the function to remove
83
- * @return {void}
90
+ * @param {Function} handler - Specifies the function to remove
91
+ * @returns {void} ?
84
92
  */
85
93
  removeEventListener(eventName: string, handler: Function): void;
86
94
  /**
87
95
  * Triggers the handlers in the specified event.
96
+ *
88
97
  * @private
89
98
  * @param {string} eventName - Specifies the event to trigger for the specified component properties.
90
99
  * Can be a custom event, or any of the standard events.
91
100
  * @param {Event} eventProp - Additional parameters to pass on to the event properties
92
101
  * @param {Function} successHandler - this function will invoke after event successfully triggered
93
102
  * @param {Function} errorHandler - this function will invoke after event if it failured to call.
94
- * @return {void}
103
+ * @returns {void} ?
95
104
  */
96
105
  trigger(eventName: string, eventProp?: Object, successHandler?: Function, errorHandler?: Function): void | object;
97
106
  /**
98
107
  * Base constructor accept options and element
108
+ *
109
+ * @param {Object} options ?
110
+ * @param {string} element ?
99
111
  */
100
112
  constructor(options: Object, element: ElementType | string);
101
113
  /**
102
114
  * To maintain instance in base class
115
+ *
116
+ * @returns {void} ?
103
117
  */
104
118
  protected addInstance(): void;
105
119
  /**
106
120
  * To remove the instance from the element
121
+ *
122
+ * @returns {void} ?
107
123
  */
108
124
  protected destroy(): void;
109
125
  }
110
126
  /**
111
127
  * Global function to get the component instance from the rendered element.
112
- * @param elem Specifies the HTMLElement or element id string.
113
- * @param comp Specifies the component module name or Component.
128
+ *
129
+ * @param {HTMLElement} elem Specifies the HTMLElement or element id string.
130
+ * @param {string} comp Specifies the component module name or Component.
131
+ * @returns {any} ?
114
132
  */
115
133
  export declare function getComponent<T>(elem: HTMLElement | string, comp: string | any | T): T;
116
134
  /**
117
135
  * Function to remove the child instances.
136
+ *
137
+ * @param {HTMLElement} element ?
118
138
  * @return {void}
119
139
  * @private
120
140
  */