@syncfusion/ej2-calendars 21.2.8 → 21.2.10-11964

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 (467) hide show
  1. package/CHANGELOG.md +1237 -1235
  2. package/README.md +178 -178
  3. package/dist/ej2-calendars.umd.min.js +1 -10
  4. package/dist/ej2-calendars.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-calendars.es2015.js +54 -50
  6. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  7. package/dist/es6/ej2-calendars.es5.js +131 -126
  8. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  9. package/helpers/e2e/calendarHelper.js +13 -13
  10. package/helpers/e2e/datepickerHelper.js +13 -13
  11. package/helpers/e2e/daterangepickerHelper.js +13 -13
  12. package/helpers/e2e/datetimepickerHelper.js +13 -13
  13. package/helpers/e2e/index.js +3 -3
  14. package/helpers/e2e/timepickerHelper.js +13 -13
  15. package/license +10 -10
  16. package/package.json +86 -86
  17. package/src/calendar/calendar-model.d.ts +277 -277
  18. package/src/calendar/calendar.d.ts +19 -20
  19. package/src/calendar/calendar.js +27 -28
  20. package/src/common/maskplaceholder-model.d.ts +36 -36
  21. package/src/common/maskplaceholder.js +19 -19
  22. package/src/datepicker/datepicker-model.d.ts +284 -284
  23. package/src/datepicker/datepicker.d.ts +11 -11
  24. package/src/datepicker/datepicker.js +35 -30
  25. package/src/daterangepicker/daterangepicker-model.d.ts +423 -423
  26. package/src/daterangepicker/daterangepicker.d.ts +1 -2
  27. package/src/daterangepicker/daterangepicker.js +22 -22
  28. package/src/datetimepicker/datetimepicker-model.d.ts +446 -446
  29. package/src/datetimepicker/datetimepicker.d.ts +1 -1
  30. package/src/datetimepicker/datetimepicker.js +20 -20
  31. package/src/maskbase/masked-date-time.d.ts +2 -0
  32. package/src/maskbase/masked-date-time.js +7 -4
  33. package/src/timepicker/timepicker-model.d.ts +329 -329
  34. package/src/timepicker/timepicker.d.ts +3 -4
  35. package/src/timepicker/timepicker.js +23 -25
  36. package/styles/bootstrap-dark.css +1000 -1052
  37. package/styles/bootstrap-dark.scss +20 -5
  38. package/styles/bootstrap.css +1002 -1055
  39. package/styles/bootstrap.scss +20 -5
  40. package/styles/bootstrap4.css +987 -1048
  41. package/styles/bootstrap4.scss +20 -5
  42. package/styles/bootstrap5-dark.css +990 -1071
  43. package/styles/bootstrap5-dark.scss +20 -5
  44. package/styles/bootstrap5.css +990 -1071
  45. package/styles/bootstrap5.scss +20 -5
  46. package/styles/calendar/_all.scss +2 -2
  47. package/styles/calendar/_bds-definition.scss +273 -0
  48. package/styles/calendar/_bigger.scss +1156 -0
  49. package/styles/calendar/_bootstrap-dark-definition.scss +238 -228
  50. package/styles/calendar/_bootstrap-definition.scss +238 -228
  51. package/styles/calendar/_bootstrap4-definition.scss +238 -228
  52. package/styles/calendar/_bootstrap5-definition.scss +258 -250
  53. package/styles/calendar/_bootstrap5.3-definition.scss +260 -0
  54. package/styles/calendar/_fabric-dark-definition.scss +202 -192
  55. package/styles/calendar/_fabric-definition.scss +200 -190
  56. package/styles/calendar/_fluent-definition.scss +264 -252
  57. package/styles/calendar/_fluent2-definition.scss +294 -0
  58. package/styles/calendar/_fusionnew-definition.scss +260 -250
  59. package/styles/calendar/_highcontrast-definition.scss +199 -189
  60. package/styles/calendar/_highcontrast-light-definition.scss +202 -192
  61. package/styles/calendar/_layout.scss +582 -741
  62. package/styles/calendar/_material-dark-definition.scss +204 -194
  63. package/styles/calendar/_material-definition.scss +199 -189
  64. package/styles/calendar/_material3-dark-definition.scss +1 -0
  65. package/styles/calendar/_material3-definition.scss +196 -0
  66. package/styles/calendar/_tailwind-definition.scss +271 -262
  67. package/styles/calendar/_tailwind4-definition.scss +262 -0
  68. package/styles/calendar/_theme.scss +721 -533
  69. package/styles/calendar/bootstrap-dark.css +120 -373
  70. package/styles/calendar/bootstrap-dark.scss +1 -1
  71. package/styles/calendar/bootstrap.css +119 -372
  72. package/styles/calendar/bootstrap.scss +1 -1
  73. package/styles/calendar/bootstrap4.css +119 -372
  74. package/styles/calendar/bootstrap4.scss +1 -1
  75. package/styles/calendar/bootstrap5-dark.css +121 -393
  76. package/styles/calendar/bootstrap5-dark.scss +1 -1
  77. package/styles/calendar/bootstrap5.css +121 -393
  78. package/styles/calendar/bootstrap5.scss +1 -1
  79. package/styles/calendar/fabric-dark.css +121 -375
  80. package/styles/calendar/fabric-dark.scss +1 -1
  81. package/styles/calendar/fabric.css +124 -379
  82. package/styles/calendar/fabric.scss +1 -1
  83. package/styles/calendar/fluent-dark.css +139 -421
  84. package/styles/calendar/fluent-dark.scss +1 -1
  85. package/styles/calendar/fluent.css +139 -421
  86. package/styles/calendar/fluent.scss +1 -1
  87. package/styles/calendar/fluent2.css +1747 -0
  88. package/styles/calendar/fluent2.scss +5 -0
  89. package/styles/calendar/highcontrast-light.css +120 -373
  90. package/styles/calendar/highcontrast-light.scss +1 -1
  91. package/styles/calendar/highcontrast.css +124 -379
  92. package/styles/calendar/highcontrast.scss +1 -1
  93. package/styles/calendar/icons/_bds.scss +13 -0
  94. package/styles/calendar/icons/_bootstrap-dark.scss +13 -13
  95. package/styles/calendar/icons/_bootstrap.scss +13 -13
  96. package/styles/calendar/icons/_bootstrap4.scss +13 -13
  97. package/styles/calendar/icons/_bootstrap5.3.scss +13 -0
  98. package/styles/calendar/icons/_bootstrap5.scss +13 -13
  99. package/styles/calendar/icons/_fabric-dark.scss +13 -13
  100. package/styles/calendar/icons/_fabric.scss +13 -13
  101. package/styles/calendar/icons/_fluent.scss +13 -13
  102. package/styles/calendar/icons/_fluent2.scss +13 -0
  103. package/styles/calendar/icons/_fusionnew.scss +13 -13
  104. package/styles/calendar/icons/_highcontrast-light.scss +13 -13
  105. package/styles/calendar/icons/_highcontrast.scss +13 -13
  106. package/styles/calendar/icons/_material-dark.scss +13 -13
  107. package/styles/calendar/icons/_material.scss +13 -13
  108. package/styles/calendar/icons/_material3-dark.scss +1 -0
  109. package/styles/calendar/icons/_material3.scss +13 -13
  110. package/styles/calendar/icons/_tailwind.scss +13 -13
  111. package/styles/calendar/icons/_tailwind4.scss +13 -0
  112. package/styles/calendar/material-dark.css +121 -377
  113. package/styles/calendar/material-dark.scss +1 -1
  114. package/styles/calendar/material.css +122 -378
  115. package/styles/calendar/material.scss +1 -1
  116. package/styles/calendar/material3-dark.css +638 -0
  117. package/styles/calendar/material3-dark.scss +6 -0
  118. package/styles/calendar/material3.css +694 -0
  119. package/styles/calendar/material3.scss +6 -0
  120. package/styles/calendar/tailwind-dark.css +122 -426
  121. package/styles/calendar/tailwind-dark.scss +1 -1
  122. package/styles/calendar/tailwind.css +122 -426
  123. package/styles/calendar/tailwind.scss +1 -1
  124. package/styles/datepicker/_all.scss +2 -2
  125. package/styles/datepicker/_bds-definition.scss +105 -0
  126. package/styles/datepicker/_bigger.scss +82 -0
  127. package/styles/datepicker/_bootstrap-dark-definition.scss +97 -37
  128. package/styles/datepicker/_bootstrap-definition.scss +96 -34
  129. package/styles/datepicker/_bootstrap4-definition.scss +101 -40
  130. package/styles/datepicker/_bootstrap5-definition.scss +107 -46
  131. package/styles/datepicker/_bootstrap5.3-definition.scss +108 -0
  132. package/styles/datepicker/_fabric-dark-definition.scss +98 -37
  133. package/styles/datepicker/_fabric-definition.scss +95 -34
  134. package/styles/datepicker/_fluent-definition.scss +107 -46
  135. package/styles/datepicker/_fluent2-definition.scss +118 -0
  136. package/styles/datepicker/_fusionnew-definition.scss +107 -46
  137. package/styles/datepicker/_highcontrast-definition.scss +96 -35
  138. package/styles/datepicker/_highcontrast-light-definition.scss +99 -38
  139. package/styles/datepicker/_layout.scss +459 -260
  140. package/styles/datepicker/_material-dark-definition.scss +103 -42
  141. package/styles/datepicker/_material-definition.scss +100 -39
  142. package/styles/datepicker/_material3-dark-definition.scss +1 -0
  143. package/styles/datepicker/_material3-definition.scss +97 -0
  144. package/styles/datepicker/_tailwind-definition.scss +105 -44
  145. package/styles/datepicker/_tailwind4-definition.scss +108 -0
  146. package/styles/datepicker/_theme.scss +48 -54
  147. package/styles/datepicker/bootstrap-dark.css +288 -45
  148. package/styles/datepicker/bootstrap-dark.scss +1 -1
  149. package/styles/datepicker/bootstrap.css +288 -45
  150. package/styles/datepicker/bootstrap.scss +1 -1
  151. package/styles/datepicker/bootstrap4.css +287 -47
  152. package/styles/datepicker/bootstrap4.scss +1 -1
  153. package/styles/datepicker/bootstrap5-dark.css +285 -44
  154. package/styles/datepicker/bootstrap5-dark.scss +1 -1
  155. package/styles/datepicker/bootstrap5.css +285 -44
  156. package/styles/datepicker/bootstrap5.scss +1 -1
  157. package/styles/datepicker/fabric-dark.css +281 -45
  158. package/styles/datepicker/fabric-dark.scss +1 -1
  159. package/styles/datepicker/fabric.css +281 -45
  160. package/styles/datepicker/fabric.scss +1 -1
  161. package/styles/datepicker/fluent-dark.css +284 -44
  162. package/styles/datepicker/fluent-dark.scss +1 -1
  163. package/styles/datepicker/fluent.css +284 -44
  164. package/styles/datepicker/fluent.scss +1 -1
  165. package/styles/datepicker/fluent2.css +1617 -0
  166. package/styles/datepicker/fluent2.scss +7 -0
  167. package/styles/datepicker/highcontrast-light.css +286 -44
  168. package/styles/datepicker/highcontrast-light.scss +1 -1
  169. package/styles/datepicker/highcontrast.css +286 -44
  170. package/styles/datepicker/highcontrast.scss +1 -1
  171. package/styles/datepicker/icons/_bds.scss +52 -0
  172. package/styles/datepicker/icons/_bootstrap-dark.scss +49 -52
  173. package/styles/datepicker/icons/_bootstrap.scss +50 -52
  174. package/styles/datepicker/icons/_bootstrap4.scss +52 -56
  175. package/styles/datepicker/icons/_bootstrap5.3.scss +52 -0
  176. package/styles/datepicker/icons/_bootstrap5.scss +52 -56
  177. package/styles/datepicker/icons/_fabric-dark.scss +43 -52
  178. package/styles/datepicker/icons/_fabric.scss +43 -52
  179. package/styles/datepicker/icons/_fluent.scss +52 -56
  180. package/styles/datepicker/icons/_fluent2.scss +52 -0
  181. package/styles/datepicker/icons/_fusionnew.scss +52 -56
  182. package/styles/datepicker/icons/_highcontrast-light.scss +50 -52
  183. package/styles/datepicker/icons/_highcontrast.scss +50 -52
  184. package/styles/datepicker/icons/_material-dark.scss +59 -86
  185. package/styles/datepicker/icons/_material.scss +59 -86
  186. package/styles/datepicker/icons/_material3-dark.scss +1 -0
  187. package/styles/datepicker/icons/_material3.scss +50 -56
  188. package/styles/datepicker/icons/_tailwind.scss +52 -56
  189. package/styles/datepicker/icons/_tailwind4.scss +52 -0
  190. package/styles/datepicker/material-dark.css +278 -60
  191. package/styles/datepicker/material-dark.scss +1 -1
  192. package/styles/datepicker/material.css +231 -96
  193. package/styles/datepicker/material.scss +1 -1
  194. package/styles/datepicker/material3-dark.css +491 -0
  195. package/styles/datepicker/material3-dark.scss +8 -0
  196. package/styles/datepicker/material3.css +547 -0
  197. package/styles/datepicker/material3.scss +8 -0
  198. package/styles/datepicker/tailwind-dark.css +284 -50
  199. package/styles/datepicker/tailwind-dark.scss +1 -1
  200. package/styles/datepicker/tailwind.css +284 -50
  201. package/styles/datepicker/tailwind.scss +1 -1
  202. package/styles/daterangepicker/_all.scss +2 -2
  203. package/styles/daterangepicker/_bds-definition.scss +294 -0
  204. package/styles/daterangepicker/_bigger.scss +971 -0
  205. package/styles/daterangepicker/_bootstrap-dark-definition.scss +258 -193
  206. package/styles/daterangepicker/_bootstrap-definition.scss +258 -193
  207. package/styles/daterangepicker/_bootstrap4-definition.scss +268 -203
  208. package/styles/daterangepicker/_bootstrap5-definition.scss +296 -231
  209. package/styles/daterangepicker/_bootstrap5.3-definition.scss +298 -0
  210. package/styles/daterangepicker/_fabric-dark-definition.scss +261 -196
  211. package/styles/daterangepicker/_fabric-definition.scss +258 -193
  212. package/styles/daterangepicker/_fluent-definition.scss +313 -240
  213. package/styles/daterangepicker/_fluent2-definition.scss +305 -0
  214. package/styles/daterangepicker/_fusionnew-definition.scss +295 -230
  215. package/styles/daterangepicker/_highcontrast-definition.scss +258 -193
  216. package/styles/daterangepicker/_highcontrast-light-definition.scss +261 -196
  217. package/styles/daterangepicker/_layout.scss +806 -821
  218. package/styles/daterangepicker/_material-dark-definition.scss +266 -201
  219. package/styles/daterangepicker/_material-definition.scss +266 -201
  220. package/styles/daterangepicker/_material3-dark-definition.scss +1 -0
  221. package/styles/daterangepicker/_material3-definition.scss +262 -0
  222. package/styles/daterangepicker/_tailwind-definition.scss +287 -222
  223. package/styles/daterangepicker/_tailwind4-definition.scss +308 -0
  224. package/styles/daterangepicker/_theme.scss +428 -435
  225. package/styles/daterangepicker/bootstrap-dark.css +387 -474
  226. package/styles/daterangepicker/bootstrap-dark.scss +1 -1
  227. package/styles/daterangepicker/bootstrap.css +387 -473
  228. package/styles/daterangepicker/bootstrap.scss +1 -1
  229. package/styles/daterangepicker/bootstrap4.css +386 -477
  230. package/styles/daterangepicker/bootstrap4.scss +1 -1
  231. package/styles/daterangepicker/bootstrap5-dark.css +392 -483
  232. package/styles/daterangepicker/bootstrap5-dark.scss +1 -1
  233. package/styles/daterangepicker/bootstrap5.css +392 -483
  234. package/styles/daterangepicker/bootstrap5.scss +1 -1
  235. package/styles/daterangepicker/fabric-dark.css +387 -468
  236. package/styles/daterangepicker/fabric-dark.scss +1 -1
  237. package/styles/daterangepicker/fabric.css +388 -469
  238. package/styles/daterangepicker/fabric.scss +1 -1
  239. package/styles/daterangepicker/fluent-dark.css +396 -504
  240. package/styles/daterangepicker/fluent-dark.scss +1 -1
  241. package/styles/daterangepicker/fluent.css +396 -504
  242. package/styles/daterangepicker/fluent.scss +1 -1
  243. package/styles/daterangepicker/fluent2.css +1998 -0
  244. package/styles/daterangepicker/fluent2.scss +7 -0
  245. package/styles/daterangepicker/highcontrast-light.css +389 -470
  246. package/styles/daterangepicker/highcontrast-light.scss +1 -1
  247. package/styles/daterangepicker/highcontrast.css +389 -470
  248. package/styles/daterangepicker/highcontrast.scss +1 -1
  249. package/styles/daterangepicker/icons/_bds.scss +74 -0
  250. package/styles/daterangepicker/icons/_bootstrap-dark.scss +61 -65
  251. package/styles/daterangepicker/icons/_bootstrap.scss +69 -65
  252. package/styles/daterangepicker/icons/_bootstrap4.scss +75 -74
  253. package/styles/daterangepicker/icons/_bootstrap5.3.scss +74 -0
  254. package/styles/daterangepicker/icons/_bootstrap5.scss +74 -72
  255. package/styles/daterangepicker/icons/_fabric-dark.scss +69 -65
  256. package/styles/daterangepicker/icons/_fabric.scss +69 -65
  257. package/styles/daterangepicker/icons/_fluent.scss +74 -72
  258. package/styles/daterangepicker/icons/_fluent2.scss +91 -0
  259. package/styles/daterangepicker/icons/_fusionnew.scss +74 -72
  260. package/styles/daterangepicker/icons/_highcontrast-light.scss +69 -65
  261. package/styles/daterangepicker/icons/_highcontrast.scss +69 -65
  262. package/styles/daterangepicker/icons/_material-dark.scss +85 -99
  263. package/styles/daterangepicker/icons/_material.scss +85 -99
  264. package/styles/daterangepicker/icons/_material3-dark.scss +1 -0
  265. package/styles/daterangepicker/icons/_material3.scss +90 -99
  266. package/styles/daterangepicker/icons/_tailwind.scss +74 -72
  267. package/styles/daterangepicker/icons/_tailwind4.scss +74 -0
  268. package/styles/daterangepicker/material-dark.css +388 -487
  269. package/styles/daterangepicker/material-dark.scss +1 -1
  270. package/styles/daterangepicker/material.css +344 -560
  271. package/styles/daterangepicker/material.scss +1 -1
  272. package/styles/daterangepicker/material3-dark.css +888 -0
  273. package/styles/daterangepicker/material3-dark.scss +8 -0
  274. package/styles/daterangepicker/material3.css +944 -0
  275. package/styles/daterangepicker/material3.scss +8 -0
  276. package/styles/daterangepicker/tailwind-dark.css +388 -476
  277. package/styles/daterangepicker/tailwind-dark.scss +1 -1
  278. package/styles/daterangepicker/tailwind.css +388 -476
  279. package/styles/daterangepicker/tailwind.scss +1 -1
  280. package/styles/datetimepicker/_all.scss +2 -2
  281. package/styles/datetimepicker/_bds-definition.scss +65 -0
  282. package/styles/datetimepicker/_bigger.scss +105 -0
  283. package/styles/datetimepicker/_bootstrap-dark-definition.scss +60 -55
  284. package/styles/datetimepicker/_bootstrap-definition.scss +59 -54
  285. package/styles/datetimepicker/_bootstrap4-definition.scss +65 -60
  286. package/styles/datetimepicker/_bootstrap5-definition.scss +65 -60
  287. package/styles/datetimepicker/_bootstrap5.3-definition.scss +65 -0
  288. package/styles/datetimepicker/_fabric-dark-definition.scss +60 -55
  289. package/styles/datetimepicker/_fabric-definition.scss +57 -52
  290. package/styles/datetimepicker/_fluent-definition.scss +65 -60
  291. package/styles/datetimepicker/_fluent2-definition.scss +65 -0
  292. package/styles/datetimepicker/_fusionnew-definition.scss +65 -60
  293. package/styles/datetimepicker/_highcontrast-definition.scss +57 -52
  294. package/styles/datetimepicker/_highcontrast-light-definition.scss +60 -55
  295. package/styles/datetimepicker/_layout.scss +179 -195
  296. package/styles/datetimepicker/_material-dark-definition.scss +64 -59
  297. package/styles/datetimepicker/_material-definition.scss +62 -57
  298. package/styles/datetimepicker/_material3-dark-definition.scss +1 -0
  299. package/styles/datetimepicker/_material3-definition.scss +61 -0
  300. package/styles/datetimepicker/_tailwind-definition.scss +65 -60
  301. package/styles/datetimepicker/_tailwind4-definition.scss +70 -0
  302. package/styles/datetimepicker/_theme.scss +95 -70
  303. package/styles/datetimepicker/bootstrap-dark.css +29 -42
  304. package/styles/datetimepicker/bootstrap-dark.scss +1 -1
  305. package/styles/datetimepicker/bootstrap.css +29 -42
  306. package/styles/datetimepicker/bootstrap.scss +1 -1
  307. package/styles/datetimepicker/bootstrap4.css +29 -42
  308. package/styles/datetimepicker/bootstrap4.scss +1 -1
  309. package/styles/datetimepicker/bootstrap5-dark.css +29 -42
  310. package/styles/datetimepicker/bootstrap5-dark.scss +1 -1
  311. package/styles/datetimepicker/bootstrap5.css +29 -42
  312. package/styles/datetimepicker/bootstrap5.scss +1 -1
  313. package/styles/datetimepicker/fabric-dark.css +29 -42
  314. package/styles/datetimepicker/fabric-dark.scss +1 -1
  315. package/styles/datetimepicker/fabric.css +29 -42
  316. package/styles/datetimepicker/fabric.scss +1 -1
  317. package/styles/datetimepicker/fluent-dark.css +29 -42
  318. package/styles/datetimepicker/fluent-dark.scss +1 -1
  319. package/styles/datetimepicker/fluent.css +29 -42
  320. package/styles/datetimepicker/fluent.scss +1 -1
  321. package/styles/datetimepicker/fluent2.css +1373 -0
  322. package/styles/datetimepicker/fluent2.scss +8 -0
  323. package/styles/datetimepicker/highcontrast-light.css +29 -42
  324. package/styles/datetimepicker/highcontrast-light.scss +1 -1
  325. package/styles/datetimepicker/highcontrast.css +29 -42
  326. package/styles/datetimepicker/highcontrast.scss +1 -1
  327. package/styles/datetimepicker/icons/_bds.scss +11 -0
  328. package/styles/datetimepicker/icons/_bootstrap-dark.scss +11 -11
  329. package/styles/datetimepicker/icons/_bootstrap.scss +11 -11
  330. package/styles/datetimepicker/icons/_bootstrap4.scss +11 -11
  331. package/styles/datetimepicker/icons/_bootstrap5.3.scss +11 -0
  332. package/styles/datetimepicker/icons/_bootstrap5.scss +11 -11
  333. package/styles/datetimepicker/icons/_fabric-dark.scss +11 -11
  334. package/styles/datetimepicker/icons/_fabric.scss +11 -11
  335. package/styles/datetimepicker/icons/_fluent.scss +11 -11
  336. package/styles/datetimepicker/icons/_fluent2.scss +11 -0
  337. package/styles/datetimepicker/icons/_fusionnew.scss +11 -11
  338. package/styles/datetimepicker/icons/_highcontrast-light.scss +11 -11
  339. package/styles/datetimepicker/icons/_highcontrast.scss +11 -11
  340. package/styles/datetimepicker/icons/_material-dark.scss +31 -53
  341. package/styles/datetimepicker/icons/_material.scss +40 -62
  342. package/styles/datetimepicker/icons/_material3-dark.scss +1 -0
  343. package/styles/datetimepicker/icons/_material3.scss +11 -11
  344. package/styles/datetimepicker/icons/_tailwind.scss +11 -11
  345. package/styles/datetimepicker/icons/_tailwind4.scss +11 -0
  346. package/styles/datetimepicker/material-dark.css +29 -67
  347. package/styles/datetimepicker/material-dark.scss +1 -1
  348. package/styles/datetimepicker/material.css +29 -67
  349. package/styles/datetimepicker/material.scss +1 -1
  350. package/styles/datetimepicker/material3-dark.css +252 -0
  351. package/styles/datetimepicker/material3-dark.scss +9 -0
  352. package/styles/datetimepicker/material3.css +308 -0
  353. package/styles/datetimepicker/material3.scss +9 -0
  354. package/styles/datetimepicker/tailwind-dark.css +29 -43
  355. package/styles/datetimepicker/tailwind-dark.scss +1 -1
  356. package/styles/datetimepicker/tailwind.css +29 -43
  357. package/styles/datetimepicker/tailwind.scss +1 -1
  358. package/styles/fabric-dark.css +1002 -1056
  359. package/styles/fabric-dark.scss +20 -5
  360. package/styles/fabric.css +1003 -1060
  361. package/styles/fabric.scss +20 -5
  362. package/styles/fluent-dark.css +1024 -1133
  363. package/styles/fluent-dark.scss +20 -5
  364. package/styles/fluent.css +1024 -1133
  365. package/styles/fluent.scss +20 -5
  366. package/styles/fluent2.css +3549 -0
  367. package/styles/fluent2.scss +20 -0
  368. package/styles/highcontrast-light.css +1010 -1057
  369. package/styles/highcontrast-light.scss +20 -5
  370. package/styles/highcontrast.css +1009 -1060
  371. package/styles/highcontrast.scss +20 -5
  372. package/styles/material-dark.css +967 -1116
  373. package/styles/material-dark.scss +20 -5
  374. package/styles/material.css +833 -1208
  375. package/styles/material.scss +20 -5
  376. package/styles/material3-dark.css +2354 -0
  377. package/styles/material3-dark.scss +22 -0
  378. package/styles/material3.css +2410 -0
  379. package/styles/material3.scss +22 -0
  380. package/styles/tailwind-dark.css +988 -1106
  381. package/styles/tailwind-dark.scss +20 -5
  382. package/styles/tailwind.css +988 -1106
  383. package/styles/tailwind.scss +20 -5
  384. package/styles/timepicker/_all.scss +2 -2
  385. package/styles/timepicker/_bds-definition.scss +84 -0
  386. package/styles/timepicker/_bigger.scss +92 -0
  387. package/styles/timepicker/_bootstrap-dark-definition.scss +80 -52
  388. package/styles/timepicker/_bootstrap-definition.scss +77 -49
  389. package/styles/timepicker/_bootstrap4-definition.scss +85 -57
  390. package/styles/timepicker/_bootstrap5-definition.scss +86 -58
  391. package/styles/timepicker/_bootstrap5.3-definition.scss +85 -0
  392. package/styles/timepicker/_fabric-dark-definition.scss +80 -52
  393. package/styles/timepicker/_fabric-definition.scss +77 -49
  394. package/styles/timepicker/_fluent-definition.scss +86 -58
  395. package/styles/timepicker/_fluent2-definition.scss +84 -0
  396. package/styles/timepicker/_fusionnew-definition.scss +86 -58
  397. package/styles/timepicker/_highcontrast-definition.scss +77 -49
  398. package/styles/timepicker/_highcontrast-light-definition.scss +80 -52
  399. package/styles/timepicker/_layout.scss +227 -202
  400. package/styles/timepicker/_material-dark-definition.scss +84 -56
  401. package/styles/timepicker/_material-definition.scss +81 -53
  402. package/styles/timepicker/_material3-dark-definition.scss +1 -0
  403. package/styles/timepicker/_material3-definition.scss +83 -0
  404. package/styles/timepicker/_tailwind-definition.scss +84 -56
  405. package/styles/timepicker/_tailwind4-definition.scss +92 -0
  406. package/styles/timepicker/_theme.scss +134 -100
  407. package/styles/timepicker/bootstrap-dark.css +102 -42
  408. package/styles/timepicker/bootstrap-dark.scss +1 -1
  409. package/styles/timepicker/bootstrap.css +102 -42
  410. package/styles/timepicker/bootstrap.scss +1 -1
  411. package/styles/timepicker/bootstrap4.css +102 -42
  412. package/styles/timepicker/bootstrap4.scss +1 -1
  413. package/styles/timepicker/bootstrap5-dark.css +102 -42
  414. package/styles/timepicker/bootstrap5-dark.scss +1 -1
  415. package/styles/timepicker/bootstrap5.css +102 -42
  416. package/styles/timepicker/bootstrap5.scss +1 -1
  417. package/styles/timepicker/fabric-dark.css +102 -42
  418. package/styles/timepicker/fabric-dark.scss +1 -1
  419. package/styles/timepicker/fabric.css +102 -42
  420. package/styles/timepicker/fabric.scss +1 -1
  421. package/styles/timepicker/fluent-dark.css +102 -42
  422. package/styles/timepicker/fluent-dark.scss +1 -1
  423. package/styles/timepicker/fluent.css +102 -42
  424. package/styles/timepicker/fluent.scss +1 -1
  425. package/styles/timepicker/fluent2.css +1470 -0
  426. package/styles/timepicker/fluent2.scss +6 -0
  427. package/styles/timepicker/highcontrast-light.css +102 -42
  428. package/styles/timepicker/highcontrast-light.scss +1 -1
  429. package/styles/timepicker/highcontrast.css +102 -42
  430. package/styles/timepicker/highcontrast.scss +1 -1
  431. package/styles/timepicker/icons/_bds.scss +24 -0
  432. package/styles/timepicker/icons/_bootstrap-dark.scss +23 -11
  433. package/styles/timepicker/icons/_bootstrap.scss +24 -12
  434. package/styles/timepicker/icons/_bootstrap4.scss +24 -12
  435. package/styles/timepicker/icons/_bootstrap5.3.scss +24 -0
  436. package/styles/timepicker/icons/_bootstrap5.scss +24 -12
  437. package/styles/timepicker/icons/_fabric-dark.scss +24 -12
  438. package/styles/timepicker/icons/_fabric.scss +24 -12
  439. package/styles/timepicker/icons/_fluent.scss +24 -12
  440. package/styles/timepicker/icons/_fluent2.scss +24 -0
  441. package/styles/timepicker/icons/_fusionnew.scss +24 -12
  442. package/styles/timepicker/icons/_highcontrast-light.scss +24 -12
  443. package/styles/timepicker/icons/_highcontrast.scss +24 -12
  444. package/styles/timepicker/icons/_material-dark.scss +37 -40
  445. package/styles/timepicker/icons/_material.scss +39 -42
  446. package/styles/timepicker/icons/_material3-dark.scss +1 -0
  447. package/styles/timepicker/icons/_material3.scss +24 -12
  448. package/styles/timepicker/icons/_tailwind.scss +24 -12
  449. package/styles/timepicker/icons/_tailwind4.scss +24 -0
  450. package/styles/timepicker/material-dark.css +100 -58
  451. package/styles/timepicker/material-dark.scss +1 -1
  452. package/styles/timepicker/material.css +100 -58
  453. package/styles/timepicker/material.scss +1 -1
  454. package/styles/timepicker/material3-dark.css +349 -0
  455. package/styles/timepicker/material3-dark.scss +7 -0
  456. package/styles/timepicker/material3.css +405 -0
  457. package/styles/timepicker/material3.scss +7 -0
  458. package/styles/timepicker/tailwind-dark.css +102 -43
  459. package/styles/timepicker/tailwind-dark.scss +1 -1
  460. package/styles/timepicker/tailwind.css +102 -43
  461. package/styles/timepicker/tailwind.scss +1 -1
  462. package/.eslintrc.json +0 -259
  463. package/dist/ej2-calendars.min.js +0 -10
  464. package/dist/global/ej2-calendars.min.js +0 -11
  465. package/dist/global/ej2-calendars.min.js.map +0 -1
  466. package/dist/global/index.d.ts +0 -14
  467. package/tslint.json +0 -111
@@ -1,4 +1,4 @@
1
- import { EventHandler, Internationalization, Property, NotifyPropertyChanges, Browser, RippleOptions } from '@syncfusion/ej2-base';import { Animation, EmitType, Event, AnimationModel, cldrData, getDefaultDateObject, detach } from '@syncfusion/ej2-base';import { createElement, remove, addClass, L10n, removeClass, closest, append, attributes } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, isNullOrUndefined, formatUnit, getValue, rippleEffect } from '@syncfusion/ej2-base';import { ModuleDeclaration, extend } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input } from '@syncfusion/ej2-inputs';import { BlurEventArgs, ClearedEventArgs, CalendarType, CalendarView, DayHeaderFormats } from '../calendar/calendar';import { DatePicker, PopupObjectArgs } from '../datepicker/datepicker';import { TimePickerBase } from '../timepicker/timepicker';import {MaskPlaceholderModel} from '../common/maskplaceholder-model';
1
+ import { EventHandler, Internationalization, Property, NotifyPropertyChanges, Browser, RippleOptions } from '@syncfusion/ej2-base';
2
2
  import {DatePickerModel} from "../datepicker/datepicker-model";
3
3
 
4
4
  /**
@@ -7,452 +7,452 @@ import {DatePickerModel} from "../datepicker/datepicker-model";
7
7
  export interface DateTimePickerModel extends DatePickerModel{
8
8
 
9
9
  /**
10
- * Specifies the format of the time value that to be displayed in time popup list.
11
- *
12
- * @default null
13
- */
14
- timeFormat?: string;
15
-
16
- /**
17
- * Specifies the time interval between the two adjacent time values in the time popup list .
18
- *
19
- * @default 30
20
- */
21
- step?: number;
22
-
23
- /**
24
- * Specifies the scroll bar position if there is no value is selected in the timepicker popup list or
25
- * the given value is not present in the timepicker popup list.
26
- * {% codeBlock src='datetimepicker/scrollTo/index.md' %}{% endcodeBlock %}
27
- *
28
- * @default null
29
- */
30
- scrollTo?: Date;
31
-
32
- /**
33
- * specifies the z-index value of the popup element.
34
- *
35
- * @default 1000
36
- * @aspType int
37
- */
38
- zIndex?: number;
39
-
40
- /**
41
- * Gets or sets the selected date of the Calendar.
42
- *
43
- * @default null
44
- * @isGenericType true
45
- */
46
- value?: Date;
47
-
48
- /**
49
- * Customizes the key actions in DateTimePicker.
50
- * For example, when using German keyboard, the key actions can be customized using these shortcuts.
51
- *
52
- *
53
- * Input Navigation
54
- * <table>
55
- * <tr>
56
- * <td colSpan=1 rowSpan=1>
57
- * Key action<br/></td><td colSpan=1 rowSpan=1>
58
- * Key<br/></td></tr>
59
- * <tr>
60
- * <td colSpan=1 rowSpan=1>
61
- * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
62
- * alt+uparrow<br/></td></tr>
63
- * <tr>
64
- * <td colSpan=1 rowSpan=1>
65
- * altDownArrow<br/></td><td colSpan=1 rowSpan=1>
66
- * alt+downarrow<br/></td></tr>
67
- * <tr>
68
- * <td colSpan=1 rowSpan=1>
69
- * escape<br/></td><td colSpan=1 rowSpan=1>
70
- * escape<br/></td></tr>
71
- * </table>
72
- *
73
- * Calendar Navigation (Use the following list of keys to navigate the currently focused Calendar after the popup has opened).
74
- * <table>
75
- * <tr>
76
- * <td colSpan=1 rowSpan=1>
77
- * Key action<br/></td><td colSpan=1 rowSpan=1>
78
- * Key<br/></td></tr>
79
- * <tr>
80
- * <td colSpan=1 rowSpan=1>
81
- * controlUp<br/></td><td colSpan=1 rowSpan=1>
82
- * ctrl+38<br/></td></tr>
83
- * <tr>
84
- * <td colSpan=1 rowSpan=1>
85
- * controlDown<br/></td><td colSpan=1 rowSpan=1>
86
- * ctrl+40<br/></td></tr>
87
- * <tr>
88
- * <td colSpan=1 rowSpan=1>
89
- * moveDown<br/></td><td colSpan=1 rowSpan=1>
90
- * downarrow<br/></td></tr>
91
- * <tr>
92
- * <td colSpan=1 rowSpan=1>
93
- * moveUp<br/></td><td colSpan=1 rowSpan=1>
94
- * uparrow<br/></td></tr>
95
- * <tr>
96
- * <td colSpan=1 rowSpan=1>
97
- * moveLeft<br/></td><td colSpan=1 rowSpan=1>
98
- * leftarrow<br/></td></tr>
99
- * <tr>
100
- * <td colSpan=1 rowSpan=1>
101
- * moveRight<br/></td><td colSpan=1 rowSpan=1>
102
- * rightarrow<br/></td></tr>
103
- * <tr>
104
- * <td colSpan=1 rowSpan=1>
105
- * select<br/></td><td colSpan=1 rowSpan=1>
106
- * enter<br/></td></tr>
107
- * <tr>
108
- * <td colSpan=1 rowSpan=1>
109
- * home<br/></td><td colSpan=1 rowSpan=1>
110
- * home<br/></td></tr>
111
- * <tr>
112
- * <td colSpan=1 rowSpan=1>
113
- * end<br/></td><td colSpan=1 rowSpan=1>
114
- * end<br/></td></tr>
115
- * <tr>
116
- * <td colSpan=1 rowSpan=1>
117
- * pageUp<br/></td><td colSpan=1 rowSpan=1>
118
- * pageup<br/></td></tr>
119
- * <tr>
120
- * <td colSpan=1 rowSpan=1>
121
- * pageDown<br/></td><td colSpan=1 rowSpan=1>
122
- * pagedown<br/></td></tr>
123
- * <tr>
124
- * <td colSpan=1 rowSpan=1>
125
- * shiftPageUp<br/></td><td colSpan=1 rowSpan=1>
126
- * shift+pageup<br/></td></tr>
127
- * <tr>
128
- * <td colSpan=1 rowSpan=1>
129
- * shiftPageDown<br/></td><td colSpan=1 rowSpan=1>
130
- * shift+pagedown<br/></td></tr>
131
- * <tr>
132
- * <td colSpan=1 rowSpan=1>
133
- * controlHome<br/></td><td colSpan=1 rowSpan=1>
134
- * ctrl+home<br/></td></tr>
135
- * <tr>
136
- * <td colSpan=1 rowSpan=1>
137
- * controlEnd<br/></td><td colSpan=1 rowSpan=1>
138
- * ctrl+end<br/></td></tr>
139
- * <tr>
140
- * <td colSpan=1 rowSpan=1>
141
- * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
142
- * alt+uparrow<br/></td></tr>
143
- * <tr>
144
- * <td colSpan=1 rowSpan=1>
145
- * spacebar<br/></td><td colSpan=1 rowSpan=1>
146
- * space<br/></td></tr>
147
- * <tr>
148
- * <td colSpan=1 rowSpan=1>
149
- * altRightArrow<br/></td><td colSpan=1 rowSpan=1>
150
- * alt+rightarrow<br/></td></tr>
151
- * <tr>
152
- * <td colSpan=1 rowSpan=1>
153
- * altLeftArrow<br/></td><td colSpan=1 rowSpan=1>
154
- * alt+leftarrow<br/></td></tr>
155
- * </table>
156
- *
157
- * TimePicker Navigation (Use the below list of shortcut keys to interact with the TimePicker after the TimePicker Popup has opened).
158
- * <table>
159
- * <tr>
160
- * <td colSpan=1 rowSpan=1>
161
- * Key action<br/></td><td colSpan=1 rowSpan=1>
162
- * Key<br/></td></tr>
163
- * <tr>
164
- * <td colSpan=1 rowSpan=1>
165
- * down<br/></td><td colSpan=1 rowSpan=1>
166
- * downarrow<br/></td></tr>
167
- * <tr>
168
- * <td colSpan=1 rowSpan=1>
169
- * up<br/></td><td colSpan=1 rowSpan=1>
170
- * uparrow<br/></td></tr>
171
- * <tr>
172
- * <td colSpan=1 rowSpan=1>
173
- * left<br/></td><td colSpan=1 rowSpan=1>
174
- * leftarrow<br/></td></tr>
175
- * <tr>
176
- * <td colSpan=1 rowSpan=1>
177
- * right<br/></td><td colSpan=1 rowSpan=1>
178
- * rightarrow<br/></td></tr>
179
- * </table>
180
- *
181
- * {% codeBlock src='datetimepicker/keyConfigs/index.md' %}{% endcodeBlock %}
182
- *
183
- * @default null
184
- */
185
- keyConfigs?: { [key: string]: string };
186
-
187
- /**
188
- * You can add the additional html attributes such as disabled, value etc., to the element.
189
- * If you configured both property and equivalent html attribute then the component considers the property value.
190
- * {% codeBlock src='datetimepicker/htmlAttributes/index.md' %}{% endcodeBlock %}
191
- *
192
- * @default {}
193
- */
194
- htmlAttributes?: { [key: string]: string };
195
-
196
- /**
197
-      * Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted.
198
- * 1. value
199
- *
200
-      * @default false
201
-      */
202
- enablePersistence?: boolean;
203
-
204
- /**
205
- * > Support for `allowEdit` has been provided from
206
- * [`v16.2.46`](https://ej2.syncfusion.com/angular/documentation/release-notes/16.2.46/#datetimepicker).
207
- *
208
- * Specifies whether the input textbox is editable or not. Here the user can select the value from the
209
- * popup and cannot edit in the input textbox.
210
- *
211
- * @default true
212
- */
213
- allowEdit?: boolean;
214
-
215
- /**
216
- * Specifies the option to enable the multiple dates selection of the calendar.
217
- *
218
- * @default false
219
- * @private
220
- */
221
- isMultiSelection?: boolean;
222
-
223
- /**
224
- * Gets or sets multiple selected dates of the calendar.
225
- *
226
- * @default null
227
- * @private
228
- */
229
- values?: Date[];
230
-
231
- /**
232
- * Specifies whether to show or hide the clear icon in textbox.
233
- *
234
- * @default true
235
- */
236
- showClearButton?: boolean;
237
-
238
- /**
239
- * Specifies the placeholder text that to be is displayed in textbox.
240
- *
241
- * @default null
242
- */
243
- placeholder?: string;
244
-
245
- /**
246
- * Specifies the component to act as strict. So that, it allows to enter only a valid
247
- * date and time value within a specified range or else it
248
- * will resets to previous value. By default, strictMode is in false.
249
- * it allows invalid or out-of-range value with highlighted error class.
250
- *
251
- * @default false
252
- * > For more details refer to
253
- * [`Strict Mode`](../../datetimepicker/strict-mode/) documentation.
254
- */
255
- strictMode?: boolean;
256
-
257
- /**
258
- * By default, the date value will be processed based on system time zone.
259
- * If you want to process the initial date value using server time zone
260
- * then specify the time zone value to `serverTimezoneOffset` property.
261
- *
262
- * @default null
263
- */
264
- serverTimezoneOffset?: number;
265
-
266
- /**
267
- * Gets or sets the minimum date that can be selected in the DateTimePicker.
268
- *
269
- * @default new Date(1900, 00, 01)
270
- */
271
- min?: Date;
272
-
273
- /**
274
- * Gets or sets the maximum date that can be selected in the DateTimePicker.
275
- *
276
- * @default new Date(2099, 11, 31)
277
- */
278
- max?: Date;
279
-
280
- /**
281
- * 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.
282
- *
283
- * @default 0
284
- * @aspType int
285
- * > For more details about firstDayOfWeek refer to
286
- * [`First day of week`](../../calendar/how-to/first-day-of-week#change-the-first-day-of-the-week) documentation.
287
- */
288
- firstDayOfWeek?: number;
289
-
290
- /**
291
- * Gets or sets the Calendar's Type like gregorian or islamic.
292
- *
293
- * @default Gregorian
294
- */
295
- calendarMode?: CalendarType;
296
-
297
- /**
298
- * Specifies the initial view of the Calendar when it is opened.
299
- * With the help of this property, initial view can be changed to year or decade view.
300
- *
301
- * @default Month
302
- *
303
- * <table>
304
- * <tr>
305
- * <td colSpan=1 rowSpan=1>
306
- * View<br/></td><td colSpan=1 rowSpan=1>
307
- * Description<br/></td></tr>
308
- * <tr>
309
- * <td colSpan=1 rowSpan=1>
310
- * Month<br/></td><td colSpan=1 rowSpan=1>
311
- * Calendar view shows the days of the month.<br/></td></tr>
312
- * <tr>
313
- * <td colSpan=1 rowSpan=1>
314
- * Year<br/></td><td colSpan=1 rowSpan=1>
315
- * Calendar view shows the months of the year.<br/></td></tr>
316
- * <tr>
317
- * <td colSpan=1 rowSpan=1>
318
- * Decade<br/></td><td colSpan=1 rowSpan=1>
319
- * Calendar view shows the years of the decade.<br/></td></tr>
320
- * </table>
321
- *
322
- * > For more details about start refer to
323
- * [`calendarView`](../../calendar/calendar-views#view-restriction)documentation.
324
- */
325
- start?: CalendarView;
326
-
327
- /**
328
- * Sets the maximum level of view such as month, year, and decade in the Calendar.
329
- * Depth view should be smaller than the start view to restrict its view navigation.
330
- *
331
- * @default Month
332
- *
333
- * <table>
334
- * <tr>
335
- * <td colSpan=1 rowSpan=1>
336
- * view<br/></td><td colSpan=1 rowSpan=1>
337
- * Description<br/></td></tr>
338
- * <tr>
339
- * <td colSpan=1 rowSpan=1>
340
- * Month<br/></td><td colSpan=1 rowSpan=1>
341
- * Calendar view shows up to the days of the month.<br/></td></tr>
342
- * <tr>
343
- * <td colSpan=1 rowSpan=1>
344
- * Year<br/></td><td colSpan=1 rowSpan=1>
345
- * Calendar view shows up to the months of the year.<br/></td></tr>
346
- * <tr>
347
- * <td colSpan=1 rowSpan=1>
348
- * Decade<br/></td><td colSpan=1 rowSpan=1>
349
- * Calendar view shows up to the years of the decade.<br/></td></tr>
350
- * </table>
351
- *
352
- * > For more details about depth refer to
353
- * [`calendarView`](../../calendar/calendar-views#view-restriction)documentation.
354
- */
355
- depth?: CalendarView;
356
-
357
- /**
358
- * Determines whether the week number of the year is to be displayed in the calendar or not.
359
- *
360
- * @default false
361
- * > For more details about weekNumber refer to
362
- * [`Calendar with week number`](../../calendar/how-to/render-the-calendar-with-week-numbers)documentation.
363
- */
364
- weekNumber?: boolean;
365
-
366
- /**
367
-      * Specifies whether the today button is to be displayed or not.
368
- *
369
-      * @default true
370
-      */
371
- showTodayButton?: boolean;
372
-
373
- /**
374
- * Specifies the format of the day that to be displayed in header. By default, the format is ‘short’.
375
- * Possible formats are:
376
- * * `Short` - Sets the short format of day name (like Su ) in day header.
377
- * * `Narrow` - Sets the single character of day name (like S ) in day header.
378
- * * `Abbreviated` - Sets the min format of day name (like Sun ) in day header.
379
- * * `Wide` - Sets the long format of day name (like Sunday ) in day header.
380
- *
381
- * @default Short
382
- */
383
- dayHeaderFormat?: DayHeaderFormats;
384
-
385
- /**
386
- * By default, the popup opens while clicking on the datetimepicker icon.
387
- * If you want to open the popup while focusing the datetime input then specify its value as true.
388
- *
389
- * @default false
390
- */
391
- openOnFocus?: boolean;
392
-
393
- /**
394
- * Specifies whether it is a masked datetimepicker or not.
395
- * By default the datetimepicker component render without masked input.
396
- * If you need masked datetimepicker input then specify it as true.
397
- *
398
- * @default false
399
- */
400
- enableMask?: boolean;
401
-
402
- /**
403
- * Specifies the mask placeholder to be displayed on masked datetimepicker.
404
- *
405
- * @default {day:'day' , month:'month', year: 'year', hour:'hour',minute:'minute',second:'second',dayOfTheWeek: 'day of the week'}
406
- */
407
- maskPlaceholder?: MaskPlaceholderModel;
408
-
409
- /**
410
- * Triggers when popup is opened.
411
- *
412
- * @event open
413
- */
414
- open?: EmitType<Object>;
415
-
416
- /**
417
- * Triggers when popup is closed.
418
- *
419
- * @event close
420
- */
421
- close?: EmitType<Object>;
422
-
423
- /**
424
- * Triggers when datetimepicker value is cleared using clear button.
425
- *
426
- * @event cleared
427
- */
428
- cleared?: EmitType<ClearedEventArgs>;
429
-
430
- /**
431
- * Triggers when input loses the focus.
432
- *
433
- * @event blur
434
- */
435
- blur?: EmitType<Object>;
436
-
437
- /**
438
- * Triggers when input gets focus.
439
- *
440
- * @event focus
441
- */
442
- focus?: EmitType<Object>;
443
-
444
- /**
445
- * Triggers when DateTimePicker is created.
446
- *
447
- * @event created
448
- */
449
- created?: EmitType<Object>;
10
+ * Specifies the format of the time value that to be displayed in time popup list.
11
+ *
12
+ * @default null
13
+ */
14
+ timeFormat?: string;
15
+
16
+ /**
17
+ * Specifies the time interval between the two adjacent time values in the time popup list .
18
+ *
19
+ * @default 30
20
+ */
21
+ step?: number;
22
+
23
+ /**
24
+ * Specifies the scroll bar position if there is no value is selected in the timepicker popup list or
25
+ * the given value is not present in the timepicker popup list.
26
+ * {% codeBlock src='datetimepicker/scrollTo/index.md' %}{% endcodeBlock %}
27
+ *
28
+ * @default null
29
+ */
30
+ scrollTo?: Date;
31
+
32
+ /**
33
+ * specifies the z-index value of the popup element.
34
+ *
35
+ * @default 1000
36
+ * @aspType int
37
+ */
38
+ zIndex?: number;
39
+
40
+ /**
41
+ * Gets or sets the selected date of the Calendar.
42
+ *
43
+ * @default null
44
+ * @isGenericType true
45
+ */
46
+ value?: Date;
47
+
48
+ /**
49
+ * Customizes the key actions in DateTimePicker.
50
+ * For example, when using German keyboard, the key actions can be customized using these shortcuts.
51
+ *
52
+ *
53
+ * Input Navigation
54
+ * <table>
55
+ * <tr>
56
+ * <td colSpan=1 rowSpan=1>
57
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
58
+ * Key<br/></td></tr>
59
+ * <tr>
60
+ * <td colSpan=1 rowSpan=1>
61
+ * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
62
+ * alt+uparrow<br/></td></tr>
63
+ * <tr>
64
+ * <td colSpan=1 rowSpan=1>
65
+ * altDownArrow<br/></td><td colSpan=1 rowSpan=1>
66
+ * alt+downarrow<br/></td></tr>
67
+ * <tr>
68
+ * <td colSpan=1 rowSpan=1>
69
+ * escape<br/></td><td colSpan=1 rowSpan=1>
70
+ * escape<br/></td></tr>
71
+ * </table>
72
+ *
73
+ * Calendar Navigation (Use the following list of keys to navigate the currently focused Calendar after the popup has opened).
74
+ * <table>
75
+ * <tr>
76
+ * <td colSpan=1 rowSpan=1>
77
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
78
+ * Key<br/></td></tr>
79
+ * <tr>
80
+ * <td colSpan=1 rowSpan=1>
81
+ * controlUp<br/></td><td colSpan=1 rowSpan=1>
82
+ * ctrl+38<br/></td></tr>
83
+ * <tr>
84
+ * <td colSpan=1 rowSpan=1>
85
+ * controlDown<br/></td><td colSpan=1 rowSpan=1>
86
+ * ctrl+40<br/></td></tr>
87
+ * <tr>
88
+ * <td colSpan=1 rowSpan=1>
89
+ * moveDown<br/></td><td colSpan=1 rowSpan=1>
90
+ * downarrow<br/></td></tr>
91
+ * <tr>
92
+ * <td colSpan=1 rowSpan=1>
93
+ * moveUp<br/></td><td colSpan=1 rowSpan=1>
94
+ * uparrow<br/></td></tr>
95
+ * <tr>
96
+ * <td colSpan=1 rowSpan=1>
97
+ * moveLeft<br/></td><td colSpan=1 rowSpan=1>
98
+ * leftarrow<br/></td></tr>
99
+ * <tr>
100
+ * <td colSpan=1 rowSpan=1>
101
+ * moveRight<br/></td><td colSpan=1 rowSpan=1>
102
+ * rightarrow<br/></td></tr>
103
+ * <tr>
104
+ * <td colSpan=1 rowSpan=1>
105
+ * select<br/></td><td colSpan=1 rowSpan=1>
106
+ * enter<br/></td></tr>
107
+ * <tr>
108
+ * <td colSpan=1 rowSpan=1>
109
+ * home<br/></td><td colSpan=1 rowSpan=1>
110
+ * home<br/></td></tr>
111
+ * <tr>
112
+ * <td colSpan=1 rowSpan=1>
113
+ * end<br/></td><td colSpan=1 rowSpan=1>
114
+ * end<br/></td></tr>
115
+ * <tr>
116
+ * <td colSpan=1 rowSpan=1>
117
+ * pageUp<br/></td><td colSpan=1 rowSpan=1>
118
+ * pageup<br/></td></tr>
119
+ * <tr>
120
+ * <td colSpan=1 rowSpan=1>
121
+ * pageDown<br/></td><td colSpan=1 rowSpan=1>
122
+ * pagedown<br/></td></tr>
123
+ * <tr>
124
+ * <td colSpan=1 rowSpan=1>
125
+ * shiftPageUp<br/></td><td colSpan=1 rowSpan=1>
126
+ * shift+pageup<br/></td></tr>
127
+ * <tr>
128
+ * <td colSpan=1 rowSpan=1>
129
+ * shiftPageDown<br/></td><td colSpan=1 rowSpan=1>
130
+ * shift+pagedown<br/></td></tr>
131
+ * <tr>
132
+ * <td colSpan=1 rowSpan=1>
133
+ * controlHome<br/></td><td colSpan=1 rowSpan=1>
134
+ * ctrl+home<br/></td></tr>
135
+ * <tr>
136
+ * <td colSpan=1 rowSpan=1>
137
+ * controlEnd<br/></td><td colSpan=1 rowSpan=1>
138
+ * ctrl+end<br/></td></tr>
139
+ * <tr>
140
+ * <td colSpan=1 rowSpan=1>
141
+ * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
142
+ * alt+uparrow<br/></td></tr>
143
+ * <tr>
144
+ * <td colSpan=1 rowSpan=1>
145
+ * spacebar<br/></td><td colSpan=1 rowSpan=1>
146
+ * space<br/></td></tr>
147
+ * <tr>
148
+ * <td colSpan=1 rowSpan=1>
149
+ * altRightArrow<br/></td><td colSpan=1 rowSpan=1>
150
+ * alt+rightarrow<br/></td></tr>
151
+ * <tr>
152
+ * <td colSpan=1 rowSpan=1>
153
+ * altLeftArrow<br/></td><td colSpan=1 rowSpan=1>
154
+ * alt+leftarrow<br/></td></tr>
155
+ * </table>
156
+ *
157
+ * TimePicker Navigation (Use the below list of shortcut keys to interact with the TimePicker after the TimePicker Popup has opened).
158
+ * <table>
159
+ * <tr>
160
+ * <td colSpan=1 rowSpan=1>
161
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
162
+ * Key<br/></td></tr>
163
+ * <tr>
164
+ * <td colSpan=1 rowSpan=1>
165
+ * down<br/></td><td colSpan=1 rowSpan=1>
166
+ * downarrow<br/></td></tr>
167
+ * <tr>
168
+ * <td colSpan=1 rowSpan=1>
169
+ * up<br/></td><td colSpan=1 rowSpan=1>
170
+ * uparrow<br/></td></tr>
171
+ * <tr>
172
+ * <td colSpan=1 rowSpan=1>
173
+ * left<br/></td><td colSpan=1 rowSpan=1>
174
+ * leftarrow<br/></td></tr>
175
+ * <tr>
176
+ * <td colSpan=1 rowSpan=1>
177
+ * right<br/></td><td colSpan=1 rowSpan=1>
178
+ * rightarrow<br/></td></tr>
179
+ * </table>
180
+ *
181
+ * {% codeBlock src='datetimepicker/keyConfigs/index.md' %}{% endcodeBlock %}
182
+ *
183
+ * @default null
184
+ */
185
+ keyConfigs?: { [key: string]: string };
186
+
187
+ /**
188
+ * You can add the additional html attributes such as disabled, value etc., to the element.
189
+ * If you configured both property and equivalent html attribute then the component considers the property value.
190
+ * {% codeBlock src='datetimepicker/htmlAttributes/index.md' %}{% endcodeBlock %}
191
+ *
192
+ * @default {}
193
+ */
194
+ htmlAttributes?: { [key: string]: string };
195
+
196
+ /**
197
+      * Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted.
198
+ * 1. value
199
+ *
200
+      * @default false
201
+      */
202
+ enablePersistence?: boolean;
203
+
204
+ /**
205
+ * > Support for `allowEdit` has been provided from
206
+ * [`v16.2.46`](https://ej2.syncfusion.com/angular/documentation/release-notes/16.2.46/#datetimepicker).
207
+ *
208
+ * Specifies whether the input textbox is editable or not. Here the user can select the value from the
209
+ * popup and cannot edit in the input textbox.
210
+ *
211
+ * @default true
212
+ */
213
+ allowEdit?: boolean;
214
+
215
+ /**
216
+ * Specifies the option to enable the multiple dates selection of the calendar.
217
+ *
218
+ * @default false
219
+ * @private
220
+ */
221
+ isMultiSelection?: boolean;
222
+
223
+ /**
224
+ * Gets or sets multiple selected dates of the calendar.
225
+ *
226
+ * @default null
227
+ * @private
228
+ */
229
+ values?: Date[];
230
+
231
+ /**
232
+ * Specifies whether to show or hide the clear icon in textbox.
233
+ *
234
+ * @default true
235
+ */
236
+ showClearButton?: boolean;
237
+
238
+ /**
239
+ * Specifies the placeholder text that to be is displayed in textbox.
240
+ *
241
+ * @default null
242
+ */
243
+ placeholder?: string;
244
+
245
+ /**
246
+ * Specifies the component to act as strict. So that, it allows to enter only a valid
247
+ * date and time value within a specified range or else it
248
+ * will resets to previous value. By default, strictMode is in false.
249
+ * it allows invalid or out-of-range value with highlighted error class.
250
+ *
251
+ * @default false
252
+ * > For more details refer to
253
+ * [`Strict Mode`](../../datetimepicker/strict-mode/) documentation.
254
+ */
255
+ strictMode?: boolean;
256
+
257
+ /**
258
+ * By default, the date value will be processed based on system time zone.
259
+ * If you want to process the initial date value using server time zone
260
+ * then specify the time zone value to `serverTimezoneOffset` property.
261
+ *
262
+ * @default null
263
+ */
264
+ serverTimezoneOffset?: number;
265
+
266
+ /**
267
+ * Gets or sets the minimum date that can be selected in the DateTimePicker.
268
+ *
269
+ * @default new Date(1900, 00, 01)
270
+ */
271
+ min?: Date;
272
+
273
+ /**
274
+ * Gets or sets the maximum date that can be selected in the DateTimePicker.
275
+ *
276
+ * @default new Date(2099, 11, 31)
277
+ */
278
+ max?: Date;
279
+
280
+ /**
281
+ * 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.
282
+ *
283
+ * @default 0
284
+ * @aspType int
285
+ * > For more details about firstDayOfWeek refer to
286
+ * [`First day of week`](../../calendar/how-to/first-day-of-week#change-the-first-day-of-the-week) documentation.
287
+ */
288
+ firstDayOfWeek?: number;
289
+
290
+ /**
291
+ * Gets or sets the Calendar's Type like gregorian or islamic.
292
+ *
293
+ * @default Gregorian
294
+ */
295
+ calendarMode?: CalendarType;
296
+
297
+ /**
298
+ * Specifies the initial view of the Calendar when it is opened.
299
+ * With the help of this property, initial view can be changed to year or decade view.
300
+ *
301
+ * @default Month
302
+ *
303
+ * <table>
304
+ * <tr>
305
+ * <td colSpan=1 rowSpan=1>
306
+ * View<br/></td><td colSpan=1 rowSpan=1>
307
+ * Description<br/></td></tr>
308
+ * <tr>
309
+ * <td colSpan=1 rowSpan=1>
310
+ * Month<br/></td><td colSpan=1 rowSpan=1>
311
+ * Calendar view shows the days of the month.<br/></td></tr>
312
+ * <tr>
313
+ * <td colSpan=1 rowSpan=1>
314
+ * Year<br/></td><td colSpan=1 rowSpan=1>
315
+ * Calendar view shows the months of the year.<br/></td></tr>
316
+ * <tr>
317
+ * <td colSpan=1 rowSpan=1>
318
+ * Decade<br/></td><td colSpan=1 rowSpan=1>
319
+ * Calendar view shows the years of the decade.<br/></td></tr>
320
+ * </table>
321
+ *
322
+ * > For more details about start refer to
323
+ * [`calendarView`](../../calendar/calendar-views#view-restriction)documentation.
324
+ */
325
+ start?: CalendarView;
326
+
327
+ /**
328
+ * Sets the maximum level of view such as month, year, and decade in the Calendar.
329
+ * Depth view should be smaller than the start view to restrict its view navigation.
330
+ *
331
+ * @default Month
332
+ *
333
+ * <table>
334
+ * <tr>
335
+ * <td colSpan=1 rowSpan=1>
336
+ * view<br/></td><td colSpan=1 rowSpan=1>
337
+ * Description<br/></td></tr>
338
+ * <tr>
339
+ * <td colSpan=1 rowSpan=1>
340
+ * Month<br/></td><td colSpan=1 rowSpan=1>
341
+ * Calendar view shows up to the days of the month.<br/></td></tr>
342
+ * <tr>
343
+ * <td colSpan=1 rowSpan=1>
344
+ * Year<br/></td><td colSpan=1 rowSpan=1>
345
+ * Calendar view shows up to the months of the year.<br/></td></tr>
346
+ * <tr>
347
+ * <td colSpan=1 rowSpan=1>
348
+ * Decade<br/></td><td colSpan=1 rowSpan=1>
349
+ * Calendar view shows up to the years of the decade.<br/></td></tr>
350
+ * </table>
351
+ *
352
+ * > For more details about depth refer to
353
+ * [`calendarView`](../../calendar/calendar-views#view-restriction)documentation.
354
+ */
355
+ depth?: CalendarView;
356
+
357
+ /**
358
+ * Determines whether the week number of the year is to be displayed in the calendar or not.
359
+ *
360
+ * @default false
361
+ * > For more details about weekNumber refer to
362
+ * [`Calendar with week number`](../../calendar/how-to/render-the-calendar-with-week-numbers)documentation.
363
+ */
364
+ weekNumber?: boolean;
365
+
366
+ /**
367
+      * Specifies whether the today button is to be displayed or not.
368
+ *
369
+      * @default true
370
+      */
371
+ showTodayButton?: boolean;
372
+
373
+ /**
374
+ * Specifies the format of the day that to be displayed in header. By default, the format is ‘short’.
375
+ * Possible formats are:
376
+ * * `Short` - Sets the short format of day name (like Su ) in day header.
377
+ * * `Narrow` - Sets the single character of day name (like S ) in day header.
378
+ * * `Abbreviated` - Sets the min format of day name (like Sun ) in day header.
379
+ * * `Wide` - Sets the long format of day name (like Sunday ) in day header.
380
+ *
381
+ * @default Short
382
+ */
383
+ dayHeaderFormat?: DayHeaderFormats;
384
+
385
+ /**
386
+ * By default, the popup opens while clicking on the datetimepicker icon.
387
+ * If you want to open the popup while focusing the datetime input then specify its value as true.
388
+ *
389
+ * @default false
390
+ */
391
+ openOnFocus?: boolean;
392
+
393
+ /**
394
+ * Specifies whether it is a masked datetimepicker or not.
395
+ * By default the datetimepicker component render without masked input.
396
+ * If you need masked datetimepicker input then specify it as true.
397
+ *
398
+ * @default false
399
+ */
400
+ enableMask?: boolean;
401
+
402
+ /**
403
+ * Specifies the mask placeholder to be displayed on masked datetimepicker.
404
+ *
405
+ * @default {day:'day' , month:'month', year: 'year', hour:'hour',minute:'minute',second:'second',dayOfTheWeek: 'day of the week'}
406
+ */
407
+ maskPlaceholder?: MaskPlaceholderModel;
408
+
409
+ /**
410
+ * Triggers when popup is opened.
411
+ *
412
+ * @event open
413
+ */
414
+ open?: EmitType<Object>;
415
+
416
+ /**
417
+ * Triggers when popup is closed.
418
+ *
419
+ * @event close
420
+ */
421
+ close?: EmitType<Object>;
422
+
423
+ /**
424
+ * Triggers when datetimepicker value is cleared using clear button.
425
+ *
426
+ * @event cleared
427
+ */
428
+ cleared?: EmitType<ClearedEventArgs>;
429
+
430
+ /**
431
+ * Triggers when input loses the focus.
432
+ *
433
+ * @event blur
434
+ */
435
+ blur?: EmitType<Object>;
436
+
437
+ /**
438
+ * Triggers when input gets focus.
439
+ *
440
+ * @event focus
441
+ */
442
+ focus?: EmitType<Object>;
443
+
444
+ /**
445
+ * Triggers when DateTimePicker is created.
446
+ *
447
+ * @event created
448
+ */
449
+ created?: EmitType<Object>;
450
450
 
451
451
  /**
452
-      * Triggers when DateTimePicker is destroyed.
453
- *
454
-      * @event destroyed
455
-      */
456
- destroyed?: EmitType<Object>;
452
+      * Triggers when DateTimePicker is destroyed.
453
+ *
454
+      * @event destroyed
455
+      */
456
+ destroyed?: EmitType<Object>;
457
457
 
458
458
  }