@syncfusion/ej2-calendars 26.2.12 → 27.1.50

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 (348) hide show
  1. package/README.md +24 -24
  2. package/dist/ej2-calendars.min.js +2 -2
  3. package/dist/ej2-calendars.umd.min.js +2 -2
  4. package/dist/ej2-calendars.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-calendars.es2015.js +224 -73
  6. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  7. package/dist/es6/ej2-calendars.es5.js +224 -73
  8. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  9. package/dist/global/ej2-calendars.min.js +2 -2
  10. package/dist/global/ej2-calendars.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +11 -11
  13. package/src/calendar/calendar.js +31 -19
  14. package/src/datepicker/datepicker.d.ts +2 -0
  15. package/src/datepicker/datepicker.js +38 -15
  16. package/src/daterangepicker/daterangepicker.d.ts +1 -0
  17. package/src/daterangepicker/daterangepicker.js +27 -13
  18. package/src/datetimepicker/datetimepicker-model.d.ts +14 -0
  19. package/src/datetimepicker/datetimepicker.d.ts +13 -0
  20. package/src/datetimepicker/datetimepicker.js +108 -20
  21. package/src/timepicker/timepicker.d.ts +1 -0
  22. package/src/timepicker/timepicker.js +20 -6
  23. package/styles/bootstrap-dark-lite.css +2245 -0
  24. package/styles/bootstrap-dark-lite.scss +19 -0
  25. package/styles/bootstrap-dark.css +2261 -1747
  26. package/styles/bootstrap-dark.scss +6 -2
  27. package/styles/bootstrap-lite.css +2252 -0
  28. package/styles/bootstrap-lite.scss +19 -0
  29. package/styles/bootstrap.css +2261 -1741
  30. package/styles/bootstrap.scss +6 -2
  31. package/styles/bootstrap4-lite.css +2273 -0
  32. package/styles/bootstrap4-lite.scss +19 -0
  33. package/styles/bootstrap4.css +2278 -1758
  34. package/styles/bootstrap4.scss +6 -2
  35. package/styles/bootstrap5-dark-lite.css +2382 -0
  36. package/styles/bootstrap5-dark-lite.scss +19 -0
  37. package/styles/bootstrap5-dark.css +2350 -1827
  38. package/styles/bootstrap5-dark.scss +6 -2
  39. package/styles/bootstrap5-lite.css +2382 -0
  40. package/styles/bootstrap5-lite.scss +19 -0
  41. package/styles/bootstrap5.3-lite.css +2363 -0
  42. package/styles/bootstrap5.3-lite.scss +19 -0
  43. package/styles/bootstrap5.3.css +3725 -0
  44. package/styles/bootstrap5.3.scss +24 -0
  45. package/styles/bootstrap5.css +2351 -1828
  46. package/styles/bootstrap5.scss +6 -2
  47. package/styles/calendar/_bigger.scss +1142 -0
  48. package/styles/calendar/_bootstrap5.3-definition.scss +7 -3
  49. package/styles/calendar/_fluent-definition.scss +4 -2
  50. package/styles/calendar/_fluent2-definition.scss +9 -5
  51. package/styles/calendar/_layout.scss +7 -251
  52. package/styles/calendar/_theme.scss +32 -8
  53. package/styles/calendar/bootstrap-dark.css +681 -369
  54. package/styles/calendar/bootstrap-dark.scss +1 -0
  55. package/styles/calendar/bootstrap.css +681 -369
  56. package/styles/calendar/bootstrap.scss +1 -0
  57. package/styles/calendar/bootstrap4.css +681 -369
  58. package/styles/calendar/bootstrap4.scss +1 -0
  59. package/styles/calendar/bootstrap5-dark.css +704 -390
  60. package/styles/calendar/bootstrap5-dark.scss +1 -0
  61. package/styles/calendar/bootstrap5.3.css +1238 -0
  62. package/styles/calendar/bootstrap5.3.scss +6 -0
  63. package/styles/calendar/bootstrap5.css +704 -390
  64. package/styles/calendar/bootstrap5.scss +1 -0
  65. package/styles/calendar/fabric-dark.css +689 -371
  66. package/styles/calendar/fabric-dark.scss +1 -0
  67. package/styles/calendar/fabric.css +693 -373
  68. package/styles/calendar/fabric.scss +1 -0
  69. package/styles/calendar/fluent-dark.css +806 -420
  70. package/styles/calendar/fluent-dark.scss +1 -0
  71. package/styles/calendar/fluent.css +806 -420
  72. package/styles/calendar/fluent.scss +1 -0
  73. package/styles/calendar/fluent2.css +841 -423
  74. package/styles/calendar/fluent2.scss +1 -0
  75. package/styles/calendar/highcontrast-light.css +683 -369
  76. package/styles/calendar/highcontrast-light.scss +1 -0
  77. package/styles/calendar/highcontrast.css +693 -373
  78. package/styles/calendar/highcontrast.scss +1 -0
  79. package/styles/calendar/material-dark.css +693 -373
  80. package/styles/calendar/material-dark.scss +1 -0
  81. package/styles/calendar/material.css +693 -373
  82. package/styles/calendar/material.scss +1 -0
  83. package/styles/calendar/material3-dark.css +700 -376
  84. package/styles/calendar/material3-dark.scss +1 -0
  85. package/styles/calendar/material3.css +700 -376
  86. package/styles/calendar/material3.scss +1 -0
  87. package/styles/calendar/tailwind-dark.css +748 -421
  88. package/styles/calendar/tailwind-dark.scss +1 -0
  89. package/styles/calendar/tailwind.css +748 -421
  90. package/styles/calendar/tailwind.scss +1 -0
  91. package/styles/datepicker/_bigger.scss +82 -0
  92. package/styles/datepicker/_bootstrap5.3-definition.scss +7 -6
  93. package/styles/datepicker/_fluent2-definition.scss +2 -2
  94. package/styles/datepicker/_layout.scss +43 -26
  95. package/styles/datepicker/_theme.scss +2 -7
  96. package/styles/datepicker/bootstrap-dark.css +33 -43
  97. package/styles/datepicker/bootstrap-dark.scss +1 -0
  98. package/styles/datepicker/bootstrap.css +33 -43
  99. package/styles/datepicker/bootstrap.scss +1 -0
  100. package/styles/datepicker/bootstrap4.css +35 -45
  101. package/styles/datepicker/bootstrap4.scss +1 -0
  102. package/styles/datepicker/bootstrap5-dark.css +35 -45
  103. package/styles/datepicker/bootstrap5-dark.scss +1 -0
  104. package/styles/datepicker/bootstrap5.3.css +453 -0
  105. package/styles/datepicker/bootstrap5.3.scss +8 -0
  106. package/styles/datepicker/bootstrap5.css +35 -45
  107. package/styles/datepicker/bootstrap5.scss +1 -0
  108. package/styles/datepicker/fabric-dark.css +33 -43
  109. package/styles/datepicker/fabric-dark.scss +1 -0
  110. package/styles/datepicker/fabric.css +33 -43
  111. package/styles/datepicker/fabric.scss +1 -0
  112. package/styles/datepicker/fluent-dark.css +35 -45
  113. package/styles/datepicker/fluent-dark.scss +1 -0
  114. package/styles/datepicker/fluent.css +35 -45
  115. package/styles/datepicker/fluent.scss +1 -0
  116. package/styles/datepicker/fluent2.css +40 -52
  117. package/styles/datepicker/fluent2.scss +1 -0
  118. package/styles/datepicker/highcontrast-light.css +33 -43
  119. package/styles/datepicker/highcontrast-light.scss +1 -0
  120. package/styles/datepicker/highcontrast.css +33 -43
  121. package/styles/datepicker/highcontrast.scss +1 -0
  122. package/styles/datepicker/icons/_bds.scss +0 -24
  123. package/styles/datepicker/icons/_bootstrap-dark.scss +0 -24
  124. package/styles/datepicker/icons/_bootstrap.scss +0 -22
  125. package/styles/datepicker/icons/_bootstrap4.scss +0 -24
  126. package/styles/datepicker/icons/_bootstrap5.3.scss +0 -24
  127. package/styles/datepicker/icons/_bootstrap5.scss +0 -24
  128. package/styles/datepicker/icons/_fabric-dark.scss +0 -22
  129. package/styles/datepicker/icons/_fabric.scss +0 -22
  130. package/styles/datepicker/icons/_fluent.scss +0 -24
  131. package/styles/datepicker/icons/_fluent2.scss +0 -31
  132. package/styles/datepicker/icons/_fusionnew.scss +0 -24
  133. package/styles/datepicker/icons/_highcontrast-light.scss +0 -22
  134. package/styles/datepicker/icons/_highcontrast.scss +0 -22
  135. package/styles/datepicker/icons/_material-dark.scss +0 -40
  136. package/styles/datepicker/icons/_material.scss +0 -40
  137. package/styles/datepicker/icons/_material3.scss +0 -29
  138. package/styles/datepicker/icons/_tailwind.scss +0 -24
  139. package/styles/datepicker/material-dark.css +50 -60
  140. package/styles/datepicker/material-dark.scss +1 -0
  141. package/styles/datepicker/material.css +50 -60
  142. package/styles/datepicker/material.scss +1 -0
  143. package/styles/datepicker/material3-dark.css +41 -50
  144. package/styles/datepicker/material3-dark.scss +1 -0
  145. package/styles/datepicker/material3.css +41 -50
  146. package/styles/datepicker/material3.scss +1 -0
  147. package/styles/datepicker/tailwind-dark.css +40 -50
  148. package/styles/datepicker/tailwind-dark.scss +1 -0
  149. package/styles/datepicker/tailwind.css +40 -50
  150. package/styles/datepicker/tailwind.scss +1 -0
  151. package/styles/daterangepicker/_bigger.scss +971 -0
  152. package/styles/daterangepicker/_bootstrap5.3-definition.scss +5 -3
  153. package/styles/daterangepicker/_fluent-definition.scss +0 -9
  154. package/styles/daterangepicker/_fluent2-definition.scss +3 -7
  155. package/styles/daterangepicker/_layout.scss +20 -252
  156. package/styles/daterangepicker/_theme.scss +20 -68
  157. package/styles/daterangepicker/bootstrap-dark.css +750 -540
  158. package/styles/daterangepicker/bootstrap-dark.scss +1 -0
  159. package/styles/daterangepicker/bootstrap.css +779 -563
  160. package/styles/daterangepicker/bootstrap.scss +1 -0
  161. package/styles/daterangepicker/bootstrap4.css +752 -536
  162. package/styles/daterangepicker/bootstrap4.scss +1 -0
  163. package/styles/daterangepicker/bootstrap5-dark.css +786 -570
  164. package/styles/daterangepicker/bootstrap5-dark.scss +1 -0
  165. package/styles/daterangepicker/bootstrap5.3.css +1500 -0
  166. package/styles/daterangepicker/bootstrap5.3.scss +8 -0
  167. package/styles/daterangepicker/bootstrap5.css +786 -570
  168. package/styles/daterangepicker/bootstrap5.scss +1 -0
  169. package/styles/daterangepicker/fabric-dark.css +752 -536
  170. package/styles/daterangepicker/fabric-dark.scss +1 -0
  171. package/styles/daterangepicker/fabric.css +752 -536
  172. package/styles/daterangepicker/fabric.scss +1 -0
  173. package/styles/daterangepicker/fluent-dark.css +817 -592
  174. package/styles/daterangepicker/fluent-dark.scss +1 -0
  175. package/styles/daterangepicker/fluent.css +817 -592
  176. package/styles/daterangepicker/fluent.scss +1 -0
  177. package/styles/daterangepicker/fluent2.css +791 -571
  178. package/styles/daterangepicker/fluent2.scss +1 -0
  179. package/styles/daterangepicker/highcontrast-light.css +752 -536
  180. package/styles/daterangepicker/highcontrast-light.scss +1 -0
  181. package/styles/daterangepicker/highcontrast.css +752 -536
  182. package/styles/daterangepicker/highcontrast.scss +1 -0
  183. package/styles/daterangepicker/icons/_bds.scss +0 -18
  184. package/styles/daterangepicker/icons/_bootstrap-dark.scss +0 -24
  185. package/styles/daterangepicker/icons/_bootstrap.scss +0 -16
  186. package/styles/daterangepicker/icons/_bootstrap4.scss +0 -19
  187. package/styles/daterangepicker/icons/_bootstrap5.3.scss +0 -18
  188. package/styles/daterangepicker/icons/_bootstrap5.scss +0 -18
  189. package/styles/daterangepicker/icons/_fabric-dark.scss +0 -16
  190. package/styles/daterangepicker/icons/_fabric.scss +0 -16
  191. package/styles/daterangepicker/icons/_fluent.scss +0 -18
  192. package/styles/daterangepicker/icons/_fluent2.scss +0 -41
  193. package/styles/daterangepicker/icons/_fusionnew.scss +0 -18
  194. package/styles/daterangepicker/icons/_highcontrast-light.scss +0 -16
  195. package/styles/daterangepicker/icons/_highcontrast.scss +0 -16
  196. package/styles/daterangepicker/icons/_material-dark.scss +0 -34
  197. package/styles/daterangepicker/icons/_material.scss +0 -34
  198. package/styles/daterangepicker/icons/_material3.scss +0 -39
  199. package/styles/daterangepicker/icons/_tailwind.scss +0 -18
  200. package/styles/daterangepicker/material-dark.css +781 -565
  201. package/styles/daterangepicker/material-dark.scss +1 -0
  202. package/styles/daterangepicker/material.css +784 -568
  203. package/styles/daterangepicker/material.scss +1 -0
  204. package/styles/daterangepicker/material3-dark.css +802 -572
  205. package/styles/daterangepicker/material3-dark.scss +1 -0
  206. package/styles/daterangepicker/material3.css +802 -572
  207. package/styles/daterangepicker/material3.scss +1 -0
  208. package/styles/daterangepicker/tailwind-dark.css +791 -559
  209. package/styles/daterangepicker/tailwind-dark.scss +1 -0
  210. package/styles/daterangepicker/tailwind.css +791 -559
  211. package/styles/daterangepicker/tailwind.scss +1 -0
  212. package/styles/datetimepicker/_bigger.scss +105 -0
  213. package/styles/datetimepicker/_layout.scss +0 -76
  214. package/styles/datetimepicker/bootstrap-dark.css +42 -42
  215. package/styles/datetimepicker/bootstrap-dark.scss +1 -0
  216. package/styles/datetimepicker/bootstrap.css +42 -42
  217. package/styles/datetimepicker/bootstrap.scss +1 -0
  218. package/styles/datetimepicker/bootstrap4.css +42 -42
  219. package/styles/datetimepicker/bootstrap4.scss +1 -0
  220. package/styles/datetimepicker/bootstrap5-dark.css +42 -42
  221. package/styles/datetimepicker/bootstrap5-dark.scss +1 -0
  222. package/styles/datetimepicker/bootstrap5.3.css +227 -0
  223. package/styles/datetimepicker/bootstrap5.3.scss +9 -0
  224. package/styles/datetimepicker/bootstrap5.css +42 -42
  225. package/styles/datetimepicker/bootstrap5.scss +1 -0
  226. package/styles/datetimepicker/fabric-dark.css +42 -42
  227. package/styles/datetimepicker/fabric-dark.scss +1 -0
  228. package/styles/datetimepicker/fabric.css +42 -42
  229. package/styles/datetimepicker/fabric.scss +1 -0
  230. package/styles/datetimepicker/fluent-dark.css +42 -42
  231. package/styles/datetimepicker/fluent-dark.scss +1 -0
  232. package/styles/datetimepicker/fluent.css +42 -42
  233. package/styles/datetimepicker/fluent.scss +1 -0
  234. package/styles/datetimepicker/fluent2.css +42 -42
  235. package/styles/datetimepicker/fluent2.scss +1 -0
  236. package/styles/datetimepicker/highcontrast-light.css +42 -42
  237. package/styles/datetimepicker/highcontrast-light.scss +1 -0
  238. package/styles/datetimepicker/highcontrast.css +42 -42
  239. package/styles/datetimepicker/highcontrast.scss +1 -0
  240. package/styles/datetimepicker/icons/_material-dark.scss +0 -22
  241. package/styles/datetimepicker/icons/_material.scss +0 -22
  242. package/styles/datetimepicker/material-dark.css +66 -66
  243. package/styles/datetimepicker/material-dark.scss +1 -0
  244. package/styles/datetimepicker/material.css +66 -66
  245. package/styles/datetimepicker/material.scss +1 -0
  246. package/styles/datetimepicker/material3-dark.css +53 -53
  247. package/styles/datetimepicker/material3-dark.scss +1 -0
  248. package/styles/datetimepicker/material3.css +53 -53
  249. package/styles/datetimepicker/material3.scss +1 -0
  250. package/styles/datetimepicker/tailwind-dark.css +42 -42
  251. package/styles/datetimepicker/tailwind-dark.scss +1 -0
  252. package/styles/datetimepicker/tailwind.css +42 -42
  253. package/styles/datetimepicker/tailwind.scss +1 -0
  254. package/styles/fabric-dark-lite.css +2251 -0
  255. package/styles/fabric-dark-lite.scss +19 -0
  256. package/styles/fabric-dark.css +2268 -1742
  257. package/styles/fabric-dark.scss +6 -2
  258. package/styles/fabric-lite.css +2255 -0
  259. package/styles/fabric-lite.scss +19 -0
  260. package/styles/fabric.css +2265 -1737
  261. package/styles/fabric.scss +6 -2
  262. package/styles/fluent-dark-lite.css +2509 -0
  263. package/styles/fluent-dark-lite.scss +19 -0
  264. package/styles/fluent-dark.css +2456 -1853
  265. package/styles/fluent-dark.scss +6 -2
  266. package/styles/fluent-lite.css +2509 -0
  267. package/styles/fluent-lite.scss +19 -0
  268. package/styles/fluent.css +2456 -1853
  269. package/styles/fluent.scss +6 -2
  270. package/styles/fluent2-lite.css +2606 -0
  271. package/styles/fluent2-lite.scss +19 -0
  272. package/styles/fluent2.css +2410 -1781
  273. package/styles/fluent2.scss +6 -2
  274. package/styles/highcontrast-light-lite.css +2259 -0
  275. package/styles/highcontrast-light-lite.scss +19 -0
  276. package/styles/highcontrast-light.css +2264 -1742
  277. package/styles/highcontrast-light.scss +6 -2
  278. package/styles/highcontrast-lite.css +2268 -0
  279. package/styles/highcontrast-lite.scss +19 -0
  280. package/styles/highcontrast.css +2273 -1745
  281. package/styles/highcontrast.scss +6 -2
  282. package/styles/material-dark-lite.css +2345 -0
  283. package/styles/material-dark-lite.scss +19 -0
  284. package/styles/material-dark.css +2371 -1843
  285. package/styles/material-dark.scss +6 -2
  286. package/styles/material-lite.css +2375 -0
  287. package/styles/material-lite.scss +19 -0
  288. package/styles/material.css +2363 -1835
  289. package/styles/material.scss +6 -2
  290. package/styles/material3-dark-lite.css +2400 -0
  291. package/styles/material3-dark-lite.scss +19 -0
  292. package/styles/material3-dark.css +2414 -1867
  293. package/styles/material3-dark.scss +6 -2
  294. package/styles/material3-lite.css +2402 -0
  295. package/styles/material3-lite.scss +19 -0
  296. package/styles/material3.css +2414 -1867
  297. package/styles/material3.scss +6 -2
  298. package/styles/tailwind-dark-lite.css +2327 -0
  299. package/styles/tailwind-dark-lite.scss +19 -0
  300. package/styles/tailwind-dark.css +2362 -1811
  301. package/styles/tailwind-dark.scss +6 -2
  302. package/styles/tailwind-lite.css +2327 -0
  303. package/styles/tailwind-lite.scss +19 -0
  304. package/styles/tailwind.css +2363 -1812
  305. package/styles/tailwind.scss +6 -2
  306. package/styles/timepicker/_bigger.scss +92 -0
  307. package/styles/timepicker/_layout.scss +0 -62
  308. package/styles/timepicker/_theme.scss +2 -4
  309. package/styles/timepicker/bootstrap-dark.css +44 -41
  310. package/styles/timepicker/bootstrap-dark.scss +1 -0
  311. package/styles/timepicker/bootstrap.css +44 -41
  312. package/styles/timepicker/bootstrap.scss +1 -0
  313. package/styles/timepicker/bootstrap4.css +44 -41
  314. package/styles/timepicker/bootstrap4.scss +1 -0
  315. package/styles/timepicker/bootstrap5-dark.css +44 -41
  316. package/styles/timepicker/bootstrap5-dark.scss +1 -0
  317. package/styles/timepicker/bootstrap5.3.css +327 -0
  318. package/styles/timepicker/bootstrap5.3.scss +7 -0
  319. package/styles/timepicker/bootstrap5.css +44 -41
  320. package/styles/timepicker/bootstrap5.scss +1 -0
  321. package/styles/timepicker/fabric-dark.css +44 -41
  322. package/styles/timepicker/fabric-dark.scss +1 -0
  323. package/styles/timepicker/fabric.css +44 -41
  324. package/styles/timepicker/fabric.scss +1 -0
  325. package/styles/timepicker/fluent-dark.css +44 -41
  326. package/styles/timepicker/fluent-dark.scss +1 -0
  327. package/styles/timepicker/fluent.css +44 -41
  328. package/styles/timepicker/fluent.scss +1 -0
  329. package/styles/timepicker/fluent2.css +44 -41
  330. package/styles/timepicker/fluent2.scss +1 -0
  331. package/styles/timepicker/highcontrast-light.css +44 -41
  332. package/styles/timepicker/highcontrast-light.scss +1 -0
  333. package/styles/timepicker/highcontrast.css +44 -41
  334. package/styles/timepicker/highcontrast.scss +1 -0
  335. package/styles/timepicker/icons/_material-dark.scss +0 -15
  336. package/styles/timepicker/icons/_material.scss +0 -15
  337. package/styles/timepicker/material-dark.css +61 -58
  338. package/styles/timepicker/material-dark.scss +1 -0
  339. package/styles/timepicker/material.css +61 -58
  340. package/styles/timepicker/material.scss +1 -0
  341. package/styles/timepicker/material3-dark.css +52 -49
  342. package/styles/timepicker/material3-dark.scss +1 -0
  343. package/styles/timepicker/material3.css +52 -49
  344. package/styles/timepicker/material3.scss +1 -0
  345. package/styles/timepicker/tailwind-dark.css +44 -41
  346. package/styles/timepicker/tailwind-dark.scss +1 -0
  347. package/styles/timepicker/tailwind.css +44 -41
  348. package/styles/timepicker/tailwind.scss +1 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 26.2.12
3
+ * version : 27.1.50
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-calendars@*",
3
- "_id": "@syncfusion/ej2-calendars@26.2.11",
3
+ "_id": "@syncfusion/ej2-calendars@18.32.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Mxc9SOuea4bDMrp9EAAr3l17Ld4ebwP5yDdycrFnRbC2QpRU0ouqaFEMXql+AjvTFyV3PH7RrCDm6Ms8hlUnPw==",
5
+ "_integrity": "sha512-rksJYsGIPpCObDMJj5UXpkHFC3zmO0oIq9E4epQ7uMf79Wwm7p1xmvrBVW4Ie71RnIfpTbHXPqJuFrfidkJcRQ==",
6
6
  "_location": "/@syncfusion/ej2-calendars",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -31,10 +31,10 @@
31
31
  "/@syncfusion/ej2-schedule",
32
32
  "/@syncfusion/ej2-vue-calendars"
33
33
  ],
34
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-26.2.11.tgz",
35
- "_shasum": "9207e5d66d5c602f2e5a72804c6655d7ea42c069",
34
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-18.32.5.tgz",
35
+ "_shasum": "c76c6f7cbc4265f8ddd213a442133b7c0a8f34e0",
36
36
  "_spec": "@syncfusion/ej2-calendars@*",
37
- "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
37
+ "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
38
38
  "author": {
39
39
  "name": "Syncfusion Inc."
40
40
  },
@@ -43,11 +43,11 @@
43
43
  },
44
44
  "bundleDependencies": false,
45
45
  "dependencies": {
46
- "@syncfusion/ej2-base": "~26.2.10",
47
- "@syncfusion/ej2-buttons": "~26.2.10",
48
- "@syncfusion/ej2-inputs": "~26.2.11",
49
- "@syncfusion/ej2-lists": "~26.2.11",
50
- "@syncfusion/ej2-popups": "~26.2.11"
46
+ "@syncfusion/ej2-base": "~27.1.50",
47
+ "@syncfusion/ej2-buttons": "~27.1.50",
48
+ "@syncfusion/ej2-inputs": "~27.1.50",
49
+ "@syncfusion/ej2-lists": "~27.1.50",
50
+ "@syncfusion/ej2-popups": "~27.1.50"
51
51
  },
52
52
  "deprecated": false,
53
53
  "description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
@@ -80,6 +80,6 @@
80
80
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
81
81
  },
82
82
  "typings": "index.d.ts",
83
- "version": "26.2.12",
83
+ "version": "27.1.50",
84
84
  "sideEffects": false
85
85
  }
@@ -312,8 +312,8 @@ var CalendarBase = /** @class */ (function (_super) {
312
312
  CalendarBase.prototype.getCultureValues = function () {
313
313
  var culShortNames = [];
314
314
  var cldrObj;
315
- var dayFormat = 'days.stand-alone.' + this.dayHeaderFormat.toLowerCase();
316
- if (this.locale === 'en' || this.locale === 'en-US') {
315
+ var dayFormat = !isNullOrUndefined(this.dayHeaderFormat) ? 'days.stand-alone.' + this.dayHeaderFormat.toLowerCase() : null;
316
+ if ((this.locale === 'en' || this.locale === 'en-US') && !isNullOrUndefined(dayFormat)) {
317
317
  cldrObj = (getValue(dayFormat, getDefaultDateObject()));
318
318
  }
319
319
  else {
@@ -501,22 +501,19 @@ var CalendarBase = /** @class */ (function (_super) {
501
501
  this.effect = '';
502
502
  switch (e.action) {
503
503
  case 'moveLeft':
504
- if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target) &&
505
- e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
504
+ if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target)) {
506
505
  this.keyboardNavigate(-1, view, e, this.max, this.min);
507
506
  e.preventDefault();
508
507
  }
509
508
  break;
510
509
  case 'moveRight':
511
- if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target) &&
512
- e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
510
+ if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target)) {
513
511
  this.keyboardNavigate(1, view, e, this.max, this.min);
514
512
  e.preventDefault();
515
513
  }
516
514
  break;
517
515
  case 'moveUp':
518
- if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target) &&
519
- e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
516
+ if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target)) {
520
517
  if (view === 0) {
521
518
  this.keyboardNavigate(-7, view, e, this.max, this.min); // move the current date to the previous seven days.
522
519
  }
@@ -527,8 +524,7 @@ var CalendarBase = /** @class */ (function (_super) {
527
524
  }
528
525
  break;
529
526
  case 'moveDown':
530
- if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target) &&
531
- e.target.classList.length > 0 && e.target.classList.contains(CONTENTTABLE)) {
527
+ if (this.getModuleName() !== 'daterangepicker' && !isNullOrUndefined(e.target)) {
532
528
  if (view === 0) {
533
529
  this.keyboardNavigate(7, view, e, this.max, this.min);
534
530
  }
@@ -551,7 +547,12 @@ var CalendarBase = /** @class */ (function (_super) {
551
547
  else if (e.target === this.todayElement && !e.target.className.includes(DISABLED)) {
552
548
  this.todayButtonClick(e, value);
553
549
  if (this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') {
554
- this.element.focus();
550
+ if (this.isAngular) {
551
+ this.inputElement.focus();
552
+ }
553
+ else {
554
+ this.element.focus();
555
+ }
555
556
  }
556
557
  }
557
558
  else {
@@ -562,7 +563,12 @@ var CalendarBase = /** @class */ (function (_super) {
562
563
  var d = new Date(parseInt('' + (element).id, 0));
563
564
  this.selectDate(e, d, (element));
564
565
  if (this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') {
565
- this.element.focus();
566
+ if (this.isAngular) {
567
+ this.inputElement.focus();
568
+ }
569
+ else {
570
+ this.element.focus();
571
+ }
566
572
  }
567
573
  }
568
574
  else {
@@ -654,7 +660,12 @@ var CalendarBase = /** @class */ (function (_super) {
654
660
  case 'shiftTab':
655
661
  if ((this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') && e.target === this.headerTitleElement) {
656
662
  e.preventDefault();
657
- this.element.focus();
663
+ if (this.isAngular) {
664
+ this.inputElement.focus();
665
+ }
666
+ else {
667
+ this.element.focus();
668
+ }
658
669
  this.hide();
659
670
  }
660
671
  break;
@@ -749,13 +760,13 @@ var CalendarBase = /** @class */ (function (_super) {
749
760
  tdEles = this.renderDays(this.currentDate, value, null, null, isCustomDate, e);
750
761
  }
751
762
  else {
752
- tdEles = this.islamicModule.islamicRenderDays(this.currentDate, value);
763
+ tdEles = !isNullOrUndefined(this.islamicModule) ? this.islamicModule.islamicRenderDays(this.currentDate, value) : null;
753
764
  }
754
765
  this.createContentHeader();
755
766
  if (this.calendarMode === 'Gregorian') {
756
767
  this.renderTemplate(tdEles, numCells, MONTH, e, value);
757
768
  }
758
- else {
769
+ else if (!isNullOrUndefined(this.islamicModule)) {
759
770
  this.islamicModule.islamicRenderTemplate(tdEles, numCells, MONTH, e, value);
760
771
  }
761
772
  };
@@ -1043,7 +1054,7 @@ var CalendarBase = /** @class */ (function (_super) {
1043
1054
  return this.createElement('td', attrs);
1044
1055
  };
1045
1056
  CalendarBase.prototype.firstDay = function (date) {
1046
- var collection = this.currentView() !== 'Decade' ? this.tableBodyElement.querySelectorAll('td' + ':not(.' + OTHERMONTH + '') :
1057
+ var collection = this.currentView() !== 'Decade' ? this.tableBodyElement.querySelectorAll('td:not(.' + OTHERMONTH + '):not(.' + WEEKNUMBER + ')') :
1047
1058
  this.tableBodyElement.querySelectorAll('td' + ':not(.' + OTHERDECADE + '');
1048
1059
  if (collection.length) {
1049
1060
  for (var i = 0; i < collection.length; i++) {
@@ -1074,7 +1085,7 @@ var CalendarBase = /** @class */ (function (_super) {
1074
1085
  };
1075
1086
  CalendarBase.prototype.findLastDay = function (date) {
1076
1087
  var collection = this.currentView() === 'Decade' ? this.tableBodyElement.querySelectorAll('td' + ':not(.' + OTHERDECADE + '') :
1077
- this.tableBodyElement.querySelectorAll('td' + ':not(.' + OTHERMONTH + '');
1088
+ this.tableBodyElement.querySelectorAll('td:not(.' + OTHERMONTH + '):not(.' + WEEKNUMBER + ')');
1078
1089
  if (collection.length) {
1079
1090
  for (var i = collection.length - 1; i >= 0; i--) {
1080
1091
  if (!collection[i].classList.contains(DISABLED)) {
@@ -1706,8 +1717,8 @@ var CalendarBase = /** @class */ (function (_super) {
1706
1717
  };
1707
1718
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1708
1719
  CalendarBase.prototype.getCultureObjects = function (ld, c) {
1709
- var gregorianFormat = '.dates.calendars.gregorian.days.format.' + this.dayHeaderFormat.toLowerCase();
1710
- var islamicFormat = '.dates.calendars.islamic.days.format.' + this.dayHeaderFormat.toLowerCase();
1720
+ var gregorianFormat = !isNullOrUndefined(this.dayHeaderFormat) ? '.dates.calendars.gregorian.days.format.' + this.dayHeaderFormat.toLowerCase() : null;
1721
+ var islamicFormat = !isNullOrUndefined(this.dayHeaderFormat) ? '.dates.calendars.islamic.days.format.' + this.dayHeaderFormat.toLowerCase() : null;
1711
1722
  var mainVal = 'main.';
1712
1723
  if (this.calendarMode === 'Gregorian') {
1713
1724
  return getValue(mainVal + '' + this.locale + gregorianFormat, ld);
@@ -2669,6 +2680,7 @@ var Calendar = /** @class */ (function (_super) {
2669
2680
  if (!isNullOrUndefined(this.value)) {
2670
2681
  this.setProperties({ value: this.value }, true);
2671
2682
  }
2683
+ // eslint-disable-next-line
2672
2684
  if (!this.isMultiSelection && +this.value !== Number.NaN && (!isNullOrUndefined(this.value) &&
2673
2685
  !isNullOrUndefined(this.previousDate) || this.previousDate === null
2674
2686
  && !isNaN(+this.value))) {
@@ -442,6 +442,7 @@ export declare class DatePicker extends Calendar implements IInput {
442
442
  protected popupUpdate(): void;
443
443
  protected strictModeUpdate(): void;
444
444
  private createCalendar;
445
+ protected getAmPmValue(date: string | null | undefined): string;
445
446
  private CalendarSwipeHandler;
446
447
  private TouchStartHandler;
447
448
  private setAriaDisabled;
@@ -528,6 +529,7 @@ export declare class DatePicker extends Calendar implements IInput {
528
529
  private disabledDates;
529
530
  private setAriaAttributes;
530
531
  protected errorClass(): void;
532
+ protected isValidTime(value: Date): boolean;
531
533
  /**
532
534
  * Called internally if any of the property value changed.
533
535
  *
@@ -175,7 +175,7 @@ var DatePicker = /** @class */ (function (_super) {
175
175
  var ariaAttrs = {
176
176
  'aria-atomic': 'true', 'aria-expanded': 'false',
177
177
  'role': 'combobox', 'autocomplete': 'off', 'autocorrect': 'off',
178
- 'autocapitalize': 'off', 'spellcheck': 'false', 'aria-invalid': 'false', 'aria-label': this.getModuleName()
178
+ 'autocapitalize': 'off', 'spellcheck': 'false', 'aria-invalid': 'false'
179
179
  };
180
180
  if (this.getModuleName() === 'datepicker') {
181
181
  var l10nLocale = { placeholder: this.placeholder };
@@ -213,6 +213,9 @@ var DatePicker = /** @class */ (function (_super) {
213
213
  this.inputElement.setAttribute('name', '' + this.element.id);
214
214
  }
215
215
  attributes(this.inputElement, ariaAttrs);
216
+ if (!this.inputElement.hasAttribute('aria-label')) {
217
+ this.inputElement.setAttribute('aria-label', this.getModuleName());
218
+ }
216
219
  if (!this.enabled) {
217
220
  this.inputElement.setAttribute('aria-disabled', 'true');
218
221
  this.inputElement.tabIndex = -1;
@@ -328,9 +331,9 @@ var DatePicker = /** @class */ (function (_super) {
328
331
  formatOptions = { format: this.formatString, type: 'dateTime', skeleton: 'yMd', calendar: 'islamic' };
329
332
  }
330
333
  }
331
- returnDate = this.checkDateValue(this.globalize.parseDate(val, formatOptions));
334
+ returnDate = this.checkDateValue(this.globalize.parseDate(this.getAmPmValue(val), formatOptions));
332
335
  if (isNullOrUndefined(returnDate) && (this.getModuleName() === 'datetimepicker')) {
333
- returnDate = this.checkDateValue(this.globalize.parseDate(val, formatDateTime));
336
+ returnDate = this.checkDateValue(this.globalize.parseDate(this.getAmPmValue(val), formatDateTime));
334
337
  }
335
338
  return returnDate;
336
339
  };
@@ -925,9 +928,8 @@ var DatePicker = /** @class */ (function (_super) {
925
928
  this.inputElement.value = this.inputElement.value.trim();
926
929
  }
927
930
  if ((this.getModuleName() === 'datetimepicker')) {
928
- if (this.checkDateValue(this.globalize.parseDate(this.inputElement.value, dateOptions))) {
929
- var modifiedValue = this.inputElement.value.replace(/(am|pm|Am|aM|pM|Pm)/g, function (match) { return match.toLocaleUpperCase(); });
930
- date = this.globalize.parseDate(modifiedValue, dateOptions);
931
+ if (this.checkDateValue(this.globalize.parseDate(this.getAmPmValue(this.inputElement.value), dateOptions))) {
932
+ date = this.globalize.parseDate(this.getAmPmValue(this.inputElement.value), dateOptions);
931
933
  }
932
934
  else {
933
935
  if (this.calendarMode === 'Gregorian') {
@@ -936,11 +938,11 @@ var DatePicker = /** @class */ (function (_super) {
936
938
  else {
937
939
  formatOptions = { format: format, type: 'dateTime', skeleton: 'yMd', calendar: 'islamic' };
938
940
  }
939
- date = this.globalize.parseDate(this.inputElement.value, formatOptions);
941
+ date = this.globalize.parseDate(this.getAmPmValue(this.inputElement.value), formatOptions);
940
942
  }
941
943
  }
942
944
  else {
943
- date = this.globalize.parseDate(this.inputElement.value, dateOptions);
945
+ date = this.globalize.parseDate(this.getAmPmValue(this.inputElement.value), dateOptions);
944
946
  date = (!isNullOrUndefined(date) && isNaN(+date)) ? null : date;
945
947
  if (!isNullOrUndefined(this.formatString) && this.inputElement.value !== '' && this.strictMode) {
946
948
  if ((this.isPopupClicked || (!this.isPopupClicked && this.inputElement.value === this.previousElementValue))
@@ -1050,6 +1052,20 @@ var DatePicker = /** @class */ (function (_super) {
1050
1052
  this.popupObj.element.className += ' ' + this.cssClass;
1051
1053
  this.setAriaAttributes();
1052
1054
  };
1055
+ DatePicker.prototype.getAmPmValue = function (date) {
1056
+ try {
1057
+ if (typeof date === 'string' && date.trim() !== '') {
1058
+ // Replace am/pm variants with uppercase AM/PM
1059
+ return date.replace(/(am|pm|Am|aM|pM|Pm)/g, function (match) { return match.toLocaleUpperCase(); });
1060
+ }
1061
+ // If date is null, undefined, or an empty string, return a default value or empty string
1062
+ return '';
1063
+ }
1064
+ catch (error) {
1065
+ console.error('Error occurred while processing date:', error);
1066
+ return ''; // Return a default value in case of an error
1067
+ }
1068
+ };
1053
1069
  DatePicker.prototype.CalendarSwipeHandler = function (e) {
1054
1070
  var direction = 0;
1055
1071
  if (this.iconRight) {
@@ -1482,7 +1498,6 @@ var DatePicker = /** @class */ (function (_super) {
1482
1498
  if (this.showClearButton) {
1483
1499
  this.clearButton = document.getElementsByClassName('e-clear-icon')[0];
1484
1500
  }
1485
- this.hide(null);
1486
1501
  _super.prototype.destroy.call(this);
1487
1502
  Input.destroy({
1488
1503
  element: this.inputElement,
@@ -1498,8 +1513,11 @@ var DatePicker = /** @class */ (function (_super) {
1498
1513
  var ariaAttrs = {
1499
1514
  'aria-atomic': 'true', 'aria-disabled': 'true',
1500
1515
  'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off',
1501
- 'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false', 'aria-label': this.getModuleName()
1516
+ 'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false'
1502
1517
  };
1518
+ if (this.inputElement.hasAttribute('aria-label')) {
1519
+ this.inputElement.removeAttribute('aria-label');
1520
+ }
1503
1521
  if (this.inputElement) {
1504
1522
  Input.removeAttributes(ariaAttrs, this.inputElement);
1505
1523
  if (!isNullOrUndefined(this.inputElementCopy.getAttribute('tabindex'))) {
@@ -1734,19 +1752,19 @@ var DatePicker = /** @class */ (function (_super) {
1734
1752
  case 'value':
1735
1753
  if (((isNullOrUndefined(this.datepickerOptions) || (this.datepickerOptions['value'] === undefined)) || dynamic)) {
1736
1754
  var value = this.inputElement.getAttribute(prop);
1737
- this.setProperties(setValue(prop, this.globalize.parseDate(value, options), {}), !dynamic);
1755
+ this.setProperties(setValue(prop, this.globalize.parseDate(this.getAmPmValue(value), options), {}), !dynamic);
1738
1756
  }
1739
1757
  break;
1740
1758
  case 'min':
1741
1759
  if ((+this.min === +new Date(1900, 0, 1)) || dynamic) {
1742
1760
  var min = this.inputElement.getAttribute(prop);
1743
- this.setProperties(setValue(prop, this.globalize.parseDate(min, options), {}), !dynamic);
1761
+ this.setProperties(setValue(prop, this.globalize.parseDate(this.getAmPmValue(min), options), {}), !dynamic);
1744
1762
  }
1745
1763
  break;
1746
1764
  case 'max':
1747
1765
  if ((+this.max === +new Date(2099, 11, 31)) || dynamic) {
1748
1766
  var max = this.inputElement.getAttribute(prop);
1749
- this.setProperties(setValue(prop, this.globalize.parseDate(max, options), {}), !dynamic);
1767
+ this.setProperties(setValue(prop, this.globalize.parseDate(this.getAmPmValue(max), options), {}), !dynamic);
1750
1768
  }
1751
1769
  break;
1752
1770
  case 'type':
@@ -1851,9 +1869,11 @@ var DatePicker = /** @class */ (function (_super) {
1851
1869
  this.calendarElement.querySelectorAll(dateIdString)[0] &&
1852
1870
  this.calendarElement.querySelectorAll(dateIdString)[0].classList.contains('e-disabled');
1853
1871
  if ((!isNullOrUndefined(this.value) && !isNullOrUndefined(this.min) &&
1854
- !isNullOrUndefined(this.max) && !(new Date(this.value).setMilliseconds(0) >= new Date(this.min).setMilliseconds(0)
1872
+ !isNullOrUndefined(this.max) && !(new Date(this.value).setMilliseconds(0) >=
1873
+ new Date(this.min).setMilliseconds(0)
1855
1874
  && new Date(this.value).setMilliseconds(0) <= new Date(this.max).setMilliseconds(0)))
1856
- || (!this.strictMode && this.inputElement.value !== '' && this.inputElement.value !== this.maskedDateValue && isNullOrUndefined(this.value) || isDisabledDate)) {
1875
+ || (!this.strictMode && this.inputElement.value !== '' && this.inputElement.value !== this.maskedDateValue &&
1876
+ isNullOrUndefined(this.value) || isDisabledDate) || !this.isValidTime(this.value)) {
1857
1877
  addClass([this.inputWrapper.container], ERROR);
1858
1878
  attributes(this.inputElement, { 'aria-invalid': 'true' });
1859
1879
  }
@@ -1862,6 +1882,9 @@ var DatePicker = /** @class */ (function (_super) {
1862
1882
  attributes(this.inputElement, { 'aria-invalid': 'false' });
1863
1883
  }
1864
1884
  };
1885
+ DatePicker.prototype.isValidTime = function (value) {
1886
+ return true;
1887
+ };
1865
1888
  /**
1866
1889
  * Called internally if any of the property value changed.
1867
1890
  *
@@ -834,6 +834,7 @@ export declare class DateRangePicker extends CalendarBase {
834
834
  private clearModelvalue;
835
835
  private createHiddenInput;
836
836
  private setMinMaxDays;
837
+ private getAmPmValue;
837
838
  private getStartEndValue;
838
839
  /**
839
840
  * Called internally if any of the property value changed.
@@ -474,7 +474,7 @@ var DateRangePicker = /** @class */ (function (_super) {
474
474
  DateRangePicker.prototype.processPresets = function () {
475
475
  this.presetsItem = [];
476
476
  var i = 0;
477
- if (!isUndefined(this.presets[0].start && this.presets[0].end && this.presets[0].label)) {
477
+ if (!isNullOrUndefined(this.presets[0]) && !isUndefined(this.presets[0].start && this.presets[0].end && this.presets[0].label)) {
478
478
  for (var _i = 0, _a = this.presets; _i < _a.length; _i++) {
479
479
  var range = _a[_i];
480
480
  var id = range.label.replace(/\s+/g, '') + '_' + (++i);
@@ -544,10 +544,10 @@ var DateRangePicker = /** @class */ (function (_super) {
544
544
  if (this.firstHiddenChild && this.secondHiddenChild) {
545
545
  var format = { format: this.formatString, type: 'datetime', skeleton: 'yMd' };
546
546
  if (typeof this.startDate === 'string') {
547
- this.startDate = this.globalize.parseDate(this.startDate, format);
547
+ this.startDate = this.globalize.parseDate(this.getAmPmValue(this.startDate), format);
548
548
  }
549
549
  if (typeof this.endDate === 'string') {
550
- this.endDate = this.globalize.parseDate(this.endDate, format);
550
+ this.endDate = this.globalize.parseDate(this.getAmPmValue(this.endDate), format);
551
551
  }
552
552
  this.firstHiddenChild.value = (this.startDate && this.globalize.formatDate(this.startDate, format))
553
553
  || (this.inputElement.value);
@@ -723,7 +723,7 @@ var DateRangePicker = /** @class */ (function (_super) {
723
723
  break;
724
724
  case 'min':
725
725
  if ((isNullOrUndefined(this.min) || +this.min === +new Date(1900, 0, 1)) || isDynamic) {
726
- var dateValue = this.globalize.parseDate(this.inputElement.getAttribute(prop), format);
726
+ var dateValue = this.globalize.parseDate(this.getAmPmValue(this.inputElement.getAttribute(prop)), format);
727
727
  this.setProperties(setValue(prop, dateValue, {}), !isDynamic);
728
728
  }
729
729
  break;
@@ -732,20 +732,20 @@ var DateRangePicker = /** @class */ (function (_super) {
732
732
  break;
733
733
  case 'max':
734
734
  if ((isNullOrUndefined(this.max) || +this.max === +new Date(2099, 11, 31)) || isDynamic) {
735
- var dateValue = this.globalize.parseDate(this.inputElement.getAttribute(prop), format);
735
+ var dateValue = this.globalize.parseDate(this.getAmPmValue(this.inputElement.getAttribute(prop)), format);
736
736
  this.setProperties(setValue(prop, dateValue, {}), !isDynamic);
737
737
  }
738
738
  break;
739
739
  case 'startDate':
740
740
  if (isNullOrUndefined(this.startDate)) {
741
- var dateValue = this.globalize.parseDate(this.inputElement.getAttribute(prop), format);
741
+ var dateValue = this.globalize.parseDate(this.getAmPmValue(this.inputElement.getAttribute(prop)), format);
742
742
  this.startValue = dateValue;
743
743
  this.setValue();
744
744
  }
745
745
  break;
746
746
  case 'endDate':
747
747
  if (isNullOrUndefined(this.endDate)) {
748
- var dateValue = this.globalize.parseDate(this.inputElement.getAttribute(prop), format);
748
+ var dateValue = this.globalize.parseDate(this.getAmPmValue(this.inputElement.getAttribute(prop)), format);
749
749
  this.endValue = dateValue;
750
750
  this.setValue();
751
751
  }
@@ -980,8 +980,8 @@ var DateRangePicker = /** @class */ (function (_super) {
980
980
  if (range.length > 1) {
981
981
  this.invalidValueString = null;
982
982
  var dateOptions = { format: this.formatString, type: 'date', skeleton: 'yMd' };
983
- var start = this.globalize.parseDate(range[0], dateOptions);
984
- var end = this.globalize.parseDate(range[1], dateOptions);
983
+ var start = this.globalize.parseDate(this.getAmPmValue(range[0]), dateOptions);
984
+ var end = this.globalize.parseDate(this.getAmPmValue(range[1]), dateOptions);
985
985
  var startDate = this.getStartEndDate(start, false, range, dateOptions);
986
986
  var endDate = this.getStartEndDate(end, true, range, dateOptions);
987
987
  if (!isNullOrUndefined(startDate) && !isNaN(+startDate) && !isNullOrUndefined(endDate) && !isNaN(+endDate)) {
@@ -1057,7 +1057,7 @@ var DateRangePicker = /** @class */ (function (_super) {
1057
1057
  };
1058
1058
  DateRangePicker.prototype.getStartEndDate = function (date, isEnd, range, dateOptions) {
1059
1059
  if (this.depth === 'Month') {
1060
- return this.globalize.parseDate(range[isEnd ? 1 : 0].trim(), dateOptions);
1060
+ return this.globalize.parseDate(this.getAmPmValue(range[isEnd ? 1 : 0]).trim(), dateOptions);
1061
1061
  }
1062
1062
  else if (this.depth === 'Year' && !isNullOrUndefined(date)) {
1063
1063
  return new Date(date.getFullYear(), date.getMonth() + (isEnd ? 1 : 0), isEnd ? 0 : 1);
@@ -1074,7 +1074,7 @@ var DateRangePicker = /** @class */ (function (_super) {
1074
1074
  this.currentDate = null;
1075
1075
  };
1076
1076
  DateRangePicker.prototype.errorClass = function () {
1077
- var inputStr = this.inputElement.value.trim();
1077
+ var inputStr = !isNullOrUndefined(this.inputElement.value) ? this.inputElement.value.trim() : null;
1078
1078
  if (((isNullOrUndefined(this.endValue) && isNullOrUndefined(this.startValue) && inputStr !== '') ||
1079
1079
  ((!isNullOrUndefined(this.startValue) && +this.startValue < +this.min)
1080
1080
  || ((!isNullOrUndefined(this.startValue) && !isNullOrUndefined(this.endValue)) && +this.startValue > +this.endValue)
@@ -4272,6 +4272,20 @@ var DateRangePicker = /** @class */ (function (_super) {
4272
4272
  this.updateHeader();
4273
4273
  }
4274
4274
  };
4275
+ DateRangePicker.prototype.getAmPmValue = function (date) {
4276
+ try {
4277
+ if (typeof date === 'string' && date.trim() !== '') {
4278
+ // Replace am/pm variants with uppercase AM/PM
4279
+ return date.replace(/(am|pm|Am|aM|pM|Pm)/g, function (match) { return match.toLocaleUpperCase(); });
4280
+ }
4281
+ // If date is null, undefined, or an empty string, return a default value or empty string
4282
+ return '';
4283
+ }
4284
+ catch (error) {
4285
+ console.error('Error occurred while processing date:', error);
4286
+ return ''; // Return a default value in case of an error
4287
+ }
4288
+ };
4275
4289
  DateRangePicker.prototype.getStartEndValue = function (date, isEnd) {
4276
4290
  if (this.depth === 'Month') {
4277
4291
  return this.checkDateValue(new Date(this.checkValue(date)));
@@ -4372,7 +4386,7 @@ var DateRangePicker = /** @class */ (function (_super) {
4372
4386
  break;
4373
4387
  case 'startDate':
4374
4388
  if (typeof newProp.startDate === 'string') {
4375
- newProp.startDate = this.globalize.parseDate(newProp.startDate, format);
4389
+ newProp.startDate = this.globalize.parseDate(this.getAmPmValue(newProp.startDate), format);
4376
4390
  }
4377
4391
  if (+this.initStartDate !== +newProp.startDate) {
4378
4392
  this.startValue = this.getStartEndValue(newProp.startDate, false);
@@ -4382,7 +4396,7 @@ var DateRangePicker = /** @class */ (function (_super) {
4382
4396
  break;
4383
4397
  case 'endDate':
4384
4398
  if (typeof newProp.endDate === 'string') {
4385
- newProp.endDate = this.globalize.parseDate(newProp.endDate, format);
4399
+ newProp.endDate = this.globalize.parseDate(this.getAmPmValue(newProp.endDate), format);
4386
4400
  }
4387
4401
  if (+this.initEndDate !== +newProp.endDate) {
4388
4402
  this.endValue = this.getStartEndValue(newProp.endDate, true);
@@ -284,6 +284,20 @@ export interface DateTimePickerModel extends DatePickerModel{
284
284
  */
285
285
  max?: Date;
286
286
 
287
+ /**
288
+ * Gets or sets the minimum time that can be selected in the time popup of the DateTimePicker.
289
+ *
290
+ * @default null
291
+ */
292
+ minTime?: Date;
293
+
294
+ /**
295
+ * Gets or sets the maximum time that can be selected in the time popup of the DateTimePicker.
296
+ *
297
+ * @default null
298
+ */
299
+ maxTime?: Date;
300
+
287
301
  /**
288
302
  * Gets or sets the Calendar's first day of the week. By default, the first day of the week will be based on the current culture.
289
303
  *
@@ -321,6 +321,18 @@ export declare class DateTimePicker extends DatePicker {
321
321
  * @default new Date(2099, 11, 31)
322
322
  */
323
323
  max: Date;
324
+ /**
325
+ * Gets or sets the minimum time that can be selected in the time popup of the DateTimePicker.
326
+ *
327
+ * @default null
328
+ */
329
+ minTime: Date;
330
+ /**
331
+ * Gets or sets the maximum time that can be selected in the time popup of the DateTimePicker.
332
+ *
333
+ * @default null
334
+ */
335
+ maxTime: Date;
324
336
  /**
325
337
  * Gets or sets the Calendar's first day of the week. By default, the first day of the week will be based on the current culture.
326
338
  *
@@ -521,6 +533,7 @@ export declare class DateTimePicker extends DatePicker {
521
533
  private validateMinMaxRange;
522
534
  private checkValidState;
523
535
  private checkErrorState;
536
+ protected isValidTime(value: Date): boolean;
524
537
  private validateValue;
525
538
  private disablePopupButton;
526
539
  private getFormattedValue;