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