@syncfusion/ej2-calendars 25.2.7-30676 → 26.1.35-7502

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 (362) hide show
  1. package/.eslintrc.json +261 -0
  2. package/README.md +178 -178
  3. package/dist/ej2-calendars.min.js +10 -0
  4. package/dist/ej2-calendars.umd.min.js +10 -1
  5. package/dist/ej2-calendars.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-calendars.es2015.js +182 -236
  7. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  8. package/dist/es6/ej2-calendars.es5.js +252 -307
  9. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  10. package/dist/global/ej2-calendars.min.js +11 -0
  11. package/dist/global/ej2-calendars.min.js.map +1 -0
  12. package/dist/global/index.d.ts +14 -0
  13. package/helpers/e2e/calendarHelper.js +13 -13
  14. package/helpers/e2e/datepickerHelper.js +13 -13
  15. package/helpers/e2e/daterangepickerHelper.js +13 -13
  16. package/helpers/e2e/datetimepickerHelper.js +13 -13
  17. package/helpers/e2e/index.js +3 -3
  18. package/helpers/e2e/timepickerHelper.js +13 -13
  19. package/license +10 -10
  20. package/package.json +85 -85
  21. package/src/calendar/calendar-model.d.ts +277 -277
  22. package/src/calendar/calendar.d.ts +20 -21
  23. package/src/calendar/calendar.js +60 -52
  24. package/src/calendar/islamic.js +8 -7
  25. package/src/common/maskplaceholder-model.d.ts +36 -36
  26. package/src/common/maskplaceholder.js +19 -19
  27. package/src/datepicker/datepicker-model.d.ts +289 -289
  28. package/src/datepicker/datepicker.d.ts +9 -10
  29. package/src/datepicker/datepicker.js +38 -39
  30. package/src/daterangepicker/daterangepicker-model.d.ts +427 -427
  31. package/src/daterangepicker/daterangepicker.d.ts +1 -2
  32. package/src/daterangepicker/daterangepicker.js +46 -50
  33. package/src/datetimepicker/datetimepicker-model.d.ts +453 -453
  34. package/src/datetimepicker/datetimepicker.d.ts +1 -1
  35. package/src/datetimepicker/datetimepicker.js +37 -31
  36. package/src/maskbase/interface.js +0 -1
  37. package/src/maskbase/masked-date-time.js +3 -5
  38. package/src/timepicker/timepicker-model.d.ts +350 -350
  39. package/src/timepicker/timepicker.d.ts +4 -5
  40. package/src/timepicker/timepicker.js +28 -32
  41. package/styles/bootstrap-dark.css +1107 -261
  42. package/styles/bootstrap.css +1106 -261
  43. package/styles/bootstrap4.css +1113 -261
  44. package/styles/bootstrap5-dark.css +1133 -261
  45. package/styles/bootstrap5.css +1133 -261
  46. package/styles/calendar/_all.scss +2 -2
  47. package/styles/calendar/_bds-definition.scss +273 -273
  48. package/styles/calendar/_bootstrap-dark-definition.scss +238 -238
  49. package/styles/calendar/_bootstrap-definition.scss +238 -238
  50. package/styles/calendar/_bootstrap4-definition.scss +238 -238
  51. package/styles/calendar/_bootstrap5-definition.scss +258 -258
  52. package/styles/calendar/_bootstrap5.3-definition.scss +256 -260
  53. package/styles/calendar/_fabric-dark-definition.scss +202 -202
  54. package/styles/calendar/_fabric-definition.scss +200 -200
  55. package/styles/calendar/_fluent-definition.scss +262 -264
  56. package/styles/calendar/_fluent2-definition.scss +290 -294
  57. package/styles/calendar/_fusionnew-definition.scss +260 -260
  58. package/styles/calendar/_highcontrast-definition.scss +199 -199
  59. package/styles/calendar/_highcontrast-light-definition.scss +202 -202
  60. package/styles/calendar/_layout.scss +809 -565
  61. package/styles/calendar/_material-dark-definition.scss +204 -204
  62. package/styles/calendar/_material-definition.scss +199 -199
  63. package/styles/calendar/_material3-definition.scss +196 -196
  64. package/styles/calendar/_tailwind-definition.scss +271 -271
  65. package/styles/calendar/_theme.scss +614 -643
  66. package/styles/calendar/bootstrap-dark.css +416 -114
  67. package/styles/calendar/bootstrap.css +416 -114
  68. package/styles/calendar/bootstrap4.css +416 -114
  69. package/styles/calendar/bootstrap5-dark.css +437 -115
  70. package/styles/calendar/bootstrap5.css +437 -115
  71. package/styles/calendar/fabric-dark.css +421 -116
  72. package/styles/calendar/fabric.css +423 -117
  73. package/styles/calendar/fluent-dark.css +485 -143
  74. package/styles/calendar/fluent.css +485 -143
  75. package/styles/calendar/fluent2.css +549 -274
  76. package/styles/calendar/highcontrast-light.css +417 -114
  77. package/styles/calendar/highcontrast.css +423 -117
  78. package/styles/calendar/icons/_bds.scss +13 -13
  79. package/styles/calendar/icons/_bootstrap-dark.scss +13 -13
  80. package/styles/calendar/icons/_bootstrap.scss +13 -13
  81. package/styles/calendar/icons/_bootstrap4.scss +13 -13
  82. package/styles/calendar/icons/_bootstrap5.3.scss +13 -13
  83. package/styles/calendar/icons/_bootstrap5.scss +13 -13
  84. package/styles/calendar/icons/_fabric-dark.scss +13 -13
  85. package/styles/calendar/icons/_fabric.scss +13 -13
  86. package/styles/calendar/icons/_fluent.scss +13 -13
  87. package/styles/calendar/icons/_fluent2.scss +13 -13
  88. package/styles/calendar/icons/_fusionnew.scss +13 -13
  89. package/styles/calendar/icons/_highcontrast-light.scss +13 -13
  90. package/styles/calendar/icons/_highcontrast.scss +13 -13
  91. package/styles/calendar/icons/_material-dark.scss +13 -13
  92. package/styles/calendar/icons/_material.scss +13 -13
  93. package/styles/calendar/icons/_material3.scss +13 -13
  94. package/styles/calendar/icons/_tailwind.scss +13 -13
  95. package/styles/calendar/material-dark.css +423 -117
  96. package/styles/calendar/material.css +423 -117
  97. package/styles/calendar/material3-dark.css +426 -117
  98. package/styles/calendar/material3-dark.scss +1 -1
  99. package/styles/calendar/material3.css +426 -117
  100. package/styles/calendar/material3.scss +1 -1
  101. package/styles/calendar/tailwind-dark.css +469 -117
  102. package/styles/calendar/tailwind.css +469 -117
  103. package/styles/datepicker/_all.scss +2 -2
  104. package/styles/datepicker/_bds-definition.scss +105 -105
  105. package/styles/datepicker/_bootstrap-dark-definition.scss +97 -97
  106. package/styles/datepicker/_bootstrap-definition.scss +96 -96
  107. package/styles/datepicker/_bootstrap4-definition.scss +101 -101
  108. package/styles/datepicker/_bootstrap5-definition.scss +107 -107
  109. package/styles/datepicker/_bootstrap5.3-definition.scss +107 -108
  110. package/styles/datepicker/_fabric-dark-definition.scss +98 -98
  111. package/styles/datepicker/_fabric-definition.scss +95 -95
  112. package/styles/datepicker/_fluent-definition.scss +107 -107
  113. package/styles/datepicker/_fluent2-definition.scss +118 -118
  114. package/styles/datepicker/_fusionnew-definition.scss +107 -107
  115. package/styles/datepicker/_highcontrast-definition.scss +96 -96
  116. package/styles/datepicker/_highcontrast-light-definition.scss +99 -99
  117. package/styles/datepicker/_layout.scss +442 -459
  118. package/styles/datepicker/_material-dark-definition.scss +103 -103
  119. package/styles/datepicker/_material-definition.scss +100 -100
  120. package/styles/datepicker/_material3-definition.scss +97 -97
  121. package/styles/datepicker/_tailwind-definition.scss +105 -105
  122. package/styles/datepicker/_theme.scss +53 -48
  123. package/styles/datepicker/bootstrap-dark.css +59 -20
  124. package/styles/datepicker/bootstrap.css +59 -20
  125. package/styles/datepicker/bootstrap4.css +61 -20
  126. package/styles/datepicker/bootstrap5-dark.css +63 -21
  127. package/styles/datepicker/bootstrap5.css +63 -21
  128. package/styles/datepicker/fabric-dark.css +59 -20
  129. package/styles/datepicker/fabric.css +59 -20
  130. package/styles/datepicker/fluent-dark.css +63 -21
  131. package/styles/datepicker/fluent.css +63 -21
  132. package/styles/datepicker/fluent2.css +172 -109
  133. package/styles/datepicker/highcontrast-light.css +59 -20
  134. package/styles/datepicker/highcontrast.css +59 -20
  135. package/styles/datepicker/icons/_bds.scss +76 -52
  136. package/styles/datepicker/icons/_bootstrap-dark.scss +73 -49
  137. package/styles/datepicker/icons/_bootstrap.scss +72 -50
  138. package/styles/datepicker/icons/_bootstrap4.scss +76 -52
  139. package/styles/datepicker/icons/_bootstrap5.3.scss +76 -52
  140. package/styles/datepicker/icons/_bootstrap5.scss +76 -52
  141. package/styles/datepicker/icons/_fabric-dark.scss +65 -43
  142. package/styles/datepicker/icons/_fabric.scss +65 -43
  143. package/styles/datepicker/icons/_fluent.scss +76 -52
  144. package/styles/datepicker/icons/_fluent2.scss +83 -52
  145. package/styles/datepicker/icons/_fusionnew.scss +76 -52
  146. package/styles/datepicker/icons/_highcontrast-light.scss +72 -50
  147. package/styles/datepicker/icons/_highcontrast.scss +72 -50
  148. package/styles/datepicker/icons/_material-dark.scss +99 -59
  149. package/styles/datepicker/icons/_material.scss +99 -59
  150. package/styles/datepicker/icons/_material3.scss +79 -50
  151. package/styles/datepicker/icons/_tailwind.scss +76 -52
  152. package/styles/datepicker/material-dark.css +87 -22
  153. package/styles/datepicker/material.css +101 -24
  154. package/styles/datepicker/material3-dark.css +94 -24
  155. package/styles/datepicker/material3-dark.scss +1 -1
  156. package/styles/datepicker/material3.css +94 -24
  157. package/styles/datepicker/material3.scss +1 -1
  158. package/styles/datepicker/tailwind-dark.css +68 -21
  159. package/styles/datepicker/tailwind.css +68 -21
  160. package/styles/daterangepicker/_all.scss +2 -2
  161. package/styles/daterangepicker/_bds-definition.scss +294 -294
  162. package/styles/daterangepicker/_bootstrap-dark-definition.scss +258 -258
  163. package/styles/daterangepicker/_bootstrap-definition.scss +258 -258
  164. package/styles/daterangepicker/_bootstrap4-definition.scss +268 -268
  165. package/styles/daterangepicker/_bootstrap5-definition.scss +296 -296
  166. package/styles/daterangepicker/_bootstrap5.3-definition.scss +296 -298
  167. package/styles/daterangepicker/_fabric-dark-definition.scss +261 -261
  168. package/styles/daterangepicker/_fabric-definition.scss +258 -258
  169. package/styles/daterangepicker/_fluent-definition.scss +322 -313
  170. package/styles/daterangepicker/_fluent2-definition.scss +309 -305
  171. package/styles/daterangepicker/_fusionnew-definition.scss +295 -295
  172. package/styles/daterangepicker/_highcontrast-definition.scss +258 -258
  173. package/styles/daterangepicker/_highcontrast-light-definition.scss +261 -261
  174. package/styles/daterangepicker/_layout.scss +1022 -790
  175. package/styles/daterangepicker/_material-dark-definition.scss +266 -266
  176. package/styles/daterangepicker/_material-definition.scss +266 -266
  177. package/styles/daterangepicker/_material3-definition.scss +262 -262
  178. package/styles/daterangepicker/_tailwind-definition.scss +287 -287
  179. package/styles/daterangepicker/_theme.scss +463 -415
  180. package/styles/daterangepicker/bootstrap-dark.css +524 -91
  181. package/styles/daterangepicker/bootstrap.css +523 -91
  182. package/styles/daterangepicker/bootstrap4.css +528 -91
  183. package/styles/daterangepicker/bootstrap5-dark.css +529 -91
  184. package/styles/daterangepicker/bootstrap5.css +529 -91
  185. package/styles/daterangepicker/fabric-dark.css +518 -91
  186. package/styles/daterangepicker/fabric.css +518 -91
  187. package/styles/daterangepicker/fluent-dark.css +559 -96
  188. package/styles/daterangepicker/fluent.css +559 -96
  189. package/styles/daterangepicker/fluent2.css +658 -191
  190. package/styles/daterangepicker/highcontrast-light.css +518 -91
  191. package/styles/daterangepicker/highcontrast.css +518 -91
  192. package/styles/daterangepicker/icons/_bds.scss +92 -74
  193. package/styles/daterangepicker/icons/_bootstrap-dark.scss +85 -61
  194. package/styles/daterangepicker/icons/_bootstrap.scss +85 -69
  195. package/styles/daterangepicker/icons/_bootstrap4.scss +94 -75
  196. package/styles/daterangepicker/icons/_bootstrap5.3.scss +92 -74
  197. package/styles/daterangepicker/icons/_bootstrap5.scss +92 -74
  198. package/styles/daterangepicker/icons/_fabric-dark.scss +85 -69
  199. package/styles/daterangepicker/icons/_fabric.scss +85 -69
  200. package/styles/daterangepicker/icons/_fluent.scss +92 -74
  201. package/styles/daterangepicker/icons/_fluent2.scss +132 -91
  202. package/styles/daterangepicker/icons/_fusionnew.scss +92 -74
  203. package/styles/daterangepicker/icons/_highcontrast-light.scss +85 -69
  204. package/styles/daterangepicker/icons/_highcontrast.scss +85 -69
  205. package/styles/daterangepicker/icons/_material-dark.scss +119 -85
  206. package/styles/daterangepicker/icons/_material.scss +119 -85
  207. package/styles/daterangepicker/icons/_material3.scss +129 -90
  208. package/styles/daterangepicker/icons/_tailwind.scss +92 -74
  209. package/styles/daterangepicker/material-dark.css +543 -91
  210. package/styles/daterangepicker/material.css +562 -93
  211. package/styles/daterangepicker/material3-dark.css +578 -94
  212. package/styles/daterangepicker/material3-dark.scss +1 -1
  213. package/styles/daterangepicker/material3.css +578 -94
  214. package/styles/daterangepicker/material3.scss +1 -1
  215. package/styles/daterangepicker/tailwind-dark.css +526 -91
  216. package/styles/daterangepicker/tailwind.css +526 -91
  217. package/styles/datetimepicker/_all.scss +2 -2
  218. package/styles/datetimepicker/_bds-definition.scss +65 -65
  219. package/styles/datetimepicker/_bootstrap-dark-definition.scss +60 -60
  220. package/styles/datetimepicker/_bootstrap-definition.scss +59 -59
  221. package/styles/datetimepicker/_bootstrap4-definition.scss +65 -65
  222. package/styles/datetimepicker/_bootstrap5-definition.scss +65 -65
  223. package/styles/datetimepicker/_bootstrap5.3-definition.scss +65 -65
  224. package/styles/datetimepicker/_fabric-dark-definition.scss +60 -60
  225. package/styles/datetimepicker/_fabric-definition.scss +57 -57
  226. package/styles/datetimepicker/_fluent-definition.scss +65 -65
  227. package/styles/datetimepicker/_fluent2-definition.scss +65 -65
  228. package/styles/datetimepicker/_fusionnew-definition.scss +65 -65
  229. package/styles/datetimepicker/_highcontrast-definition.scss +57 -57
  230. package/styles/datetimepicker/_highcontrast-light-definition.scss +60 -60
  231. package/styles/datetimepicker/_layout.scss +235 -179
  232. package/styles/datetimepicker/_material-dark-definition.scss +64 -64
  233. package/styles/datetimepicker/_material-definition.scss +62 -62
  234. package/styles/datetimepicker/_material3-definition.scss +61 -61
  235. package/styles/datetimepicker/_tailwind-definition.scss +65 -65
  236. package/styles/datetimepicker/_theme.scss +70 -70
  237. package/styles/datetimepicker/bootstrap-dark.css +49 -26
  238. package/styles/datetimepicker/bootstrap.css +49 -26
  239. package/styles/datetimepicker/bootstrap4.css +49 -26
  240. package/styles/datetimepicker/bootstrap5-dark.css +49 -26
  241. package/styles/datetimepicker/bootstrap5.css +49 -26
  242. package/styles/datetimepicker/fabric-dark.css +49 -26
  243. package/styles/datetimepicker/fabric.css +49 -26
  244. package/styles/datetimepicker/fluent-dark.css +49 -26
  245. package/styles/datetimepicker/fluent.css +49 -26
  246. package/styles/datetimepicker/fluent2.css +150 -115
  247. package/styles/datetimepicker/highcontrast-light.css +49 -26
  248. package/styles/datetimepicker/highcontrast.css +49 -26
  249. package/styles/datetimepicker/icons/_bds.scss +11 -11
  250. package/styles/datetimepicker/icons/_bootstrap-dark.scss +11 -11
  251. package/styles/datetimepicker/icons/_bootstrap.scss +11 -11
  252. package/styles/datetimepicker/icons/_bootstrap4.scss +11 -11
  253. package/styles/datetimepicker/icons/_bootstrap5.3.scss +11 -11
  254. package/styles/datetimepicker/icons/_bootstrap5.scss +11 -11
  255. package/styles/datetimepicker/icons/_fabric-dark.scss +11 -11
  256. package/styles/datetimepicker/icons/_fabric.scss +11 -11
  257. package/styles/datetimepicker/icons/_fluent.scss +11 -11
  258. package/styles/datetimepicker/icons/_fluent2.scss +11 -11
  259. package/styles/datetimepicker/icons/_fusionnew.scss +11 -11
  260. package/styles/datetimepicker/icons/_highcontrast-light.scss +11 -11
  261. package/styles/datetimepicker/icons/_highcontrast.scss +11 -11
  262. package/styles/datetimepicker/icons/_material-dark.scss +53 -31
  263. package/styles/datetimepicker/icons/_material.scss +62 -40
  264. package/styles/datetimepicker/icons/_material3.scss +11 -11
  265. package/styles/datetimepicker/icons/_tailwind.scss +11 -11
  266. package/styles/datetimepicker/material-dark.css +82 -27
  267. package/styles/datetimepicker/material.css +96 -29
  268. package/styles/datetimepicker/material3-dark.css +85 -29
  269. package/styles/datetimepicker/material3-dark.scss +1 -1
  270. package/styles/datetimepicker/material3.css +85 -29
  271. package/styles/datetimepicker/material3.scss +1 -1
  272. package/styles/datetimepicker/tailwind-dark.css +49 -26
  273. package/styles/datetimepicker/tailwind.css +49 -26
  274. package/styles/fabric-dark.css +1106 -263
  275. package/styles/fabric.css +1108 -264
  276. package/styles/fluent-dark.css +1211 -294
  277. package/styles/fluent.css +1211 -294
  278. package/styles/fluent2.css +1313 -433
  279. package/styles/highcontrast-light.css +1102 -261
  280. package/styles/highcontrast.css +1108 -264
  281. package/styles/material-dark.css +1193 -265
  282. package/styles/material.css +1212 -267
  283. package/styles/material3-dark.css +1207 -268
  284. package/styles/material3-dark.scss +1 -1
  285. package/styles/material3.css +1207 -268
  286. package/styles/material3.scss +1 -1
  287. package/styles/tailwind-dark.css +1167 -263
  288. package/styles/tailwind.css +1167 -263
  289. package/styles/timepicker/_all.scss +2 -2
  290. package/styles/timepicker/_bds-definition.scss +84 -84
  291. package/styles/timepicker/_bootstrap-dark-definition.scss +80 -80
  292. package/styles/timepicker/_bootstrap-definition.scss +77 -77
  293. package/styles/timepicker/_bootstrap4-definition.scss +85 -85
  294. package/styles/timepicker/_bootstrap5-definition.scss +86 -86
  295. package/styles/timepicker/_bootstrap5.3-definition.scss +85 -85
  296. package/styles/timepicker/_fabric-dark-definition.scss +80 -80
  297. package/styles/timepicker/_fabric-definition.scss +77 -77
  298. package/styles/timepicker/_fluent-definition.scss +86 -86
  299. package/styles/timepicker/_fluent2-definition.scss +84 -84
  300. package/styles/timepicker/_fusionnew-definition.scss +86 -86
  301. package/styles/timepicker/_highcontrast-definition.scss +77 -77
  302. package/styles/timepicker/_highcontrast-light-definition.scss +80 -80
  303. package/styles/timepicker/_layout.scss +288 -226
  304. package/styles/timepicker/_material-dark-definition.scss +84 -84
  305. package/styles/timepicker/_material-definition.scss +81 -81
  306. package/styles/timepicker/_material3-definition.scss +83 -83
  307. package/styles/timepicker/_tailwind-definition.scss +84 -84
  308. package/styles/timepicker/_theme.scss +111 -109
  309. package/styles/timepicker/bootstrap-dark.css +59 -10
  310. package/styles/timepicker/bootstrap.css +59 -10
  311. package/styles/timepicker/bootstrap4.css +59 -10
  312. package/styles/timepicker/bootstrap5-dark.css +59 -10
  313. package/styles/timepicker/bootstrap5.css +59 -10
  314. package/styles/timepicker/fabric-dark.css +59 -10
  315. package/styles/timepicker/fabric.css +59 -10
  316. package/styles/timepicker/fluent-dark.css +59 -10
  317. package/styles/timepicker/fluent.css +59 -10
  318. package/styles/timepicker/fluent2.css +160 -99
  319. package/styles/timepicker/highcontrast-light.css +59 -10
  320. package/styles/timepicker/highcontrast.css +59 -10
  321. package/styles/timepicker/icons/_bds.scss +24 -24
  322. package/styles/timepicker/icons/_bootstrap-dark.scss +23 -23
  323. package/styles/timepicker/icons/_bootstrap.scss +24 -24
  324. package/styles/timepicker/icons/_bootstrap4.scss +24 -24
  325. package/styles/timepicker/icons/_bootstrap5.3.scss +24 -24
  326. package/styles/timepicker/icons/_bootstrap5.scss +24 -24
  327. package/styles/timepicker/icons/_fabric-dark.scss +24 -24
  328. package/styles/timepicker/icons/_fabric.scss +24 -24
  329. package/styles/timepicker/icons/_fluent.scss +24 -24
  330. package/styles/timepicker/icons/_fluent2.scss +24 -24
  331. package/styles/timepicker/icons/_fusionnew.scss +24 -24
  332. package/styles/timepicker/icons/_highcontrast-light.scss +24 -24
  333. package/styles/timepicker/icons/_highcontrast.scss +24 -24
  334. package/styles/timepicker/icons/_material-dark.scss +52 -37
  335. package/styles/timepicker/icons/_material.scss +54 -39
  336. package/styles/timepicker/icons/_material3.scss +24 -24
  337. package/styles/timepicker/icons/_tailwind.scss +24 -24
  338. package/styles/timepicker/material-dark.css +85 -11
  339. package/styles/timepicker/material.css +99 -13
  340. package/styles/timepicker/material3-dark.css +93 -13
  341. package/styles/timepicker/material3-dark.scss +1 -1
  342. package/styles/timepicker/material3.css +93 -13
  343. package/styles/timepicker/material3.scss +1 -1
  344. package/styles/timepicker/tailwind-dark.css +59 -10
  345. package/styles/timepicker/tailwind.css +59 -10
  346. package/tslint.json +111 -0
  347. package/CHANGELOG.md +0 -1220
  348. package/styles/calendar/_bigger.scss +0 -1142
  349. package/styles/calendar/_tailwind4-definition.scss +0 -260
  350. package/styles/calendar/icons/_tailwind4.scss +0 -13
  351. package/styles/datepicker/_bigger.scss +0 -82
  352. package/styles/datepicker/_tailwind4-definition.scss +0 -108
  353. package/styles/datepicker/icons/_tailwind4.scss +0 -52
  354. package/styles/daterangepicker/_bigger.scss +0 -971
  355. package/styles/daterangepicker/_tailwind4-definition.scss +0 -298
  356. package/styles/daterangepicker/icons/_tailwind4.scss +0 -74
  357. package/styles/datetimepicker/_bigger.scss +0 -105
  358. package/styles/datetimepicker/_tailwind4-definition.scss +0 -65
  359. package/styles/datetimepicker/icons/_tailwind4.scss +0 -11
  360. package/styles/timepicker/_bigger.scss +0 -92
  361. package/styles/timepicker/_tailwind4-definition.scss +0 -86
  362. package/styles/timepicker/icons/_tailwind4.scss +0 -24
@@ -1,29 +1,28 @@
1
- import { Animation, Browser, ChildProperty, Collection, Component, Event, EventHandler, HijriParser, Internationalization, KeyboardEvents, L10n, NotifyPropertyChanges, Property, Touch, addClass, append, attributes, cldrData, closest, createElement, detach, extend, formatUnit, getDefaultDateObject, getUniqueID, getValue, isNullOrUndefined, isUndefined, merge, prepend, remove, removeClass, rippleEffect, select, setStyleAttribute, setValue, throwError } from '@syncfusion/ej2-base';
1
+ import { Internationalization, isNullOrUndefined, Browser, attributes, closest, addClass, removeClass, rippleEffect, EventHandler, getValue, getDefaultDateObject, cldrData, detach, L10n, extend, KeyboardEvents, getUniqueID, Property, Event, NotifyPropertyChanges, Component, throwError, HijriParser, Touch, formatUnit, Animation, setValue, ChildProperty, merge, isUndefined, createElement, select, remove, prepend, Collection, append, setStyleAttribute } from '@syncfusion/ej2-base';
2
2
  import { Popup } from '@syncfusion/ej2-popups';
3
3
  import { Input } from '@syncfusion/ej2-inputs';
4
4
  import { Button } from '@syncfusion/ej2-buttons';
5
5
  import { ListBase } from '@syncfusion/ej2-lists';
6
6
 
7
- var __extends = (undefined && undefined.__extends) || (function () {
8
- var extendStatics = function (d, b) {
9
- extendStatics = Object.setPrototypeOf ||
10
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12
- return extendStatics(d, b);
13
- };
14
- return function (d, b) {
15
- extendStatics(d, b);
16
- function __() { this.constructor = d; }
17
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
- };
19
- })();
20
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
21
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
22
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
23
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
- return c > 3 && r && Object.defineProperty(target, key, r), r;
25
- };
26
- /* eslint-disable @typescript-eslint/no-unused-expressions */
7
+ var __extends = (undefined && undefined.__extends) || (function () {
8
+ var extendStatics = function (d, b) {
9
+ extendStatics = Object.setPrototypeOf ||
10
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12
+ return extendStatics(d, b);
13
+ };
14
+ return function (d, b) {
15
+ extendStatics(d, b);
16
+ function __() { this.constructor = d; }
17
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
+ };
19
+ })();
20
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
21
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
22
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
23
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
25
+ };
27
26
  //class constant defination.
28
27
  var OTHERMONTH = 'e-other-month';
29
28
  var OTHERDECADE = 'e-other-year';
@@ -68,7 +67,7 @@ var minutesMilliSeconds = 60000;
68
67
  *
69
68
  * @private
70
69
  */
71
- var CalendarBase = /** @class */ (function (_super) {
70
+ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
72
71
  __extends(CalendarBase, _super);
73
72
  /**
74
73
  * Initialized new instance of Calendar Class.
@@ -85,7 +84,6 @@ var CalendarBase = /** @class */ (function (_super) {
85
84
  _this.isDateSelected = true;
86
85
  _this.isTodayClicked = false;
87
86
  _this.preventChange = false;
88
- _this.isAngular = false;
89
87
  _this.previousDates = false;
90
88
  return _this;
91
89
  }
@@ -284,7 +282,7 @@ var CalendarBase = /** @class */ (function (_super) {
284
282
  if (this.showTodayButton) {
285
283
  this.createContentFooter();
286
284
  }
287
- if (this.getModuleName() != 'daterangepicker') {
285
+ if (this.getModuleName() !== 'daterangepicker') {
288
286
  EventHandler.add(this.table, 'focus', this.addContentFocus, this);
289
287
  EventHandler.add(this.table, 'blur', this.removeContentFocus, this);
290
288
  }
@@ -356,8 +354,9 @@ var CalendarBase = /** @class */ (function (_super) {
356
354
  addClass([this.calendarElement], '' + WEEKNUMBER);
357
355
  }
358
356
  }
359
- // eslint-disable-next-line max-len
360
- var shortNames = this.getCultureValues().length > 0 && this.getCultureValues() ? this.shiftArray(((this.getCultureValues().length > 0 && this.getCultureValues())), this.firstDayOfWeek) : null;
357
+ var shortNames = this.getCultureValues().length > 0 &&
358
+ this.getCultureValues() ? this.shiftArray(((this.getCultureValues().length > 0 &&
359
+ this.getCultureValues())), this.firstDayOfWeek) : null;
361
360
  if (!isNullOrUndefined(shortNames)) {
362
361
  for (var days = 0; days <= daysCount; days++) {
363
362
  html += '<th class="">' + this.toCapitalize(shortNames[days]) + '</th>';
@@ -478,6 +477,9 @@ var CalendarBase = /** @class */ (function (_super) {
478
477
  this.nextIcon = this.previousIcon = this.table = null;
479
478
  };
480
479
  CalendarBase.prototype.keyActionHandle = function (e, value, multiSelection) {
480
+ if (this.calendarElement === null && e.action === 'escape') {
481
+ return;
482
+ }
481
483
  var focusedDate = this.tableBodyElement.querySelector('tr td.e-focused-date');
482
484
  var selectedDate;
483
485
  if (multiSelection) {
@@ -497,19 +499,22 @@ var CalendarBase = /** @class */ (function (_super) {
497
499
  this.effect = '';
498
500
  switch (e.action) {
499
501
  case 'moveLeft':
500
- if (this.getModuleName() != 'daterangepicker' && !isNullOrUndefined(e.target) && e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
502
+ if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target) &&
503
+ e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
501
504
  this.keyboardNavigate(-1, view, e, this.max, this.min);
502
505
  e.preventDefault();
503
506
  }
504
507
  break;
505
508
  case 'moveRight':
506
- if (this.getModuleName() != 'daterangepicker' && !isNullOrUndefined(e.target) && e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
509
+ if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target) &&
510
+ e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
507
511
  this.keyboardNavigate(1, view, e, this.max, this.min);
508
512
  e.preventDefault();
509
513
  }
510
514
  break;
511
515
  case 'moveUp':
512
- if (this.getModuleName() != 'daterangepicker' && !isNullOrUndefined(e.target) && e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
516
+ if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target) &&
517
+ e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
513
518
  if (view === 0) {
514
519
  this.keyboardNavigate(-7, view, e, this.max, this.min); // move the current date to the previous seven days.
515
520
  }
@@ -520,7 +525,8 @@ var CalendarBase = /** @class */ (function (_super) {
520
525
  }
521
526
  break;
522
527
  case 'moveDown':
523
- if (this.getModuleName() != 'daterangepicker' && !isNullOrUndefined(e.target) && e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
528
+ if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target) &&
529
+ e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
524
530
  if (view === 0) {
525
531
  this.keyboardNavigate(7, view, e, this.max, this.min);
526
532
  }
@@ -534,13 +540,13 @@ var CalendarBase = /** @class */ (function (_super) {
534
540
  if (e.target === this.headerTitleElement) {
535
541
  this.navigateTitle(e);
536
542
  }
537
- else if (e.target === this.previousIcon) {
543
+ else if (e.target === this.previousIcon && !e.target.className.includes(DISABLED)) {
538
544
  this.navigatePrevious(e);
539
545
  }
540
- else if (e.target === this.nextIcon) {
546
+ else if (e.target === this.nextIcon && !e.target.className.includes(DISABLED)) {
541
547
  this.navigateNext(e);
542
548
  }
543
- else if (e.target === this.todayElement) {
549
+ else if (e.target === this.todayElement && !e.target.className.includes(DISABLED)) {
544
550
  this.todayButtonClick(e, value);
545
551
  if (this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') {
546
552
  this.element.focus();
@@ -553,12 +559,14 @@ var CalendarBase = /** @class */ (function (_super) {
553
559
  // eslint-disable-next-line radix
554
560
  var d = new Date(parseInt('' + (element).id, 0));
555
561
  this.selectDate(e, d, (element));
562
+ if (this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') {
563
+ this.element.focus();
564
+ }
556
565
  }
557
566
  else {
558
- this.contentClick(null, --view, (element), value);
559
- }
560
- if (this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') {
561
- this.element.focus();
567
+ if (!e.target.className.includes(DISABLED)) {
568
+ this.contentClick(null, --view, (element), value);
569
+ }
562
570
  }
563
571
  }
564
572
  }
@@ -632,7 +640,12 @@ var CalendarBase = /** @class */ (function (_super) {
632
640
  case 'tab':
633
641
  if ((this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') && e.target === this.todayElement) {
634
642
  e.preventDefault();
635
- this.element.focus();
643
+ if (this.isAngular) {
644
+ this.inputElement.focus();
645
+ }
646
+ else {
647
+ this.element.focus();
648
+ }
636
649
  this.hide();
637
650
  }
638
651
  break;
@@ -643,6 +656,11 @@ var CalendarBase = /** @class */ (function (_super) {
643
656
  this.hide();
644
657
  }
645
658
  break;
659
+ case 'escape':
660
+ if ((this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') && (e.target === this.headerTitleElement || e.target === this.previousIcon || e.target === this.nextIcon || e.target === this.todayElement)) {
661
+ this.hide();
662
+ }
663
+ break;
646
664
  }
647
665
  };
648
666
  CalendarBase.prototype.keyboardNavigate = function (number, currentView, e, max, min) {
@@ -832,7 +850,6 @@ var CalendarBase = /** @class */ (function (_super) {
832
850
  // if (args.isDisabled && +this.value === +args.date) {
833
851
  // this.setProperties({ value: null }, true);
834
852
  // }
835
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
836
853
  var currentTarget = void 0;
837
854
  if (!isNullOrUndefined(e) && e.type === 'click') {
838
855
  currentTarget = e.currentTarget;
@@ -923,7 +940,7 @@ var CalendarBase = /** @class */ (function (_super) {
923
940
  var tdEle = this.dayCell(localDate);
924
941
  var dayLink = this.createElement('span');
925
942
  var localMonth = (value && (value).getMonth() === localDate.getMonth());
926
- var select$$1 = (value && (value).getFullYear() === yr && localMonth);
943
+ var select = (value && (value).getFullYear() === yr && localMonth);
927
944
  var title = this.globalize.formatDate(localDate, { type: 'date', format: 'MMM y' });
928
945
  dayLink.textContent = this.toCapitalize(this.globalize.formatDate(localDate, {
929
946
  format: null, type: 'dateTime', skeleton: 'MMM'
@@ -931,7 +948,7 @@ var CalendarBase = /** @class */ (function (_super) {
931
948
  if ((this.min && (curYrs < minYr || (month < minMonth && curYrs === minYr))) || (this.max && (curYrs > maxYr || (month > maxMonth && curYrs >= maxYr)))) {
932
949
  addClass([tdEle], DISABLED);
933
950
  }
934
- else if (!valueUtil && select$$1) {
951
+ else if (!valueUtil && select) {
935
952
  addClass([tdEle], SELECTED);
936
953
  }
937
954
  else {
@@ -1580,9 +1597,6 @@ var CalendarBase = /** @class */ (function (_super) {
1580
1597
  CalendarBase.prototype.navigateTitle = function (e) {
1581
1598
  e.preventDefault();
1582
1599
  this.title(e);
1583
- if (this.getModuleName() === 'calendar') {
1584
- this.table.focus();
1585
- }
1586
1600
  };
1587
1601
  CalendarBase.prototype.previous = function () {
1588
1602
  this.effect = '';
@@ -1611,9 +1625,6 @@ var CalendarBase = /** @class */ (function (_super) {
1611
1625
  this.islamicModule.islamicPrevious();
1612
1626
  }
1613
1627
  this.triggerNavigate(e);
1614
- if (this.getModuleName() === 'calendar') {
1615
- this.table.focus();
1616
- }
1617
1628
  };
1618
1629
  CalendarBase.prototype.next = function () {
1619
1630
  this.effect = '';
@@ -1642,9 +1653,6 @@ var CalendarBase = /** @class */ (function (_super) {
1642
1653
  this.islamicModule.islamicNext();
1643
1654
  }
1644
1655
  this.triggerNavigate(eve);
1645
- if (this.getModuleName() === 'calendar') {
1646
- this.table.focus();
1647
- }
1648
1656
  };
1649
1657
  /**
1650
1658
  * This method is used to navigate to the month/year/decade view of the Calendar.
@@ -2132,7 +2140,7 @@ var CalendarBase = /** @class */ (function (_super) {
2132
2140
  * </script>
2133
2141
  * ```
2134
2142
  */
2135
- var Calendar = /** @class */ (function (_super) {
2143
+ var Calendar = /** @__PURE__ @class */ (function (_super) {
2136
2144
  __extends(Calendar, _super);
2137
2145
  /**
2138
2146
  * Initialized new instance of Calendar Class.
@@ -2658,7 +2666,6 @@ var Calendar = /** @class */ (function (_super) {
2658
2666
  if (!isNullOrUndefined(this.value)) {
2659
2667
  this.setProperties({ value: this.value }, true);
2660
2668
  }
2661
- // eslint-disable-next-line use-isnan
2662
2669
  if (!this.isMultiSelection && +this.value !== Number.NaN && (!isNullOrUndefined(this.value) &&
2663
2670
  !isNullOrUndefined(this.previousDate) || this.previousDate === null
2664
2671
  && !isNaN(+this.value))) {
@@ -2690,7 +2697,6 @@ var Calendar = /** @class */ (function (_super) {
2690
2697
  /**
2691
2698
  *
2692
2699
  */
2693
- /* eslint-disable @typescript-eslint/no-explicit-any */
2694
2700
  //class constant defination.
2695
2701
  var OTHERMONTH$1 = 'e-other-month';
2696
2702
  var YEAR$1 = 'e-year';
@@ -2709,7 +2715,7 @@ var CELL$1 = 'e-cell';
2709
2715
  var dayMilliSeconds$1 = 86400000;
2710
2716
  var minDecade = 2060;
2711
2717
  var maxDecade = 2069;
2712
- var Islamic = /** @class */ (function () {
2718
+ var Islamic = /** @__PURE__ @class */ (function () {
2713
2719
  function Islamic(instance) {
2714
2720
  this.calendarInstance = instance;
2715
2721
  }
@@ -2943,12 +2949,12 @@ var Islamic = /** @class */ (function () {
2943
2949
  var dayLink = this.calendarInstance.createElement('span');
2944
2950
  var localMonth = (value &&
2945
2951
  (this.getIslamicDate(value)).month === (this.getIslamicDate(localDate)).month);
2946
- var select$$1 = (value && (this.getIslamicDate(value)).year === yr && localMonth);
2952
+ var select = (value && (this.getIslamicDate(value)).year === yr && localMonth);
2947
2953
  dayLink.textContent = this.calendarInstance.globalize.formatDate(localDate, { type: 'dateTime', format: 'MMM', calendar: 'islamic' });
2948
2954
  if ((this.calendarInstance.min && (curYrs < minYr || (month < minMonth && curYrs === minYr))) || (this.calendarInstance.max && (curYrs > maxYr || (month > maxMonth && curYrs >= maxYr)))) {
2949
2955
  addClass([tdEle], DISABLED$1);
2950
2956
  }
2951
- else if (!valueUtil && select$$1) {
2957
+ else if (!valueUtil && select) {
2952
2958
  addClass([tdEle], SELECTED$1);
2953
2959
  }
2954
2960
  else {
@@ -2986,7 +2992,8 @@ var Islamic = /** @class */ (function () {
2986
2992
  endHdrYr = Number(endHdrYr.replace(/[٠١٢٣٤٥٦٧٨٩]/g, function (d) { return String.fromCharCode(d.charCodeAt(0) - 1632 + 48); }));
2987
2993
  }
2988
2994
  var splityear = this.calendarInstance.headerElement.textContent.split('-');
2989
- if ((!isNullOrUndefined(e) && (splityear[0] !== startHdrYr) && e.action === 'home') || (!isNullOrUndefined(e) && e.type === 'keydown' && e.action === 'end')) {
2995
+ if ((!isNullOrUndefined(e) && (splityear[0] !== startHdrYr) && e.action === 'home') ||
2996
+ (!isNullOrUndefined(e) && e.type === 'keydown' && e.action === 'end')) {
2990
2997
  startHdrYr = this.calendarInstance.headerElement.textContent.split('-')[0].trim();
2991
2998
  endHdrYr = this.calendarInstance.headerElement.textContent.split('-')[1].trim();
2992
2999
  }
@@ -2996,8 +3003,8 @@ var Islamic = /** @class */ (function () {
2996
3003
  this.calendarInstance.islamicPreviousHeader = null;
2997
3004
  }
2998
3005
  if (this.calendarInstance.previousIconClicked) {
2999
- // eslint-disable-next-line no-var
3000
- for (var i = 0; i <= splityear.length; i++) {
3006
+ var i = 0;
3007
+ for (i = 0; i <= splityear.length; i++) {
3001
3008
  endHdrYr = endHdrYr - splityear[i] === 2 || splityear[i]
3002
3009
  - endHdrYr === 2 ? (parseInt(endHdrYr, 10) + 1).toString() :
3003
3010
  endHdrYr - splityear[i] === 3 || splityear[i] - endHdrYr === 3 ?
@@ -3026,14 +3033,14 @@ var Islamic = /** @class */ (function () {
3026
3033
  }
3027
3034
  }
3028
3035
  if (this.calendarInstance.nextIconClicked) {
3029
- for (var i_1 = 0; i_1 <= splityear.length; i_1++) {
3030
- if (startHdrYr - splityear[i_1] === 0 || splityear[i_1] - startHdrYr === 0) {
3036
+ for (var i = 0; i <= splityear.length; i++) {
3037
+ if (startHdrYr - splityear[i] === 0 || splityear[i] - startHdrYr === 0) {
3031
3038
  startHdrYr = (parseInt(startHdrYr, 10) + 1).toString();
3032
3039
  }
3033
- if (startHdrYr - splityear[i_1] === 2 && startHdrYr > splityear[i_1].trim()) {
3040
+ if (startHdrYr - splityear[i] === 2 && startHdrYr > splityear[i].trim()) {
3034
3041
  startHdrYr = (parseInt(startHdrYr, 10) - 1).toString();
3035
3042
  }
3036
- if (splityear[i_1] - startHdrYr === 1 && startHdrYr < splityear[i_1].trim()) {
3043
+ if (splityear[i] - startHdrYr === 1 && startHdrYr < splityear[i].trim()) {
3037
3044
  startHdrYr = (parseInt(startHdrYr, 10) + 2).toString();
3038
3045
  }
3039
3046
  }
@@ -3240,34 +3247,27 @@ var Islamic = /** @class */ (function () {
3240
3247
  };
3241
3248
  return Islamic;
3242
3249
  }());
3243
-
3244
3250
  /* eslint-enable @typescript-eslint/no-explicit-any */
3245
3251
 
3246
- /**
3247
- * Calendar modules
3248
- */
3249
-
3250
- var __extends$1 = (undefined && undefined.__extends) || (function () {
3251
- var extendStatics = function (d, b) {
3252
- extendStatics = Object.setPrototypeOf ||
3253
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
3254
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
3255
- return extendStatics(d, b);
3256
- };
3257
- return function (d, b) {
3258
- extendStatics(d, b);
3259
- function __() { this.constructor = d; }
3260
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3261
- };
3262
- })();
3263
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3264
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3265
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3266
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3267
- return c > 3 && r && Object.defineProperty(target, key, r), r;
3268
- };
3269
- // eslint-disable-next-line @typescript-eslint/triple-slash-reference
3270
- /// <reference path='../calendar/calendar-model.d.ts'/>
3252
+ var __extends$1 = (undefined && undefined.__extends) || (function () {
3253
+ var extendStatics = function (d, b) {
3254
+ extendStatics = Object.setPrototypeOf ||
3255
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
3256
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
3257
+ return extendStatics(d, b);
3258
+ };
3259
+ return function (d, b) {
3260
+ extendStatics(d, b);
3261
+ function __() { this.constructor = d; }
3262
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3263
+ };
3264
+ })();
3265
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3266
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3267
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3268
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3269
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3270
+ };
3271
3271
  //class constant defination
3272
3272
  var DATEWRAPPER = 'e-date-wrapper';
3273
3273
  var ROOT$1 = 'e-datepicker';
@@ -3303,7 +3303,7 @@ var containerAttr = ['title', 'class', 'style'];
3303
3303
  * </script>
3304
3304
  * ```
3305
3305
  */
3306
- var DatePicker = /** @class */ (function (_super) {
3306
+ var DatePicker = /** @__PURE__ @class */ (function (_super) {
3307
3307
  __extends$1(DatePicker, _super);
3308
3308
  /**
3309
3309
  * Constructor for creating the widget.
@@ -3320,7 +3320,6 @@ var DatePicker = /** @class */ (function (_super) {
3320
3320
  _this.invalidValueString = null;
3321
3321
  _this.checkPreviousValue = null;
3322
3322
  _this.maskedDateValue = '';
3323
- _this.isAngular = false;
3324
3323
  _this.preventChange = false;
3325
3324
  _this.isIconClicked = false;
3326
3325
  _this.isDynamicValueChanged = false;
@@ -3426,7 +3425,7 @@ var DatePicker = /** @class */ (function (_super) {
3426
3425
  this.setProperties({ placeholder: this.placeholder || this.l10n.getConstant('placeholder') }, true);
3427
3426
  }
3428
3427
  if (this.fullScreenMode && Browser.isDevice) {
3429
- this.cssClass += ' ' + "e-popup-expand";
3428
+ this.cssClass += ' ' + 'e-popup-expand';
3430
3429
  }
3431
3430
  var updatedCssClassValues = this.cssClass;
3432
3431
  if (!isNullOrUndefined(this.cssClass) && this.cssClass !== '') {
@@ -3697,8 +3696,6 @@ var DatePicker = /** @class */ (function (_super) {
3697
3696
  });
3698
3697
  }
3699
3698
  break;
3700
- default:
3701
- break;
3702
3699
  }
3703
3700
  };
3704
3701
  DatePicker.prototype.unBindEvents = function () {
@@ -4246,10 +4243,10 @@ var DatePicker = /** @class */ (function (_super) {
4246
4243
  open: function () {
4247
4244
  if (Browser.isDevice && _this.fullScreenMode) {
4248
4245
  _this.iconRight = parseInt(window.getComputedStyle(_this.calendarElement.querySelector('.e-header.e-month .e-prev')).marginRight, 10) > 16 ? true : false;
4249
- _this.touchModule = new Touch(_this.calendarElement.querySelector(".e-content.e-month"), {
4246
+ _this.touchModule = new Touch(_this.calendarElement.querySelector('.e-content.e-month'), {
4250
4247
  swipe: _this.CalendarSwipeHandler.bind(_this)
4251
4248
  });
4252
- EventHandler.add(_this.calendarElement.querySelector(".e-content.e-month"), "touchstart", _this.TouchStartHandler, _this);
4249
+ EventHandler.add(_this.calendarElement.querySelector('.e-content.e-month'), 'touchstart', _this.TouchStartHandler, _this);
4253
4250
  }
4254
4251
  if (_this.getModuleName() !== 'datetimepicker') {
4255
4252
  if (document.activeElement !== _this.inputElement) {
@@ -4296,26 +4293,22 @@ var DatePicker = /** @class */ (function (_super) {
4296
4293
  var direction = 0;
4297
4294
  if (this.iconRight) {
4298
4295
  switch (e.swipeDirection) {
4299
- case "Left":
4296
+ case 'Left':
4300
4297
  direction = 1;
4301
4298
  break;
4302
- case "Right":
4299
+ case 'Right':
4303
4300
  direction = -1;
4304
4301
  break;
4305
- default:
4306
- break;
4307
4302
  }
4308
4303
  }
4309
4304
  else {
4310
4305
  switch (e.swipeDirection) {
4311
- case "Up":
4306
+ case 'Up':
4312
4307
  direction = 1;
4313
4308
  break;
4314
- case "Down":
4309
+ case 'Down':
4315
4310
  direction = -1;
4316
4311
  break;
4317
- default:
4318
- break;
4319
4312
  }
4320
4313
  }
4321
4314
  if (this.touchStart) {
@@ -4370,16 +4363,17 @@ var DatePicker = /** @class */ (function (_super) {
4370
4363
  }
4371
4364
  monthSpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), dateOptions);
4372
4365
  if (this.fullScreenMode) {
4373
- var modelCloseIcon = this.createElement("span", { className: "e-popup-close" });
4366
+ var modelCloseIcon = this.createElement('span', { className: 'e-popup-close' });
4374
4367
  EventHandler.add(modelCloseIcon, 'mousedown touchstart', this.modelCloseHandler, this);
4375
- var modelTodayButton = this.calendarElement.querySelector("button.e-today");
4376
- h2.classList.add("e-day-wrapper");
4377
- modelTodayButton.classList.add("e-outline");
4368
+ var modelTodayButton = this.calendarElement.querySelector('button.e-today');
4369
+ h2.classList.add('e-day-wrapper');
4370
+ modelTodayButton.classList.add('e-outline');
4378
4371
  modelHeader.appendChild(modelCloseIcon);
4379
4372
  modelHeader.appendChild(modelTodayButton);
4380
4373
  }
4381
- if (!this.fullScreenMode)
4374
+ if (!this.fullScreenMode) {
4382
4375
  modelHeader.appendChild(yearHeading);
4376
+ }
4383
4377
  h2.appendChild(daySpan);
4384
4378
  h2.appendChild(monthSpan);
4385
4379
  modelHeader.appendChild(h2);
@@ -4646,7 +4640,8 @@ var DatePicker = /** @class */ (function (_super) {
4646
4640
  this.modal = null;
4647
4641
  }
4648
4642
  if (Browser.isDevice) {
4649
- if (!isNullOrUndefined(this.mobilePopupWrapper) && (prevent && (isNullOrUndefined(this.preventArgs) || !this.preventArgs.cancel))) {
4643
+ if (!isNullOrUndefined(this.mobilePopupWrapper) &&
4644
+ (prevent && (isNullOrUndefined(this.preventArgs) || !this.preventArgs.cancel))) {
4650
4645
  this.mobilePopupWrapper.remove();
4651
4646
  this.mobilePopupWrapper = null;
4652
4647
  }
@@ -4915,7 +4910,7 @@ var DatePicker = /** @class */ (function (_super) {
4915
4910
  this.globalize = new Internationalization(this.locale);
4916
4911
  this.checkFormat();
4917
4912
  this.checkView();
4918
- var attributes$$1 = dynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) :
4913
+ var attributes = dynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) :
4919
4914
  ['value', 'min', 'max', 'disabled', 'readonly', 'style', 'name', 'placeholder', 'type'];
4920
4915
  var options;
4921
4916
  if (this.getModuleName() === 'datetimepicker') {
@@ -4940,7 +4935,7 @@ var DatePicker = /** @class */ (function (_super) {
4940
4935
  options = { format: this.formatString, type: 'dateTime', skeleton: 'yMd', calendar: 'islamic' };
4941
4936
  }
4942
4937
  }
4943
- for (var _i = 0, attributes_1 = attributes$$1; _i < attributes_1.length; _i++) {
4938
+ for (var _i = 0, attributes_1 = attributes; _i < attributes_1.length; _i++) {
4944
4939
  var prop = attributes_1[_i];
4945
4940
  if (!isNullOrUndefined(this.inputElement.getAttribute(prop))) {
4946
4941
  switch (prop) {
@@ -5090,9 +5085,7 @@ var DatePicker = /** @class */ (function (_super) {
5090
5085
  this.calendarElement.querySelectorAll(dateIdString)[0] &&
5091
5086
  this.calendarElement.querySelectorAll(dateIdString)[0].classList.contains('e-disabled');
5092
5087
  if ((!isNullOrUndefined(this.value) && !isNullOrUndefined(this.min) &&
5093
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
5094
5088
  !isNullOrUndefined(this.max) && !(new Date(this.value).setMilliseconds(0) >= new Date(this.min).setMilliseconds(0)
5095
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
5096
5089
  && new Date(this.value).setMilliseconds(0) <= new Date(this.max).setMilliseconds(0)))
5097
5090
  || (!this.strictMode && this.inputElement.value !== '' && this.inputElement.value !== this.maskedDateValue && isNullOrUndefined(this.value) || isDisabledDate)) {
5098
5091
  addClass([this.inputWrapper.container], ERROR);
@@ -5347,31 +5340,25 @@ var DatePicker = /** @class */ (function (_super) {
5347
5340
  return DatePicker;
5348
5341
  }(Calendar));
5349
5342
 
5350
- /**
5351
- * Datepicker modules
5352
- */
5353
-
5354
- var __extends$2 = (undefined && undefined.__extends) || (function () {
5355
- var extendStatics = function (d, b) {
5356
- extendStatics = Object.setPrototypeOf ||
5357
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5358
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5359
- return extendStatics(d, b);
5360
- };
5361
- return function (d, b) {
5362
- extendStatics(d, b);
5363
- function __() { this.constructor = d; }
5364
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
5365
- };
5366
- })();
5367
- var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
5368
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5369
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5370
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5371
- return c > 3 && r && Object.defineProperty(target, key, r), r;
5372
- };
5373
- // eslint-disable-next-line @typescript-eslint/triple-slash-reference
5374
- /// <reference path='../calendar/calendar-model.d.ts'/>
5343
+ var __extends$2 = (undefined && undefined.__extends) || (function () {
5344
+ var extendStatics = function (d, b) {
5345
+ extendStatics = Object.setPrototypeOf ||
5346
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5347
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5348
+ return extendStatics(d, b);
5349
+ };
5350
+ return function (d, b) {
5351
+ extendStatics(d, b);
5352
+ function __() { this.constructor = d; }
5353
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
5354
+ };
5355
+ })();
5356
+ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
5357
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5358
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5359
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5360
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
5361
+ };
5375
5362
  var DATERANGEWRAPPER = 'e-date-range-wrapper';
5376
5363
  var INPUTCONTAINER$1 = 'e-input-group';
5377
5364
  var DATERANGEICON = 'e-input-group-icon e-range-icon e-icons';
@@ -5435,7 +5422,7 @@ var NONEDITABLE = 'e-non-edit';
5435
5422
  var DAYHEADERLONG$1 = 'e-daterange-day-header-lg';
5436
5423
  var HIDDENELEMENT = 'e-daterange-hidden';
5437
5424
  var wrapperAttr = ['title', 'class', 'style'];
5438
- var Presets = /** @class */ (function (_super) {
5425
+ var Presets = /** @__PURE__ @class */ (function (_super) {
5439
5426
  __extends$2(Presets, _super);
5440
5427
  function Presets() {
5441
5428
  return _super !== null && _super.apply(this, arguments) || this;
@@ -5464,7 +5451,7 @@ var Presets = /** @class */ (function (_super) {
5464
5451
  * </script>
5465
5452
  * ```
5466
5453
  */
5467
- var DateRangePicker = /** @class */ (function (_super) {
5454
+ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
5468
5455
  __extends$2(DateRangePicker, _super);
5469
5456
  /**
5470
5457
  * Constructor for creating the widget
@@ -5488,7 +5475,6 @@ var DateRangePicker = /** @class */ (function (_super) {
5488
5475
  _this.preventBlur = false;
5489
5476
  _this.preventFocus = false;
5490
5477
  _this.invalidValueString = null;
5491
- _this.isAngular = false;
5492
5478
  _this.preventChange = false;
5493
5479
  _this.dateRangeOptions = options;
5494
5480
  return _this;
@@ -5713,21 +5699,21 @@ var DateRangePicker = /** @class */ (function (_super) {
5713
5699
  this.bindEvents();
5714
5700
  };
5715
5701
  DateRangePicker.prototype.setDataAttribute = function (isDynamic) {
5716
- var attributes$$1 = {};
5702
+ var attributes = {};
5717
5703
  if (!isDynamic) {
5718
5704
  for (var i = 0; i < this.element.attributes.length; i++) {
5719
- attributes$$1[this.element.attributes[i].name] =
5705
+ attributes[this.element.attributes[i].name] =
5720
5706
  this.element.getAttribute(this.element.attributes[i].name);
5721
5707
  }
5722
5708
  }
5723
5709
  else {
5724
- attributes$$1 = this.htmlAttributes;
5710
+ attributes = this.htmlAttributes;
5725
5711
  }
5726
- for (var _i = 0, _a = Object.keys(attributes$$1); _i < _a.length; _i++) {
5712
+ for (var _i = 0, _a = Object.keys(attributes); _i < _a.length; _i++) {
5727
5713
  var pro = _a[_i];
5728
5714
  if (pro.indexOf('data') === 0) {
5729
- this.firstHiddenChild.setAttribute(pro, attributes$$1["" + pro]);
5730
- this.secondHiddenChild.setAttribute(pro, attributes$$1["" + pro]);
5715
+ this.firstHiddenChild.setAttribute(pro, attributes["" + pro]);
5716
+ this.secondHiddenChild.setAttribute(pro, attributes["" + pro]);
5731
5717
  }
5732
5718
  }
5733
5719
  };
@@ -5759,14 +5745,14 @@ var DateRangePicker = /** @class */ (function (_super) {
5759
5745
  var name = element.getAttribute('name') ? element.getAttribute('name') : element.getAttribute('id');
5760
5746
  input.setAttribute('name', name);
5761
5747
  element.removeAttribute('name');
5762
- var attributes$$1 = ['required', 'aria-required', 'form'];
5763
- for (var i = 0; i < attributes$$1.length; i++) {
5764
- if (isNullOrUndefined(element.getAttribute(attributes$$1[i]))) {
5748
+ var attributes = ['required', 'aria-required', 'form'];
5749
+ for (var i = 0; i < attributes.length; i++) {
5750
+ if (isNullOrUndefined(element.getAttribute(attributes[i]))) {
5765
5751
  continue;
5766
5752
  }
5767
- var attr = element.getAttribute(attributes$$1[i]);
5768
- input.setAttribute(attributes$$1[i], attr);
5769
- element.removeAttribute(attributes$$1[i]);
5753
+ var attr = element.getAttribute(attributes[i]);
5754
+ input.setAttribute(attributes[i], attr);
5755
+ element.removeAttribute(attributes[i]);
5770
5756
  }
5771
5757
  };
5772
5758
  DateRangePicker.prototype.updateHtmlAttributeToWrapper = function () {
@@ -6029,11 +6015,11 @@ var DateRangePicker = /** @class */ (function (_super) {
6029
6015
  };
6030
6016
  DateRangePicker.prototype.checkHtmlAttributes = function (isDynamic) {
6031
6017
  this.globalize = new Internationalization(this.locale);
6032
- var attributes$$1 = isDynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) :
6018
+ var attributes = isDynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) :
6033
6019
  ['startDate', 'endDate', 'minDays', 'maxDays', 'min', 'max', 'disabled', 'readonly', 'style', 'name', 'placeholder',
6034
6020
  'type', 'value'];
6035
6021
  var format = { format: this.formatString, type: 'date', skeleton: 'yMd' };
6036
- for (var _i = 0, attributes_1 = attributes$$1; _i < attributes_1.length; _i++) {
6022
+ for (var _i = 0, attributes_1 = attributes; _i < attributes_1.length; _i++) {
6037
6023
  var prop = attributes_1[_i];
6038
6024
  if (!isNullOrUndefined(this.inputElement.getAttribute(prop))) {
6039
6025
  switch (prop) {
@@ -6125,8 +6111,9 @@ var DateRangePicker = /** @class */ (function (_super) {
6125
6111
  var startDate = this.presetsItem[i].start;
6126
6112
  var endDate = this.presetsItem[i].end;
6127
6113
  if (this.startValue && this.endValue) {
6128
- if (startDate.getDate() == this.startValue.getDate() && startDate.getMonth() == this.startValue.getMonth() && startDate.getFullYear() == this.startValue.getFullYear()
6129
- && endDate.getDate() == this.endValue.getDate() && endDate.getMonth() == this.endValue.getMonth() && endDate.getFullYear() == this.endValue.getFullYear()) {
6114
+ if (startDate.getDate() === this.startValue.getDate() && startDate.getMonth() === this.startValue.getMonth() &&
6115
+ startDate.getFullYear() === this.startValue.getFullYear() && endDate.getDate() === this.endValue.getDate() &&
6116
+ endDate.getMonth() === this.endValue.getMonth() && endDate.getFullYear() === this.endValue.getFullYear()) {
6130
6117
  this.activeIndex = i;
6131
6118
  this.isCustomRange = false;
6132
6119
  }
@@ -6398,19 +6385,15 @@ var DateRangePicker = /** @class */ (function (_super) {
6398
6385
  }
6399
6386
  this.updateHiddenInput();
6400
6387
  };
6401
- // eslint-disable-next-line @typescript-eslint/tslint/config
6402
6388
  DateRangePicker.prototype.getStartEndDate = function (date, isEnd, range, dateOptions) {
6403
6389
  if (this.depth === 'Month') {
6404
6390
  return this.globalize.parseDate(range[isEnd ? 1 : 0].trim(), dateOptions);
6405
6391
  }
6406
- else if (this.depth === 'Year' && !isNullOrUndefined(date)) {
6392
+ else if (this.depth === 'Year') {
6407
6393
  return new Date(date.getFullYear(), date.getMonth() + (isEnd ? 1 : 0), isEnd ? 0 : 1);
6408
6394
  }
6409
- else if (!isNullOrUndefined(date)) {
6410
- return new Date(date.getFullYear(), isEnd ? 11 : 0, isEnd ? 31 : 1);
6411
- }
6412
6395
  else {
6413
- return null;
6396
+ return new Date(date.getFullYear(), isEnd ? 11 : 0, isEnd ? 31 : 1);
6414
6397
  }
6415
6398
  };
6416
6399
  DateRangePicker.prototype.clearRange = function () {
@@ -8032,10 +8015,10 @@ var DateRangePicker = /** @class */ (function (_super) {
8032
8015
  var controlContainer = this.createElement('div', { className: RANGECONTAINER });
8033
8016
  var headerContainer = this.createElement('div', { className: RANGEHEADER });
8034
8017
  if (this.isMobile && this.fullScreenMode) {
8035
- var modelHeaderIconWrapper = this.createElement("div", { className: "e-model-header-wrapper" });
8036
- var modelCloseIcon = this.createElement("span", { className: "e-popup-close" });
8018
+ var modelHeaderIconWrapper = this.createElement('div', { className: 'e-model-header-wrapper' });
8019
+ var modelCloseIcon = this.createElement('span', { className: 'e-popup-close' });
8037
8020
  EventHandler.add(modelCloseIcon, 'mousedown touchstart', this.modelRangeCloseHandler, this);
8038
- var modelApplyButton = this.createElement("span", { className: "e-apply" });
8021
+ var modelApplyButton = this.createElement('span', { className: 'e-apply' });
8039
8022
  EventHandler.add(modelApplyButton, 'mousedown touchstart', this.applyFunction, this);
8040
8023
  modelHeaderIconWrapper.appendChild(modelCloseIcon);
8041
8024
  modelHeaderIconWrapper.appendChild(modelApplyButton);
@@ -8130,10 +8113,13 @@ var DateRangePicker = /** @class */ (function (_super) {
8130
8113
  eve.preventDefault();
8131
8114
  }
8132
8115
  if (!isNullOrUndefined(this.startValue) && !isNullOrUndefined(this.endValue)) {
8133
- if (!(this.previousStartValue && this.previousEndValue && this.startValue.getDate() == this.previousStartValue.getDate() && this.startValue.getMonth() == this.previousStartValue.getMonth() &&
8134
- this.startValue.getFullYear() == this.previousStartValue.getFullYear()
8135
- && this.endValue.getDate() == this.previousEndValue.getDate() && this.endValue.getMonth() == this.previousEndValue.getMonth()
8136
- && this.endValue.getFullYear() == this.previousEndValue.getFullYear())) {
8116
+ if (!(this.previousStartValue && this.previousEndValue &&
8117
+ this.startValue.getDate() === this.previousStartValue.getDate() &&
8118
+ this.startValue.getMonth() === this.previousStartValue.getMonth() &&
8119
+ this.startValue.getFullYear() === this.previousStartValue.getFullYear()
8120
+ && this.endValue.getDate() === this.previousEndValue.getDate() &&
8121
+ this.endValue.getMonth() === this.previousEndValue.getMonth()
8122
+ && this.endValue.getFullYear() === this.previousEndValue.getFullYear())) {
8137
8123
  Input.setValue(this.rangeArgs(eve).text, this.inputElement, this.floatLabelType, this.showClearButton);
8138
8124
  }
8139
8125
  this.previousStartValue = new Date(+this.startValue);
@@ -8304,9 +8290,9 @@ var DateRangePicker = /** @class */ (function (_super) {
8304
8290
  if (this.fullScreenMode) {
8305
8291
  var modelWrapper = createElement('div', { className: 'e-range-mob-popup-wrap' });
8306
8292
  var modelHeader = this.createElement('div', { className: 'e-model-header' });
8307
- var modelTitleSpan = this.createElement("span", { className: "e-model-title" });
8308
- modelTitleSpan.textContent = "Select Preset";
8309
- var modelCloseIcon = this.createElement("span", { className: "e-popup-close" });
8293
+ var modelTitleSpan = this.createElement('span', { className: 'e-model-title' });
8294
+ modelTitleSpan.textContent = 'Select Preset';
8295
+ var modelCloseIcon = this.createElement('span', { className: 'e-popup-close' });
8310
8296
  EventHandler.add(modelCloseIcon, 'mousedown touchstart', this.modelRangeCloseHandler, this);
8311
8297
  var presetContent = this.presetElement;
8312
8298
  modelHeader.appendChild(modelCloseIcon);
@@ -8371,10 +8357,10 @@ var DateRangePicker = /** @class */ (function (_super) {
8371
8357
  if (_this.isMobile && _this.fullScreenMode) {
8372
8358
  _this.iconRangeRight = _this.calendarElement && window.getComputedStyle(_this.calendarElement.querySelector('.e-header.e-month .e-prev')).cssFloat;
8373
8359
  if (_this.iconRangeRight) {
8374
- _this.touchRangeModule = new Touch(_this.calendarElement.querySelector(".e-content.e-month"), {
8360
+ _this.touchRangeModule = new Touch(_this.calendarElement.querySelector('.e-content.e-month'), {
8375
8361
  swipe: _this.dateRangeSwipeHandler.bind(_this)
8376
8362
  });
8377
- EventHandler.add(_this.calendarElement.querySelector(".e-content.e-month"), "touchstart", _this.touchStartRangeHandler, _this);
8363
+ EventHandler.add(_this.calendarElement.querySelector('.e-content.e-month'), 'touchstart', _this.touchStartRangeHandler, _this);
8378
8364
  }
8379
8365
  }
8380
8366
  attributes(_this.inputElement, { 'aria-expanded': 'true', 'aria-owns': _this.element.id, 'aria-controls': _this.inputElement.id });
@@ -8473,28 +8459,24 @@ var DateRangePicker = /** @class */ (function (_super) {
8473
8459
  };
8474
8460
  DateRangePicker.prototype.dateRangeSwipeHandler = function (e) {
8475
8461
  var direction = 0;
8476
- if (this.iconRangeRight == 'left') {
8462
+ if (this.iconRangeRight === 'left') {
8477
8463
  switch (e.swipeDirection) {
8478
- case "Left":
8464
+ case 'Left':
8479
8465
  direction = 1;
8480
8466
  break;
8481
- case "Right":
8467
+ case 'Right':
8482
8468
  direction = -1;
8483
8469
  break;
8484
- default:
8485
- break;
8486
8470
  }
8487
8471
  }
8488
8472
  else {
8489
8473
  switch (e.swipeDirection) {
8490
- case "Up":
8474
+ case 'Up':
8491
8475
  direction = 1;
8492
8476
  break;
8493
- case "Down":
8477
+ case 'Down':
8494
8478
  direction = -1;
8495
8479
  break;
8496
- default:
8497
- break;
8498
8480
  }
8499
8481
  }
8500
8482
  if (this.touchRangeStart) {
@@ -8762,7 +8744,7 @@ var DateRangePicker = /** @class */ (function (_super) {
8762
8744
  };
8763
8745
  DateRangePicker.prototype.createInput = function () {
8764
8746
  if (this.fullScreenMode && this.isMobile) {
8765
- this.cssClass += ' ' + "e-popup-expand";
8747
+ this.cssClass += ' ' + 'e-popup-expand';
8766
8748
  }
8767
8749
  var updatedCssClassValue = this.cssClass;
8768
8750
  if (!isNullOrUndefined(this.cssClass) && this.cssClass !== '') {
@@ -9406,9 +9388,7 @@ var DateRangePicker = /** @class */ (function (_super) {
9406
9388
  _this.endButton.element.removeAttribute('disabled');
9407
9389
  _this.selectableDates();
9408
9390
  }
9409
- _super.prototype.setOverlayIndex.call(_this, _this.mobileRangePopupWrap, _this.popupObj.element, _this.modal,
9410
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
9411
- _this.isMobile || Browser.isDevice);
9391
+ _super.prototype.setOverlayIndex.call(_this, _this.mobileRangePopupWrap, _this.popupObj.element, _this.modal, _this.isMobile || Browser.isDevice);
9412
9392
  }
9413
9393
  });
9414
9394
  if (Browser.isDevice) {
@@ -9603,7 +9583,6 @@ var DateRangePicker = /** @class */ (function (_super) {
9603
9583
  this.updateHeader();
9604
9584
  }
9605
9585
  };
9606
- // eslint-disable-next-line @typescript-eslint/tslint/config
9607
9586
  DateRangePicker.prototype.getStartEndValue = function (date, isEnd) {
9608
9587
  if (this.depth === 'Month') {
9609
9588
  return this.checkDateValue(new Date(this.checkValue(date)));
@@ -9980,30 +9959,25 @@ var DateRangePicker = /** @class */ (function (_super) {
9980
9959
  return DateRangePicker;
9981
9960
  }(CalendarBase));
9982
9961
 
9983
- /**
9984
- * DateRangePicker modules
9985
- */
9986
-
9987
- var __extends$3 = (undefined && undefined.__extends) || (function () {
9988
- var extendStatics = function (d, b) {
9989
- extendStatics = Object.setPrototypeOf ||
9990
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9991
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
9992
- return extendStatics(d, b);
9993
- };
9994
- return function (d, b) {
9995
- extendStatics(d, b);
9996
- function __() { this.constructor = d; }
9997
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9998
- };
9999
- })();
10000
- var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
10001
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10002
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10003
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10004
- return c > 3 && r && Object.defineProperty(target, key, r), r;
10005
- };
10006
- /* eslint-disable @typescript-eslint/no-explicit-any */
9962
+ var __extends$3 = (undefined && undefined.__extends) || (function () {
9963
+ var extendStatics = function (d, b) {
9964
+ extendStatics = Object.setPrototypeOf ||
9965
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9966
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
9967
+ return extendStatics(d, b);
9968
+ };
9969
+ return function (d, b) {
9970
+ extendStatics(d, b);
9971
+ function __() { this.constructor = d; }
9972
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9973
+ };
9974
+ })();
9975
+ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
9976
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9977
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9978
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9979
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9980
+ };
10007
9981
  var WRAPPERCLASS = 'e-time-wrapper';
10008
9982
  var POPUP$2 = 'e-popup';
10009
9983
  var ERROR$2 = 'e-error';
@@ -10033,13 +10007,7 @@ var TimePickerBase;
10033
10007
  (function (TimePickerBase) {
10034
10008
  // eslint-disable-next-line max-len, jsdoc/require-jsdoc
10035
10009
  function createListItems(createdEl, min, max, globalize, timeFormat, step) {
10036
- if (this.calendarMode === 'Gregorian') {
10037
-
10038
- }
10039
- else {
10040
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10041
-
10042
- }
10010
+ if (this.calendarMode === 'Gregorian') ;
10043
10011
  var start;
10044
10012
  var interval = step * 60000;
10045
10013
  var listItems = [];
@@ -10056,7 +10024,7 @@ var TimePickerBase;
10056
10024
  }
10057
10025
  TimePickerBase.createListItems = createListItems;
10058
10026
  })(TimePickerBase || (TimePickerBase = {}));
10059
- var TimeMaskPlaceholder = /** @class */ (function (_super) {
10027
+ var TimeMaskPlaceholder = /** @__PURE__ @class */ (function (_super) {
10060
10028
  __extends$3(TimeMaskPlaceholder, _super);
10061
10029
  function TimeMaskPlaceholder() {
10062
10030
  return _super !== null && _super.apply(this, arguments) || this;
@@ -10095,7 +10063,7 @@ var TimeMaskPlaceholder = /** @class */ (function (_super) {
10095
10063
  * </script>
10096
10064
  * ```
10097
10065
  */
10098
- var TimePicker = /** @class */ (function (_super) {
10066
+ var TimePicker = /** @__PURE__ @class */ (function (_super) {
10099
10067
  __extends$3(TimePicker, _super);
10100
10068
  /**
10101
10069
  * Constructor for creating the widget
@@ -10110,7 +10078,6 @@ var TimePicker = /** @class */ (function (_super) {
10110
10078
  _this.timeCollections = [];
10111
10079
  _this.disableItemCollection = [];
10112
10080
  _this.invalidValueString = null;
10113
- _this.isAngular = false;
10114
10081
  _this.preventChange = false;
10115
10082
  _this.maskedDateValue = '';
10116
10083
  _this.moduleName = _this.getModuleName();
@@ -10243,14 +10210,14 @@ var TimePicker = /** @class */ (function (_super) {
10243
10210
  var name = target.getAttribute('name') ? target.getAttribute('name') : target.getAttribute('id');
10244
10211
  input.setAttribute('name', name);
10245
10212
  target.removeAttribute('name');
10246
- var attributes$$1 = ['required', 'aria-required', 'form'];
10247
- for (var i = 0; i < attributes$$1.length; i++) {
10248
- if (isNullOrUndefined(target.getAttribute(attributes$$1[i]))) {
10213
+ var attributes = ['required', 'aria-required', 'form'];
10214
+ for (var i = 0; i < attributes.length; i++) {
10215
+ if (isNullOrUndefined(target.getAttribute(attributes[i]))) {
10249
10216
  continue;
10250
10217
  }
10251
- var attr = target.getAttribute(attributes$$1[i]);
10252
- input.setAttribute(attributes$$1[i], attr);
10253
- target.removeAttribute(attributes$$1[i]);
10218
+ var attr = target.getAttribute(attributes[i]);
10219
+ input.setAttribute(attributes[i], attr);
10220
+ target.removeAttribute(attributes[i]);
10254
10221
  }
10255
10222
  };
10256
10223
  TimePicker.prototype.initialize = function () {
@@ -10319,7 +10286,7 @@ var TimePicker = /** @class */ (function (_super) {
10319
10286
  };
10320
10287
  TimePicker.prototype.createInputElement = function () {
10321
10288
  if (this.fullScreenMode && Browser.isDevice) {
10322
- this.cssClass += ' ' + "e-popup-expand";
10289
+ this.cssClass += ' ' + 'e-popup-expand';
10323
10290
  }
10324
10291
  var updatedCssClassesValue = this.cssClass;
10325
10292
  var isBindClearAction = this.enableMask ? false : true;
@@ -10430,7 +10397,6 @@ var TimePicker = /** @class */ (function (_super) {
10430
10397
  }
10431
10398
  return modules;
10432
10399
  };
10433
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10434
10400
  TimePicker.prototype.cldrFormat = function (type) {
10435
10401
  var cldrDateTimeString;
10436
10402
  if (this.locale === 'en' || this.locale === 'en-US') {
@@ -10579,17 +10545,17 @@ var TimePicker = /** @class */ (function (_super) {
10579
10545
  this.popupObj.collision = { X: 'none', Y: 'flip' };
10580
10546
  }
10581
10547
  if (Browser.isDevice && this.fullScreenMode) {
10582
- this.popupObj.element.style.maxHeight = "100%";
10583
- this.popupObj.element.style.width = "100%";
10548
+ this.popupObj.element.style.maxHeight = '100%';
10549
+ this.popupObj.element.style.width = '100%';
10584
10550
  }
10585
10551
  else {
10586
10552
  this.popupObj.element.style.maxHeight = POPUPDIMENSION;
10587
10553
  }
10588
10554
  if (Browser.isDevice && this.fullScreenMode) {
10589
10555
  var modelHeader = this.createElement('div', { className: 'e-model-header' });
10590
- var modelTitleSpan = this.createElement("span", { className: "e-model-title" });
10591
- modelTitleSpan.textContent = "Select time";
10592
- var modelCloseIcon = this.createElement("span", { className: "e-popup-close" });
10556
+ var modelTitleSpan = this.createElement('span', { className: 'e-model-title' });
10557
+ modelTitleSpan.textContent = 'Select time';
10558
+ var modelCloseIcon = this.createElement('span', { className: 'e-popup-close' });
10593
10559
  EventHandler.add(modelCloseIcon, 'mousedown touchstart', this.timePopupCloseHandler, this);
10594
10560
  modelHeader.appendChild(modelCloseIcon);
10595
10561
  modelHeader.appendChild(modelTitleSpan);
@@ -10976,7 +10942,7 @@ var TimePicker = /** @class */ (function (_super) {
10976
10942
  };
10977
10943
  TimePicker.prototype.inputHandler = function (event) {
10978
10944
  if (!this.readonly && this.enabled) {
10979
- if (!((event.action == 'right' || event.action == 'left' || event.action == 'tab') || ((event.action == 'home' || event.action == 'end' || event.action == 'up' || event.action == 'down') && !this.isPopupOpen() && !this.enableMask))) {
10945
+ if (!((event.action === 'right' || event.action === 'left' || event.action === 'tab') || ((event.action === 'home' || event.action === 'end' || event.action === 'up' || event.action === 'down') && !this.isPopupOpen() && !this.enableMask))) {
10980
10946
  event.preventDefault();
10981
10947
  }
10982
10948
  switch (event.action) {
@@ -11311,8 +11277,6 @@ var TimePicker = /** @class */ (function (_super) {
11311
11277
  });
11312
11278
  }
11313
11279
  break;
11314
- default:
11315
- break;
11316
11280
  }
11317
11281
  };
11318
11282
  TimePicker.prototype.formResetHandler = function () {
@@ -11428,10 +11392,10 @@ var TimePicker = /** @class */ (function (_super) {
11428
11392
  }
11429
11393
  };
11430
11394
  TimePicker.prototype.checkAttributes = function (isDynamic) {
11431
- var attributes$$1 = isDynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) :
11395
+ var attributes = isDynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) :
11432
11396
  ['step', 'disabled', 'readonly', 'style', 'name', 'value', 'min', 'max', 'placeholder'];
11433
11397
  var value;
11434
- for (var _i = 0, attributes_1 = attributes$$1; _i < attributes_1.length; _i++) {
11398
+ for (var _i = 0, attributes_1 = attributes; _i < attributes_1.length; _i++) {
11435
11399
  var prop = attributes_1[_i];
11436
11400
  if (!isNullOrUndefined(this.inputElement.getAttribute(prop))) {
11437
11401
  switch (prop) {
@@ -12579,34 +12543,27 @@ var TimePicker = /** @class */ (function (_super) {
12579
12543
  ], TimePicker);
12580
12544
  return TimePicker;
12581
12545
  }(Component));
12582
-
12583
12546
  /* eslint-enable @typescript-eslint/no-explicit-any */
12584
12547
 
12585
- /**
12586
- * TimePicker modules
12587
- */
12588
-
12589
- var __extends$4 = (undefined && undefined.__extends) || (function () {
12590
- var extendStatics = function (d, b) {
12591
- extendStatics = Object.setPrototypeOf ||
12592
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
12593
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12594
- return extendStatics(d, b);
12595
- };
12596
- return function (d, b) {
12597
- extendStatics(d, b);
12598
- function __() { this.constructor = d; }
12599
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12600
- };
12601
- })();
12602
- var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
12603
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12604
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
12605
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12606
- return c > 3 && r && Object.defineProperty(target, key, r), r;
12607
- };
12608
- // eslint-disable-next-line @typescript-eslint/triple-slash-reference
12609
- ///<reference path='../datepicker/datepicker-model.d.ts'/>
12548
+ var __extends$4 = (undefined && undefined.__extends) || (function () {
12549
+ var extendStatics = function (d, b) {
12550
+ extendStatics = Object.setPrototypeOf ||
12551
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
12552
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12553
+ return extendStatics(d, b);
12554
+ };
12555
+ return function (d, b) {
12556
+ extendStatics(d, b);
12557
+ function __() { this.constructor = d; }
12558
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12559
+ };
12560
+ })();
12561
+ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
12562
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12563
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
12564
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12565
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
12566
+ };
12610
12567
  //class constant defination
12611
12568
  var DATEWRAPPER$1 = 'e-date-wrapper';
12612
12569
  var DATEPICKERROOT = 'e-datepicker';
@@ -12622,7 +12579,7 @@ var ROOT$4 = 'e-datetimepicker';
12622
12579
  var DATETIMEPOPUPWRAPPER = 'e-datetimepopup-wrapper';
12623
12580
  var INPUTWRAPPER$1 = 'e-input-group-icon';
12624
12581
  var POPUP$3 = 'e-popup';
12625
- var TIMEICON$1 = 'e-time-icon';
12582
+ var TIMEICON = 'e-time-icon';
12626
12583
  var INPUTFOCUS$2 = 'e-input-focus';
12627
12584
  var POPUPDIMENSION$1 = '250px';
12628
12585
  var ICONANIMATION$1 = 'e-icon-anim';
@@ -12650,7 +12607,7 @@ var OVERFLOW$3 = 'e-time-overflow';
12650
12607
  * </script>
12651
12608
  * ```
12652
12609
  */
12653
- var DateTimePicker = /** @class */ (function (_super) {
12610
+ var DateTimePicker = /** @__PURE__ @class */ (function (_super) {
12654
12611
  __extends$4(DateTimePicker, _super);
12655
12612
  /**
12656
12613
  * Constructor for creating the widget
@@ -12936,7 +12893,7 @@ var DateTimePicker = /** @class */ (function (_super) {
12936
12893
  this.renderTimeIcon();
12937
12894
  };
12938
12895
  DateTimePicker.prototype.renderTimeIcon = function () {
12939
- this.timeIcon = Input.appendSpan(INPUTWRAPPER$1 + ' ' + TIMEICON$1 + ' ' + ICONS$1, this.inputWrapper.container);
12896
+ this.timeIcon = Input.appendSpan(INPUTWRAPPER$1 + ' ' + TIMEICON + ' ' + ICONS$1, this.inputWrapper.container);
12940
12897
  };
12941
12898
  DateTimePicker.prototype.bindInputEvents = function () {
12942
12899
  EventHandler.add(this.timeIcon, 'mousedown', this.timeHandler, this);
@@ -13177,7 +13134,7 @@ var DateTimePicker = /** @class */ (function (_super) {
13177
13134
  if (!_this.preventArgs.cancel && !_this.readonly) {
13178
13135
  var openAnimation = {
13179
13136
  name: 'FadeIn',
13180
- duration: ANIMATIONDURATION$1,
13137
+ duration: ANIMATIONDURATION$1
13181
13138
  };
13182
13139
  if (_this.zIndex === 1000) {
13183
13140
  _this.popupObject.show(new Animation(openAnimation), _this.element);
@@ -13268,9 +13225,9 @@ var DateTimePicker = /** @class */ (function (_super) {
13268
13225
  }
13269
13226
  });
13270
13227
  if (Browser.isDevice && this.fullScreenMode) {
13271
- this.popupObject.element.style.display = "flex";
13272
- this.popupObject.element.style.maxHeight = "100%";
13273
- this.popupObject.element.style.width = "100%";
13228
+ this.popupObject.element.style.display = 'flex';
13229
+ this.popupObject.element.style.maxHeight = '100%';
13230
+ this.popupObject.element.style.width = '100%';
13274
13231
  }
13275
13232
  else {
13276
13233
  this.popupObject.element.style.maxHeight = POPUPDIMENSION$1;
@@ -13278,11 +13235,11 @@ var DateTimePicker = /** @class */ (function (_super) {
13278
13235
  if (Browser.isDevice && this.fullScreenMode) {
13279
13236
  var modelWrapper = createElement('div', { className: 'e-datetime-mob-popup-wrap' });
13280
13237
  var modelHeader = this.createElement('div', { className: 'e-model-header' });
13281
- var modelTitleSpan = this.createElement("span", { className: "e-model-title" });
13282
- modelTitleSpan.textContent = "Select time";
13283
- var modelCloseIcon = this.createElement("span", { className: "e-popup-close" });
13238
+ var modelTitleSpan = this.createElement('span', { className: 'e-model-title' });
13239
+ modelTitleSpan.textContent = 'Select time';
13240
+ var modelCloseIcon = this.createElement('span', { className: 'e-popup-close' });
13284
13241
  EventHandler.add(modelCloseIcon, 'mousedown touchstart', this.dateTimeCloseHandler, this);
13285
- var timeContent = this.dateTimeWrapper.querySelector(".e-content");
13242
+ var timeContent = this.dateTimeWrapper.querySelector('.e-content');
13286
13243
  modelHeader.appendChild(modelCloseIcon);
13287
13244
  modelHeader.appendChild(modelTitleSpan);
13288
13245
  modelWrapper.appendChild(modelHeader);
@@ -13591,7 +13548,13 @@ var DateTimePicker = /** @class */ (function (_super) {
13591
13548
  DateTimePicker.prototype.TimePopupFormat = function () {
13592
13549
  var format = '';
13593
13550
  var formatCount = 0;
13594
- var proxy = this;
13551
+ var proxy = this;
13552
+ /**
13553
+ * Formats the value specifier.
13554
+ *
13555
+ * @param {string} formattext - The format text.
13556
+ * @returns {string} The formatted value specifier.
13557
+ */
13595
13558
  function formatValueSpecifier(formattext) {
13596
13559
  switch (formattext) {
13597
13560
  case 'd':
@@ -13606,11 +13569,11 @@ var DateTimePicker = /** @class */ (function (_super) {
13606
13569
  case 'yy':
13607
13570
  case 'yyy':
13608
13571
  case 'yyyy':
13609
- if (format == '') {
13572
+ if (format === '') {
13610
13573
  format = format + formattext;
13611
13574
  }
13612
13575
  else {
13613
- format = format + "/" + formattext;
13576
+ format = format + '/' + formattext;
13614
13577
  }
13615
13578
  formatCount = formatCount + 1;
13616
13579
  break;
@@ -13721,10 +13684,10 @@ var DateTimePicker = /** @class */ (function (_super) {
13721
13684
  }
13722
13685
  };
13723
13686
  DateTimePicker.prototype.checkAttributes = function (isDynamic) {
13724
- var attributes$$1 = isDynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) :
13687
+ var attributes = isDynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) :
13725
13688
  ['style', 'name', 'step', 'disabled', 'readonly', 'value', 'min', 'max', 'placeholder', 'type'];
13726
13689
  var value;
13727
- for (var _i = 0, attributes_1 = attributes$$1; _i < attributes_1.length; _i++) {
13690
+ for (var _i = 0, attributes_1 = attributes; _i < attributes_1.length; _i++) {
13728
13691
  var prop = attributes_1[_i];
13729
13692
  if (!isNullOrUndefined(this.inputElement.getAttribute(prop))) {
13730
13693
  switch (prop) {
@@ -14293,10 +14256,6 @@ var DateTimePicker = /** @class */ (function (_super) {
14293
14256
  return DateTimePicker;
14294
14257
  }(DatePicker));
14295
14258
 
14296
- /**
14297
- * DateTimePicker modules
14298
- */
14299
-
14300
14259
  var ARROWLEFT = 'ArrowLeft';
14301
14260
  var ARROWRIGHT = 'ArrowRight';
14302
14261
  var ARROWUP = 'ArrowUp';
@@ -14305,7 +14264,7 @@ var TAB = 'Tab';
14305
14264
  var SHIFTTAB = 'shiftTab';
14306
14265
  var END = 'End';
14307
14266
  var HOME = 'Home';
14308
- var MaskedDateTime = /** @class */ (function () {
14267
+ var MaskedDateTime = /** @__PURE__ @class */ (function () {
14309
14268
  function MaskedDateTime(parent) {
14310
14269
  this.mask = '';
14311
14270
  this.defaultConstant = {
@@ -14584,8 +14543,8 @@ var MaskedDateTime = /** @class */ (function () {
14584
14543
  }
14585
14544
  if (month >= 1) {
14586
14545
  newDateValue.setMonth(month - 1);
14587
- if (month >= 10 || month == 1) {
14588
- if (this.isLeadingZero && month == 1) {
14546
+ if (month >= 10 || month === 1) {
14547
+ if (this.isLeadingZero && month === 1) {
14589
14548
  this.isNavigate = month.toString().length === 1;
14590
14549
  this.isLeadingZero = false;
14591
14550
  }
@@ -14738,7 +14697,6 @@ var MaskedDateTime = /** @class */ (function () {
14738
14697
  case 'a':
14739
14698
  {
14740
14699
  this.periodCharacter += newVal[start - 1].toLowerCase();
14741
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
14742
14700
  var periodString = (this.getCulturedValue('dayPeriods.format.wide'));
14743
14701
  var periodkeys = Object.keys(periodString);
14744
14702
  for (var i = 0; this.periodCharacter.length > 0; i++) {
@@ -14752,15 +14710,12 @@ var MaskedDateTime = /** @class */ (function () {
14752
14710
  }
14753
14711
  break;
14754
14712
  }
14755
- default:
14756
- break;
14757
14713
  }
14758
14714
  this.maskDateValue = newDateValue;
14759
14715
  };
14760
14716
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14761
14717
  MaskedDateTime.prototype.formatCheck = function () {
14762
- // eslint-disable-next-line @typescript-eslint/no-this-alias
14763
- var proxy = this;
14718
+ var proxy = this;
14764
14719
  function formatValueSpecifier(formattext) {
14765
14720
  var result;
14766
14721
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -15087,8 +15042,6 @@ var MaskedDateTime = /** @class */ (function () {
15087
15042
  case 'a':
15088
15043
  newDateValue.setHours((newDateValue.getHours() + 12) % 24);
15089
15044
  break;
15090
- default:
15091
- break;
15092
15045
  }
15093
15046
  this.maskDateValue = newDateValue.getFullYear() > 0 ? newDateValue : this.maskDateValue;
15094
15047
  if (this.validCharacters.indexOf(this.hiddenMask[start]) !== -1) {
@@ -15145,13 +15098,5 @@ var MaskedDateTime = /** @class */ (function () {
15145
15098
  return MaskedDateTime;
15146
15099
  }());
15147
15100
 
15148
- /**
15149
- * MaskedDateTime modules
15150
- */
15151
-
15152
- /**
15153
- * Calendar all modules
15154
- */
15155
-
15156
- export { CalendarBase, Calendar, Islamic, DatePicker, Presets, DateRangePicker, TimePickerBase, TimeMaskPlaceholder, TimePicker, DateTimePicker, MaskedDateTime };
15101
+ export { Calendar, CalendarBase, DatePicker, DateRangePicker, DateTimePicker, Islamic, MaskedDateTime, Presets, TimeMaskPlaceholder, TimePicker, TimePickerBase };
15157
15102
  //# sourceMappingURL=ej2-calendars.es5.js.map