@syncfusion/ej2-angular-calendars 20.4.44 → 20.4.48-ngcc

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 (316) hide show
  1. package/@syncfusion/ej2-angular-calendars.es5.js +1028 -0
  2. package/@syncfusion/ej2-angular-calendars.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-calendars.js +961 -0
  4. package/@syncfusion/ej2-angular-calendars.js.map +1 -0
  5. package/CHANGELOG.md +1350 -0
  6. package/dist/ej2-angular-calendars.umd.js +1073 -0
  7. package/dist/ej2-angular-calendars.umd.js.map +1 -0
  8. package/dist/ej2-angular-calendars.umd.min.js +11 -0
  9. package/dist/ej2-angular-calendars.umd.min.js.map +1 -0
  10. package/ej2-angular-calendars.d.ts +9 -0
  11. package/ej2-angular-calendars.metadata.json +1 -0
  12. package/package.json +15 -29
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/calendar/calendar-all.module.d.ts +0 -6
  18. package/src/calendar/calendar.component.d.ts +0 -3
  19. package/src/calendar/calendar.module.d.ts +0 -6
  20. package/src/datepicker/datepicker-all.module.d.ts +0 -6
  21. package/src/datepicker/datepicker.component.d.ts +0 -3
  22. package/src/datepicker/datepicker.module.d.ts +0 -6
  23. package/src/daterangepicker/daterangepicker-all.module.d.ts +0 -6
  24. package/src/daterangepicker/daterangepicker.component.d.ts +0 -3
  25. package/src/daterangepicker/daterangepicker.module.d.ts +0 -7
  26. package/src/daterangepicker/presets.directive.d.ts +0 -5
  27. package/src/datetimepicker/datetimepicker-all.module.d.ts +0 -6
  28. package/src/datetimepicker/datetimepicker.component.d.ts +0 -3
  29. package/src/datetimepicker/datetimepicker.module.d.ts +0 -6
  30. package/src/timepicker/timepicker-all.module.d.ts +0 -6
  31. package/src/timepicker/timepicker.component.d.ts +0 -3
  32. package/src/timepicker/timepicker.module.d.ts +0 -6
  33. package/styles/calendar/bootstrap-dark.scss +1 -5
  34. package/styles/calendar/bootstrap.scss +1 -5
  35. package/styles/calendar/bootstrap4.scss +1 -5
  36. package/styles/calendar/bootstrap5-dark.scss +1 -5
  37. package/styles/calendar/bootstrap5.scss +1 -5
  38. package/styles/calendar/fabric-dark.scss +1 -5
  39. package/styles/calendar/fabric.scss +1 -5
  40. package/styles/calendar/fluent-dark.scss +1 -5
  41. package/styles/calendar/fluent.scss +1 -5
  42. package/styles/calendar/highcontrast-light.scss +1 -5
  43. package/styles/calendar/highcontrast.scss +1 -5
  44. package/styles/calendar/material-dark.scss +1 -5
  45. package/styles/calendar/material.scss +1 -5
  46. package/styles/calendar/tailwind-dark.scss +1 -5
  47. package/styles/calendar/tailwind.scss +1 -5
  48. package/styles/datepicker/bootstrap-dark.scss +1 -7
  49. package/styles/datepicker/bootstrap.scss +1 -7
  50. package/styles/datepicker/bootstrap4.scss +1 -7
  51. package/styles/datepicker/bootstrap5-dark.scss +1 -7
  52. package/styles/datepicker/bootstrap5.scss +1 -7
  53. package/styles/datepicker/fabric-dark.scss +1 -7
  54. package/styles/datepicker/fabric.scss +1 -7
  55. package/styles/datepicker/fluent-dark.scss +1 -7
  56. package/styles/datepicker/fluent.scss +1 -7
  57. package/styles/datepicker/highcontrast-light.scss +1 -7
  58. package/styles/datepicker/highcontrast.scss +1 -7
  59. package/styles/datepicker/material-dark.scss +1 -7
  60. package/styles/datepicker/material.scss +1 -7
  61. package/styles/datepicker/tailwind-dark.scss +1 -7
  62. package/styles/datepicker/tailwind.scss +1 -7
  63. package/styles/daterangepicker/bootstrap-dark.scss +1 -7
  64. package/styles/daterangepicker/bootstrap.scss +1 -7
  65. package/styles/daterangepicker/bootstrap4.scss +1 -7
  66. package/styles/daterangepicker/bootstrap5-dark.scss +1 -7
  67. package/styles/daterangepicker/bootstrap5.scss +1 -7
  68. package/styles/daterangepicker/fabric-dark.scss +1 -7
  69. package/styles/daterangepicker/fabric.scss +1 -7
  70. package/styles/daterangepicker/fluent-dark.scss +1 -7
  71. package/styles/daterangepicker/fluent.scss +1 -7
  72. package/styles/daterangepicker/highcontrast-light.scss +1 -7
  73. package/styles/daterangepicker/highcontrast.scss +1 -7
  74. package/styles/daterangepicker/material-dark.scss +1 -7
  75. package/styles/daterangepicker/material.scss +1 -7
  76. package/styles/daterangepicker/tailwind-dark.scss +1 -7
  77. package/styles/daterangepicker/tailwind.scss +1 -7
  78. package/styles/datetimepicker/bootstrap-dark.scss +1 -8
  79. package/styles/datetimepicker/bootstrap.scss +1 -8
  80. package/styles/datetimepicker/bootstrap4.scss +1 -8
  81. package/styles/datetimepicker/bootstrap5-dark.scss +1 -8
  82. package/styles/datetimepicker/bootstrap5.scss +1 -8
  83. package/styles/datetimepicker/fabric-dark.scss +1 -8
  84. package/styles/datetimepicker/fabric.scss +1 -8
  85. package/styles/datetimepicker/fluent-dark.scss +1 -8
  86. package/styles/datetimepicker/fluent.scss +1 -8
  87. package/styles/datetimepicker/highcontrast-light.scss +1 -8
  88. package/styles/datetimepicker/highcontrast.scss +1 -8
  89. package/styles/datetimepicker/material-dark.scss +1 -8
  90. package/styles/datetimepicker/material.scss +1 -8
  91. package/styles/datetimepicker/tailwind-dark.scss +1 -8
  92. package/styles/datetimepicker/tailwind.scss +1 -8
  93. package/styles/timepicker/bootstrap-dark.scss +1 -6
  94. package/styles/timepicker/bootstrap.scss +1 -6
  95. package/styles/timepicker/bootstrap4.scss +1 -6
  96. package/styles/timepicker/bootstrap5-dark.scss +1 -6
  97. package/styles/timepicker/bootstrap5.scss +1 -6
  98. package/styles/timepicker/fabric-dark.scss +1 -6
  99. package/styles/timepicker/fabric.scss +1 -6
  100. package/styles/timepicker/fluent-dark.scss +1 -6
  101. package/styles/timepicker/fluent.scss +1 -6
  102. package/styles/timepicker/highcontrast-light.scss +1 -6
  103. package/styles/timepicker/highcontrast.scss +1 -6
  104. package/styles/timepicker/material-dark.scss +1 -6
  105. package/styles/timepicker/material.scss +1 -6
  106. package/styles/timepicker/tailwind-dark.scss +1 -6
  107. package/styles/timepicker/tailwind.scss +1 -6
  108. package/esm2020/public_api.mjs +0 -3
  109. package/esm2020/src/calendar/calendar-all.module.mjs +0 -29
  110. package/esm2020/src/calendar/calendar.component.mjs +0 -90
  111. package/esm2020/src/calendar/calendar.module.mjs +0 -25
  112. package/esm2020/src/datepicker/datepicker-all.module.mjs +0 -29
  113. package/esm2020/src/datepicker/datepicker.component.mjs +0 -98
  114. package/esm2020/src/datepicker/datepicker.module.mjs +0 -25
  115. package/esm2020/src/daterangepicker/daterangepicker-all.module.mjs +0 -23
  116. package/esm2020/src/daterangepicker/daterangepicker.component.mjs +0 -102
  117. package/esm2020/src/daterangepicker/daterangepicker.module.mjs +0 -34
  118. package/esm2020/src/daterangepicker/presets.directive.mjs +0 -58
  119. package/esm2020/src/datetimepicker/datetimepicker-all.module.mjs +0 -23
  120. package/esm2020/src/datetimepicker/datetimepicker.component.mjs +0 -98
  121. package/esm2020/src/datetimepicker/datetimepicker.module.mjs +0 -25
  122. package/esm2020/src/index.mjs +0 -18
  123. package/esm2020/src/timepicker/timepicker-all.module.mjs +0 -23
  124. package/esm2020/src/timepicker/timepicker.component.mjs +0 -91
  125. package/esm2020/src/timepicker/timepicker.module.mjs +0 -25
  126. package/esm2020/syncfusion-ej2-angular-calendars.mjs +0 -5
  127. package/fesm2015/syncfusion-ej2-angular-calendars.mjs +0 -732
  128. package/fesm2015/syncfusion-ej2-angular-calendars.mjs.map +0 -1
  129. package/fesm2020/syncfusion-ej2-angular-calendars.mjs +0 -732
  130. package/fesm2020/syncfusion-ej2-angular-calendars.mjs.map +0 -1
  131. package/styles/calendar/_all.scss +0 -2
  132. package/styles/calendar/_bootstrap-dark-definition.scss +0 -228
  133. package/styles/calendar/_bootstrap-definition.scss +0 -228
  134. package/styles/calendar/_bootstrap4-definition.scss +0 -228
  135. package/styles/calendar/_bootstrap5-dark-definition.scss +0 -1
  136. package/styles/calendar/_bootstrap5-definition.scss +0 -250
  137. package/styles/calendar/_fabric-dark-definition.scss +0 -190
  138. package/styles/calendar/_fabric-definition.scss +0 -188
  139. package/styles/calendar/_fluent-dark-definition.scss +0 -1
  140. package/styles/calendar/_fluent-definition.scss +0 -252
  141. package/styles/calendar/_fusionnew-definition.scss +0 -250
  142. package/styles/calendar/_highcontrast-definition.scss +0 -187
  143. package/styles/calendar/_highcontrast-light-definition.scss +0 -190
  144. package/styles/calendar/_layout.scss +0 -694
  145. package/styles/calendar/_material-dark-definition.scss +0 -192
  146. package/styles/calendar/_material-definition.scss +0 -187
  147. package/styles/calendar/_material3-definition.scss +0 -250
  148. package/styles/calendar/_tailwind-dark-definition.scss +0 -1
  149. package/styles/calendar/_tailwind-definition.scss +0 -262
  150. package/styles/calendar/_theme.scss +0 -472
  151. package/styles/calendar/icons/_bootstrap-dark.scss +0 -13
  152. package/styles/calendar/icons/_bootstrap.scss +0 -13
  153. package/styles/calendar/icons/_bootstrap4.scss +0 -13
  154. package/styles/calendar/icons/_bootstrap5-dark.scss +0 -1
  155. package/styles/calendar/icons/_bootstrap5.scss +0 -13
  156. package/styles/calendar/icons/_fabric-dark.scss +0 -13
  157. package/styles/calendar/icons/_fabric.scss +0 -13
  158. package/styles/calendar/icons/_fluent-dark.scss +0 -1
  159. package/styles/calendar/icons/_fluent.scss +0 -13
  160. package/styles/calendar/icons/_fusionnew.scss +0 -13
  161. package/styles/calendar/icons/_highcontrast-light.scss +0 -13
  162. package/styles/calendar/icons/_highcontrast.scss +0 -13
  163. package/styles/calendar/icons/_material-dark.scss +0 -13
  164. package/styles/calendar/icons/_material.scss +0 -13
  165. package/styles/calendar/icons/_material3.scss +0 -13
  166. package/styles/calendar/icons/_tailwind-dark.scss +0 -1
  167. package/styles/calendar/icons/_tailwind.scss +0 -13
  168. package/styles/datepicker/_all.scss +0 -2
  169. package/styles/datepicker/_bootstrap-dark-definition.scss +0 -37
  170. package/styles/datepicker/_bootstrap-definition.scss +0 -34
  171. package/styles/datepicker/_bootstrap4-definition.scss +0 -40
  172. package/styles/datepicker/_bootstrap5-dark-definition.scss +0 -1
  173. package/styles/datepicker/_bootstrap5-definition.scss +0 -46
  174. package/styles/datepicker/_fabric-dark-definition.scss +0 -37
  175. package/styles/datepicker/_fabric-definition.scss +0 -34
  176. package/styles/datepicker/_fluent-dark-definition.scss +0 -1
  177. package/styles/datepicker/_fluent-definition.scss +0 -46
  178. package/styles/datepicker/_fusionnew-definition.scss +0 -46
  179. package/styles/datepicker/_highcontrast-definition.scss +0 -35
  180. package/styles/datepicker/_highcontrast-light-definition.scss +0 -38
  181. package/styles/datepicker/_layout.scss +0 -251
  182. package/styles/datepicker/_material-dark-definition.scss +0 -42
  183. package/styles/datepicker/_material-definition.scss +0 -39
  184. package/styles/datepicker/_material3-definition.scss +0 -46
  185. package/styles/datepicker/_tailwind-dark-definition.scss +0 -1
  186. package/styles/datepicker/_tailwind-definition.scss +0 -44
  187. package/styles/datepicker/_theme.scss +0 -44
  188. package/styles/datepicker/icons/_bootstrap-dark.scss +0 -52
  189. package/styles/datepicker/icons/_bootstrap.scss +0 -52
  190. package/styles/datepicker/icons/_bootstrap4.scss +0 -56
  191. package/styles/datepicker/icons/_bootstrap5-dark.scss +0 -1
  192. package/styles/datepicker/icons/_bootstrap5.scss +0 -56
  193. package/styles/datepicker/icons/_fabric-dark.scss +0 -52
  194. package/styles/datepicker/icons/_fabric.scss +0 -52
  195. package/styles/datepicker/icons/_fluent-dark.scss +0 -1
  196. package/styles/datepicker/icons/_fluent.scss +0 -56
  197. package/styles/datepicker/icons/_fusionnew.scss +0 -56
  198. package/styles/datepicker/icons/_highcontrast-light.scss +0 -52
  199. package/styles/datepicker/icons/_highcontrast.scss +0 -52
  200. package/styles/datepicker/icons/_material-dark.scss +0 -86
  201. package/styles/datepicker/icons/_material.scss +0 -86
  202. package/styles/datepicker/icons/_material3.scss +0 -56
  203. package/styles/datepicker/icons/_tailwind-dark.scss +0 -1
  204. package/styles/datepicker/icons/_tailwind.scss +0 -56
  205. package/styles/daterangepicker/_all.scss +0 -2
  206. package/styles/daterangepicker/_bootstrap-dark-definition.scss +0 -193
  207. package/styles/daterangepicker/_bootstrap-definition.scss +0 -193
  208. package/styles/daterangepicker/_bootstrap4-definition.scss +0 -203
  209. package/styles/daterangepicker/_bootstrap5-dark-definition.scss +0 -1
  210. package/styles/daterangepicker/_bootstrap5-definition.scss +0 -231
  211. package/styles/daterangepicker/_fabric-dark-definition.scss +0 -196
  212. package/styles/daterangepicker/_fabric-definition.scss +0 -193
  213. package/styles/daterangepicker/_fluent-dark-definition.scss +0 -1
  214. package/styles/daterangepicker/_fluent-definition.scss +0 -240
  215. package/styles/daterangepicker/_fusionnew-definition.scss +0 -230
  216. package/styles/daterangepicker/_highcontrast-definition.scss +0 -193
  217. package/styles/daterangepicker/_highcontrast-light-definition.scss +0 -196
  218. package/styles/daterangepicker/_layout.scss +0 -773
  219. package/styles/daterangepicker/_material-dark-definition.scss +0 -201
  220. package/styles/daterangepicker/_material-definition.scss +0 -201
  221. package/styles/daterangepicker/_material3-definition.scss +0 -230
  222. package/styles/daterangepicker/_tailwind-dark-definition.scss +0 -1
  223. package/styles/daterangepicker/_tailwind-definition.scss +0 -222
  224. package/styles/daterangepicker/_theme.scss +0 -357
  225. package/styles/daterangepicker/icons/_bootstrap-dark.scss +0 -65
  226. package/styles/daterangepicker/icons/_bootstrap.scss +0 -65
  227. package/styles/daterangepicker/icons/_bootstrap4.scss +0 -74
  228. package/styles/daterangepicker/icons/_bootstrap5-dark.scss +0 -1
  229. package/styles/daterangepicker/icons/_bootstrap5.scss +0 -72
  230. package/styles/daterangepicker/icons/_fabric-dark.scss +0 -65
  231. package/styles/daterangepicker/icons/_fabric.scss +0 -65
  232. package/styles/daterangepicker/icons/_fluent-dark.scss +0 -1
  233. package/styles/daterangepicker/icons/_fluent.scss +0 -72
  234. package/styles/daterangepicker/icons/_fusionnew.scss +0 -72
  235. package/styles/daterangepicker/icons/_highcontrast-light.scss +0 -65
  236. package/styles/daterangepicker/icons/_highcontrast.scss +0 -65
  237. package/styles/daterangepicker/icons/_material-dark.scss +0 -99
  238. package/styles/daterangepicker/icons/_material.scss +0 -99
  239. package/styles/daterangepicker/icons/_material3.scss +0 -72
  240. package/styles/daterangepicker/icons/_tailwind-dark.scss +0 -1
  241. package/styles/daterangepicker/icons/_tailwind.scss +0 -72
  242. package/styles/datetimepicker/_all.scss +0 -2
  243. package/styles/datetimepicker/_bootstrap-dark-definition.scss +0 -55
  244. package/styles/datetimepicker/_bootstrap-definition.scss +0 -54
  245. package/styles/datetimepicker/_bootstrap4-definition.scss +0 -60
  246. package/styles/datetimepicker/_bootstrap5-dark-definition.scss +0 -1
  247. package/styles/datetimepicker/_bootstrap5-definition.scss +0 -60
  248. package/styles/datetimepicker/_fabric-dark-definition.scss +0 -55
  249. package/styles/datetimepicker/_fabric-definition.scss +0 -52
  250. package/styles/datetimepicker/_fluent-dark-definition.scss +0 -1
  251. package/styles/datetimepicker/_fluent-definition.scss +0 -60
  252. package/styles/datetimepicker/_fusionnew-definition.scss +0 -60
  253. package/styles/datetimepicker/_highcontrast-definition.scss +0 -52
  254. package/styles/datetimepicker/_highcontrast-light-definition.scss +0 -55
  255. package/styles/datetimepicker/_layout.scss +0 -190
  256. package/styles/datetimepicker/_material-dark-definition.scss +0 -59
  257. package/styles/datetimepicker/_material-definition.scss +0 -57
  258. package/styles/datetimepicker/_material3-definition.scss +0 -60
  259. package/styles/datetimepicker/_tailwind-dark-definition.scss +0 -1
  260. package/styles/datetimepicker/_tailwind-definition.scss +0 -60
  261. package/styles/datetimepicker/_theme.scss +0 -50
  262. package/styles/datetimepicker/icons/_bootstrap-dark.scss +0 -11
  263. package/styles/datetimepicker/icons/_bootstrap.scss +0 -11
  264. package/styles/datetimepicker/icons/_bootstrap4.scss +0 -11
  265. package/styles/datetimepicker/icons/_bootstrap5-dark.scss +0 -1
  266. package/styles/datetimepicker/icons/_bootstrap5.scss +0 -11
  267. package/styles/datetimepicker/icons/_fabric-dark.scss +0 -11
  268. package/styles/datetimepicker/icons/_fabric.scss +0 -11
  269. package/styles/datetimepicker/icons/_fluent-dark.scss +0 -1
  270. package/styles/datetimepicker/icons/_fluent.scss +0 -11
  271. package/styles/datetimepicker/icons/_fusionnew.scss +0 -11
  272. package/styles/datetimepicker/icons/_highcontrast-light.scss +0 -11
  273. package/styles/datetimepicker/icons/_highcontrast.scss +0 -11
  274. package/styles/datetimepicker/icons/_material-dark.scss +0 -53
  275. package/styles/datetimepicker/icons/_material.scss +0 -62
  276. package/styles/datetimepicker/icons/_material3.scss +0 -11
  277. package/styles/datetimepicker/icons/_tailwind-dark.scss +0 -1
  278. package/styles/datetimepicker/icons/_tailwind.scss +0 -11
  279. package/styles/timepicker/_all.scss +0 -2
  280. package/styles/timepicker/_bootstrap-dark-definition.scss +0 -51
  281. package/styles/timepicker/_bootstrap-definition.scss +0 -48
  282. package/styles/timepicker/_bootstrap4-definition.scss +0 -56
  283. package/styles/timepicker/_bootstrap5-dark-definition.scss +0 -1
  284. package/styles/timepicker/_bootstrap5-definition.scss +0 -57
  285. package/styles/timepicker/_fabric-dark-definition.scss +0 -51
  286. package/styles/timepicker/_fabric-definition.scss +0 -48
  287. package/styles/timepicker/_fluent-dark-definition.scss +0 -1
  288. package/styles/timepicker/_fluent-definition.scss +0 -57
  289. package/styles/timepicker/_fusionnew-definition.scss +0 -57
  290. package/styles/timepicker/_highcontrast-definition.scss +0 -48
  291. package/styles/timepicker/_highcontrast-light-definition.scss +0 -51
  292. package/styles/timepicker/_layout.scss +0 -194
  293. package/styles/timepicker/_material-dark-definition.scss +0 -55
  294. package/styles/timepicker/_material-definition.scss +0 -52
  295. package/styles/timepicker/_material3-definition.scss +0 -57
  296. package/styles/timepicker/_tailwind-dark-definition.scss +0 -1
  297. package/styles/timepicker/_tailwind-definition.scss +0 -55
  298. package/styles/timepicker/_theme.scss +0 -70
  299. package/styles/timepicker/icons/_bootstrap-dark.scss +0 -11
  300. package/styles/timepicker/icons/_bootstrap.scss +0 -12
  301. package/styles/timepicker/icons/_bootstrap4.scss +0 -12
  302. package/styles/timepicker/icons/_bootstrap5-dark.scss +0 -1
  303. package/styles/timepicker/icons/_bootstrap5.scss +0 -12
  304. package/styles/timepicker/icons/_fabric-dark.scss +0 -12
  305. package/styles/timepicker/icons/_fabric.scss +0 -12
  306. package/styles/timepicker/icons/_fluent-dark.scss +0 -1
  307. package/styles/timepicker/icons/_fluent.scss +0 -12
  308. package/styles/timepicker/icons/_fusionnew.scss +0 -12
  309. package/styles/timepicker/icons/_highcontrast-light.scss +0 -12
  310. package/styles/timepicker/icons/_highcontrast.scss +0 -12
  311. package/styles/timepicker/icons/_material-dark.scss +0 -40
  312. package/styles/timepicker/icons/_material.scss +0 -42
  313. package/styles/timepicker/icons/_material3.scss +0 -12
  314. package/styles/timepicker/icons/_tailwind-dark.scss +0 -1
  315. package/styles/timepicker/icons/_tailwind.scss +0 -12
  316. package/syncfusion-ej2-angular-calendars.d.ts +0 -5
@@ -0,0 +1,1073 @@
1
+ /*!
2
+ * filename: ej2-angular-calendars.umd.js
3
+ * version : 20.4.48
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ (function (global, factory) {
11
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-calendars'), require('@angular/common')) :
12
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/forms', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-calendars', '@angular/common'], factory) :
13
+ (factory((global['ej2-angular-calendars'] = {}),global.ng.core,global.ng.forms,global.ej2.angular.base,global.ej2.calendars,global.ng.common));
14
+ }(this, (function (exports,core,forms,ej2AngularBase,ej2Calendars,common) { 'use strict';
15
+
16
+ var __extends = (this && this.__extends) || (function () {
17
+ var extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
+ return function (d, b) {
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
26
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
27
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
+ r = Reflect.decorate(decorators, target, key, desc);
30
+ else
31
+ for (var i = decorators.length - 1; i >= 0; i--)
32
+ if (d = decorators[i])
33
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
35
+ };
36
+ var __metadata = (this && this.__metadata) || function (k, v) {
37
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
38
+ return Reflect.metadata(k, v);
39
+ };
40
+ var inputs = ['calendarMode', 'cssClass', 'dayHeaderFormat', 'depth', 'enablePersistence', 'enableRtl', 'enabled', 'firstDayOfWeek', 'isMultiSelection', 'keyConfigs', 'locale', 'max', 'min', 'serverTimezoneOffset', 'showTodayButton', 'start', 'value', 'values', 'weekNumber', 'weekRule'];
41
+ var outputs = ['focus', 'blur', 'change', 'created', 'destroyed', 'navigated', 'renderDayCell', 'valueChange', 'valuesChange'];
42
+ var twoWays = ['value', 'values'];
43
+ /**
44
+ * Represents the Essential JS 2 Angular Calendar Component.
45
+ * ```html
46
+ * <ejs-calendar [value]='date'></ejs-calendar>
47
+ * ```
48
+ */
49
+ exports.CalendarComponent = CalendarComponent_1 = /** @class */ (function (_super) {
50
+ __extends(CalendarComponent, _super);
51
+ /**
52
+ * @param {?} ngEle
53
+ * @param {?} srenderer
54
+ * @param {?} viewContainerRef
55
+ * @param {?} injector
56
+ */
57
+ function CalendarComponent(ngEle, srenderer, viewContainerRef, injector) {
58
+ var _this = _super.call(this) || this;
59
+ _this.ngEle = ngEle;
60
+ _this.srenderer = srenderer;
61
+ _this.viewContainerRef = viewContainerRef;
62
+ _this.injector = injector;
63
+ _this.element = _this.ngEle.nativeElement;
64
+ _this.injectedModules = _this.injectedModules || [];
65
+ try {
66
+ var mod = _this.injector.get('CalendarsIslamic');
67
+ if (_this.injectedModules.indexOf(mod) === -1) {
68
+ _this.injectedModules.push(mod);
69
+ }
70
+ }
71
+ catch (_a) { }
72
+ _this.registerEvents(outputs);
73
+ _this.addTwoWay.call(_this, twoWays);
74
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
75
+ _this.formContext = new ej2AngularBase.FormBase();
76
+ _this.formCompContext = new ej2AngularBase.ComponentBase();
77
+ return _this;
78
+ }
79
+ /**
80
+ * @param {?} registerFunction
81
+ * @return {?}
82
+ */
83
+ CalendarComponent.prototype.registerOnChange = function (registerFunction) {
84
+ };
85
+ /**
86
+ * @param {?} registerFunction
87
+ * @return {?}
88
+ */
89
+ CalendarComponent.prototype.registerOnTouched = function (registerFunction) {
90
+ };
91
+ /**
92
+ * @param {?} value
93
+ * @return {?}
94
+ */
95
+ CalendarComponent.prototype.writeValue = function (value) {
96
+ };
97
+ /**
98
+ * @param {?} disabled
99
+ * @return {?}
100
+ */
101
+ CalendarComponent.prototype.setDisabledState = function (disabled) {
102
+ };
103
+ /**
104
+ * @return {?}
105
+ */
106
+ CalendarComponent.prototype.ngOnInit = function () {
107
+ this.formCompContext.ngOnInit(this);
108
+ };
109
+ /**
110
+ * @return {?}
111
+ */
112
+ CalendarComponent.prototype.ngAfterViewInit = function () {
113
+ this.formContext.ngAfterViewInit(this);
114
+ };
115
+ /**
116
+ * @return {?}
117
+ */
118
+ CalendarComponent.prototype.ngOnDestroy = function () {
119
+ this.formCompContext.ngOnDestroy(this);
120
+ };
121
+ /**
122
+ * @return {?}
123
+ */
124
+ CalendarComponent.prototype.ngAfterContentChecked = function () {
125
+ this.formCompContext.ngAfterContentChecked(this);
126
+ };
127
+ return CalendarComponent;
128
+ }(ej2Calendars.Calendar));
129
+ exports.CalendarComponent.decorators = [
130
+ { type: core.Component, args: [{
131
+ selector: 'ejs-calendar',
132
+ inputs: inputs,
133
+ outputs: outputs,
134
+ template: '',
135
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
136
+ providers: [
137
+ {
138
+ provide: forms.NG_VALUE_ACCESSOR,
139
+ useExisting: core.forwardRef(function () { return CalendarComponent_1; }),
140
+ multi: true
141
+ }
142
+ ],
143
+ queries: {}
144
+ },] },
145
+ ];
146
+ /**
147
+ * @nocollapse
148
+ */
149
+ exports.CalendarComponent.ctorParameters = function () { return [
150
+ { type: core.ElementRef, },
151
+ { type: core.Renderer2, },
152
+ { type: core.ViewContainerRef, },
153
+ { type: core.Injector, },
154
+ ]; };
155
+ exports.CalendarComponent = CalendarComponent_1 = __decorate([
156
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
157
+ __metadata("design:paramtypes", [core.ElementRef,
158
+ core.Renderer2,
159
+ core.ViewContainerRef,
160
+ core.Injector])
161
+ ], exports.CalendarComponent);
162
+ var CalendarComponent_1;
163
+ /**
164
+ * NgModule definition for the Calendar component.
165
+ */
166
+ var CalendarModule = /** @class */ (function () {
167
+ function CalendarModule() {
168
+ }
169
+ return CalendarModule;
170
+ }());
171
+ CalendarModule.decorators = [
172
+ { type: core.NgModule, args: [{
173
+ imports: [common.CommonModule],
174
+ declarations: [
175
+ exports.CalendarComponent
176
+ ],
177
+ exports: [
178
+ exports.CalendarComponent
179
+ ]
180
+ },] },
181
+ ];
182
+ /**
183
+ * @nocollapse
184
+ */
185
+ CalendarModule.ctorParameters = function () { return []; };
186
+ var IslamicService = { provide: 'CalendarsIslamic', useValue: ej2Calendars.Islamic };
187
+ /**
188
+ * NgModule definition for the Calendar component with providers.
189
+ */
190
+ var CalendarAllModule = /** @class */ (function () {
191
+ function CalendarAllModule() {
192
+ }
193
+ return CalendarAllModule;
194
+ }());
195
+ CalendarAllModule.decorators = [
196
+ { type: core.NgModule, args: [{
197
+ imports: [common.CommonModule, CalendarModule],
198
+ exports: [
199
+ CalendarModule
200
+ ],
201
+ providers: [
202
+ IslamicService
203
+ ]
204
+ },] },
205
+ ];
206
+ /**
207
+ * @nocollapse
208
+ */
209
+ CalendarAllModule.ctorParameters = function () { return []; };
210
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
211
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
212
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
213
+ r = Reflect.decorate(decorators, target, key, desc);
214
+ else
215
+ for (var i = decorators.length - 1; i >= 0; i--)
216
+ if (d = decorators[i])
217
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
218
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
219
+ };
220
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
221
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
222
+ return Reflect.metadata(k, v);
223
+ };
224
+ var inputs$1 = ['allowEdit', 'calendarMode', 'cssClass', 'dayHeaderFormat', 'depth', 'enableMask', 'enablePersistence', 'enableRtl', 'enabled', 'firstDayOfWeek', 'floatLabelType', 'format', 'htmlAttributes', 'isMultiSelection', 'keyConfigs', 'locale', 'maskPlaceholder', 'max', 'min', 'openOnFocus', 'placeholder', 'readonly', 'serverTimezoneOffset', 'showClearButton', 'showTodayButton', 'start', 'strictMode', 'value', 'values', 'weekNumber', 'weekRule', 'width', 'zIndex'];
225
+ var outputs$1 = ['blur', 'change', 'cleared', 'close', 'created', 'destroyed', 'focus', 'navigated', 'open', 'renderDayCell', 'valueChange'];
226
+ var twoWays$1 = ['value'];
227
+ /**
228
+ * Represents the Essential JS 2 Angular DatePicker Component.
229
+ * ```html
230
+ * <ejs-datepicker [value]='date'></ejs-datepicker>
231
+ * ```
232
+ */
233
+ exports.DatePickerComponent = DatePickerComponent_1 = /** @class */ (function (_super) {
234
+ __extends(DatePickerComponent, _super);
235
+ /**
236
+ * @param {?} ngEle
237
+ * @param {?} srenderer
238
+ * @param {?} viewContainerRef
239
+ * @param {?} injector
240
+ */
241
+ function DatePickerComponent(ngEle, srenderer, viewContainerRef, injector) {
242
+ var _this = _super.call(this) || this;
243
+ _this.ngEle = ngEle;
244
+ _this.srenderer = srenderer;
245
+ _this.viewContainerRef = viewContainerRef;
246
+ _this.injector = injector;
247
+ _this.skipFromEvent = true;
248
+ _this.element = _this.ngEle.nativeElement;
249
+ _this.injectedModules = _this.injectedModules || [];
250
+ try {
251
+ var mod = _this.injector.get('CalendarsIslamic');
252
+ if (_this.injectedModules.indexOf(mod) === -1) {
253
+ _this.injectedModules.push(mod);
254
+ }
255
+ }
256
+ catch (_a) { }
257
+ try {
258
+ var mod = _this.injector.get('CalendarsMaskedDateTime');
259
+ if (_this.injectedModules.indexOf(mod) === -1) {
260
+ _this.injectedModules.push(mod);
261
+ }
262
+ }
263
+ catch (_b) { }
264
+ _this.registerEvents(outputs$1);
265
+ _this.addTwoWay.call(_this, twoWays$1);
266
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
267
+ _this.formContext = new ej2AngularBase.FormBase();
268
+ _this.formCompContext = new ej2AngularBase.ComponentBase();
269
+ return _this;
270
+ }
271
+ /**
272
+ * @param {?} registerFunction
273
+ * @return {?}
274
+ */
275
+ DatePickerComponent.prototype.registerOnChange = function (registerFunction) {
276
+ };
277
+ /**
278
+ * @param {?} registerFunction
279
+ * @return {?}
280
+ */
281
+ DatePickerComponent.prototype.registerOnTouched = function (registerFunction) {
282
+ };
283
+ /**
284
+ * @param {?} value
285
+ * @return {?}
286
+ */
287
+ DatePickerComponent.prototype.writeValue = function (value) {
288
+ };
289
+ /**
290
+ * @param {?} disabled
291
+ * @return {?}
292
+ */
293
+ DatePickerComponent.prototype.setDisabledState = function (disabled) {
294
+ };
295
+ /**
296
+ * @return {?}
297
+ */
298
+ DatePickerComponent.prototype.ngOnInit = function () {
299
+ this.formCompContext.ngOnInit(this);
300
+ };
301
+ /**
302
+ * @return {?}
303
+ */
304
+ DatePickerComponent.prototype.ngAfterViewInit = function () {
305
+ this.formContext.ngAfterViewInit(this);
306
+ };
307
+ /**
308
+ * @return {?}
309
+ */
310
+ DatePickerComponent.prototype.ngOnDestroy = function () {
311
+ this.formCompContext.ngOnDestroy(this);
312
+ };
313
+ /**
314
+ * @return {?}
315
+ */
316
+ DatePickerComponent.prototype.ngAfterContentChecked = function () {
317
+ this.formCompContext.ngAfterContentChecked(this);
318
+ };
319
+ return DatePickerComponent;
320
+ }(ej2Calendars.DatePicker));
321
+ exports.DatePickerComponent.decorators = [
322
+ { type: core.Component, args: [{
323
+ selector: 'ejs-datepicker',
324
+ inputs: inputs$1,
325
+ outputs: outputs$1,
326
+ template: '',
327
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
328
+ providers: [
329
+ {
330
+ provide: forms.NG_VALUE_ACCESSOR,
331
+ useExisting: core.forwardRef(function () { return DatePickerComponent_1; }),
332
+ multi: true
333
+ }
334
+ ],
335
+ queries: {}
336
+ },] },
337
+ ];
338
+ /**
339
+ * @nocollapse
340
+ */
341
+ exports.DatePickerComponent.ctorParameters = function () { return [
342
+ { type: core.ElementRef, },
343
+ { type: core.Renderer2, },
344
+ { type: core.ViewContainerRef, },
345
+ { type: core.Injector, },
346
+ ]; };
347
+ exports.DatePickerComponent = DatePickerComponent_1 = __decorate$1([
348
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
349
+ __metadata$1("design:paramtypes", [core.ElementRef,
350
+ core.Renderer2,
351
+ core.ViewContainerRef,
352
+ core.Injector])
353
+ ], exports.DatePickerComponent);
354
+ var DatePickerComponent_1;
355
+ /**
356
+ * NgModule definition for the DatePicker component.
357
+ */
358
+ var DatePickerModule = /** @class */ (function () {
359
+ function DatePickerModule() {
360
+ }
361
+ return DatePickerModule;
362
+ }());
363
+ DatePickerModule.decorators = [
364
+ { type: core.NgModule, args: [{
365
+ imports: [common.CommonModule],
366
+ declarations: [
367
+ exports.DatePickerComponent
368
+ ],
369
+ exports: [
370
+ exports.DatePickerComponent
371
+ ]
372
+ },] },
373
+ ];
374
+ /**
375
+ * @nocollapse
376
+ */
377
+ DatePickerModule.ctorParameters = function () { return []; };
378
+ var MaskedDateTimeService = { provide: 'CalendarsMaskedDateTime', useValue: ej2Calendars.MaskedDateTime };
379
+ /**
380
+ * NgModule definition for the DatePicker component with providers.
381
+ */
382
+ var DatePickerAllModule = /** @class */ (function () {
383
+ function DatePickerAllModule() {
384
+ }
385
+ return DatePickerAllModule;
386
+ }());
387
+ DatePickerAllModule.decorators = [
388
+ { type: core.NgModule, args: [{
389
+ imports: [common.CommonModule, DatePickerModule],
390
+ exports: [
391
+ DatePickerModule
392
+ ],
393
+ providers: [
394
+ MaskedDateTimeService
395
+ ]
396
+ },] },
397
+ ];
398
+ /**
399
+ * @nocollapse
400
+ */
401
+ DatePickerAllModule.ctorParameters = function () { return []; };
402
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
403
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
404
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
405
+ r = Reflect.decorate(decorators, target, key, desc);
406
+ else
407
+ for (var i = decorators.length - 1; i >= 0; i--)
408
+ if (d = decorators[i])
409
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
410
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
411
+ };
412
+ var __metadata$2 = (this && this.__metadata) || function (k, v) {
413
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
414
+ return Reflect.metadata(k, v);
415
+ };
416
+ var inputs$2 = ['allowEdit', 'cssClass', 'enableMask', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'keyConfigs', 'locale', 'maskPlaceholder', 'max', 'min', 'openOnFocus', 'placeholder', 'readonly', 'scrollTo', 'showClearButton', 'step', 'strictMode', 'value', 'width', 'zIndex'];
417
+ var outputs$2 = ['blur', 'change', 'cleared', 'close', 'created', 'destroyed', 'focus', 'itemRender', 'open', 'valueChange'];
418
+ var twoWays$2 = ['value'];
419
+ /**
420
+ * Represents the Essential JS 2 Angular TimePicker Component.
421
+ * ```html
422
+ * <ejs-timepicker [value]='dateTime'></ejs-timepicker>
423
+ * ```
424
+ */
425
+ exports.TimePickerComponent = TimePickerComponent_1 = /** @class */ (function (_super) {
426
+ __extends(TimePickerComponent, _super);
427
+ /**
428
+ * @param {?} ngEle
429
+ * @param {?} srenderer
430
+ * @param {?} viewContainerRef
431
+ * @param {?} injector
432
+ */
433
+ function TimePickerComponent(ngEle, srenderer, viewContainerRef, injector) {
434
+ var _this = _super.call(this) || this;
435
+ _this.ngEle = ngEle;
436
+ _this.srenderer = srenderer;
437
+ _this.viewContainerRef = viewContainerRef;
438
+ _this.injector = injector;
439
+ _this.skipFromEvent = true;
440
+ _this.element = _this.ngEle.nativeElement;
441
+ _this.injectedModules = _this.injectedModules || [];
442
+ try {
443
+ var mod = _this.injector.get('CalendarsMaskedDateTime');
444
+ if (_this.injectedModules.indexOf(mod) === -1) {
445
+ _this.injectedModules.push(mod);
446
+ }
447
+ }
448
+ catch (_a) { }
449
+ _this.registerEvents(outputs$2);
450
+ _this.addTwoWay.call(_this, twoWays$2);
451
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
452
+ _this.formContext = new ej2AngularBase.FormBase();
453
+ _this.formCompContext = new ej2AngularBase.ComponentBase();
454
+ return _this;
455
+ }
456
+ /**
457
+ * @param {?} registerFunction
458
+ * @return {?}
459
+ */
460
+ TimePickerComponent.prototype.registerOnChange = function (registerFunction) {
461
+ };
462
+ /**
463
+ * @param {?} registerFunction
464
+ * @return {?}
465
+ */
466
+ TimePickerComponent.prototype.registerOnTouched = function (registerFunction) {
467
+ };
468
+ /**
469
+ * @param {?} value
470
+ * @return {?}
471
+ */
472
+ TimePickerComponent.prototype.writeValue = function (value) {
473
+ };
474
+ /**
475
+ * @param {?} disabled
476
+ * @return {?}
477
+ */
478
+ TimePickerComponent.prototype.setDisabledState = function (disabled) {
479
+ };
480
+ /**
481
+ * @return {?}
482
+ */
483
+ TimePickerComponent.prototype.ngOnInit = function () {
484
+ this.formCompContext.ngOnInit(this);
485
+ };
486
+ /**
487
+ * @return {?}
488
+ */
489
+ TimePickerComponent.prototype.ngAfterViewInit = function () {
490
+ this.formContext.ngAfterViewInit(this);
491
+ };
492
+ /**
493
+ * @return {?}
494
+ */
495
+ TimePickerComponent.prototype.ngOnDestroy = function () {
496
+ this.formCompContext.ngOnDestroy(this);
497
+ };
498
+ /**
499
+ * @return {?}
500
+ */
501
+ TimePickerComponent.prototype.ngAfterContentChecked = function () {
502
+ this.formCompContext.ngAfterContentChecked(this);
503
+ };
504
+ return TimePickerComponent;
505
+ }(ej2Calendars.TimePicker));
506
+ exports.TimePickerComponent.decorators = [
507
+ { type: core.Component, args: [{
508
+ selector: 'ejs-timepicker',
509
+ inputs: inputs$2,
510
+ outputs: outputs$2,
511
+ template: '',
512
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
513
+ providers: [
514
+ {
515
+ provide: forms.NG_VALUE_ACCESSOR,
516
+ useExisting: core.forwardRef(function () { return TimePickerComponent_1; }),
517
+ multi: true
518
+ }
519
+ ],
520
+ queries: {}
521
+ },] },
522
+ ];
523
+ /**
524
+ * @nocollapse
525
+ */
526
+ exports.TimePickerComponent.ctorParameters = function () { return [
527
+ { type: core.ElementRef, },
528
+ { type: core.Renderer2, },
529
+ { type: core.ViewContainerRef, },
530
+ { type: core.Injector, },
531
+ ]; };
532
+ exports.TimePickerComponent = TimePickerComponent_1 = __decorate$2([
533
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
534
+ __metadata$2("design:paramtypes", [core.ElementRef,
535
+ core.Renderer2,
536
+ core.ViewContainerRef,
537
+ core.Injector])
538
+ ], exports.TimePickerComponent);
539
+ var TimePickerComponent_1;
540
+ /**
541
+ * NgModule definition for the TimePicker component.
542
+ */
543
+ var TimePickerModule = /** @class */ (function () {
544
+ function TimePickerModule() {
545
+ }
546
+ return TimePickerModule;
547
+ }());
548
+ TimePickerModule.decorators = [
549
+ { type: core.NgModule, args: [{
550
+ imports: [common.CommonModule],
551
+ declarations: [
552
+ exports.TimePickerComponent
553
+ ],
554
+ exports: [
555
+ exports.TimePickerComponent
556
+ ]
557
+ },] },
558
+ ];
559
+ /**
560
+ * @nocollapse
561
+ */
562
+ TimePickerModule.ctorParameters = function () { return []; };
563
+ /**
564
+ * NgModule definition for the TimePicker component with providers.
565
+ */
566
+ var TimePickerAllModule = /** @class */ (function () {
567
+ function TimePickerAllModule() {
568
+ }
569
+ return TimePickerAllModule;
570
+ }());
571
+ TimePickerAllModule.decorators = [
572
+ { type: core.NgModule, args: [{
573
+ imports: [common.CommonModule, TimePickerModule],
574
+ exports: [
575
+ TimePickerModule
576
+ ],
577
+ providers: []
578
+ },] },
579
+ ];
580
+ /**
581
+ * @nocollapse
582
+ */
583
+ TimePickerAllModule.ctorParameters = function () { return []; };
584
+ var input = ['end', 'label', 'start'];
585
+ var outputs$3 = [];
586
+ /**
587
+ * 'e-presets' directive represent a presets of angular daterangepicker
588
+ * It must be contained in a daterangepicker component(`ej-daterangepicker`).
589
+ * ```html
590
+ * <ejs-daterangepicker id='range'>
591
+ * <e-presets>
592
+ * <e-preset label='Last Week' [start]=new Date('06/07/2018') [end]= new Date('06/01/2018')></e-preset>
593
+ * <e-preset label='Last Month' [start]=new Date('06/07/2018') [end]= new Date('05/07/2018')></e-preset>
594
+ * </e-presets>
595
+ * </ejs-daterangepicker>
596
+ * ```
597
+ */
598
+ var PresetDirective = /** @class */ (function (_super) {
599
+ __extends(PresetDirective, _super);
600
+ /**
601
+ * @param {?} viewContainerRef
602
+ */
603
+ function PresetDirective(viewContainerRef) {
604
+ var _this = _super.call(this) || this;
605
+ _this.viewContainerRef = viewContainerRef;
606
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
607
+ _this.registerEvents(outputs$3);
608
+ _this.directivePropList = input;
609
+ return _this;
610
+ }
611
+ return PresetDirective;
612
+ }(ej2AngularBase.ComplexBase));
613
+ PresetDirective.decorators = [
614
+ { type: core.Directive, args: [{
615
+ selector: 'e-presets>e-preset',
616
+ inputs: input,
617
+ outputs: outputs$3,
618
+ queries: {}
619
+ },] },
620
+ ];
621
+ /**
622
+ * @nocollapse
623
+ */
624
+ PresetDirective.ctorParameters = function () { return [
625
+ { type: core.ViewContainerRef, },
626
+ ]; };
627
+ /**
628
+ * Preset Array Directive
629
+ */
630
+ var PresetsDirective = /** @class */ (function (_super) {
631
+ __extends(PresetsDirective, _super);
632
+ function PresetsDirective() {
633
+ return _super.call(this, 'presets') || this;
634
+ }
635
+ return PresetsDirective;
636
+ }(ej2AngularBase.ArrayBase));
637
+ PresetsDirective.decorators = [
638
+ { type: core.Directive, args: [{
639
+ selector: 'ejs-daterangepicker>e-presets',
640
+ queries: {
641
+ children: new core.ContentChildren(PresetDirective)
642
+ },
643
+ },] },
644
+ ];
645
+ /**
646
+ * @nocollapse
647
+ */
648
+ PresetsDirective.ctorParameters = function () { return []; };
649
+ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
650
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
651
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
652
+ r = Reflect.decorate(decorators, target, key, desc);
653
+ else
654
+ for (var i = decorators.length - 1; i >= 0; i--)
655
+ if (d = decorators[i])
656
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
657
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
658
+ };
659
+ var __metadata$3 = (this && this.__metadata) || function (k, v) {
660
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
661
+ return Reflect.metadata(k, v);
662
+ };
663
+ var inputs$3 = ['allowEdit', 'calendarMode', 'cssClass', 'dayHeaderFormat', 'depth', 'enablePersistence', 'enableRtl', 'enabled', 'endDate', 'firstDayOfWeek', 'floatLabelType', 'format', 'htmlAttributes', 'keyConfigs', 'locale', 'max', 'maxDays', 'min', 'minDays', 'openOnFocus', 'placeholder', 'presets', 'readonly', 'separator', 'serverTimezoneOffset', 'showClearButton', 'start', 'startDate', 'strictMode', 'value', 'weekNumber', 'weekRule', 'width', 'zIndex'];
664
+ var outputs$4 = ['blur', 'change', 'cleared', 'close', 'created', 'destroyed', 'focus', 'navigated', 'open', 'renderDayCell', 'select', 'startDateChange', 'endDateChange', 'valueChange'];
665
+ var twoWays$3 = ['startDate', 'endDate', 'value'];
666
+ /**
667
+ * Represents the Essential JS 2 Angular DateRangePicker Component.
668
+ * ```html
669
+ * <ejs-daterangepicker [startDate]='date' [endDate]='date'></ejs-daterangepicker>
670
+ * ```
671
+ */
672
+ exports.DateRangePickerComponent = DateRangePickerComponent_1 = /** @class */ (function (_super) {
673
+ __extends(DateRangePickerComponent, _super);
674
+ /**
675
+ * @param {?} ngEle
676
+ * @param {?} srenderer
677
+ * @param {?} viewContainerRef
678
+ * @param {?} injector
679
+ */
680
+ function DateRangePickerComponent(ngEle, srenderer, viewContainerRef, injector) {
681
+ var _this = _super.call(this) || this;
682
+ _this.ngEle = ngEle;
683
+ _this.srenderer = srenderer;
684
+ _this.viewContainerRef = viewContainerRef;
685
+ _this.injector = injector;
686
+ _this.tags = ['presets'];
687
+ _this.skipFromEvent = true;
688
+ _this.element = _this.ngEle.nativeElement;
689
+ _this.injectedModules = _this.injectedModules || [];
690
+ _this.registerEvents(outputs$4);
691
+ _this.addTwoWay.call(_this, twoWays$3);
692
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
693
+ _this.formContext = new ej2AngularBase.FormBase();
694
+ _this.formCompContext = new ej2AngularBase.ComponentBase();
695
+ return _this;
696
+ }
697
+ /**
698
+ * @param {?} registerFunction
699
+ * @return {?}
700
+ */
701
+ DateRangePickerComponent.prototype.registerOnChange = function (registerFunction) {
702
+ };
703
+ /**
704
+ * @param {?} registerFunction
705
+ * @return {?}
706
+ */
707
+ DateRangePickerComponent.prototype.registerOnTouched = function (registerFunction) {
708
+ };
709
+ /**
710
+ * @param {?} value
711
+ * @return {?}
712
+ */
713
+ DateRangePickerComponent.prototype.writeValue = function (value) {
714
+ };
715
+ /**
716
+ * @param {?} disabled
717
+ * @return {?}
718
+ */
719
+ DateRangePickerComponent.prototype.setDisabledState = function (disabled) {
720
+ };
721
+ /**
722
+ * @return {?}
723
+ */
724
+ DateRangePickerComponent.prototype.ngOnInit = function () {
725
+ this.formCompContext.ngOnInit(this);
726
+ };
727
+ /**
728
+ * @return {?}
729
+ */
730
+ DateRangePickerComponent.prototype.ngAfterViewInit = function () {
731
+ this.formContext.ngAfterViewInit(this);
732
+ };
733
+ /**
734
+ * @return {?}
735
+ */
736
+ DateRangePickerComponent.prototype.ngOnDestroy = function () {
737
+ this.formCompContext.ngOnDestroy(this);
738
+ };
739
+ /**
740
+ * @return {?}
741
+ */
742
+ DateRangePickerComponent.prototype.ngAfterContentChecked = function () {
743
+ this.tagObjects[0].instance = this.childPresets;
744
+ this.formCompContext.ngAfterContentChecked(this);
745
+ };
746
+ return DateRangePickerComponent;
747
+ }(ej2Calendars.DateRangePicker));
748
+ exports.DateRangePickerComponent.decorators = [
749
+ { type: core.Component, args: [{
750
+ selector: 'ejs-daterangepicker',
751
+ inputs: inputs$3,
752
+ outputs: outputs$4,
753
+ template: '',
754
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
755
+ providers: [
756
+ {
757
+ provide: forms.NG_VALUE_ACCESSOR,
758
+ useExisting: core.forwardRef(function () { return DateRangePickerComponent_1; }),
759
+ multi: true
760
+ }
761
+ ],
762
+ queries: {
763
+ childPresets: new core.ContentChild(PresetsDirective)
764
+ }
765
+ },] },
766
+ ];
767
+ /**
768
+ * @nocollapse
769
+ */
770
+ exports.DateRangePickerComponent.ctorParameters = function () { return [
771
+ { type: core.ElementRef, },
772
+ { type: core.Renderer2, },
773
+ { type: core.ViewContainerRef, },
774
+ { type: core.Injector, },
775
+ ]; };
776
+ exports.DateRangePickerComponent.propDecorators = {
777
+ 'start': [{ type: core.ContentChild, args: ['start',] },],
778
+ 'end': [{ type: core.ContentChild, args: ['end',] },],
779
+ };
780
+ __decorate$3([
781
+ ej2AngularBase.Template(),
782
+ __metadata$3("design:type", Object)
783
+ ], exports.DateRangePickerComponent.prototype, "start", void 0);
784
+ __decorate$3([
785
+ ej2AngularBase.Template(),
786
+ __metadata$3("design:type", Object)
787
+ ], exports.DateRangePickerComponent.prototype, "end", void 0);
788
+ exports.DateRangePickerComponent = DateRangePickerComponent_1 = __decorate$3([
789
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
790
+ __metadata$3("design:paramtypes", [core.ElementRef,
791
+ core.Renderer2,
792
+ core.ViewContainerRef,
793
+ core.Injector])
794
+ ], exports.DateRangePickerComponent);
795
+ var DateRangePickerComponent_1;
796
+ /**
797
+ * NgModule definition for the DateRangePicker component.
798
+ */
799
+ var DateRangePickerModule = /** @class */ (function () {
800
+ function DateRangePickerModule() {
801
+ }
802
+ return DateRangePickerModule;
803
+ }());
804
+ DateRangePickerModule.decorators = [
805
+ { type: core.NgModule, args: [{
806
+ imports: [common.CommonModule],
807
+ declarations: [
808
+ exports.DateRangePickerComponent,
809
+ PresetDirective,
810
+ PresetsDirective
811
+ ],
812
+ exports: [
813
+ exports.DateRangePickerComponent,
814
+ PresetDirective,
815
+ PresetsDirective
816
+ ]
817
+ },] },
818
+ ];
819
+ /**
820
+ * @nocollapse
821
+ */
822
+ DateRangePickerModule.ctorParameters = function () { return []; };
823
+ /**
824
+ * NgModule definition for the DateRangePicker component with providers.
825
+ */
826
+ var DateRangePickerAllModule = /** @class */ (function () {
827
+ function DateRangePickerAllModule() {
828
+ }
829
+ return DateRangePickerAllModule;
830
+ }());
831
+ DateRangePickerAllModule.decorators = [
832
+ { type: core.NgModule, args: [{
833
+ imports: [common.CommonModule, DateRangePickerModule],
834
+ exports: [
835
+ DateRangePickerModule
836
+ ],
837
+ providers: []
838
+ },] },
839
+ ];
840
+ /**
841
+ * @nocollapse
842
+ */
843
+ DateRangePickerAllModule.ctorParameters = function () { return []; };
844
+ var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
845
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
846
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
847
+ r = Reflect.decorate(decorators, target, key, desc);
848
+ else
849
+ for (var i = decorators.length - 1; i >= 0; i--)
850
+ if (d = decorators[i])
851
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
852
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
853
+ };
854
+ var __metadata$4 = (this && this.__metadata) || function (k, v) {
855
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
856
+ return Reflect.metadata(k, v);
857
+ };
858
+ var inputs$4 = ['allowEdit', 'calendarMode', 'cssClass', 'dayHeaderFormat', 'depth', 'enableMask', 'enablePersistence', 'enableRtl', 'enabled', 'firstDayOfWeek', 'floatLabelType', 'format', 'htmlAttributes', 'isMultiSelection', 'keyConfigs', 'locale', 'maskPlaceholder', 'max', 'min', 'openOnFocus', 'placeholder', 'readonly', 'scrollTo', 'serverTimezoneOffset', 'showClearButton', 'showTodayButton', 'start', 'step', 'strictMode', 'timeFormat', 'value', 'values', 'weekNumber', 'weekRule', 'width', 'zIndex'];
859
+ var outputs$5 = ['blur', 'change', 'cleared', 'close', 'created', 'destroyed', 'focus', 'navigated', 'open', 'renderDayCell', 'valueChange'];
860
+ var twoWays$4 = ['value'];
861
+ /**
862
+ * Represents the Essential JS 2 Angular DateTimePicker Component.
863
+ * ```html
864
+ * <ejs-datetimepicker [value]='dateTime'></ejs-datetimepicker>
865
+ * ```
866
+ */
867
+ exports.DateTimePickerComponent = DateTimePickerComponent_1 = /** @class */ (function (_super) {
868
+ __extends(DateTimePickerComponent, _super);
869
+ /**
870
+ * @param {?} ngEle
871
+ * @param {?} srenderer
872
+ * @param {?} viewContainerRef
873
+ * @param {?} injector
874
+ */
875
+ function DateTimePickerComponent(ngEle, srenderer, viewContainerRef, injector) {
876
+ var _this = _super.call(this) || this;
877
+ _this.ngEle = ngEle;
878
+ _this.srenderer = srenderer;
879
+ _this.viewContainerRef = viewContainerRef;
880
+ _this.injector = injector;
881
+ _this.skipFromEvent = true;
882
+ _this.element = _this.ngEle.nativeElement;
883
+ _this.injectedModules = _this.injectedModules || [];
884
+ try {
885
+ var mod = _this.injector.get('CalendarsIslamic');
886
+ if (_this.injectedModules.indexOf(mod) === -1) {
887
+ _this.injectedModules.push(mod);
888
+ }
889
+ }
890
+ catch (_a) { }
891
+ try {
892
+ var mod = _this.injector.get('CalendarsMaskedDateTime');
893
+ if (_this.injectedModules.indexOf(mod) === -1) {
894
+ _this.injectedModules.push(mod);
895
+ }
896
+ }
897
+ catch (_b) { }
898
+ _this.registerEvents(outputs$5);
899
+ _this.addTwoWay.call(_this, twoWays$4);
900
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
901
+ _this.formContext = new ej2AngularBase.FormBase();
902
+ _this.formCompContext = new ej2AngularBase.ComponentBase();
903
+ return _this;
904
+ }
905
+ /**
906
+ * @param {?} registerFunction
907
+ * @return {?}
908
+ */
909
+ DateTimePickerComponent.prototype.registerOnChange = function (registerFunction) {
910
+ };
911
+ /**
912
+ * @param {?} registerFunction
913
+ * @return {?}
914
+ */
915
+ DateTimePickerComponent.prototype.registerOnTouched = function (registerFunction) {
916
+ };
917
+ /**
918
+ * @param {?} value
919
+ * @return {?}
920
+ */
921
+ DateTimePickerComponent.prototype.writeValue = function (value) {
922
+ };
923
+ /**
924
+ * @param {?} disabled
925
+ * @return {?}
926
+ */
927
+ DateTimePickerComponent.prototype.setDisabledState = function (disabled) {
928
+ };
929
+ /**
930
+ * @return {?}
931
+ */
932
+ DateTimePickerComponent.prototype.ngOnInit = function () {
933
+ this.formCompContext.ngOnInit(this);
934
+ };
935
+ /**
936
+ * @return {?}
937
+ */
938
+ DateTimePickerComponent.prototype.ngAfterViewInit = function () {
939
+ this.formContext.ngAfterViewInit(this);
940
+ };
941
+ /**
942
+ * @return {?}
943
+ */
944
+ DateTimePickerComponent.prototype.ngOnDestroy = function () {
945
+ this.formCompContext.ngOnDestroy(this);
946
+ };
947
+ /**
948
+ * @return {?}
949
+ */
950
+ DateTimePickerComponent.prototype.ngAfterContentChecked = function () {
951
+ this.formCompContext.ngAfterContentChecked(this);
952
+ };
953
+ return DateTimePickerComponent;
954
+ }(ej2Calendars.DateTimePicker));
955
+ exports.DateTimePickerComponent.decorators = [
956
+ { type: core.Component, args: [{
957
+ selector: 'ejs-datetimepicker',
958
+ inputs: inputs$4,
959
+ outputs: outputs$5,
960
+ template: '',
961
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
962
+ providers: [
963
+ {
964
+ provide: forms.NG_VALUE_ACCESSOR,
965
+ useExisting: core.forwardRef(function () { return DateTimePickerComponent_1; }),
966
+ multi: true
967
+ }
968
+ ],
969
+ queries: {}
970
+ },] },
971
+ ];
972
+ /**
973
+ * @nocollapse
974
+ */
975
+ exports.DateTimePickerComponent.ctorParameters = function () { return [
976
+ { type: core.ElementRef, },
977
+ { type: core.Renderer2, },
978
+ { type: core.ViewContainerRef, },
979
+ { type: core.Injector, },
980
+ ]; };
981
+ exports.DateTimePickerComponent = DateTimePickerComponent_1 = __decorate$4([
982
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
983
+ __metadata$4("design:paramtypes", [core.ElementRef,
984
+ core.Renderer2,
985
+ core.ViewContainerRef,
986
+ core.Injector])
987
+ ], exports.DateTimePickerComponent);
988
+ var DateTimePickerComponent_1;
989
+ /**
990
+ * NgModule definition for the DateTimePicker component.
991
+ */
992
+ var DateTimePickerModule = /** @class */ (function () {
993
+ function DateTimePickerModule() {
994
+ }
995
+ return DateTimePickerModule;
996
+ }());
997
+ DateTimePickerModule.decorators = [
998
+ { type: core.NgModule, args: [{
999
+ imports: [common.CommonModule],
1000
+ declarations: [
1001
+ exports.DateTimePickerComponent
1002
+ ],
1003
+ exports: [
1004
+ exports.DateTimePickerComponent
1005
+ ]
1006
+ },] },
1007
+ ];
1008
+ /**
1009
+ * @nocollapse
1010
+ */
1011
+ DateTimePickerModule.ctorParameters = function () { return []; };
1012
+ /**
1013
+ * NgModule definition for the DateTimePicker component with providers.
1014
+ */
1015
+ var DateTimePickerAllModule = /** @class */ (function () {
1016
+ function DateTimePickerAllModule() {
1017
+ }
1018
+ return DateTimePickerAllModule;
1019
+ }());
1020
+ DateTimePickerAllModule.decorators = [
1021
+ { type: core.NgModule, args: [{
1022
+ imports: [common.CommonModule, DateTimePickerModule],
1023
+ exports: [
1024
+ DateTimePickerModule
1025
+ ],
1026
+ providers: []
1027
+ },] },
1028
+ ];
1029
+ /**
1030
+ * @nocollapse
1031
+ */
1032
+ DateTimePickerAllModule.ctorParameters = function () { return []; };
1033
+
1034
+ exports.CalendarModule = CalendarModule;
1035
+ exports.CalendarAllModule = CalendarAllModule;
1036
+ exports.IslamicService = IslamicService;
1037
+ exports.DatePickerModule = DatePickerModule;
1038
+ exports.DatePickerAllModule = DatePickerAllModule;
1039
+ exports.MaskedDateTimeService = MaskedDateTimeService;
1040
+ exports.TimePickerModule = TimePickerModule;
1041
+ exports.TimePickerAllModule = TimePickerAllModule;
1042
+ exports.PresetDirective = PresetDirective;
1043
+ exports.PresetsDirective = PresetsDirective;
1044
+ exports.DateRangePickerModule = DateRangePickerModule;
1045
+ exports.DateRangePickerAllModule = DateRangePickerAllModule;
1046
+ exports.DateTimePickerModule = DateTimePickerModule;
1047
+ exports.DateTimePickerAllModule = DateTimePickerAllModule;
1048
+ exports.ɵa = inputs;
1049
+ exports.ɵb = outputs;
1050
+ exports.ɵc = inputs$1;
1051
+ exports.ɵd = outputs$1;
1052
+ exports.ɵg = inputs$3;
1053
+ exports.ɵh = outputs$4;
1054
+ exports.ɵi = inputs$4;
1055
+ exports.ɵj = outputs$5;
1056
+ exports.ɵe = inputs$2;
1057
+ exports.ɵf = outputs$2;
1058
+ exports.CalendarBase = ej2Calendars.CalendarBase;
1059
+ exports.Calendar = ej2Calendars.Calendar;
1060
+ exports.Islamic = ej2Calendars.Islamic;
1061
+ exports.DatePicker = ej2Calendars.DatePicker;
1062
+ exports.Presets = ej2Calendars.Presets;
1063
+ exports.DateRangePicker = ej2Calendars.DateRangePicker;
1064
+ exports.TimePickerBase = ej2Calendars.TimePickerBase;
1065
+ exports.TimeMaskPlaceholder = ej2Calendars.TimeMaskPlaceholder;
1066
+ exports.TimePicker = ej2Calendars.TimePicker;
1067
+ exports.DateTimePicker = ej2Calendars.DateTimePicker;
1068
+ exports.MaskedDateTime = ej2Calendars.MaskedDateTime;
1069
+
1070
+ Object.defineProperty(exports, '__esModule', { value: true });
1071
+
1072
+ })));
1073
+ //# sourceMappingURL=ej2-angular-calendars.umd.js.map