@syncfusion/ej2-base 25.2.7 → 26.1.35

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 (108) hide show
  1. package/.eslintrc.json +3 -2
  2. package/bin/syncfusion-license.js +1 -1
  3. package/dist/ej2-base.min.js +2 -2
  4. package/dist/ej2-base.umd.min.js +2 -2
  5. package/dist/ej2-base.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-base.es2015.js +197 -423
  7. package/dist/es6/ej2-base.es2015.js.map +1 -1
  8. package/dist/es6/ej2-base.es5.js +182 -405
  9. package/dist/es6/ej2-base.es5.js.map +1 -1
  10. package/dist/global/ej2-base.min.js +2 -2
  11. package/dist/global/ej2-base.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +72 -8
  14. package/src/ajax.d.ts +1 -1
  15. package/src/ajax.js +3 -7
  16. package/src/animation.d.ts +1 -1
  17. package/src/animation.js +1 -3
  18. package/src/base.d.ts +2 -1
  19. package/src/base.js +4 -13
  20. package/src/browser.d.ts +1 -1
  21. package/src/browser.js +3 -4
  22. package/src/child-property.d.ts +1 -0
  23. package/src/child-property.js +2 -2
  24. package/src/component.d.ts +4 -0
  25. package/src/component.js +9 -17
  26. package/src/dom.js +4 -11
  27. package/src/draggable.js +1 -22
  28. package/src/droppable.js +0 -1
  29. package/src/event-handler.js +2 -6
  30. package/src/fetch.js +1 -2
  31. package/src/hijri-parser.js +3 -3
  32. package/src/internationalization.js +0 -5
  33. package/src/intl/date-formatter.js +19 -33
  34. package/src/intl/date-parser.js +33 -62
  35. package/src/intl/intl-base.d.ts +7 -0
  36. package/src/intl/intl-base.js +16 -16
  37. package/src/intl/number-formatter.js +5 -5
  38. package/src/intl/number-parser.js +2 -6
  39. package/src/intl/parser-base.js +6 -11
  40. package/src/keyboard.js +0 -1
  41. package/src/module-loader.js +1 -0
  42. package/src/notify-property-change.d.ts +0 -20
  43. package/src/notify-property-change.js +16 -55
  44. package/src/observer.js +3 -6
  45. package/src/sanitize-helper.js +0 -1
  46. package/src/template-engine.js +1 -7
  47. package/src/template.js +13 -18
  48. package/src/touch.js +3 -8
  49. package/src/util.d.ts +4 -4
  50. package/src/util.js +13 -38
  51. package/src/validate-lic.js +4 -3
  52. package/styles/_bootstrap5.3-dark-definition.scss +8 -0
  53. package/styles/_bootstrap5.3-definition.scss +8 -0
  54. package/styles/_fluent2-dark-definition.scss +9 -0
  55. package/styles/_fluent2-definition.scss +9 -0
  56. package/styles/_fluent2-highcontrast-definition.scss +9 -0
  57. package/styles/animation/_all.scss +0 -1
  58. package/styles/bootstrap-dark.css +865 -143
  59. package/styles/bootstrap.css +865 -143
  60. package/styles/bootstrap4.css +865 -143
  61. package/styles/bootstrap5-dark.css +865 -143
  62. package/styles/bootstrap5.css +865 -143
  63. package/styles/common/_core.scss +3 -7
  64. package/styles/definition/_bds-dark.scss +45 -156
  65. package/styles/definition/_bds.scss +71 -202
  66. package/styles/definition/_bootstrap-dark.scss +1 -13
  67. package/styles/definition/_bootstrap.scss +0 -13
  68. package/styles/definition/_bootstrap4.scss +24 -38
  69. package/styles/definition/_bootstrap5-dark.scss +69 -88
  70. package/styles/definition/_bootstrap5.3-dark.scss +853 -0
  71. package/styles/definition/_bootstrap5.3.scss +1486 -0
  72. package/styles/definition/_bootstrap5.scss +64 -84
  73. package/styles/definition/_fabric-dark.scss +0 -12
  74. package/styles/definition/_fabric.scss +0 -12
  75. package/styles/definition/_fluent-dark.scss +27 -96
  76. package/styles/definition/_fluent.scss +27 -97
  77. package/styles/definition/_fluent2-dark.scss +1506 -0
  78. package/styles/definition/_fluent2-highcontrast.scss +1506 -0
  79. package/styles/definition/_fluent2.scss +2264 -0
  80. package/styles/definition/_fusionnew-dark.scss +40 -78
  81. package/styles/definition/_fusionnew.scss +36 -75
  82. package/styles/definition/_highcontrast-light.scss +0 -10
  83. package/styles/definition/_highcontrast.scss +0 -12
  84. package/styles/definition/_material-dark.scss +0 -11
  85. package/styles/definition/_material.scss +1 -13
  86. package/styles/definition/_material3-dark.scss +15 -71
  87. package/styles/definition/_material3.scss +15 -84
  88. package/styles/definition/_tailwind-dark.scss +17 -66
  89. package/styles/definition/_tailwind.scss +18 -66
  90. package/styles/fabric-dark.css +865 -143
  91. package/styles/fabric.css +865 -143
  92. package/styles/fluent-dark.css +865 -143
  93. package/styles/fluent.css +865 -143
  94. package/styles/fluent2.css +3825 -0
  95. package/styles/fluent2.scss +3 -0
  96. package/styles/highcontrast-light.css +865 -143
  97. package/styles/highcontrast.css +865 -143
  98. package/styles/material-dark.css +865 -143
  99. package/styles/material.css +865 -143
  100. package/styles/material3-dark.css +865 -144
  101. package/styles/material3.css +865 -144
  102. package/styles/offline-theme/material-dark.css +865 -143
  103. package/styles/offline-theme/material.css +865 -143
  104. package/styles/offline-theme/tailwind-dark.css +866 -144
  105. package/styles/offline-theme/tailwind.css +866 -144
  106. package/styles/tailwind-dark.css +866 -144
  107. package/styles/tailwind.css +866 -144
  108. package/CHANGELOG.md +0 -649
@@ -18,7 +18,6 @@ function disableBlazorMode() {
18
18
  * @returns {any} ?
19
19
  * @private
20
20
  */
21
- // eslint-disable-next-line
22
21
  function createInstance(classFunction, params) {
23
22
  const arrayParam = params;
24
23
  arrayParam.unshift(undefined);
@@ -33,12 +32,10 @@ function createInstance(classFunction, params) {
33
32
  */
34
33
  function setImmediate(handler) {
35
34
  let unbind;
36
- // eslint-disable-next-line
37
35
  const num = new Uint16Array(5);
38
36
  const intCrypto = window.msCrypto || window.crypto;
39
37
  intCrypto.getRandomValues(num);
40
38
  let secret = 'ej2' + combineArray(num);
41
- // eslint-disable-next-line
42
39
  let messageHandler = (event) => {
43
40
  if (event.source === window && typeof event.data === 'string' && event.data.length <= 32 && event.data === secret) {
44
41
  handler();
@@ -60,9 +57,7 @@ function setImmediate(handler) {
60
57
  * @returns {any} ?
61
58
  * @private
62
59
  */
63
- // eslint-disable-next-line
64
60
  function getValue(nameSpace, obj) {
65
- // eslint-disable-next-line
66
61
  let value = obj;
67
62
  const splits = nameSpace.replace(/\[/g, '.').replace(/\]/g, '').split('.');
68
63
  for (let i = 0; i < splits.length && !isUndefined(value); i++) {
@@ -79,12 +74,9 @@ function getValue(nameSpace, obj) {
79
74
  * @returns {any} ?
80
75
  * @private
81
76
  */
82
- // eslint-disable-next-line
83
77
  function setValue(nameSpace, value, obj) {
84
78
  const keys = nameSpace.replace(/\[/g, '.').replace(/\]/g, '').split('.');
85
- // eslint-disable-next-line
86
79
  const start = obj || {};
87
- // eslint-disable-next-line
88
80
  let fromObj = start;
89
81
  let i;
90
82
  const length = keys.length;
@@ -109,14 +101,12 @@ function setValue(nameSpace, value, obj) {
109
101
  * @returns {void} ?
110
102
  * @private
111
103
  */
112
- // eslint-disable-next-line
113
104
  function deleteObject(obj, key) {
114
105
  delete obj[`${key}`];
115
106
  }
116
107
  /**
117
108
  *@private
118
109
  */
119
- // eslint-disable-next-line
120
110
  const containerObject = typeof window !== 'undefined' ? window : {};
121
111
  /**
122
112
  * Check weather the given argument is only object.
@@ -125,7 +115,6 @@ const containerObject = typeof window !== 'undefined' ? window : {};
125
115
  * @returns {boolean} ?
126
116
  * @private
127
117
  */
128
- // eslint-disable-next-line
129
118
  function isObject(obj) {
130
119
  const objCon = {};
131
120
  return (!isNullOrUndefined(obj) && obj.constructor === objCon.constructor);
@@ -138,10 +127,8 @@ function isObject(obj) {
138
127
  * @returns {any} ?
139
128
  * @private
140
129
  */
141
- // eslint-disable-next-line
142
130
  function getEnumValue(enumObject, enumValue) {
143
- // eslint-disable-next-line
144
- return enumObject[enumValue];
131
+ return enumObject[`${enumValue}`];
145
132
  }
146
133
  /**
147
134
  * Merge the source object into destination object.
@@ -181,28 +168,25 @@ function merge(source, destination) {
181
168
  function extend(copied, first, second, deep) {
182
169
  const result = copied && typeof copied === 'object' ? copied : {};
183
170
  let length = arguments.length;
171
+ const args = [copied, first, second, deep];
184
172
  if (deep) {
185
173
  length = length - 1;
186
174
  }
187
175
  for (let i = 1; i < length; i++) {
188
- // eslint-disable-next-line
189
- if (!arguments[i]) {
176
+ if (!args[parseInt(i.toString(), 10)]) {
190
177
  continue;
191
178
  }
192
- // eslint-disable-next-line
193
- let obj1 = arguments[i];
179
+ const obj1 = args[parseInt(i.toString(), 10)];
194
180
  Object.keys(obj1).forEach((key) => {
195
181
  const src = result[`${key}`];
196
182
  const copy = obj1[`${key}`];
197
183
  let clone;
198
184
  const isArrayChanged = Array.isArray(copy) && Array.isArray(src) && (copy.length !== src.length);
199
- // eslint-disable-next-line
200
185
  const blazorEventExtend = isBlazor() ? (!(src instanceof Event) && !isArrayChanged) : true;
201
186
  if (deep && blazorEventExtend && (isObject(copy) || Array.isArray(copy))) {
202
187
  if (isObject(copy)) {
203
188
  clone = src ? src : {};
204
- // eslint-disable-next-line
205
- if (Array.isArray(clone) && clone.hasOwnProperty('isComplexArray')) {
189
+ if (Array.isArray(clone) && Object.prototype.hasOwnProperty.call(clone, 'isComplexArray')) {
206
190
  extend(clone, {}, copy, deep);
207
191
  }
208
192
  else {
@@ -212,7 +196,6 @@ function extend(copied, first, second, deep) {
212
196
  else {
213
197
  /* istanbul ignore next */
214
198
  clone = isBlazor() ? src && Object.keys(copy).length : src ? src : [];
215
- // eslint-disable-next-line
216
199
  result[`${key}`] = extend([], clone, copy, (clone && clone.length) || (copy && copy.length));
217
200
  }
218
201
  }
@@ -226,7 +209,7 @@ function extend(copied, first, second, deep) {
226
209
  /**
227
210
  * To check whether the object is null or undefined.
228
211
  *
229
- * @param {Object} value - To check the object is null or undefined
212
+ * @param {any} value - To check the object is null or undefined
230
213
  * @returns {boolean} ?
231
214
  * @private
232
215
  */
@@ -236,12 +219,12 @@ function isNullOrUndefined(value) {
236
219
  /**
237
220
  * To check whether the object is undefined.
238
221
  *
239
- * @param {Object} value - To check the object is undefined
222
+ * @param {any} value - To check the object is undefined
240
223
  * @returns {boolean} ?
241
224
  * @private
242
225
  */
243
226
  function isUndefined(value) {
244
- return ('undefined' === typeof value);
227
+ return ('undefined' === typeof value || value === null);
245
228
  }
246
229
  /**
247
230
  * To return the generated unique name
@@ -262,11 +245,8 @@ function getUniqueID(definedName) {
262
245
  * @private
263
246
  */
264
247
  function debounce(eventFunction, delay) {
265
- // eslint-disable-next-line
266
248
  let out;
267
- return function () {
268
- // eslint-disable-next-line
269
- const args = arguments;
249
+ return function (...args) {
270
250
  const later = () => {
271
251
  out = null;
272
252
  return eventFunction.apply(this, args);
@@ -282,7 +262,6 @@ function debounce(eventFunction, delay) {
282
262
  * @returns {string} ?
283
263
  * @private
284
264
  */
285
- // eslint-disable-next-line
286
265
  function queryParams(data) {
287
266
  const array = [];
288
267
  const keys = Object.keys(data);
@@ -339,8 +318,7 @@ function throwError(message) {
339
318
  throw new Error(message);
340
319
  }
341
320
  catch (e) {
342
- // eslint-disable-next-line
343
- throw e.message + '\n' + e.stack;
321
+ throw new Error(e.message + '\n' + e.stack);
344
322
  }
345
323
  }
346
324
  /**
@@ -372,7 +350,6 @@ function print(element, printWindow) {
372
350
  '<script> (function() { window.ready = true; })(); </script>' + '</body></html>');
373
351
  printWindow.document.close();
374
352
  printWindow.focus();
375
- // eslint-disable-next-line
376
353
  const interval = setInterval(() => {
377
354
  if (printWindow.ready) {
378
355
  printWindow.print();
@@ -436,10 +413,8 @@ function getElement(element) {
436
413
  * @returns {Object} ?
437
414
  * @private
438
415
  */
439
- // eslint-disable-next-line
440
416
  function getInstance(element, component) {
441
- // eslint-disable-next-line
442
- let elem = (typeof (element) === 'string') ? document.querySelector(element) : element;
417
+ const elem = (typeof (element) === 'string') ? document.querySelector(element) : element;
443
418
  if (elem[`${instances}`]) {
444
419
  for (const inst of elem[`${instances}`]) {
445
420
  if (inst instanceof component) {
@@ -458,8 +433,7 @@ function getInstance(element, component) {
458
433
  * @private
459
434
  */
460
435
  function addInstance(element, instance) {
461
- // eslint-disable-next-line
462
- let elem = (typeof (element) === 'string') ? document.querySelector(element) : element;
436
+ const elem = (typeof (element) === 'string') ? document.querySelector(element) : element;
463
437
  if (elem[`${instances}`]) {
464
438
  elem[`${instances}`].push(instance);
465
439
  }
@@ -473,13 +447,11 @@ function addInstance(element, instance) {
473
447
  * @returns {any} ?
474
448
  * @private
475
449
  */
476
- // eslint-disable-next-line
477
450
  function uniqueID() {
478
451
  if ((typeof window) === 'undefined') {
479
452
  return;
480
453
  }
481
- // eslint-disable-next-line
482
- let num = new Uint16Array(5);
454
+ const num = new Uint16Array(5);
483
455
  const intCrypto = window.msCrypto || window.crypto;
484
456
  return intCrypto.getRandomValues(num);
485
457
  }
@@ -496,6 +468,7 @@ function combineArray(num) {
496
468
  return ret;
497
469
  }
498
470
 
471
+ /* eslint-disable @typescript-eslint/no-explicit-any */
499
472
  /**
500
473
  * Parser
501
474
  */
@@ -553,10 +526,8 @@ class ParserBase {
553
526
  const propKeys = keys || Object.keys(prop);
554
527
  const res = {};
555
528
  for (const key of propKeys) {
556
- // eslint-disable-next-line
557
- if (!res.hasOwnProperty(prop[key])) {
558
- // eslint-disable-next-line
559
- res[prop[key]] = key;
529
+ if (!Object.prototype.hasOwnProperty.call(res, prop[`${key}`])) {
530
+ res[prop[`${key}`]] = key;
560
531
  }
561
532
  }
562
533
  return res;
@@ -583,8 +554,7 @@ class ParserBase {
583
554
  const matchKeys = Object.keys(defaultNumberSymbols);
584
555
  const ret = {};
585
556
  for (const key of matchKeys) {
586
- // eslint-disable-next-line
587
- ret[prop[key]] = defaultNumberSymbols[key];
557
+ ret[prop[`${key}`]] = defaultNumberSymbols[`${key}`];
588
558
  }
589
559
  return ret;
590
560
  }
@@ -617,8 +587,7 @@ class ParserBase {
617
587
  */
618
588
  static convertValueParts(value, regex, obj) {
619
589
  return value.replace(regex, (str) => {
620
- // eslint-disable-next-line
621
- return obj[str];
590
+ return obj[`${str}`];
622
591
  });
623
592
  }
624
593
  /**
@@ -670,7 +639,6 @@ class ParserBase {
670
639
  * @param {boolean} isNumber ?
671
640
  * @returns {NumberMapper} ?
672
641
  */
673
- // eslint-disable-next-line
674
642
  static getNumberMapper(curObj, numberSystem, isNumber) {
675
643
  const ret = { mapper: {} };
676
644
  const cur = this.getDefaultNumberingSystem(curObj);
@@ -681,8 +649,7 @@ class ParserBase {
681
649
  const digits = getValue(cur.nSystem + '._digits', numberSystem);
682
650
  if (!isUndefined(digits)) {
683
651
  for (const i of latnNumberSystem) {
684
- // eslint-disable-next-line
685
- ret.mapper[i] = digits[i];
652
+ ret.mapper[parseInt(i.toString(), 10)] = digits[parseInt(i.toString(), 10)];
686
653
  }
687
654
  }
688
655
  }
@@ -863,7 +830,7 @@ function getBlazorCurrencySymbol(currencyCode) {
863
830
  /***
864
831
  * Hijri parser
865
832
  */
866
- // eslint-disable-next-line
833
+ // eslint-disable-next-line @typescript-eslint/no-namespace
867
834
  var HijriParser;
868
835
  (function (HijriParser) {
869
836
  const dateCorrection = [28607, 28636, 28665, 28695, 28724, 28754, 28783, 28813, 28843, 28872, 28901, 28931, 28960, 28990,
@@ -979,7 +946,7 @@ var HijriParser;
979
946
  tYear -= 1;
980
947
  tMonth += 12;
981
948
  }
982
- let yPrefix = Math.floor(tYear / 100.);
949
+ let yPrefix = Math.floor(tYear / 100);
983
950
  let julilanOffset = yPrefix - Math.floor(yPrefix / 4.) - 2;
984
951
  const julianNumber = Math.floor(365.25 * (tYear + 4716)) + Math.floor(30.6001 * (tMonth + 1)) + day - julilanOffset - 1524;
985
952
  yPrefix = Math.floor((julianNumber - 1867216.25) / 36524.25);
@@ -998,7 +965,7 @@ var HijriParser;
998
965
  year = c - 4716;
999
966
  const modifiedJulianDate = julianNumber - 2400000;
1000
967
  // date calculation for year after 2077
1001
- const iyear = 10631. / 30.;
968
+ const iyear = 10631 / 30;
1002
969
  let z = julianNumber - 1948084;
1003
970
  const cyc = Math.floor(z / 10631.);
1004
971
  z = z - 10631 * cyc;
@@ -1068,7 +1035,6 @@ var HijriParser;
1068
1035
  const abbreviateRegexGlobal = /\/MMMMM|MMMM|MMM|a|LLLL|LLL|EEEEE|EEEE|E|K|cccc|ccc|WW|W|G+|z+/gi;
1069
1036
  const standalone = 'stand-alone';
1070
1037
  const weekdayKey = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'];
1071
-
1072
1038
  const timeSetter = {
1073
1039
  m: 'getMinutes',
1074
1040
  h: 'getHours',
@@ -1095,7 +1061,6 @@ const datePartMatcher = {
1095
1061
  'f': 'milliseconds'
1096
1062
  };
1097
1063
  const timeSeparator = 'timeSeparator';
1098
- /* tslint:disable no-any */
1099
1064
  /**
1100
1065
  * Date Format is a framework provides support for date formatting.
1101
1066
  *
@@ -1143,34 +1108,30 @@ class DateFormat {
1143
1108
  case 'E':
1144
1109
  case 'c':
1145
1110
  if (isBlazor()) {
1146
- // eslint-disable-next-line
1147
- formatOptions.weekday = getValue('days.' + IntlBase.monthIndex[len], dateObject);
1111
+ formatOptions.weekday = getValue('days.' + IntlBase.monthIndex[`${len}`], dateObject);
1148
1112
  }
1149
1113
  else {
1150
- // eslint-disable-next-line
1151
- formatOptions.weekday = dependable.dateObject[IntlBase.days][standalone][IntlBase.monthIndex[len]];
1114
+ formatOptions.weekday = dependable.dateObject[`${IntlBase.days}`][`${standalone}`][IntlBase.monthIndex[`${len}`]];
1152
1115
  }
1153
1116
  break;
1154
1117
  case 'M':
1155
1118
  case 'L':
1156
1119
  if (isBlazor()) {
1157
- // eslint-disable-next-line
1158
- formatOptions.month = getValue('months.' + IntlBase.monthIndex[len], dateObject);
1120
+ formatOptions.month = getValue('months.' + IntlBase.monthIndex[`${len}`], dateObject);
1159
1121
  }
1160
1122
  else {
1161
- // eslint-disable-next-line
1162
- formatOptions.month = dependable.dateObject[IntlBase.month][standalone][IntlBase.monthIndex[len]];
1123
+ formatOptions.month = dependable.dateObject[`${IntlBase.month}`][`${standalone}`][IntlBase.monthIndex[`${len}`]];
1163
1124
  }
1164
1125
  break;
1165
1126
  case 'a':
1166
1127
  formatOptions.designator = isBlazor() ?
1167
1128
  getValue('dayPeriods', dateObject) : getValue('dayPeriods.format.wide', dateObject);
1168
1129
  break;
1169
- case 'G':
1170
- // eslint-disable-next-line
1130
+ case 'G': {
1171
1131
  const eText = (len <= 3) ? 'eraAbbr' : (len === 4) ? 'eraNames' : 'eraNarrow';
1172
1132
  formatOptions.era = isBlazor() ? getValue('eras', dateObject) : getValue('eras.' + eText, dependable.dateObject);
1173
1133
  break;
1134
+ }
1174
1135
  case 'z':
1175
1136
  formatOptions.timeZone = getValue('dates.timeZoneNames', dependable.parserObject);
1176
1137
  break;
@@ -1212,8 +1173,7 @@ class DateFormat {
1212
1173
  case 'L':
1213
1174
  curval = dObject.month;
1214
1175
  if (length > 2) {
1215
- // eslint-disable-next-line
1216
- ret += options.month[curval];
1176
+ ret += options.month[`${curval}`];
1217
1177
  }
1218
1178
  else {
1219
1179
  isNumber = true;
@@ -1221,8 +1181,7 @@ class DateFormat {
1221
1181
  break;
1222
1182
  case 'E':
1223
1183
  case 'c':
1224
- // eslint-disable-next-line
1225
- ret += options.weekday[weekdayKey[value.getDay()]];
1184
+ ret += options.weekday[`${weekdayKey[value.getDay()]}`];
1226
1185
  break;
1227
1186
  case 'H':
1228
1187
  case 'h':
@@ -1237,8 +1196,7 @@ class DateFormat {
1237
1196
  else if (char === 'f') {
1238
1197
  isNumber = false;
1239
1198
  processNumber = true;
1240
- // eslint-disable-next-line
1241
- curvalstr = value[timeSetter[char]]().toString();
1199
+ curvalstr = value[`${timeSetter[`${char}`]}`]().toString();
1242
1200
  curvalstr = curvalstr.substring(0, length);
1243
1201
  const curlength = curvalstr.length;
1244
1202
  if (length !== curlength) {
@@ -1252,8 +1210,7 @@ class DateFormat {
1252
1210
  curstr += curvalstr;
1253
1211
  }
1254
1212
  else {
1255
- // eslint-disable-next-line
1256
- curval = value[timeSetter[char]]();
1213
+ curval = value[`${timeSetter[`${char}`]}`]();
1257
1214
  }
1258
1215
  if (char === 'h') {
1259
1216
  curval = curval % 12 || 12;
@@ -1266,30 +1223,25 @@ class DateFormat {
1266
1223
  curstr = curstr.substr(curstr.length - 2);
1267
1224
  }
1268
1225
  break;
1269
- case 'a':
1270
- // eslint-disable-next-line
1271
- let desig = value.getHours() < 12 ? 'am' : 'pm';
1272
- // eslint-disable-next-line
1273
- ret += options.designator[desig];
1226
+ case 'a': {
1227
+ const desig = value.getHours() < 12 ? 'am' : 'pm';
1228
+ ret += options.designator[`${desig}`];
1274
1229
  break;
1275
- case 'G':
1276
- // eslint-disable-next-line
1277
- let dec = value.getFullYear() < 0 ? 0 : 1;
1278
- // eslint-disable-next-line
1279
- let retu = options.era[dec];
1230
+ }
1231
+ case 'G': {
1232
+ const dec = value.getFullYear() < 0 ? 0 : 1;
1233
+ let retu = options.era[`${dec}`];
1280
1234
  if (isNullOrUndefined(retu)) {
1281
- // eslint-disable-next-line
1282
1235
  retu = options.era[dec ? 0 : 1];
1283
1236
  }
1284
1237
  ret += retu || '';
1285
1238
  break;
1239
+ }
1286
1240
  case '\'':
1287
1241
  ret += (match === '\'\'') ? '\'' : match.replace(/'/g, '');
1288
1242
  break;
1289
- case 'z':
1290
- // eslint-disable-next-line
1291
- let timezone = value.getTimezoneOffset();
1292
- // eslint-disable-next-line
1243
+ case 'z': {
1244
+ const timezone = value.getTimezoneOffset();
1293
1245
  let pattern = (length < 4) ? '+H;-H' : options.timeZone.hourFormat;
1294
1246
  pattern = pattern.replace(/:/g, options.numMapper.timeSeparator);
1295
1247
  if (timezone === 0) {
@@ -1301,9 +1253,9 @@ class DateFormat {
1301
1253
  }
1302
1254
  curstr = options.timeZone.gmtFormat.replace(/\{0\}/, curstr);
1303
1255
  break;
1256
+ }
1304
1257
  case ':':
1305
- // eslint-disable-next-line
1306
- ret += options.numMapper.numberSymbols[timeSeparator];
1258
+ ret += options.numMapper.numberSymbols[`${timeSeparator}`];
1307
1259
  break;
1308
1260
  case '/':
1309
1261
  ret += options.dateSeperator;
@@ -1365,6 +1317,7 @@ class DateFormat {
1365
1317
  }
1366
1318
  }
1367
1319
 
1320
+ /* eslint-disable @typescript-eslint/no-explicit-any */
1368
1321
  const errorText = {
1369
1322
  'ms': 'minimumSignificantDigits',
1370
1323
  'ls': 'maximumSignificantDigits',
@@ -1373,7 +1326,7 @@ const errorText = {
1373
1326
  };
1374
1327
  const percentSign = 'percentSign';
1375
1328
  const minusSign = 'minusSign';
1376
- const mapper$1 = ['infinity', 'nan', 'group', 'decimal', 'exponential'];
1329
+ const mapper = ['infinity', 'nan', 'group', 'decimal', 'exponential'];
1377
1330
  /**
1378
1331
  * Module for number formatting.
1379
1332
  *
@@ -1398,7 +1351,6 @@ class NumberFormat {
1398
1351
  dOptions.numberMapper = isBlazor() ? extend({}, numObject) :
1399
1352
  ParserBase.getNumberMapper(dependable.parserObject, ParserBase.getNumberingSystem(cldr), true);
1400
1353
  dOptions.currencySymbol = isBlazor() ? getValue('currencySymbol', numObject) : IntlBase.getCurrencySymbol(dependable.numericObject, fOptions.currency || defaultCurrencyCode, option.altSymbol);
1401
- /* eslint-disable @typescript-eslint/no-explicit-any */
1402
1354
  dOptions.percentSymbol = isBlazor() ? getValue('numberSymbols.percentSign', numObject) :
1403
1355
  dOptions.numberMapper.numberSymbols[`${percentSign}`];
1404
1356
  dOptions.minusSymbol = isBlazor() ? getValue('numberSymbols.minusSign', numObject) :
@@ -1406,6 +1358,9 @@ class NumberFormat {
1406
1358
  const symbols = dOptions.numberMapper.numberSymbols;
1407
1359
  if ((option.format) && !(IntlBase.formatRegex.test(option.format))) {
1408
1360
  cOptions = IntlBase.customFormat(option.format, dOptions, dependable.numericObject);
1361
+ if (!isUndefined(fOptions.useGrouping) && fOptions.useGrouping) {
1362
+ fOptions.useGrouping = cOptions.pData.useGrouping;
1363
+ }
1409
1364
  }
1410
1365
  else {
1411
1366
  extend(fOptions, IntlBase.getProperNumericSkeleton(option.format || 'N'));
@@ -1430,7 +1385,7 @@ class NumberFormat {
1430
1385
  cOptions.nData = IntlBase.getFormatData(split[1] || '-' + split[0], true, dOptions.currencySymbol);
1431
1386
  cOptions.pData = IntlBase.getFormatData(split[0], false, dOptions.currencySymbol);
1432
1387
  if (fOptions.useGrouping) {
1433
- fOptions.groupSeparator = symbols[mapper$1[2]];
1388
+ fOptions.groupSeparator = symbols[mapper[2]];
1434
1389
  fOptions.groupData = this.getGroupingDetails(split[0]);
1435
1390
  }
1436
1391
  }
@@ -1461,10 +1416,10 @@ class NumberFormat {
1461
1416
  extend(cOptions.pData, fOptions);
1462
1417
  return (value) => {
1463
1418
  if (isNaN(value)) {
1464
- return symbols[mapper$1[1]];
1419
+ return symbols[mapper[1]];
1465
1420
  }
1466
1421
  else if (!isFinite(value)) {
1467
- return symbols[mapper$1[0]];
1422
+ return symbols[mapper[0]];
1468
1423
  }
1469
1424
  return this.intNumberFormatter(value, cOptions, dOptions, option);
1470
1425
  };
@@ -1505,8 +1460,7 @@ class NumberFormat {
1505
1460
  const decide = isFraction ? 'f' : 's';
1506
1461
  let dint = 0;
1507
1462
  const str1 = errorText['l' + decide];
1508
- // eslint-disable-next-line
1509
- let str2 = errorText['m' + decide];
1463
+ const str2 = errorText['m' + decide];
1510
1464
  if (!isUndefined(val1)) {
1511
1465
  this.checkRange(val1, str1, isFraction);
1512
1466
  dint++;
@@ -1585,7 +1539,7 @@ class NumberFormat {
1585
1539
  let decimalPart = temp[1];
1586
1540
  const len = decimalPart.length;
1587
1541
  for (let i = len - 1; i >= 0; i--) {
1588
- if (decimalPart[`${i}`] === '0' && i >= curData.minimumFractionDigits) {
1542
+ if (decimalPart[parseInt(i.toString(), 10)] === '0' && i >= curData.minimumFractionDigits) {
1589
1543
  decimalPart = decimalPart.slice(0, i);
1590
1544
  }
1591
1545
  else {
@@ -1597,13 +1551,12 @@ class NumberFormat {
1597
1551
  }
1598
1552
  if (curData.type === 'scientific') {
1599
1553
  fValue = value.toExponential(curData.maximumFractionDigits);
1600
- fValue = fValue.replace('e', dOptions.numberMapper.numberSymbols[mapper$1[4]]);
1554
+ fValue = fValue.replace('e', dOptions.numberMapper.numberSymbols[mapper[4]]);
1601
1555
  }
1602
- fValue = fValue.replace('.', dOptions.numberMapper.numberSymbols[mapper$1[3]]);
1556
+ fValue = fValue.replace('.', dOptions.numberMapper.numberSymbols[mapper[3]]);
1603
1557
  fValue = curData.format === '#,###,,;(#,###,,)' ? this.customPivotFormat(parseInt(fValue, 10)) : fValue;
1604
1558
  if (curData.useGrouping) {
1605
- /* eslint-disable @typescript-eslint/no-explicit-any */
1606
- fValue = this.groupNumbers(fValue, curData.groupData.primary, curData.groupSeparator || ',', dOptions.numberMapper.numberSymbols[mapper$1[3]] || '.', curData.groupData.secondary);
1559
+ fValue = this.groupNumbers(fValue, curData.groupData.primary, curData.groupSeparator || ',', dOptions.numberMapper.numberSymbols[mapper[3]] || '.', curData.groupData.secondary);
1607
1560
  }
1608
1561
  fValue = ParserBase.convertValueParts(fValue, IntlBase.latnParseRegex, dOptions.numberMapper.mapper);
1609
1562
  if (curData.nlead === 'N/A') {
@@ -1729,7 +1682,6 @@ class NumberFormat {
1729
1682
  static customPivotFormat(value) {
1730
1683
  if (value >= 500000) {
1731
1684
  value /= 1000000;
1732
- // eslint-disable-next-line
1733
1685
  const [integer, decimal] = value.toString().split('.');
1734
1686
  return decimal && +decimal.substring(0, 1) >= 5
1735
1687
  ? Math.ceil(value).toString()
@@ -1750,7 +1702,6 @@ const timeSetter$1 = {
1750
1702
  milliseconds: 'setMilliseconds'
1751
1703
  };
1752
1704
  const month = 'months';
1753
- /* tslint:disable no-any */
1754
1705
  /**
1755
1706
  * Date Parser.
1756
1707
  *
@@ -1788,17 +1739,15 @@ class DateParser {
1788
1739
  let zCorrectTemp = 0;
1789
1740
  let isgmtTraversed = false;
1790
1741
  const nRegx = numOptions.numericRegex;
1791
- // eslint-disable-next-line
1792
- let numMapper = isBlazor() ? dependable.parserObject.numbers :
1793
- ParserBase.getNumberMapper(dependable.parserObject, ParserBase.getNumberingSystem(cldr));
1742
+ const numMapper = isBlazor() ? dependable.parserObject.numbers
1743
+ : ParserBase.getNumberMapper(dependable.parserObject, ParserBase.getNumberingSystem(cldr));
1794
1744
  for (let i = 0; i < length; i++) {
1795
1745
  const str = patternMatch[parseInt(i.toString(), 10)];
1796
1746
  const len = str.length;
1797
1747
  const char = (str[0] === 'K') ? 'h' : str[0];
1798
1748
  let isNumber;
1799
1749
  let canUpdate;
1800
- // eslint-disable-next-line
1801
- let charKey = datePartMatcher[char];
1750
+ const charKey = datePartMatcher[`${char}`];
1802
1751
  const optional = (len === 2) ? '' : '?';
1803
1752
  if (isgmtTraversed) {
1804
1753
  gmtCorrection = zCorrectTemp;
@@ -1806,22 +1755,18 @@ class DateParser {
1806
1755
  }
1807
1756
  switch (char) {
1808
1757
  case 'E':
1809
- case 'c':
1810
- // eslint-disable-next-line
1758
+ case 'c': {
1811
1759
  let weekData;
1812
1760
  if (isBlazor()) {
1813
- // eslint-disable-next-line
1814
- weekData = getValue('days.' + IntlBase.monthIndex[len], dependable.dateObject);
1761
+ weekData = getValue('days.' + IntlBase.monthIndex[`${len}`], dependable.dateObject);
1815
1762
  }
1816
1763
  else {
1817
- // eslint-disable-next-line
1818
- weekData = dependable.dateObject[IntlBase.days][standalone$1][IntlBase.monthIndex[len]];
1764
+ weekData = dependable.dateObject[`${IntlBase.days}`][`${standalone$1}`][IntlBase.monthIndex[`${len}`]];
1819
1765
  }
1820
- // eslint-disable-next-line
1821
- let weekObject = ParserBase.reverseObject(weekData);
1822
- // tslint:enable
1766
+ const weekObject = ParserBase.reverseObject(weekData);
1823
1767
  regexString += '(' + Object.keys(weekObject).join('|') + ')';
1824
1768
  break;
1769
+ }
1825
1770
  case 'M':
1826
1771
  case 'L':
1827
1772
  case 'd':
@@ -1834,17 +1779,13 @@ class DateParser {
1834
1779
  if ((char === 'M' || char === 'L') && len > 2) {
1835
1780
  let monthData;
1836
1781
  if (isBlazor()) {
1837
- // eslint-disable-next-line
1838
- monthData = getValue('months.' + IntlBase.monthIndex[len], dependable.dateObject);
1782
+ monthData = getValue('months.' + IntlBase.monthIndex[`${len}`], dependable.dateObject);
1839
1783
  }
1840
1784
  else {
1841
- // eslint-disable-next-line
1842
- monthData = dependable.dateObject[month][standalone$1][IntlBase.monthIndex[len]];
1785
+ monthData = dependable.dateObject[`${month}`][`${standalone$1}`][IntlBase.monthIndex[`${len}`]];
1843
1786
  }
1844
- // eslint-disable-next-line
1845
- parseOptions[charKey] = ParserBase.reverseObject(monthData);
1846
- // eslint-disable-next-line
1847
- regexString += '(' + Object.keys(parseOptions[charKey]).join('|') + ')';
1787
+ parseOptions[`${charKey}`] = ParserBase.reverseObject(monthData);
1788
+ regexString += '(' + Object.keys(parseOptions[`${charKey}`]).join('|') + ')';
1848
1789
  }
1849
1790
  else if (char === 'f') {
1850
1791
  if (len > 3) {
@@ -1861,11 +1802,11 @@ class DateParser {
1861
1802
  parseOptions.hour12 = true;
1862
1803
  }
1863
1804
  break;
1864
- case 'W':
1865
- // eslint-disable-next-line
1866
- let opt = len === 1 ? '?' : '';
1805
+ case 'W': {
1806
+ const opt = len === 1 ? '?' : '';
1867
1807
  regexString += '(' + nRegx + opt + nRegx + ')';
1868
1808
  break;
1809
+ }
1869
1810
  case 'y':
1870
1811
  canUpdate = isNumber = true;
1871
1812
  if (len === 2) {
@@ -1875,48 +1816,41 @@ class DateParser {
1875
1816
  regexString += '(' + nRegx + '{' + len + ',})';
1876
1817
  }
1877
1818
  break;
1878
- case 'a':
1819
+ case 'a': {
1879
1820
  canUpdate = true;
1880
- // eslint-disable-next-line
1881
- let periodValur = isBlazor() ?
1821
+ const periodValur = isBlazor() ?
1882
1822
  getValue('dayPeriods', dependable.dateObject) :
1883
1823
  getValue('dayPeriods.format.wide', dependable.dateObject);
1884
- // eslint-disable-next-line
1885
- parseOptions[charKey] = ParserBase.reverseObject(periodValur);
1886
- // eslint-disable-next-line
1887
- regexString += '(' + Object.keys(parseOptions[charKey]).join('|') + ')';
1824
+ parseOptions[`${charKey}`] = ParserBase.reverseObject(periodValur);
1825
+ regexString += '(' + Object.keys(parseOptions[`${charKey}`]).join('|') + ')';
1888
1826
  break;
1889
- case 'G':
1827
+ }
1828
+ case 'G': {
1890
1829
  canUpdate = true;
1891
- // eslint-disable-next-line
1892
- let eText = (len <= 3) ? 'eraAbbr' : (len === 4) ? 'eraNames' : 'eraNarrow';
1893
- // eslint-disable-next-line
1894
- parseOptions[charKey] = ParserBase.reverseObject(isBlazor() ?
1830
+ const eText = (len <= 3) ? 'eraAbbr' : (len === 4) ? 'eraNames' : 'eraNarrow';
1831
+ parseOptions[`${charKey}`] = ParserBase.reverseObject(isBlazor() ?
1895
1832
  getValue('eras', dependable.dateObject) : getValue('eras.' + eText, dependable.dateObject));
1896
- // eslint-disable-next-line
1897
- regexString += '(' + Object.keys(parseOptions[charKey]).join('|') + '?)';
1833
+ regexString += '(' + Object.keys(parseOptions[`${charKey}`]).join('|') + '?)';
1898
1834
  break;
1899
- case 'z':
1900
- // eslint-disable-next-line
1901
- let tval = new Date().getTimezoneOffset();
1835
+ }
1836
+ case 'z': {
1837
+ const tval = new Date().getTimezoneOffset();
1902
1838
  canUpdate = (tval !== 0);
1903
- // eslint-disable-next-line
1904
- parseOptions[charKey] = getValue('dates.timeZoneNames', dependable.parserObject);
1905
- // eslint-disable-next-line
1906
- let tzone = parseOptions[charKey];
1839
+ parseOptions[`${charKey}`] = getValue('dates.timeZoneNames', dependable.parserObject);
1840
+ const tzone = parseOptions[`${charKey}`];
1907
1841
  hourOnly = (len < 4);
1908
- // eslint-disable-next-line
1909
1842
  let hpattern = hourOnly ? '+H;-H' : tzone.hourFormat;
1910
1843
  hpattern = hpattern.replace(/:/g, numMapper.timeSeparator);
1911
1844
  regexString += '(' + this.parseTimeZoneRegx(hpattern, tzone, nRegx) + ')?';
1912
1845
  isgmtTraversed = true;
1913
1846
  zCorrectTemp = hourOnly ? 6 : 12;
1914
1847
  break;
1915
- case '\'':
1916
- // eslint-disable-next-line
1917
- let iString = str.replace(/'/g, '');
1848
+ }
1849
+ case '\'': {
1850
+ const iString = str.replace(/'/g, '');
1918
1851
  regexString += '(' + iString + ')?';
1919
1852
  break;
1853
+ }
1920
1854
  default:
1921
1855
  regexString += '([\\D])';
1922
1856
  break;
@@ -1948,7 +1882,6 @@ class DateParser {
1948
1882
  if (is2DigitYear) {
1949
1883
  tYear = parseInt((dobj.year + '').slice(0, 2) + ystrig, 10);
1950
1884
  }
1951
- // tslint:disable-next-line
1952
1885
  const dateObject = HijriParser.toGregorian(tYear || dobj.year, tMonth || dobj.month, tDate || dobj.date);
1953
1886
  parsedDateParts.year = dateObject.getFullYear();
1954
1887
  parsedDateParts.month = dateObject.getMonth() + 1;
@@ -1957,7 +1890,6 @@ class DateParser {
1957
1890
  return this.getDateObject(parsedDateParts);
1958
1891
  };
1959
1892
  }
1960
- /* tslint:disable */
1961
1893
  /**
1962
1894
  * Returns date object for provided date options
1963
1895
  *
@@ -1981,8 +1913,7 @@ class DateParser {
1981
1913
  res.setFullYear(y);
1982
1914
  }
1983
1915
  for (const key of tKeys) {
1984
- // eslint-disable-next-line
1985
- let tValue = options[key];
1916
+ let tValue = options[`${key}`];
1986
1917
  if (isUndefined(tValue) && key === 'day') {
1987
1918
  res.setDate(1);
1988
1919
  }
@@ -1994,8 +1925,7 @@ class DateParser {
1994
1925
  }
1995
1926
  const pDate = res.getDate();
1996
1927
  res.setDate(1);
1997
- // eslint-disable-next-line
1998
- res[timeSetter$1[key]](tValue);
1928
+ res[timeSetter$1[`${key}`]](tValue);
1999
1929
  const lDate = new Date(res.getFullYear(), tValue + 1, 0).getDate();
2000
1930
  res.setDate(pDate < lDate ? pDate : lDate);
2001
1931
  }
@@ -2006,8 +1936,7 @@ class DateParser {
2006
1936
  return null;
2007
1937
  }
2008
1938
  }
2009
- // eslint-disable-next-line
2010
- res[timeSetter$1[key]](tValue);
1939
+ res[`${timeSetter$1[`${key}`]}`](tValue);
2011
1940
  }
2012
1941
  }
2013
1942
  }
@@ -2048,8 +1977,7 @@ class DateParser {
2048
1977
  const curObject = parseOptions.evalposition[`${prop}`];
2049
1978
  let matchString = matches[curObject.pos];
2050
1979
  if (curObject.isNumber) {
2051
- // eslint-disable-next-line
2052
- retOptions[prop] = this.internalNumberParser(matchString, num);
1980
+ retOptions[`${prop}`] = this.internalNumberParser(matchString, num);
2053
1981
  }
2054
1982
  else {
2055
1983
  if (prop === 'timeZone' && !isUndefined(matchString)) {
@@ -2070,14 +1998,11 @@ class DateParser {
2070
1998
  }
2071
1999
  else {
2072
2000
  const cultureOptions = ['en-US', 'en-MH', 'en-MP'];
2073
- // eslint-disable-next-line
2074
2001
  matchString = ((prop === 'month') && (!parseOptions.isIslamic) && (parseOptions.culture === 'en' || parseOptions.culture === 'en-GB' || parseOptions.culture === 'en-US'))
2075
2002
  ? matchString[0].toUpperCase() + matchString.substring(1).toLowerCase() : matchString;
2076
- // eslint-disable-next-line
2077
2003
  matchString = ((prop !== 'month') && (prop === 'designator') && parseOptions.culture && parseOptions.culture.indexOf('en-') !== -1 && cultureOptions.indexOf(parseOptions.culture) === -1)
2078
2004
  ? matchString.toLowerCase() : matchString;
2079
- // eslint-disable-next-line
2080
- retOptions[prop] = parseOptions[prop][matchString];
2005
+ retOptions[`${prop}`] = parseOptions[`${prop}`][`${matchString}`];
2081
2006
  }
2082
2007
  }
2083
2008
  }
@@ -2113,7 +2038,6 @@ class DateParser {
2113
2038
  const pattern = tZone.gmtFormat;
2114
2039
  let ret;
2115
2040
  const cRegex = '(' + nRegex + ')' + '(' + nRegex + ')';
2116
- let splitStr;
2117
2041
  ret = hourFormat.replace('+', '\\+');
2118
2042
  if (hourFormat.indexOf('HH') !== -1) {
2119
2043
  ret = ret.replace(/HH|mm/g, '(' + cRegex + ')');
@@ -2121,8 +2045,7 @@ class DateParser {
2121
2045
  else {
2122
2046
  ret = ret.replace(/H|m/g, '(' + cRegex + '?)');
2123
2047
  }
2124
- // eslint-disable-next-line
2125
- splitStr = (ret.split(';').map((str) => {
2048
+ const splitStr = (ret.split(';').map((str) => {
2126
2049
  return pattern.replace('{0}', str);
2127
2050
  }));
2128
2051
  ret = splitStr.join('|') + '|' + tZone.gmtZeroFormat;
@@ -2150,9 +2073,8 @@ class DateParser {
2150
2073
  }
2151
2074
  }
2152
2075
 
2153
- const regExp$1 = RegExp;
2154
- // eslint-disable-next-line
2155
- const parseRegex = new regExp$1('^([^0-9]*)' + '(([0-9,]*[0-9]+)(\.[0-9]+)?)' + '([Ee][+-]?[0-9]+)?([^0-9]*)$');
2076
+ const regExp = RegExp;
2077
+ const parseRegex = new regExp('^([^0-9]*)' + '(([0-9,]*[0-9]+)(.[0-9]+)?)' + '([Ee][+-]?[0-9]+)?([^0-9]*)$');
2156
2078
  const groupRegex = /,/g;
2157
2079
  const keys = ['minusSign', 'infinity'];
2158
2080
  /**
@@ -2172,7 +2094,6 @@ class NumberParser {
2172
2094
  static numberParser(culture, option, cldr) {
2173
2095
  const dependable = IntlBase.getDependables(cldr, culture, '', true);
2174
2096
  const parseOptions = { custom: true };
2175
- let numOptions;
2176
2097
  if ((IntlBase.formatRegex.test(option.format)) || !(option.format)) {
2177
2098
  extend(parseOptions, IntlBase.getProperNumericSkeleton(option.format || 'N'));
2178
2099
  parseOptions.custom = false;
@@ -2186,10 +2107,8 @@ class NumberParser {
2186
2107
  extend(parseOptions, IntlBase.customFormat(option.format, null, null));
2187
2108
  }
2188
2109
  const numbers = getValue('numbers', dependable.parserObject);
2189
- // eslint-disable-next-line
2190
- numOptions = ParserBase.getCurrentNumericOptions(dependable.parserObject, ParserBase.getNumberingSystem(cldr), true, isBlazor());
2110
+ const numOptions = ParserBase.getCurrentNumericOptions(dependable.parserObject, ParserBase.getNumberingSystem(cldr), true, isBlazor());
2191
2111
  parseOptions.symbolRegex = ParserBase.getSymbolRegex(Object.keys(numOptions.symbolMatch));
2192
- // eslint-disable-next-line
2193
2112
  parseOptions.infinity = numOptions.symbolNumberSystem[keys[1]];
2194
2113
  let symbolpattern;
2195
2114
  if (!isBlazor()) {
@@ -2281,6 +2200,7 @@ class NumberParser {
2281
2200
  }
2282
2201
  }
2283
2202
 
2203
+ /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types */
2284
2204
  class Observer {
2285
2205
  constructor(context) {
2286
2206
  this.ranArray = [];
@@ -2419,7 +2339,6 @@ class Observer {
2419
2339
  }
2420
2340
  }
2421
2341
  }
2422
- // eslint-disable-next-line
2423
2342
  dateReviver(key, value) {
2424
2343
  const dPattern = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/;
2425
2344
  if (isBlazor && typeof value === 'string' && value.match(dPattern) !== null) {
@@ -2450,12 +2369,10 @@ class Observer {
2450
2369
  * @returns {void} ?
2451
2370
  */
2452
2371
  offIntlEvents() {
2453
- // eslint-disable-next-line
2454
2372
  const eventsArr = this.boundedEvents['notifyExternalChange'];
2455
2373
  if (eventsArr) {
2456
2374
  for (let i = 0; i < eventsArr.length; i++) {
2457
- // eslint-disable-next-line
2458
- const curContext = eventsArr[`${i}`].context;
2375
+ const curContext = eventsArr[parseInt(i.toString(), 10)].context;
2459
2376
  if (curContext && curContext.detectFunction && curContext.randomId && !curContext.isRendered) {
2460
2377
  this.off('notifyExternalChange', curContext.detectFunction, curContext.randomId);
2461
2378
  i--;
@@ -2473,8 +2390,7 @@ class Observer {
2473
2390
  * @returns {boolean} ?
2474
2391
  */
2475
2392
  notExist(prop) {
2476
- // eslint-disable-next-line
2477
- return this.boundedEvents.hasOwnProperty(prop) === false || this.boundedEvents[prop].length <= 0;
2393
+ return Object.prototype.hasOwnProperty.call(this.boundedEvents, prop) === false || this.boundedEvents[`${prop}`].length <= 0;
2478
2394
  }
2479
2395
  /**
2480
2396
  * Returns if the handler is present.
@@ -2519,7 +2435,7 @@ let defaultCulture = 'en-US';
2519
2435
  * @private
2520
2436
  */
2521
2437
  let defaultCurrencyCode = 'USD';
2522
- const mapper = ['numericObject', 'dateObject'];
2438
+ const mapper$1 = ['numericObject', 'dateObject'];
2523
2439
  /**
2524
2440
  * Internationalization class provides support to parse and format the number and date object to the desired format.
2525
2441
  * ```typescript
@@ -2736,10 +2652,8 @@ function enableRtl(status = true) {
2736
2652
  * @private
2737
2653
  */
2738
2654
  function getNumericObject(locale, type) {
2739
- // eslint-disable-next-line
2740
- let numObject = IntlBase.getDependables(cldrData, locale, '', true)[mapper[0]];
2741
- // eslint-disable-next-line
2742
- const dateObject = IntlBase.getDependables(cldrData, locale, '')[mapper[1]];
2655
+ const numObject = IntlBase.getDependables(cldrData, locale, '', true)[mapper$1[0]];
2656
+ const dateObject = IntlBase.getDependables(cldrData, locale, '')[mapper$1[1]];
2743
2657
  const numSystem = getValue('defaultNumberingSystem', numObject);
2744
2658
  const symbPattern = isBlazor() ? getValue('numberSymbols', numObject) : getValue('symbols-numberSystem-' + numSystem, numObject);
2745
2659
  const pattern = IntlBase.getSymbolPattern(type || 'decimal', numSystem, numObject, false);
@@ -2755,9 +2669,7 @@ function getNumericObject(locale, type) {
2755
2669
  * @private
2756
2670
  */
2757
2671
  function getNumberDependable(locale, currency) {
2758
- // eslint-disable-next-line
2759
2672
  const numObject = IntlBase.getDependables(cldrData, locale, '', true);
2760
- // eslint-disable-next-line
2761
2673
  return IntlBase.getCurrencySymbol(numObject.numericObject, currency);
2762
2674
  }
2763
2675
  /**
@@ -2769,11 +2681,11 @@ function getNumberDependable(locale, currency) {
2769
2681
  * @private
2770
2682
  */
2771
2683
  function getDefaultDateObject(mode) {
2772
- // eslint-disable-next-line
2773
- return IntlBase.getDependables(cldrData, '', mode, false)[mapper[1]];
2684
+ return IntlBase.getDependables(cldrData, '', mode, false)[mapper$1[1]];
2774
2685
  }
2775
2686
 
2776
- const regExp = RegExp;
2687
+ /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types */
2688
+ const regExp$1 = RegExp;
2777
2689
  const blazorCultureFormats = {
2778
2690
  'en-US': {
2779
2691
  'd': 'M/d/y',
@@ -2798,13 +2710,13 @@ const blazorCultureFormats = {
2798
2710
  /**
2799
2711
  * Date base common constants and function for date parser and formatter.
2800
2712
  */
2801
- // eslint-disable-next-line
2713
+ // eslint-disable-next-line @typescript-eslint/no-namespace
2802
2714
  var IntlBase;
2803
2715
  (function (IntlBase) {
2804
- /* eslint-disable */
2805
- // tslint:disable-next-line:max-line-length.
2716
+ // eslint-disable-next-line security/detect-unsafe-regex
2806
2717
  IntlBase.negativeDataRegex = /^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
2807
- IntlBase.customRegex = /^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0#\ ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
2718
+ // eslint-disable-next-line security/detect-unsafe-regex
2719
+ IntlBase.customRegex = /^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0# ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
2808
2720
  IntlBase.latnParseRegex = /0|1|2|3|4|5|6|7|8|9/g;
2809
2721
  const fractionRegex = /[0-9]/g;
2810
2722
  IntlBase.defaultCurrency = '$';
@@ -2835,8 +2747,8 @@ var IntlBase;
2835
2747
  'fri': 5,
2836
2748
  'sat': 6
2837
2749
  };
2838
- IntlBase.formatRegex = new regExp("(^[ncpae]{1})([0-1]?[0-9]|20)?$", "i");
2839
- IntlBase.currencyFormatRegex = new regExp("(^[ca]{1})([0-1]?[0-9]|20)?$", "i");
2750
+ IntlBase.formatRegex = new regExp$1('(^[ncpae]{1})([0-1]?[0-9]|20)?$', 'i');
2751
+ IntlBase.currencyFormatRegex = new regExp$1('(^[ca]{1})([0-1]?[0-9]|20)?$', 'i');
2840
2752
  IntlBase.curWithoutNumberRegex = /(c|a)$/ig;
2841
2753
  const typeMapper = {
2842
2754
  '$': 'isCurrency',
@@ -2847,7 +2759,6 @@ var IntlBase;
2847
2759
  };
2848
2760
  IntlBase.dateParseRegex = /([a-z])\1*|'([^']|'')+'|''|./gi;
2849
2761
  IntlBase.basicPatterns = ['short', 'medium', 'long', 'full'];
2850
- /* tslint:disable:quotemark */
2851
2762
  IntlBase.defaultObject = {
2852
2763
  'dates': {
2853
2764
  'calendars': {
@@ -3398,7 +3309,6 @@ var IntlBase;
3398
3309
  }
3399
3310
  }
3400
3311
  };
3401
- /* tslint:enable:quotemark */
3402
3312
  IntlBase.monthIndex = {
3403
3313
  3: 'abbreviated',
3404
3314
  4: 'wide',
@@ -3542,7 +3452,7 @@ var IntlBase;
3542
3452
  const ret = {};
3543
3453
  const pattern = matches[1].toUpperCase();
3544
3454
  ret.isAccount = (pattern === 'A');
3545
- ret.type = IntlBase.patternMatcher[pattern];
3455
+ ret.type = IntlBase.patternMatcher[`${pattern}`];
3546
3456
  if (skeleton.length > 1) {
3547
3457
  ret.fractionDigits = parseInt(matches[2], 10);
3548
3458
  }
@@ -3629,7 +3539,7 @@ var IntlBase;
3629
3539
  const formatSplit = format.split(';');
3630
3540
  const data = ['pData', 'nData', 'zeroData'];
3631
3541
  for (let i = 0; i < formatSplit.length; i++) {
3632
- options[data[i]] = customNumberFormat(formatSplit[i], dOptions, obj);
3542
+ options[`${data[parseInt(i.toString(), 10)]}`] = customNumberFormat(formatSplit[parseInt(i.toString(), 10)], dOptions, obj);
3633
3543
  }
3634
3544
  if (isNullOrUndefined(options.nData)) {
3635
3545
  options.nData = extend({}, options.pData);
@@ -3657,8 +3567,8 @@ var IntlBase;
3657
3567
  cOptions.nlead = pattern[1];
3658
3568
  cOptions.nend = pattern[10];
3659
3569
  let integerPart = pattern[6];
3660
- const spaceCapture = integerPart.match(/\ $/g) ? true : false;
3661
- const spaceGrouping = integerPart.replace(/\ $/g, '').indexOf(' ') !== -1;
3570
+ const spaceCapture = integerPart.match(/ $/g) ? true : false;
3571
+ const spaceGrouping = integerPart.replace(/ $/g, '').indexOf(' ') !== -1;
3662
3572
  cOptions.useGrouping = integerPart.indexOf(',') !== -1 || spaceGrouping;
3663
3573
  integerPart = integerPart.replace(/,/g, '');
3664
3574
  const fractionPart = pattern[7];
@@ -3712,8 +3622,8 @@ var IntlBase;
3712
3622
  const part = parts[parseInt(i.toString(), 10)];
3713
3623
  const loc = part.indexOf(actual);
3714
3624
  if ((loc !== -1) && ((loc < part.indexOf('\'')) || (loc > part.lastIndexOf('\'')))) {
3715
- options[typeMapper[i]] = part.substr(0, loc) + symbol + part.substr(loc + 1);
3716
- options[typeMapper[actual]] = true;
3625
+ options[`${typeMapper[parseInt(i.toString(), 10)]}`] = part.substr(0, loc) + symbol + part.substr(loc + 1);
3626
+ options[`${typeMapper[`${actual}`]}`] = true;
3717
3627
  options.type = options.isCurrency ? 'currency' : 'percent';
3718
3628
  break;
3719
3629
  }
@@ -3729,7 +3639,7 @@ var IntlBase;
3729
3639
  * @returns {string} ?
3730
3640
  */
3731
3641
  function getDateSeparator(dateObj) {
3732
- const value = (getValue('dateFormats.short', dateObj) || '').match(/[d‏M‏]([^d‏M])[d‏M‏]/i);
3642
+ const value = (getValue('dateFormats.short', dateObj) || '').match(/[dM]([^dM])[dM]/i);
3733
3643
  return value ? value[1] : '/';
3734
3644
  }
3735
3645
  IntlBase.getDateSeparator = getDateSeparator;
@@ -3751,7 +3661,7 @@ var IntlBase;
3751
3661
  let actualPattern = options.format || getResultantPattern(options.skeleton, dependable.dateObject, options.type);
3752
3662
  if (isExcelFormat) {
3753
3663
  actualPattern = actualPattern.replace(patternRegex, (pattern) => {
3754
- return patternMatch[pattern];
3664
+ return patternMatch[`${pattern}`];
3755
3665
  });
3756
3666
  if (actualPattern.indexOf('z') !== -1) {
3757
3667
  const tLength = actualPattern.match(/z/g).length;
@@ -3785,7 +3695,7 @@ var IntlBase;
3785
3695
  */
3786
3696
  function processSymbol(actual, option) {
3787
3697
  if (actual.indexOf(',') !== -1) {
3788
- let split = actual.split(',');
3698
+ const split = actual.split(',');
3789
3699
  actual = (split[0] + getValue('numberMapper.numberSymbols.group', option) +
3790
3700
  split[1].replace('.', getValue('numberMapper.numberSymbols.decimal', option)));
3791
3701
  }
@@ -3794,6 +3704,7 @@ var IntlBase;
3794
3704
  }
3795
3705
  return actual;
3796
3706
  }
3707
+ IntlBase.processSymbol = processSymbol;
3797
3708
  /**
3798
3709
  * Returns Native Number pattern
3799
3710
  *
@@ -4051,7 +3962,7 @@ class Ajax {
4051
3962
  * Send the request to server.
4052
3963
  *
4053
3964
  * @param {any} data - To send the user data
4054
- * @return {Promise} ?
3965
+ * @returns {Promise} ?
4055
3966
  */
4056
3967
  send(data) {
4057
3968
  this.data = isNullOrUndefined(data) ? this.data : data;
@@ -4145,21 +4056,18 @@ class Ajax {
4145
4056
  * @returns {string} ?
4146
4057
  */
4147
4058
  getResponseHeader(key) {
4148
- let responseHeaders;
4149
- let header;
4150
- // eslint-disable-next-line
4151
- responseHeaders = {};
4059
+ const responseHeaders = {};
4152
4060
  let headers = headerRegex.exec(this.httpRequest.getAllResponseHeaders());
4153
4061
  while (headers) {
4154
4062
  responseHeaders[headers[1].toLowerCase()] = headers[2];
4155
4063
  headers = headerRegex.exec(this.httpRequest.getAllResponseHeaders());
4156
4064
  }
4157
- // eslint-disable-next-line
4158
- header = responseHeaders[key.toLowerCase()];
4065
+ const header = responseHeaders[key.toLowerCase()];
4159
4066
  return isNullOrUndefined(header) ? null : header;
4160
4067
  }
4161
4068
  }
4162
4069
 
4070
+ /* eslint-disable @typescript-eslint/no-explicit-any */
4163
4071
  /**
4164
4072
  * The Fetch class provides a way to make asynchronous network requests, typically to retrieve resources from a server.
4165
4073
  * ```typescript
@@ -4247,11 +4155,9 @@ class Fetch {
4247
4155
  }
4248
4156
  }
4249
4157
  return response[responseType]();
4250
- // eslint-disable-next-line
4251
4158
  }).then((data) => {
4252
4159
  this.triggerEvent(this['onSuccess'], data, this);
4253
4160
  return data;
4254
- // eslint-disable-next-line
4255
4161
  }).catch((error) => {
4256
4162
  let returnVal = {};
4257
4163
  if (this.emitError) {
@@ -4272,6 +4178,7 @@ class Fetch {
4272
4178
  }
4273
4179
  }
4274
4180
 
4181
+ /* eslint-disable @typescript-eslint/no-explicit-any */
4275
4182
  const REGX_MOBILE = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i;
4276
4183
  const REGX_IE = /msie|trident/i;
4277
4184
  const REGX_IE11 = /Trident\/7\./;
@@ -4311,8 +4218,7 @@ class Browser {
4311
4218
  browserInfo.name = (clientInfo[1].toLowerCase() === 'crios' ? 'chrome' : browserInfo.name);
4312
4219
  browserInfo.version = clientInfo[2];
4313
4220
  browserInfo.culture.name = browserInfo.culture.language = navigator.language;
4314
- // eslint-disable-next-line
4315
- if (!!Browser.userAgent.match(REGX_IE11)) {
4221
+ if (Browser.userAgent.match(REGX_IE11)) {
4316
4222
  browserInfo.name = 'msie';
4317
4223
  break;
4318
4224
  }
@@ -4329,10 +4235,9 @@ class Browser {
4329
4235
  * To get events from the browser
4330
4236
  *
4331
4237
  * @param {string} event - type of event triggered.
4332
- * @returns {boolean}
4238
+ * @returns {string} ?
4333
4239
  */
4334
4240
  static getEvent(event) {
4335
- // eslint-disable-next-line
4336
4241
  const events = {
4337
4242
  start: {
4338
4243
  isPointer: 'pointerdown', isTouch: 'touchstart', isDevice: 'mousedown'
@@ -4688,12 +4593,8 @@ class EventHandler {
4688
4593
  * @returns {void} ?
4689
4594
  */
4690
4595
  static clearEvents(element) {
4691
- let eventData;
4692
- let copyData;
4693
- // eslint-disable-next-line
4694
- eventData = EventHandler.addOrGetEventData(element);
4695
- // eslint-disable-next-line
4696
- copyData = extend([], copyData, eventData);
4596
+ const eventData = EventHandler.addOrGetEventData(element);
4597
+ const copyData = extend([], undefined, eventData);
4697
4598
  for (let i = 0; i < copyData.length; i++) {
4698
4599
  const parseValue = copyData[parseInt(i.toString(), 10)];
4699
4600
  element.removeEventListener(parseValue.name, parseValue.debounce);
@@ -4719,9 +4620,7 @@ class EventHandler {
4719
4620
  }
4720
4621
  }
4721
4622
 
4722
- /**
4723
- * Functions related to dom operations.
4724
- */
4623
+ /* eslint-disable @typescript-eslint/no-explicit-any */
4725
4624
  const SVG_REG = /^svg|^path|^g/;
4726
4625
  /**
4727
4626
  * Function to create Html element.
@@ -4916,7 +4815,6 @@ function executeScript(ele) {
4916
4815
  * @returns {any} ?
4917
4816
  * @private
4918
4817
  */
4919
- // eslint-disable-next-line
4920
4818
  function detach(element) {
4921
4819
  const parentNode = element.parentNode;
4922
4820
  if (parentNode) {
@@ -4943,7 +4841,6 @@ function remove(element) {
4943
4841
  * @returns {Element} ?
4944
4842
  * @private
4945
4843
  */
4946
- // eslint-disable-next-line
4947
4844
  function attributes(element, attributes) {
4948
4845
  const keys = Object.keys(attributes);
4949
4846
  const ele = element;
@@ -4970,7 +4867,6 @@ function attributes(element, attributes) {
4970
4867
  * @returns {any} ?
4971
4868
  * @private
4972
4869
  */
4973
- // eslint-disable-next-line
4974
4870
  function select(selector, context = document, needsVDOM) {
4975
4871
  selector = querySelectId(selector);
4976
4872
  return context.querySelector(selector);
@@ -4984,7 +4880,6 @@ function select(selector, context = document, needsVDOM) {
4984
4880
  * @returns {HTMLElement[]} ?
4985
4881
  * @private
4986
4882
  */
4987
- // eslint-disable-next-line
4988
4883
  function selectAll(selector, context = document, needsVDOM) {
4989
4884
  selector = querySelectId(selector);
4990
4885
  const nodeList = context.querySelectorAll(selector);
@@ -5099,8 +4994,7 @@ function getAttributeOrDefault(element, property, value) {
5099
4994
  function setStyleAttribute(element, attrs) {
5100
4995
  if (attrs !== undefined) {
5101
4996
  Object.keys(attrs).forEach((key) => {
5102
- // eslint-disable-next-line
5103
- element.style[key] = attrs[key];
4997
+ element.style[`${key}`] = attrs[`${key}`];
5104
4998
  });
5105
4999
  }
5106
5000
  }
@@ -5126,8 +5020,7 @@ function classList(element, addClasses, removeClasses) {
5126
5020
  * @private
5127
5021
  */
5128
5022
  function matches(element, selector) {
5129
- // eslint-disable-next-line
5130
- let matches = element.matches || element.msMatchesSelector || element.webkitMatchesSelector;
5023
+ const matches = element.matches || element.msMatchesSelector || element.webkitMatchesSelector;
5131
5024
  if (matches) {
5132
5025
  return matches.call(element, selector);
5133
5026
  }
@@ -5154,11 +5047,10 @@ function includeInnerHTML(ele, innerHTML) {
5154
5047
  * @returns {any} ?
5155
5048
  * @private
5156
5049
  */
5157
- // eslint-disable-next-line
5158
5050
  function containsClass(ele, className) {
5159
5051
  if (isObject(ele)) {
5160
- // eslint-disable-next-line
5161
- return new RegExp('\\b' + className + '\\b', 'i').test(ele.attributes.className);
5052
+ const regExp = RegExp;
5053
+ return new regExp('\\b' + className + '\\b', 'i').test(ele.attributes.className);
5162
5054
  }
5163
5055
  else {
5164
5056
  return ele.classList.contains(className);
@@ -5172,7 +5064,6 @@ function containsClass(ele, className) {
5172
5064
  * @returns {any} ?
5173
5065
  * @private
5174
5066
  */
5175
- // eslint-disable-next-line
5176
5067
  function cloneNode(element, deep) {
5177
5068
  if (isObject(element)) {
5178
5069
  if (deep) {
@@ -5184,12 +5075,13 @@ function cloneNode(element, deep) {
5184
5075
  }
5185
5076
  }
5186
5077
 
5078
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5187
5079
  const isColEName = new RegExp(']');
5188
- /* tslint:enable:no-any */
5189
5080
  /**
5190
5081
  * Base library module is common module for Framework modules like touch,keyboard and etc.,
5191
5082
  *
5192
5083
  * @private
5084
+ * @returns {void} ?
5193
5085
  */
5194
5086
  class Base {
5195
5087
  /**
@@ -5210,7 +5102,6 @@ class Base {
5210
5102
  this.bulkChanges = {};
5211
5103
  this.refreshing = false;
5212
5104
  this.ignoreCollectionWatch = false;
5213
- // eslint-disable-next-line
5214
5105
  this.finalUpdate = () => { };
5215
5106
  this.childChangedProperties = {};
5216
5107
  this.modelObserver = new Observer(this);
@@ -5263,7 +5154,6 @@ class Base {
5263
5154
  * @param {Object} parent ?
5264
5155
  * @returns {void} ?
5265
5156
  */
5266
- // tslint:disable-next-line:no-any
5267
5157
  static callChildDataBind(obj, parent) {
5268
5158
  const keys = Object.keys(obj);
5269
5159
  for (const key of keys) {
@@ -5302,7 +5192,6 @@ class Base {
5302
5192
  this.isProtectedOnChange = prevDetection;
5303
5193
  }
5304
5194
  }
5305
- /* tslint:disable:no-any */
5306
5195
  serverDataBind(newChanges) {
5307
5196
  if (!isBlazor()) {
5308
5197
  return;
@@ -5315,10 +5204,8 @@ class Base {
5315
5204
  this.bulkChanges = {};
5316
5205
  }
5317
5206
  }
5318
- /* tslint:enable:no-any */
5319
5207
  saveChanges(key, newValue, oldValue) {
5320
5208
  if (isBlazor()) {
5321
- // tslint:disable-next-line:no-any
5322
5209
  const newChanges = {};
5323
5210
  newChanges[`${key}`] = newValue;
5324
5211
  this.serverDataBind(newChanges);
@@ -5434,7 +5321,7 @@ class Base {
5434
5321
  * @returns {void} ?
5435
5322
  */
5436
5323
  destroy() {
5437
- // eslint-disable-next-line
5324
+ // eslint-disable-next-line camelcase
5438
5325
  this.element.ej2_instances =
5439
5326
  this.element.ej2_instances ?
5440
5327
  this.element.ej2_instances.filter((i) => {
@@ -5461,7 +5348,6 @@ class Base {
5461
5348
  * @param {string} comp Specifies the component module name or Component.
5462
5349
  * @returns {any} ?
5463
5350
  */
5464
- // tslint:disable-next-line:no-any
5465
5351
  function getComponent(elem, comp) {
5466
5352
  let instance;
5467
5353
  let i;
@@ -5475,7 +5361,6 @@ function getComponent(elem, comp) {
5475
5361
  }
5476
5362
  }
5477
5363
  else {
5478
- // tslint:disable-next-line:no-any
5479
5364
  if (instance instanceof comp) {
5480
5365
  return instance;
5481
5366
  }
@@ -5487,16 +5372,13 @@ function getComponent(elem, comp) {
5487
5372
  * Function to remove the child instances.
5488
5373
  *
5489
5374
  * @param {HTMLElement} element ?
5490
- * @return {void}
5375
+ * @returns {void} ?
5491
5376
  * @private
5492
5377
  */
5493
- // tslint:disable-next-line:no-any
5494
5378
  function removeChildInstance(element) {
5495
- // tslint:disable-next-line:no-any
5496
5379
  const childEle = [].slice.call(element.getElementsByClassName('e-control'));
5497
5380
  for (let i = 0; i < childEle.length; i++) {
5498
5381
  const compName = childEle[parseInt(i.toString(), 10)].classList[1].split('e-')[1];
5499
- // tslint:disable-next-line:no-any
5500
5382
  const compInstance = getComponent(childEle[parseInt(i.toString(), 10)], compName);
5501
5383
  if (!isUndefined(compInstance)) {
5502
5384
  compInstance.destroy();
@@ -5506,6 +5388,7 @@ function removeChildInstance(element) {
5506
5388
  let proxyToRaw;
5507
5389
  const setProxyToRaw = (toRaw) => { proxyToRaw = toRaw; };
5508
5390
 
5391
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5509
5392
  /**
5510
5393
  * Returns the Class Object
5511
5394
  *
@@ -5515,10 +5398,8 @@ const setProxyToRaw = (toRaw) => { proxyToRaw = toRaw; };
5515
5398
  * @param {Object[]} type ?
5516
5399
  * @returns {ClassObject} ?
5517
5400
  */
5518
- // eslint-disable-next-line
5519
5401
  function getObject(instance, curKey, defaultValue, type) {
5520
- // eslint-disable-next-line
5521
- if (!instance.properties.hasOwnProperty(curKey) || !(instance.properties[curKey] instanceof type)) {
5402
+ if (!Object.prototype.hasOwnProperty.call(instance.properties, curKey) || !(instance.properties[`${curKey}`] instanceof type)) {
5522
5403
  instance.properties[`${curKey}`] = createInstance(type, [instance, curKey, defaultValue]);
5523
5404
  }
5524
5405
  return instance.properties[`${curKey}`];
@@ -5534,7 +5415,6 @@ function getObject(instance, curKey, defaultValue, type) {
5534
5415
  * @param {boolean} isFactory ?
5535
5416
  * @returns {Object[]} ?
5536
5417
  */
5537
- // eslint-disable-next-line
5538
5418
  function getObjectArray(instance, curKey, defaultValue, type, isSetter, isFactory) {
5539
5419
  const result = [];
5540
5420
  const len = defaultValue ? defaultValue.length : 0;
@@ -5563,8 +5443,7 @@ function getObjectArray(instance, curKey, defaultValue, type, isSetter, isFactor
5563
5443
  */
5564
5444
  function propertyGetter(defaultValue, curKey) {
5565
5445
  return function () {
5566
- // eslint-disable-next-line
5567
- if (!this.properties.hasOwnProperty(curKey)) {
5446
+ if (!Object.prototype.hasOwnProperty.call(this.properties, curKey)) {
5568
5447
  this.properties[`${curKey}`] = defaultValue;
5569
5448
  }
5570
5449
  return this.properties[`${curKey}`];
@@ -5580,8 +5459,7 @@ function propertyGetter(defaultValue, curKey) {
5580
5459
  function propertySetter(defaultValue, curKey) {
5581
5460
  return function (newValue) {
5582
5461
  if (this.properties[`${curKey}`] !== newValue) {
5583
- // eslint-disable-next-line
5584
- let oldVal = this.properties.hasOwnProperty(curKey) ? this.properties[curKey] : defaultValue;
5462
+ const oldVal = Object.prototype.hasOwnProperty.call(this.properties, curKey) ? this.properties[`${curKey}`] : defaultValue;
5585
5463
  this.saveChanges(curKey, newValue, oldVal);
5586
5464
  this.properties[`${curKey}`] = newValue;
5587
5465
  }
@@ -5595,7 +5473,6 @@ function propertySetter(defaultValue, curKey) {
5595
5473
  * @param {Object[]} type ?
5596
5474
  * @returns {void} ?
5597
5475
  */
5598
- // eslint-disable-next-line
5599
5476
  function complexGetter(defaultValue, curKey, type) {
5600
5477
  return function () {
5601
5478
  return getObject(this, curKey, defaultValue, type);
@@ -5621,12 +5498,10 @@ function complexSetter(defaultValue, curKey, type) {
5621
5498
  * @param {FunctionConstructor} type ?
5622
5499
  * @returns {void} ?
5623
5500
  */
5624
- // eslint-disable-next-line
5625
5501
  function complexFactoryGetter(defaultValue, curKey, type) {
5626
5502
  return function () {
5627
5503
  const curType = type({});
5628
- // eslint-disable-next-line
5629
- if (this.properties.hasOwnProperty(curKey)) {
5504
+ if (Object.prototype.hasOwnProperty.call(this.properties, curKey)) {
5630
5505
  return this.properties[`${curKey}`];
5631
5506
  }
5632
5507
  else {
@@ -5656,15 +5531,13 @@ function complexFactorySetter(defaultValue, curKey, type) {
5656
5531
  */
5657
5532
  function complexArrayGetter(defaultValue, curKey, type) {
5658
5533
  return function () {
5659
- // eslint-disable-next-line
5660
- if (!this.properties.hasOwnProperty(curKey)) {
5534
+ if (!Object.prototype.hasOwnProperty.call(this.properties, curKey)) {
5661
5535
  const defCollection = getObjectArray(this, curKey, defaultValue, type, false);
5662
5536
  this.properties[`${curKey}`] = defCollection;
5663
5537
  }
5664
5538
  const ignore = ((this.controlParent !== undefined && this.controlParent.ignoreCollectionWatch)
5665
5539
  || this.ignoreCollectionWatch);
5666
- // eslint-disable-next-line
5667
- if (!this.properties[curKey].hasOwnProperty('push') && !ignore) {
5540
+ if (!Object.prototype.hasOwnProperty.call(this.properties[`${curKey}`], 'push') && !ignore) {
5668
5541
  ['push', 'pop'].forEach((extendFunc) => {
5669
5542
  const descriptor = {
5670
5543
  value: complexArrayDefinedCallback(extendFunc, curKey, type, this.properties[`${curKey}`]).bind(this),
@@ -5673,8 +5546,7 @@ function complexArrayGetter(defaultValue, curKey, type) {
5673
5546
  Object.defineProperty(this.properties[`${curKey}`], extendFunc, descriptor);
5674
5547
  });
5675
5548
  }
5676
- // eslint-disable-next-line
5677
- if (!this.properties[curKey].hasOwnProperty('isComplexArray')) {
5549
+ if (!Object.prototype.hasOwnProperty.call(this.properties[`${curKey}`], 'isComplexArray')) {
5678
5550
  Object.defineProperty(this.properties[`${curKey}`], 'isComplexArray', { value: true });
5679
5551
  }
5680
5552
  return this.properties[`${curKey}`];
@@ -5706,8 +5578,7 @@ function complexArraySetter(defaultValue, curKey, type) {
5706
5578
  */
5707
5579
  function complexArrayFactorySetter(defaultValue, curKey, type) {
5708
5580
  return function (newValue) {
5709
- // eslint-disable-next-line
5710
- const oldValueCollection = this.properties.hasOwnProperty(curKey) ? this.properties[curKey] : defaultValue;
5581
+ const oldValueCollection = Object.prototype.hasOwnProperty.call(this.properties, curKey) ? this.properties[`${curKey}`] : defaultValue;
5711
5582
  const newValCollection = getObjectArray(this, curKey, newValue, type, true, true);
5712
5583
  this.saveChanges(curKey, newValCollection, oldValueCollection);
5713
5584
  this.properties[`${curKey}`] = newValCollection;
@@ -5723,8 +5594,7 @@ function complexArrayFactorySetter(defaultValue, curKey, type) {
5723
5594
  function complexArrayFactoryGetter(defaultValue, curKey, type) {
5724
5595
  return function () {
5725
5596
  const curType = type({});
5726
- // eslint-disable-next-line
5727
- if (!this.properties.hasOwnProperty(curKey)) {
5597
+ if (!Object.prototype.hasOwnProperty.call(this.properties, curKey)) {
5728
5598
  const defCollection = getObjectArray(this, curKey, defaultValue, curType, false);
5729
5599
  this.properties[`${curKey}`] = defCollection;
5730
5600
  }
@@ -5740,7 +5610,6 @@ function complexArrayFactoryGetter(defaultValue, curKey, type) {
5740
5610
  * @returns {Object} ?
5741
5611
  */
5742
5612
  function complexArrayDefinedCallback(dFunc, curKey, type, prop) {
5743
- /* tslint:disable no-function-expression */
5744
5613
  return function (...newValue) {
5745
5614
  const keyString = this.propName ? this.getParentKey() + '.' + curKey + '-' : curKey + '-';
5746
5615
  switch (dFunc) {
@@ -5752,12 +5621,12 @@ function complexArrayDefinedCallback(dFunc, curKey, type, prop) {
5752
5621
  this.serverDataBind(model, newValue[parseInt(i.toString(), 10)], false, dFunc);
5753
5622
  }
5754
5623
  break;
5755
- case 'pop':
5624
+ case 'pop': {
5756
5625
  Array.prototype[`${dFunc}`].apply(prop);
5757
- // eslint-disable-next-line
5758
- let model = getArrayModel(keyString + prop.length, null, !this.controlParent, dFunc);
5626
+ const model = getArrayModel(keyString + prop.length, null, !this.controlParent, dFunc);
5759
5627
  this.serverDataBind(model, { ejsAction: 'pop' }, false, dFunc);
5760
5628
  break;
5629
+ }
5761
5630
  }
5762
5631
  return prop;
5763
5632
  };
@@ -5782,16 +5651,11 @@ function getArrayModel(keyString, value, isControlParent, arrayFunction) {
5782
5651
  }
5783
5652
  return modelObject;
5784
5653
  }
5785
- // eslint-disable-next-line
5786
5654
  /**
5787
5655
  * Method used to create property. General syntax below.
5788
5656
  *
5789
5657
  * @param {Object} defaultValue - Specifies the default value of property.
5790
5658
  * @returns {PropertyDecorator} ?
5791
- * ```
5792
- * @Property('TypeScript')
5793
- * propertyName: Type;
5794
- * ```
5795
5659
  * @private
5796
5660
  */
5797
5661
  function Property(defaultValue) {
@@ -5941,25 +5805,8 @@ function Event$1() {
5941
5805
  *
5942
5806
  * @param {Function} classConstructor ?
5943
5807
  * @returns {void} ?
5944
- * ```
5945
- * @NotifyPropertyChanges
5946
- * class DemoClass implements INotifyPropertyChanged {
5947
- *
5948
- * @Property()
5949
- * property1: string;
5950
- *
5951
- * dataBind: () => void;
5952
- *
5953
- * constructor() { }
5954
- *
5955
- * onPropertyChanged(newProp: any, oldProp: any) {
5956
- * // Called when property changed
5957
- * }
5958
- * }
5959
- * ```
5960
5808
  * @private
5961
5809
  */
5962
- // eslint-disable-next-line
5963
5810
  function NotifyPropertyChanges(classConstructor) {
5964
5811
  /** Need to code */
5965
5812
  }
@@ -5987,13 +5834,11 @@ function addPropertyCollection(target, key, propertyType, defaultValue, type) {
5987
5834
  eventNames: []
5988
5835
  };
5989
5836
  }
5990
- // eslint-disable-next-line
5991
5837
  target.propList[propertyType + 's'].push({
5992
5838
  propertyName: key,
5993
5839
  defaultValue: defaultValue,
5994
5840
  type: type
5995
5841
  });
5996
- // eslint-disable-next-line
5997
5842
  target.propList[propertyType + 'Names'].push(key);
5998
5843
  }
5999
5844
  /**
@@ -6057,8 +5902,7 @@ function CreateBuilder(component) {
6057
5902
  return this;
6058
5903
  };
6059
5904
  const instanceFunction = (element) => {
6060
- // eslint-disable-next-line
6061
- if (!builderFunction.prototype.hasOwnProperty('create')) {
5905
+ if (!Object.prototype.hasOwnProperty.call(builderFunction, 'create')) {
6062
5906
  builderFunction.prototype = getBuilderProperties(component);
6063
5907
  builderFunction.prototype.create = function () {
6064
5908
  const temp = extend({}, {}, this.properties);
@@ -6079,8 +5923,7 @@ function CreateBuilder(component) {
6079
5923
  * @private
6080
5924
  */
6081
5925
  function getParentContext(context, prefix) {
6082
- // eslint-disable-next-line
6083
- if (context.hasOwnProperty('parentObj') === false) {
5926
+ if (Object.prototype.hasOwnProperty.call(context, 'parentObj') === false) {
6084
5927
  return { context: context, prefix: prefix };
6085
5928
  }
6086
5929
  else {
@@ -6154,7 +5997,7 @@ let Animation = Animation_1 = class Animation extends Base {
6154
5997
  *
6155
5998
  * @param {HTMLElement} element - Element which needs to be stop the animation.
6156
5999
  * @param {AnimationOptions} model - Handling the animation model at stop function.
6157
- * @return {void}
6000
+ * @returns {void}
6158
6001
  */
6159
6002
  static stop(element, model) {
6160
6003
  element.style.animation = '';
@@ -6283,7 +6126,6 @@ let Animation = Animation_1 = class Animation extends Base {
6283
6126
  * @param {AnimationModel} oldProp ?
6284
6127
  * @returns {void} ?
6285
6128
  */
6286
- // eslint-disable-next-line
6287
6129
  onPropertyChanged(newProp, oldProp) {
6288
6130
  // no code needed
6289
6131
  }
@@ -6470,7 +6312,6 @@ function removeRipple(e, eventArgs) {
6470
6312
  if (eventArgs.parent !== element) {
6471
6313
  EventHandler.remove(element, 'mouseleave', rippleLeaveHandler);
6472
6314
  }
6473
- /* tslint:disable:align */
6474
6315
  setTimeout(() => {
6475
6316
  if (rippleElement && rippleElement.parentNode) {
6476
6317
  rippleElement.parentNode.removeChild(rippleElement);
@@ -6528,9 +6369,7 @@ var GlobalAnimationMode;
6528
6369
  GlobalAnimationMode["Disable"] = "Disable";
6529
6370
  })(GlobalAnimationMode || (GlobalAnimationMode = {}));
6530
6371
 
6531
- /**
6532
- * Module loading operations
6533
- */
6372
+ /* eslint-disable @typescript-eslint/no-explicit-any */
6534
6373
  const MODULE_SUFFIX = 'Module';
6535
6374
  class ModuleLoader {
6536
6375
  constructor(parent) {
@@ -6640,10 +6479,12 @@ class ModuleLoader {
6640
6479
  }
6641
6480
  }
6642
6481
 
6482
+ /* eslint-disable @typescript-eslint/no-explicit-any */
6643
6483
  /**
6644
6484
  * To detect the changes for inner properties.
6645
6485
  *
6646
6486
  * @private
6487
+ * @returns {void} ?
6647
6488
  */
6648
6489
  class ChildProperty {
6649
6490
  constructor(parent, propName, defaultValue, isArray) {
@@ -6652,7 +6493,6 @@ class ChildProperty {
6652
6493
  this.changedProperties = {};
6653
6494
  this.childChangedProperties = {};
6654
6495
  this.oldProperties = {};
6655
- // eslint-disable-next-line
6656
6496
  this.finalUpdate = () => { };
6657
6497
  this.callChildDataBind = getValue('callChildDataBind', Base);
6658
6498
  this.parentObj = parent;
@@ -6796,7 +6636,6 @@ class ChildProperty {
6796
6636
  }
6797
6637
  }
6798
6638
  getParentKey(isSaveChanges) {
6799
- // eslint-disable-next-line
6800
6639
  let index = '';
6801
6640
  let propName = this.propName;
6802
6641
  /* istanbul ignore next */
@@ -6828,7 +6667,7 @@ class LicenseValidator {
6828
6667
  constructor(key) {
6829
6668
  this.isValidated = false;
6830
6669
  this.isLicensed = true;
6831
- this.version = '25';
6670
+ this.version = '26';
6832
6671
  this.platform = /JavaScript|ASPNET|ASPNETCORE|ASPNETMVC|FileFormats|essentialstudio/i;
6833
6672
  this.errors = {
6834
6673
  noLicense: '<span>This application was built using a trial version of Syncfusion Essential Studio.' +
@@ -6931,7 +6770,7 @@ class LicenseValidator {
6931
6770
  }
6932
6771
  }
6933
6772
  if (validateMsg && typeof document !== 'undefined' && !isNullOrUndefined(document)) {
6934
- accountURL = (validateURL && validateURL !== '') ? validateURL : 'https://www.syncfusion.com/account/claim-license-key?pl=SmF2YVNjcmlwdA==&vs=MjU=&utm_source=es_license_validation_banner&utm_medium=listing&utm_campaign=license-information';
6773
+ accountURL = (validateURL && validateURL !== '') ? validateURL : 'https://www.syncfusion.com/account/claim-license-key?pl=SmF2YVNjcmlwdA==&vs=MjY=&utm_source=es_license_validation_banner&utm_medium=listing&utm_campaign=license-information';
6935
6774
  const errorDiv = createElement('div', {
6936
6775
  innerHTML: `<img src='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE5OV80KSI+CjxwYXRoIGQ9Ik0xMiAyMUMxNi45NzA2IDIxIDIxIDE2Ljk3MDYgMjEgMTJDMjEgNy4wMjk0NCAxNi45NzA2IDMgMTIgM0M3LjAyOTQ0IDMgMyA3LjAyOTQ0IDMgMTJDMyAxNi45NzA2IDcuMDI5NDQgMjEgMTIgMjFaIiBzdHJva2U9IiM3MzczNzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS4yNSAxMS4yNUgxMlYxNi41SDEyLjc1IiBmaWxsPSIjNjE2MDYzIi8+CjxwYXRoIGQ9Ik0xMS4yNSAxMS4yNUgxMlYxNi41SDEyLjc1IiBzdHJva2U9IiM3MzczNzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS44MTI1IDlDMTIuNDMzOCA5IDEyLjkzNzUgOC40OTYzMiAxMi45Mzc1IDcuODc1QzEyLjkzNzUgNy4yNTM2OCAxMi40MzM4IDYuNzUgMTEuODEyNSA2Ljc1QzExLjE5MTIgNi43NSAxMC42ODc1IDcuMjUzNjggMTAuNjg3NSA3Ljg3NUMxMC42ODc1IDguNDk2MzIgMTEuMTkxMiA5IDExLjgxMjUgOVoiIGZpbGw9IiM3MzczNzMiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xOTlfNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K' style="top: 6px;
6937
6776
  position: absolute;
@@ -7011,7 +6850,8 @@ class LicenseValidator {
7011
6850
  const charKey = decodeStr[decodeStr.length - 1];
7012
6851
  const decryptedKey = [];
7013
6852
  for (let i = 0; i < decodeStr.length; i++) {
7014
- decryptedKey[`${i}`] = decodeStr[`${i}`].charCodeAt(0) - charKey.charCodeAt(0);
6853
+ decryptedKey[parseInt(i.toString(), 10)] = decodeStr[parseInt(i.toString(), 10)].charCodeAt(0)
6854
+ - charKey.charCodeAt(0);
7015
6855
  }
7016
6856
  for (let i = 0; i < decryptedKey.length; i++) {
7017
6857
  buffr += String.fromCharCode(decryptedKey[parseInt(i.toString(), 10)]);
@@ -7260,6 +7100,9 @@ let Component = class Component extends Base {
7260
7100
  this.isStringTemplate = false;
7261
7101
  this.needsID = false;
7262
7102
  this.isReactHybrid = false;
7103
+ this.isAngular = false;
7104
+ this.isReact = false;
7105
+ this.isVue = false;
7263
7106
  if (isNullOrUndefined(this.enableRtl)) {
7264
7107
  this.setProperties({ 'enableRtl': rightToLeft }, true);
7265
7108
  }
@@ -7268,7 +7111,6 @@ let Component = class Component extends Base {
7268
7111
  }
7269
7112
  this.moduleLoader = new ModuleLoader(this);
7270
7113
  this.localObserver = new Observer(this);
7271
- // tslint:disable-next-line:no-function-constructor-with-string-args
7272
7114
  onIntlChange.on('notifyExternalChange', this.detectFunction, this, this.randomId);
7273
7115
  // Based on the considered control list we have count the instance
7274
7116
  if (typeof window !== 'undefined' && typeof document !== 'undefined' && !validateLicense()) {
@@ -7337,7 +7179,6 @@ let Component = class Component extends Base {
7337
7179
  */
7338
7180
  getRootElement() {
7339
7181
  if (this.isReactHybrid) {
7340
- // eslint-disable-next-line
7341
7182
  return this.actualElement;
7342
7183
  }
7343
7184
  else {
@@ -7349,7 +7190,6 @@ let Component = class Component extends Base {
7349
7190
  *
7350
7191
  * @returns {any} ?
7351
7192
  */
7352
- // eslint-disable-next-line
7353
7193
  getLocalData() {
7354
7194
  const eleId = this.getModuleName() + this.element.id;
7355
7195
  if (versionBasedStatePersistence) {
@@ -7424,7 +7264,8 @@ let Component = class Component extends Base {
7424
7264
  treegrid: ['filter'],
7425
7265
  gantt: ['tooltip'],
7426
7266
  chart: ['Export', 'Zoom'],
7427
- accumulationchart: ['Export']
7267
+ accumulationchart: ['Export'],
7268
+ 'query-builder': 'all'
7428
7269
  };
7429
7270
  const component = this.getModuleName();
7430
7271
  if (this.requiredModules && (!ignoredComponents[`${component}`] || ignoredComponents[`${component}`] !== 'all')) {
@@ -7461,8 +7302,7 @@ let Component = class Component extends Base {
7461
7302
  renderComplete(wrapperElement) {
7462
7303
  if (isBlazor()) {
7463
7304
  const sfBlazor = 'sfBlazor';
7464
- // eslint-disable-next-line
7465
- window[sfBlazor].renderComplete(this.element, wrapperElement);
7305
+ window[`${sfBlazor}`].renderComplete(this.element, wrapperElement);
7466
7306
  }
7467
7307
  this.isRendered = true;
7468
7308
  }
@@ -7560,7 +7400,6 @@ let Component = class Component extends Base {
7560
7400
  * @returns {any} ?
7561
7401
  * @private
7562
7402
  */
7563
- // eslint-disable-next-line
7564
7403
  createElement(tagName, prop, isVDOM) {
7565
7404
  return createElement(tagName, prop);
7566
7405
  }
@@ -7571,15 +7410,12 @@ let Component = class Component extends Base {
7571
7410
  * @returns {void} .
7572
7411
  * @private
7573
7412
  */
7574
- // eslint-disable-next-line
7575
7413
  triggerStateChange(handler, argument) {
7576
7414
  if (this.isReactHybrid) {
7577
- // eslint-disable-next-line
7578
7415
  this.setState();
7579
7416
  this.currentContext = { calls: handler, args: argument };
7580
7417
  }
7581
7418
  }
7582
- // tslint: enable: no-any
7583
7419
  injectModules() {
7584
7420
  if (this.injectedModules && this.injectedModules.length) {
7585
7421
  this.moduleLoader.inject(this.requiredModules(), this.injectedModules);
@@ -7614,13 +7450,11 @@ let Component = class Component extends Base {
7614
7450
  }
7615
7451
  }
7616
7452
  }
7617
- // eslint-disable-next-line
7618
7453
  renderReactTemplates(callback) {
7619
7454
  if (!isNullOrUndefined(callback)) {
7620
7455
  callback();
7621
7456
  }
7622
7457
  }
7623
- // eslint-disable-next-line
7624
7458
  clearTemplate(templateName, index) {
7625
7459
  //No Code
7626
7460
  }
@@ -7650,9 +7484,7 @@ let Component = class Component extends Base {
7650
7484
  addOnPersist(options) {
7651
7485
  const persistObj = {};
7652
7486
  for (const key of options) {
7653
- let objValue;
7654
- // eslint-disable-next-line
7655
- objValue = getValue(key, this);
7487
+ const objValue = getValue(key, this);
7656
7488
  if (!isUndefined(objValue)) {
7657
7489
  setValue(key, this.getActualProperties(objValue), persistObj);
7658
7490
  }
@@ -7676,8 +7508,7 @@ let Component = class Component extends Base {
7676
7508
  const newObj = {};
7677
7509
  for (const key of Object.keys(obj)) {
7678
7510
  if (ignoreList.indexOf(key) === -1) {
7679
- // eslint-disable-next-line
7680
- const value = obj[key];
7511
+ const value = obj[`${key}`];
7681
7512
  if (typeof value === 'object' && !(value instanceof Array)) {
7682
7513
  const newList = ignoreList.filter((str) => {
7683
7514
  const regExp = RegExp;
@@ -7766,7 +7597,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
7766
7597
  this.prevTop = 0;
7767
7598
  this.dragProcessStarted = false;
7768
7599
  this.eleTop = 0;
7769
- /* eslint-disable @typescript-eslint/no-explicit-any */
7770
7600
  this.tapHoldTimer = 0;
7771
7601
  this.externalInitialize = false;
7772
7602
  this.diffY = 0;
@@ -7849,7 +7679,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
7849
7679
  return this.getScrollableParent(element.parentNode, axis);
7850
7680
  }
7851
7681
  }
7852
- /* eslint-disable */
7853
7682
  getScrollableValues() {
7854
7683
  this.parentScrollX = 0;
7855
7684
  this.parentScrollY = 0;
@@ -7857,7 +7686,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
7857
7686
  const verticalScrollParent = this.getScrollableParent(this.element.parentNode, 'vertical');
7858
7687
  const horizontalScrollParent = this.getScrollableParent(this.element.parentNode, 'horizontal');
7859
7688
  }
7860
- /* eslint-enable */
7861
7689
  initialize(evt, curTarget) {
7862
7690
  this.currentStateTarget = evt.target;
7863
7691
  if (this.isDragStarted()) {
@@ -7870,8 +7698,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
7870
7698
  this.target = (evt.currentTarget || curTarget);
7871
7699
  this.dragProcessStarted = false;
7872
7700
  if (this.abort) {
7873
- /* tslint:disable no-any */
7874
- // eslint-disable-next-line
7875
7701
  let abortSelectors = this.abort;
7876
7702
  if (typeof abortSelectors === 'string') {
7877
7703
  abortSelectors = [abortSelectors];
@@ -7942,7 +7768,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
7942
7768
  }
7943
7769
  /* istanbul ignore next */
7944
7770
  if (this.isReplaceDragEle) {
7945
- // eslint-disable-next-line
7946
7771
  element = this.currentStateCheck(evt.target, element);
7947
7772
  }
7948
7773
  this.offset = this.calculateParentPosition(element);
@@ -8059,7 +7884,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8059
7884
  top: (rect.top + window.pageYOffset) - parseInt(style.marginTop, 10)
8060
7885
  };
8061
7886
  }
8062
- // tslint:disable-next-line:max-func-body-length
8063
7887
  intDrag(evt) {
8064
7888
  if (!isUndefined(evt.changedTouches) && (evt.changedTouches.length !== 1)) {
8065
7889
  return;
@@ -8084,7 +7908,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8084
7908
  }
8085
7909
  const eleObj = this.checkTargetElement(evt);
8086
7910
  if (eleObj.target && eleObj.instance) {
8087
- /* tslint:disable no-any */
8088
7911
  let flag = true;
8089
7912
  if (this.hoverObject) {
8090
7913
  if (this.hoverObject.instance !== eleObj.instance) {
@@ -8095,7 +7918,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8095
7918
  }
8096
7919
  }
8097
7920
  if (flag) {
8098
- // eslint-disable-next-line
8099
7921
  eleObj.instance.dragData[this.scope] = this.droppables[this.scope];
8100
7922
  eleObj.instance.intOver(evt, eleObj.target);
8101
7923
  this.hoverObject = eleObj;
@@ -8244,8 +8066,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8244
8066
  if (elements.length === 0) {
8245
8067
  elements = this.getPathElements(evt);
8246
8068
  }
8247
- /* tslint:disable no-any */
8248
- // eslint-disable-next-line
8249
8069
  let scrollParent = this.getScrollParent(elements, false);
8250
8070
  if (this.elementInViewport(this.helperElement)) {
8251
8071
  this.getScrollPosition(scrollParent, draEleTop);
@@ -8267,11 +8087,7 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8267
8087
  this.pageX = pagex;
8268
8088
  this.pageY = pagey;
8269
8089
  }
8270
- /* tslint:disable no-any */
8271
- // eslint-disable-next-line
8272
8090
  getScrollParent(node, reverse) {
8273
- /* tslint:disable no-any */
8274
- // eslint-disable-next-line
8275
8091
  const nodeEl = reverse ? node.reverse() : node;
8276
8092
  let hasScroll;
8277
8093
  for (let i = nodeEl.length - 1; i >= 0; i--) {
@@ -8355,7 +8171,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8355
8171
  const eleObj = this.checkTargetElement(evt);
8356
8172
  if (eleObj.target && eleObj.instance) {
8357
8173
  eleObj.instance.dragStopCalled = true;
8358
- // eslint-disable-next-line
8359
8174
  eleObj.instance.dragData[this.scope] = this.droppables[this.scope];
8360
8175
  eleObj.instance.intDrop(evt, eleObj.target);
8361
8176
  }
@@ -8367,7 +8182,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8367
8182
  * @returns {void}
8368
8183
  * @private
8369
8184
  */
8370
- // eslint-disable-next-line
8371
8185
  intDestroy(evt) {
8372
8186
  this.dragProcessStarted = false;
8373
8187
  this.toggleEvents();
@@ -8382,7 +8196,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8382
8196
  }
8383
8197
  }
8384
8198
  // triggers when property changed
8385
- // eslint-disable-next-line
8386
8199
  onPropertyChanged(newProp, oldProp) {
8387
8200
  //No Code to handle
8388
8201
  }
@@ -8413,7 +8226,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8413
8226
  eleWidthBound = ele.scrollWidth ? ele.scrollWidth : elementArea.right - elementArea.left;
8414
8227
  eleHeightBound = ele.scrollHeight ? (this.dragArea && !isNullOrUndefined(this.helperElement) && this.helperElement.classList.contains('e-treeview')) ? ele.clientHeight : ele.scrollHeight : elementArea.bottom - elementArea.top;
8415
8228
  const keys = ['Top', 'Left', 'Bottom', 'Right'];
8416
- /* eslint-disable */
8417
8229
  const styles = getComputedStyle(ele);
8418
8230
  for (let i = 0; i < keys.length; i++) {
8419
8231
  const key = keys[parseInt(i.toString(), 10)];
@@ -8423,7 +8235,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8423
8235
  this.borderWidth[`${lowerKey}`] = isNaN(parseFloat(tborder)) ? 0 : parseFloat(tborder);
8424
8236
  this.padding[`${lowerKey}`] = isNaN(parseFloat(tpadding)) ? 0 : parseFloat(tpadding);
8425
8237
  }
8426
- /* eslint-enable */
8427
8238
  if (this.dragArea && !isNullOrUndefined(this.helperElement) && this.helperElement.classList.contains('e-treeview')) {
8428
8239
  top = elementArea.top + document.scrollingElement.scrollTop;
8429
8240
  }
@@ -8464,8 +8275,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
8464
8275
  return elem;
8465
8276
  }
8466
8277
  getMousePosition(evt, isdragscroll) {
8467
- /* tslint:disable no-any */
8468
- // eslint-disable-next-line
8469
8278
  const dragEle = evt.srcElement !== undefined ? evt.srcElement : evt.target;
8470
8279
  const intCoord = this.getCoordinates(evt);
8471
8280
  let pageX;
@@ -8665,7 +8474,6 @@ let Droppable = class Droppable extends Base {
8665
8474
  EventHandler.add(this.element, Browser.isSafari() ? 'touchend' : Browser.touchEndEvent, this.intDrop, this);
8666
8475
  }
8667
8476
  // triggers when property changed
8668
- // eslint-disable-next-line
8669
8477
  onPropertyChanged(newProp, oldProp) {
8670
8478
  //No Code to handle
8671
8479
  }
@@ -8869,7 +8677,6 @@ let KeyboardEvents = KeyboardEvents_1 = class KeyboardEvents extends Base {
8869
8677
  * @returns {void} ?
8870
8678
  * @private
8871
8679
  */
8872
- // eslint-disable-next-line
8873
8680
  onPropertyChanged(newProp, oldProp) {
8874
8681
  // No code are needed
8875
8682
  }
@@ -9182,10 +8989,8 @@ let Touch = class Touch extends Base {
9182
8989
  velocity: this.getVelocity(point)
9183
8990
  };
9184
8991
  if (this.isTouchMoved) {
9185
- let eSwipeArgs;
9186
8992
  const tDistance = this.swipeSettings.swipeThresholdDistance;
9187
- // eslint-disable-next-line
9188
- eSwipeArgs = extend(eSwipeArgs, this.defaultArgs, swipeArgs);
8993
+ const eSwipeArgs = extend(undefined, this.defaultArgs, swipeArgs);
9189
8994
  let canTrigger = false;
9190
8995
  const ele = this.element;
9191
8996
  const scrollBool = this.isScrollable(ele);
@@ -9223,7 +9028,6 @@ let Touch = class Touch extends Base {
9223
9028
  * @param {TouchModel} oldProp ?
9224
9029
  * @returns {void} ?
9225
9030
  */
9226
- // eslint-disable-next-line
9227
9031
  onPropertyChanged(newProp, oldProp) {
9228
9032
  //No Code to handle
9229
9033
  }
@@ -9280,11 +9084,9 @@ let Touch = class Touch extends Base {
9280
9084
  tapHoldEvent(evt) {
9281
9085
  this.tapCount = 0;
9282
9086
  this.touchAction = true;
9283
- let eTapArgs;
9284
9087
  EventHandler.remove(this.element, Browser.touchMoveEvent, this.moveEvent);
9285
9088
  EventHandler.remove(this.element, Browser.touchEndEvent, this.endEvent);
9286
- // eslint-disable-next-line
9287
- eTapArgs = { originalEvent: evt };
9089
+ const eTapArgs = { originalEvent: evt };
9288
9090
  this.trigger('tapHold', eTapArgs);
9289
9091
  EventHandler.remove(this.element, Browser.touchCancelEvent, this.cancelEvent);
9290
9092
  }
@@ -9323,7 +9125,6 @@ let Touch = class Touch extends Base {
9323
9125
  const interval = newT - this.tStampStart;
9324
9126
  return Math.sqrt(xDist * xDist + yDist * yDist) / interval;
9325
9127
  }
9326
- // eslint-disable-next-line
9327
9128
  checkSwipe(ele, flag) {
9328
9129
  const keys = ['scroll', 'offset'];
9329
9130
  const temp = flag ? ['Height', 'Top'] : ['Width', 'Left'];
@@ -9363,6 +9164,7 @@ Touch = __decorate$5([
9363
9164
  NotifyPropertyChanges
9364
9165
  ], Touch);
9365
9166
 
9167
+ /* eslint-disable @typescript-eslint/no-explicit-any */
9366
9168
  /**
9367
9169
  * Template Engine
9368
9170
  */
@@ -9385,14 +9187,6 @@ const SINGLE_SLASH = /\\/gi;
9385
9187
  const DOUBLE_SLASH = /\\\\/gi;
9386
9188
  const WORDFUNC = new RegExp('[\\w"\'@#$.\\s+]+', 'g');
9387
9189
  const WINDOWFUNC = /\window\./gm;
9388
- /**
9389
- * The function to set regular expression for template expression string.
9390
- *
9391
- * @param {RegExp} value - Value expression.
9392
- * @returns {RegExp} ?
9393
- * @private
9394
- */
9395
-
9396
9190
  // /**
9397
9191
  // * To render the template string from the given data.
9398
9192
  // * @param {string} template - String Template.
@@ -9418,14 +9212,13 @@ const WINDOWFUNC = /\window\./gm;
9418
9212
  * @returns {string} ?
9419
9213
  * @private
9420
9214
  */
9421
- function compile$1(template, helper, ignorePrefix) {
9215
+ function compile(template, helper, ignorePrefix) {
9422
9216
  if (typeof template === 'function') {
9423
9217
  return template;
9424
9218
  }
9425
9219
  else {
9426
9220
  const argName = 'data';
9427
9221
  const evalExpResult = evalExp(template, argName, helper, ignorePrefix);
9428
- /* eslint-disable */
9429
9222
  const condtion = `var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-■\\s]+)['])/g);
9430
9223
  var hrefRegex = (/(?:href)([\\s='"./]+)([\\w-./?=&\\\\#"]+)((.)([\\w)(!-;/?-■\\s]+)['])/g);
9431
9224
  if(str.match(valueRegEx)){
@@ -9433,8 +9226,8 @@ function compile$1(template, helper, ignorePrefix) {
9433
9226
  var str1 = str;
9434
9227
  for (var i=0; i < check.length; i++) {
9435
9228
  var check1 = str.match(valueRegEx)[i].split('value=')[1];
9436
- var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;
9437
- change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;
9229
+ var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '"') : check1;
9230
+ change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'"') : change;
9438
9231
  str1 = str1.replace(check1, change);
9439
9232
  }
9440
9233
  str = str.replace(str, str1);
@@ -9446,8 +9239,8 @@ function compile$1(template, helper, ignorePrefix) {
9446
9239
  for (var i=0; i < check.length; i++) {
9447
9240
  var check1 = str.match(hrefRegex)[i].split('href=')[1];
9448
9241
  if (check1) {
9449
- var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;
9450
- change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;
9242
+ var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '"') : check1;
9243
+ change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'"') : change;
9451
9244
  str1 = str1.replace(check1, change);
9452
9245
  }
9453
9246
  }
@@ -9455,8 +9248,7 @@ function compile$1(template, helper, ignorePrefix) {
9455
9248
  }
9456
9249
  }
9457
9250
  `;
9458
- const fnCode = 'var str=\"' + evalExpResult + '\";' + condtion + ' return str;';
9459
- /* eslint-enable */
9251
+ const fnCode = 'var str="' + evalExpResult + '";' + condtion + ' return str;';
9460
9252
  const fn = new Function(argName, fnCode);
9461
9253
  return fn.bind(helper);
9462
9254
  }
@@ -9500,9 +9292,7 @@ function evalExp(str, nameSpace, helper, ignorePrefix) {
9500
9292
  else {
9501
9293
  str = str.replace(/\\?"/g, '\\"');
9502
9294
  }
9503
- return str.replace(LINES, '').replace(DBL_QUOTED_STR, '\'$1\'').replace(exp,
9504
- // eslint-disable-next-line
9505
- (match, cnt, offset, matchStr) => {
9295
+ return str.replace(LINES, '').replace(DBL_QUOTED_STR, '\'$1\'').replace(exp, (match, cnt, offset, matchStr) => {
9506
9296
  const SPECIAL_CHAR = /@|#|\$/gm;
9507
9297
  const matches = cnt.match(CALL_FUNCTION);
9508
9298
  // matches to detect any function calls
@@ -9525,12 +9315,10 @@ function evalExp(str, nameSpace, helper, ignorePrefix) {
9525
9315
  //handling for condition
9526
9316
  const rlStr = matches[1].split(' of ');
9527
9317
  // replace for each into actual JavaScript
9528
- // eslint-disable-next-line
9529
9318
  cnt = '"; ' + cnt.replace(matches[1], (mtc) => {
9530
9319
  localKeys.push(rlStr[0]);
9531
9320
  localKeys.push(rlStr[0] + 'Index');
9532
9321
  varCOunt = varCOunt + 1;
9533
- // tslint:disable-next-line
9534
9322
  return 'var i' + varCOunt + '=0; i' + varCOunt + ' < ' + addNameSpace(rlStr[1], true, nameSpace, localKeys, ignorePrefix) + '.length; i' + varCOunt + '++';
9535
9323
  }) + '{ \n ' + rlStr[0] + '= ' + addNameSpace(rlStr[1], true, nameSpace, localKeys, ignorePrefix)
9536
9324
  + '[i' + varCOunt + ']; \n var ' + rlStr[0] + 'Index=i' + varCOunt + '; \n str = str + "';
@@ -9538,8 +9326,7 @@ function evalExp(str, nameSpace, helper, ignorePrefix) {
9538
9326
  else {
9539
9327
  //helper function handling
9540
9328
  const fnStr = cnt.split('(');
9541
- // eslint-disable-next-line
9542
- let fNameSpace = (helper && helper.hasOwnProperty(fnStr[0]) ? 'this.' : 'global');
9329
+ let fNameSpace = (helper && Object.prototype.hasOwnProperty.call(helper, fnStr[0]) ? 'this.' : 'global');
9543
9330
  fNameSpace = (/\./.test(fnStr[0]) ? '' : fNameSpace);
9544
9331
  const ftArray = matches[1].split(',');
9545
9332
  if (matches[1].length !== 0 && !(/data/).test(ftArray[0]) && !(/window./).test(ftArray[0])) {
@@ -9550,7 +9337,6 @@ function evalExp(str, nameSpace, helper, ignorePrefix) {
9550
9337
  if (WINDOWFUNC.test(cnt) && arrObj.test(cnt) || splRegexp.test(cnt)) {
9551
9338
  const splArrRegexp = /@|\$|#|\]\./gm;
9552
9339
  if (splArrRegexp.test(cnt)) {
9553
- // tslint:disable-next-line
9554
9340
  cnt = '"+ ' + (fNameSpace === 'global' ? '' : fNameSpace) + cnt.replace(matches[1], rlStr.replace(WORDFUNC, (strs) => {
9555
9341
  return HandleSpecialCharArrObj(strs, nameSpace, localKeys, ignorePrefix);
9556
9342
  })) + '+ "';
@@ -9566,9 +9352,8 @@ function evalExp(str, nameSpace, helper, ignorePrefix) {
9566
9352
  else if (ELSE_STMT.test(cnt)) {
9567
9353
  // handling else condition
9568
9354
  cnt = '"; ' + cnt.replace(ELSE_STMT, '} else { \n str = str + "');
9569
- // eslint-disable-next-line
9570
9355
  }
9571
- else if (!!cnt.match(IF_OR_FOR)) {
9356
+ else if (cnt.match(IF_OR_FOR)) {
9572
9357
  // close condition
9573
9358
  cnt = cnt.replace(IF_OR_FOR, '"; \n } \n str = str + "');
9574
9359
  }
@@ -9633,17 +9418,20 @@ function NameSpaceArrObj(str, addNS, nameSpace, ignoreList) {
9633
9418
  function NameSpaceForspecialChar(str, addNS, nameSpace, ignoreList) {
9634
9419
  return ((addNS && !(NOT_NUMBER.test(str)) && ignoreList.indexOf(str.split('.')[0]) === -1) ? nameSpace + '["' + str : str);
9635
9420
  }
9636
- // eslint-disable-next-line
9421
+ /**
9422
+ * Replace double slashes to single slash.
9423
+ *
9424
+ * @param {string} tempStr ?
9425
+ * @returns {any} ?
9426
+ */
9637
9427
  function SlashReplace(tempStr) {
9638
9428
  const double = '\\\\';
9639
9429
  if (tempStr.match(DOUBLE_SLASH)) {
9640
- // eslint-disable-next-line
9641
- tempStr = tempStr;
9430
+ return tempStr;
9642
9431
  }
9643
9432
  else {
9644
- tempStr = tempStr.replace(SINGLE_SLASH, double);
9433
+ return tempStr.replace(SINGLE_SLASH, double);
9645
9434
  }
9646
- return tempStr;
9647
9435
  }
9648
9436
  /**
9649
9437
  *
@@ -9674,9 +9462,7 @@ function HandleSpecialCharArrObj(str, nameSpaceNew, keys, ignorePrefix) {
9674
9462
  }
9675
9463
  }
9676
9464
 
9677
- /**
9678
- * Template Engine Bridge
9679
- */
9465
+ /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types */
9680
9466
  const HAS_ROW = /^[\n\r.]+<tr|^<tr/;
9681
9467
  const HAS_SVG = /^[\n\r.]+<svg|^<path|^<g/;
9682
9468
  const blazorTemplates = {};
@@ -9696,10 +9482,8 @@ function getRandomId() {
9696
9482
  * @returns {NodeList} ?
9697
9483
  * @private
9698
9484
  */
9699
- // eslint-disable-next-line
9700
- function compile$$1(templateString, helper, ignorePrefix) {
9485
+ function compile$1(templateString, helper, ignorePrefix) {
9701
9486
  const compiler = engineObj.compile(templateString, helper, ignorePrefix);
9702
- // eslint-disable-next-line
9703
9487
  return (data, component, propName, templateId, isStringTemplate, index, element, root) => {
9704
9488
  const result = compiler(data, component, propName, element, root);
9705
9489
  const blazorTemplateId = 'BlazorTemplateId';
@@ -9724,9 +9508,7 @@ function compile$$1(templateString, helper, ignorePrefix) {
9724
9508
  data[`${blazorTemplateId}`] = blazorId;
9725
9509
  blazorTemplates[`${templateId}`].push(data);
9726
9510
  }
9727
- // eslint-disable-next-line
9728
9511
  return propName === 'rowTemplate' ? [createElement('tr', { id: blazorId, className: 'e-blazor-template' })] :
9729
- // eslint-disable-next-line
9730
9512
  [createElement('div', { id: blazorId, className: 'e-blazor-template' })];
9731
9513
  }
9732
9514
  if (typeof result === 'string') {
@@ -9772,7 +9554,6 @@ function updateBlazorTemplate(templateId, templateName, comp, isEmpty, callBack)
9772
9554
  function resetBlazorTemplate(templateId, templateName, index) {
9773
9555
  const templateDiv = document.getElementById(templateId);
9774
9556
  if (templateDiv) {
9775
- // eslint-disable-next-line
9776
9557
  const innerTemplates = templateDiv.getElementsByClassName('blazor-inner-template');
9777
9558
  for (let i = 0; i < innerTemplates.length; i++) {
9778
9559
  let tempId = ' ';
@@ -9825,7 +9606,6 @@ function getTemplateEngine() {
9825
9606
  * @returns {Function} ?
9826
9607
  * @private
9827
9608
  */
9828
- // eslint-disable-next-line
9829
9609
  function initializeCSPTemplate(template, helper) {
9830
9610
  let boundFunc;
9831
9611
  template.prototype.CSPTemplate = true;
@@ -9840,9 +9620,8 @@ function initializeCSPTemplate(template, helper) {
9840
9620
  }
9841
9621
  //Default Engine Class
9842
9622
  class Engine {
9843
- // eslint-disable-next-line
9844
9623
  compile(templateString, helper = {}, ignorePrefix) {
9845
- return compile$1(templateString, helper);
9624
+ return compile(templateString, helper);
9846
9625
  }
9847
9626
  }
9848
9627
  const engineObj = { compile: new Engine().compile };
@@ -10023,7 +9802,6 @@ class SanitizeHtmlHelper {
10023
9802
  }
10024
9803
  }
10025
9804
  static removeXssAttrs() {
10026
- // eslint-disable-next-line
10027
9805
  this.removeAttrs.forEach((item, index) => {
10028
9806
  const elements = this.wrapElement.querySelectorAll(item.selector);
10029
9807
  if (elements.length > 0) {
@@ -10035,9 +9813,5 @@ class SanitizeHtmlHelper {
10035
9813
  }
10036
9814
  }
10037
9815
 
10038
- /**
10039
- * Base modules
10040
- */
10041
-
10042
- export { blazorCultureFormats, IntlBase, Ajax, Fetch, Animation, rippleEffect, isRippleEnabled, enableRipple, animationMode, setGlobalAnimation, GlobalAnimationMode, Base, getComponent, removeChildInstance, proxyToRaw, setProxyToRaw, Browser, versionBasedStatePersistence, enableVersionBasedPersistence, Component, ChildProperty, Position, Draggable, Droppable, EventHandler, onIntlChange, rightToLeft, cldrData, defaultCulture, defaultCurrencyCode, Internationalization, setCulture, setCurrencyCode, loadCldr, enableRtl, getNumericObject, getNumberDependable, getDefaultDateObject, KeyboardEvents, L10n, ModuleLoader, Property, Complex, ComplexFactory, Collection, CollectionFactory, Event$1 as Event, NotifyPropertyChanges, CreateBuilder, SwipeSettings, Touch, HijriParser, blazorTemplates, getRandomId, compile$$1 as compile, updateBlazorTemplate, resetBlazorTemplate, setTemplateEngine, getTemplateEngine, initializeCSPTemplate, disableBlazorMode, createInstance, setImmediate, getValue, setValue, deleteObject, containerObject, isObject, getEnumValue, merge, extend, isNullOrUndefined, isUndefined, getUniqueID, debounce, queryParams, isObjectArray, compareElementParent, throwError, print, formatUnit, enableBlazorMode, isBlazor, getElement, getInstance, addInstance, uniqueID, createElement, addClass, removeClass, isVisible, prepend, append, detach, remove, attributes, select, selectAll, closest, siblings, getAttributeOrDefault, setStyleAttribute, classList, matches, includeInnerHTML, containsClass, cloneNode, Observer, SanitizeHtmlHelper, componentList, registerLicense, validateLicense, getVersion, createLicenseOverlay };
9816
+ export { Ajax, Animation, Base, Browser, ChildProperty, Collection, CollectionFactory, Complex, ComplexFactory, Component, CreateBuilder, Draggable, Droppable, Event$1 as Event, EventHandler, Fetch, GlobalAnimationMode, HijriParser, Internationalization, IntlBase, KeyboardEvents, L10n, ModuleLoader, NotifyPropertyChanges, Observer, Position, Property, SanitizeHtmlHelper, SwipeSettings, Touch, addClass, addInstance, animationMode, append, attributes, blazorCultureFormats, blazorTemplates, classList, cldrData, cloneNode, closest, compareElementParent, compile$1 as compile, componentList, containerObject, containsClass, createElement, createInstance, createLicenseOverlay, debounce, defaultCulture, defaultCurrencyCode, deleteObject, detach, disableBlazorMode, enableBlazorMode, enableRipple, enableRtl, enableVersionBasedPersistence, extend, formatUnit, getAttributeOrDefault, getComponent, getDefaultDateObject, getElement, getEnumValue, getInstance, getNumberDependable, getNumericObject, getRandomId, getTemplateEngine, getUniqueID, getValue, getVersion, includeInnerHTML, initializeCSPTemplate, isBlazor, isNullOrUndefined, isObject, isObjectArray, isRippleEnabled, isUndefined, isVisible, loadCldr, matches, merge, onIntlChange, prepend, print, proxyToRaw, queryParams, registerLicense, remove, removeChildInstance, removeClass, resetBlazorTemplate, rightToLeft, rippleEffect, select, selectAll, setCulture, setCurrencyCode, setGlobalAnimation, setImmediate, setProxyToRaw, setStyleAttribute, setTemplateEngine, setValue, siblings, throwError, uniqueID, updateBlazorTemplate, validateLicense, versionBasedStatePersistence };
10043
9817
  //# sourceMappingURL=ej2-base.es2015.js.map