@syncfusion/ej2-angular-inputs 23.2.4-ngcc → 23.2.4

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 (494) hide show
  1. package/esm2020/public_api.mjs +3 -0
  2. package/esm2020/src/color-picker/colorpicker-all.module.mjs +23 -0
  3. package/esm2020/src/color-picker/colorpicker.component.mjs +84 -0
  4. package/esm2020/src/color-picker/colorpicker.module.mjs +25 -0
  5. package/esm2020/src/form-validator/form-validator.mjs +193 -0
  6. package/esm2020/src/index.mjs +28 -0
  7. package/esm2020/src/maskedtextbox/maskedtextbox-all.module.mjs +23 -0
  8. package/esm2020/src/maskedtextbox/maskedtextbox.component.mjs +85 -0
  9. package/esm2020/src/maskedtextbox/maskedtextbox.module.mjs +25 -0
  10. package/esm2020/src/numerictextbox/numerictextbox-all.module.mjs +23 -0
  11. package/esm2020/src/numerictextbox/numerictextbox.component.mjs +85 -0
  12. package/esm2020/src/numerictextbox/numerictextbox.module.mjs +25 -0
  13. package/esm2020/src/rating/rating-all.module.mjs +23 -0
  14. package/esm2020/src/rating/rating.component.mjs +109 -0
  15. package/esm2020/src/rating/rating.module.mjs +25 -0
  16. package/esm2020/src/signature/signature-all.module.mjs +23 -0
  17. package/esm2020/src/signature/signature.component.mjs +84 -0
  18. package/esm2020/src/signature/signature.module.mjs +25 -0
  19. package/esm2020/src/slider/slider-all.module.mjs +23 -0
  20. package/esm2020/src/slider/slider.component.mjs +84 -0
  21. package/esm2020/src/slider/slider.module.mjs +25 -0
  22. package/esm2020/src/textbox/textbox-all.module.mjs +23 -0
  23. package/esm2020/src/textbox/textbox.component.mjs +85 -0
  24. package/esm2020/src/textbox/textbox.module.mjs +25 -0
  25. package/esm2020/src/uploader/files.directive.mjs +58 -0
  26. package/esm2020/src/uploader/uploader-all.module.mjs +23 -0
  27. package/esm2020/src/uploader/uploader.component.mjs +96 -0
  28. package/esm2020/src/uploader/uploader.module.mjs +34 -0
  29. package/esm2020/syncfusion-ej2-angular-inputs.mjs +5 -0
  30. package/fesm2015/syncfusion-ej2-angular-inputs.mjs +1245 -0
  31. package/fesm2015/syncfusion-ej2-angular-inputs.mjs.map +1 -0
  32. package/fesm2020/syncfusion-ej2-angular-inputs.mjs +1245 -0
  33. package/fesm2020/syncfusion-ej2-angular-inputs.mjs.map +1 -0
  34. package/package.json +26 -12
  35. package/src/color-picker/colorpicker-all.module.d.ts +6 -0
  36. package/src/color-picker/colorpicker.component.d.ts +3 -0
  37. package/src/color-picker/colorpicker.module.d.ts +6 -0
  38. package/src/maskedtextbox/maskedtextbox-all.module.d.ts +6 -0
  39. package/src/maskedtextbox/maskedtextbox.component.d.ts +3 -0
  40. package/src/maskedtextbox/maskedtextbox.module.d.ts +6 -0
  41. package/src/numerictextbox/numerictextbox-all.module.d.ts +6 -0
  42. package/src/numerictextbox/numerictextbox.component.d.ts +3 -0
  43. package/src/numerictextbox/numerictextbox.module.d.ts +6 -0
  44. package/src/rating/rating-all.module.d.ts +6 -0
  45. package/src/rating/rating.component.d.ts +3 -0
  46. package/src/rating/rating.module.d.ts +6 -0
  47. package/src/signature/signature-all.module.d.ts +6 -0
  48. package/src/signature/signature.component.d.ts +3 -0
  49. package/src/signature/signature.module.d.ts +6 -0
  50. package/src/slider/slider-all.module.d.ts +6 -0
  51. package/src/slider/slider.component.d.ts +3 -0
  52. package/src/slider/slider.module.d.ts +6 -0
  53. package/src/textbox/textbox-all.module.d.ts +6 -0
  54. package/src/textbox/textbox.component.d.ts +3 -0
  55. package/src/textbox/textbox.module.d.ts +6 -0
  56. package/src/uploader/files.directive.d.ts +5 -0
  57. package/src/uploader/uploader-all.module.d.ts +6 -0
  58. package/src/uploader/uploader.component.d.ts +3 -0
  59. package/src/uploader/uploader.module.d.ts +7 -0
  60. package/styles/color-picker/_all.scss +2 -0
  61. package/styles/color-picker/_bootstrap-dark-definition.scss +131 -0
  62. package/styles/color-picker/_bootstrap-definition.scss +128 -0
  63. package/styles/color-picker/_bootstrap4-definition.scss +127 -0
  64. package/styles/color-picker/_bootstrap5-dark-definition.scss +1 -0
  65. package/styles/color-picker/_bootstrap5-definition.scss +133 -0
  66. package/styles/color-picker/_fabric-dark-definition.scss +131 -0
  67. package/styles/color-picker/_fabric-definition.scss +127 -0
  68. package/styles/color-picker/_fluent-dark-definition.scss +1 -0
  69. package/styles/color-picker/_fluent-definition.scss +133 -0
  70. package/styles/color-picker/_fusionnew-definition.scss +133 -0
  71. package/styles/color-picker/_highcontrast-definition.scss +127 -0
  72. package/styles/color-picker/_highcontrast-light-definition.scss +130 -0
  73. package/styles/color-picker/_layout.scss +1304 -0
  74. package/styles/color-picker/_material-dark-definition.scss +135 -0
  75. package/styles/color-picker/_material-definition.scss +130 -0
  76. package/styles/color-picker/_material3-dark-definition.scss +1 -0
  77. package/styles/color-picker/_material3-definition.scss +141 -0
  78. package/styles/color-picker/_tailwind-dark-definition.scss +1 -0
  79. package/styles/color-picker/_tailwind-definition.scss +132 -0
  80. package/styles/color-picker/_theme.scss +191 -0
  81. package/styles/color-picker/bootstrap-dark.scss +11 -1
  82. package/styles/color-picker/bootstrap.scss +11 -1
  83. package/styles/color-picker/bootstrap4.scss +11 -1
  84. package/styles/color-picker/bootstrap5-dark.scss +11 -1
  85. package/styles/color-picker/bootstrap5.scss +11 -1
  86. package/styles/color-picker/fabric-dark.scss +11 -1
  87. package/styles/color-picker/fabric.scss +11 -1
  88. package/styles/color-picker/fluent-dark.scss +11 -1
  89. package/styles/color-picker/fluent.scss +11 -1
  90. package/styles/color-picker/highcontrast-light.scss +11 -1
  91. package/styles/color-picker/highcontrast.scss +11 -1
  92. package/styles/color-picker/icons/_bootstrap-dark.scss +9 -0
  93. package/styles/color-picker/icons/_bootstrap.scss +9 -0
  94. package/styles/color-picker/icons/_bootstrap4.scss +9 -0
  95. package/styles/color-picker/icons/_bootstrap5-dark.scss +1 -0
  96. package/styles/color-picker/icons/_bootstrap5.scss +9 -0
  97. package/styles/color-picker/icons/_fabric-dark.scss +9 -0
  98. package/styles/color-picker/icons/_fabric.scss +9 -0
  99. package/styles/color-picker/icons/_fluent-dark.scss +1 -0
  100. package/styles/color-picker/icons/_fluent.scss +9 -0
  101. package/styles/color-picker/icons/_fusionnew.scss +9 -0
  102. package/styles/color-picker/icons/_highcontrast-light.scss +9 -0
  103. package/styles/color-picker/icons/_highcontrast.scss +9 -0
  104. package/styles/color-picker/icons/_material-dark.scss +9 -0
  105. package/styles/color-picker/icons/_material.scss +9 -0
  106. package/styles/color-picker/icons/_material3-dark.scss +1 -0
  107. package/styles/color-picker/icons/_material3.scss +9 -0
  108. package/styles/color-picker/icons/_tailwind-dark.scss +9 -0
  109. package/styles/color-picker/icons/_tailwind.scss +9 -0
  110. package/styles/color-picker/material-dark.scss +11 -1
  111. package/styles/color-picker/material.scss +11 -1
  112. package/styles/color-picker/material3-dark.scss +11 -1
  113. package/styles/color-picker/material3.scss +11 -1
  114. package/styles/color-picker/tailwind-dark.scss +11 -1
  115. package/styles/color-picker/tailwind.scss +11 -1
  116. package/styles/input/_all.scss +3 -0
  117. package/styles/input/_bootstrap-dark-definition.scss +329 -0
  118. package/styles/input/_bootstrap-definition.scss +320 -0
  119. package/styles/input/_bootstrap4-definition.scss +325 -0
  120. package/styles/input/_bootstrap5-dark-definition.scss +1 -0
  121. package/styles/input/_bootstrap5-definition.scss +336 -0
  122. package/styles/input/_definition.scss +232 -0
  123. package/styles/input/_fabric-dark-definition.scss +319 -0
  124. package/styles/input/_fabric-definition.scss +311 -0
  125. package/styles/input/_fluent-dark-definition.scss +1 -0
  126. package/styles/input/_fluent-definition.scss +338 -0
  127. package/styles/input/_fusionnew-definition.scss +336 -0
  128. package/styles/input/_highcontrast-definition.scss +312 -0
  129. package/styles/input/_highcontrast-light-definition.scss +320 -0
  130. package/styles/input/_layout.scss +11364 -0
  131. package/styles/input/_material-dark-definition.scss +573 -0
  132. package/styles/input/_material-definition.scss +573 -0
  133. package/styles/input/_material3-dark-definition.scss +1 -0
  134. package/styles/input/_material3-definition.scss +548 -0
  135. package/styles/input/_responsive.scss +1 -0
  136. package/styles/input/_tailwind-dark-definition.scss +1 -0
  137. package/styles/input/_tailwind-definition.scss +335 -0
  138. package/styles/input/_theme.scss +4284 -0
  139. package/styles/input/bootstrap-dark.scss +4 -1
  140. package/styles/input/bootstrap.scss +4 -1
  141. package/styles/input/bootstrap4.scss +4 -1
  142. package/styles/input/bootstrap5-dark.scss +4 -1
  143. package/styles/input/bootstrap5.scss +4 -1
  144. package/styles/input/fabric-dark.scss +4 -1
  145. package/styles/input/fabric.scss +4 -1
  146. package/styles/input/fluent-dark.scss +4 -1
  147. package/styles/input/fluent.scss +4 -1
  148. package/styles/input/highcontrast-light.scss +4 -1
  149. package/styles/input/highcontrast.scss +4 -1
  150. package/styles/input/icons/_bootstrap-dark.scss +17 -0
  151. package/styles/input/icons/_bootstrap.scss +17 -0
  152. package/styles/input/icons/_bootstrap4.scss +17 -0
  153. package/styles/input/icons/_bootstrap5-dark.scss +1 -0
  154. package/styles/input/icons/_bootstrap5.scss +17 -0
  155. package/styles/input/icons/_fabric-dark.scss +17 -0
  156. package/styles/input/icons/_fabric.scss +17 -0
  157. package/styles/input/icons/_fluent-dark.scss +1 -0
  158. package/styles/input/icons/_fluent.scss +17 -0
  159. package/styles/input/icons/_fusionnew.scss +17 -0
  160. package/styles/input/icons/_highcontrast-light.scss +17 -0
  161. package/styles/input/icons/_highcontrast.scss +17 -0
  162. package/styles/input/icons/_material-dark.scss +49 -0
  163. package/styles/input/icons/_material.scss +49 -0
  164. package/styles/input/icons/_material3-dark.scss +1 -0
  165. package/styles/input/icons/_material3.scss +17 -0
  166. package/styles/input/icons/_tailwind-dark.scss +1 -0
  167. package/styles/input/icons/_tailwind.scss +17 -0
  168. package/styles/input/material-dark.scss +4 -1
  169. package/styles/input/material.scss +4 -1
  170. package/styles/input/material3-dark.scss +4 -1
  171. package/styles/input/material3.scss +4 -1
  172. package/styles/input/tailwind-dark.scss +4 -1
  173. package/styles/input/tailwind.scss +4 -1
  174. package/styles/maskedtextbox/_all.scss +2 -0
  175. package/styles/maskedtextbox/_bootstrap-dark-definition.scss +7 -0
  176. package/styles/maskedtextbox/_bootstrap-definition.scss +4 -0
  177. package/styles/maskedtextbox/_bootstrap4-definition.scss +4 -0
  178. package/styles/maskedtextbox/_bootstrap5-dark-definition.scss +1 -0
  179. package/styles/maskedtextbox/_bootstrap5-definition.scss +7 -0
  180. package/styles/maskedtextbox/_fabric-dark-definition.scss +7 -0
  181. package/styles/maskedtextbox/_fabric-definition.scss +4 -0
  182. package/styles/maskedtextbox/_fluent-dark-definition.scss +1 -0
  183. package/styles/maskedtextbox/_fluent-definition.scss +7 -0
  184. package/styles/maskedtextbox/_fusionnew-definition.scss +7 -0
  185. package/styles/maskedtextbox/_highcontrast-definition.scss +4 -0
  186. package/styles/maskedtextbox/_highcontrast-light-definition.scss +7 -0
  187. package/styles/maskedtextbox/_layout.scss +33 -0
  188. package/styles/maskedtextbox/_material-dark-definition.scss +7 -0
  189. package/styles/maskedtextbox/_material-definition.scss +4 -0
  190. package/styles/maskedtextbox/_material3-dark-definition.scss +1 -0
  191. package/styles/maskedtextbox/_material3-definition.scss +4 -0
  192. package/styles/maskedtextbox/_tailwind-dark-definition.scss +1 -0
  193. package/styles/maskedtextbox/_tailwind-definition.scss +7 -0
  194. package/styles/maskedtextbox/_theme.scss +15 -0
  195. package/styles/maskedtextbox/bootstrap-dark.scss +4 -1
  196. package/styles/maskedtextbox/bootstrap.scss +4 -1
  197. package/styles/maskedtextbox/bootstrap4.scss +4 -1
  198. package/styles/maskedtextbox/bootstrap5-dark.scss +4 -1
  199. package/styles/maskedtextbox/bootstrap5.scss +4 -1
  200. package/styles/maskedtextbox/fabric-dark.scss +4 -1
  201. package/styles/maskedtextbox/fabric.scss +4 -1
  202. package/styles/maskedtextbox/fluent-dark.scss +4 -1
  203. package/styles/maskedtextbox/fluent.scss +4 -1
  204. package/styles/maskedtextbox/highcontrast-light.scss +4 -1
  205. package/styles/maskedtextbox/highcontrast.scss +4 -1
  206. package/styles/maskedtextbox/material-dark.scss +4 -1
  207. package/styles/maskedtextbox/material.scss +4 -1
  208. package/styles/maskedtextbox/material3-dark.scss +4 -1
  209. package/styles/maskedtextbox/material3.scss +4 -1
  210. package/styles/maskedtextbox/tailwind-dark.scss +4 -1
  211. package/styles/maskedtextbox/tailwind.scss +4 -1
  212. package/styles/material3-dark.css +0 -440
  213. package/styles/material3-dark.scss +1 -0
  214. package/styles/material3.css +33 -921
  215. package/styles/material3.scss +1 -0
  216. package/styles/numerictextbox/_all.scss +2 -0
  217. package/styles/numerictextbox/_bootstrap-dark-definition.scss +6 -0
  218. package/styles/numerictextbox/_bootstrap-definition.scss +3 -0
  219. package/styles/numerictextbox/_bootstrap4-definition.scss +3 -0
  220. package/styles/numerictextbox/_bootstrap5-dark-definition.scss +1 -0
  221. package/styles/numerictextbox/_bootstrap5-definition.scss +3 -0
  222. package/styles/numerictextbox/_fabric-dark-definition.scss +6 -0
  223. package/styles/numerictextbox/_fabric-definition.scss +3 -0
  224. package/styles/numerictextbox/_fluent-dark-definition.scss +1 -0
  225. package/styles/numerictextbox/_fluent-definition.scss +5 -0
  226. package/styles/numerictextbox/_fusionnew-definition.scss +3 -0
  227. package/styles/numerictextbox/_highcontrast-definition.scss +3 -0
  228. package/styles/numerictextbox/_highcontrast-light-definition.scss +6 -0
  229. package/styles/numerictextbox/_layout.scss +30 -0
  230. package/styles/numerictextbox/_material-dark-definition.scss +6 -0
  231. package/styles/numerictextbox/_material-definition.scss +3 -0
  232. package/styles/numerictextbox/_material3-dark-definition.scss +1 -0
  233. package/styles/numerictextbox/_material3-definition.scss +4 -0
  234. package/styles/numerictextbox/_tailwind-dark-definition.scss +1 -0
  235. package/styles/numerictextbox/_tailwind-definition.scss +3 -0
  236. package/styles/numerictextbox/_theme.scss +39 -0
  237. package/styles/numerictextbox/bootstrap-dark.scss +5 -1
  238. package/styles/numerictextbox/bootstrap.scss +5 -1
  239. package/styles/numerictextbox/bootstrap4.scss +5 -1
  240. package/styles/numerictextbox/bootstrap5-dark.scss +5 -1
  241. package/styles/numerictextbox/bootstrap5.scss +5 -1
  242. package/styles/numerictextbox/fabric-dark.scss +5 -1
  243. package/styles/numerictextbox/fabric.scss +5 -1
  244. package/styles/numerictextbox/fluent-dark.scss +5 -1
  245. package/styles/numerictextbox/fluent.scss +5 -1
  246. package/styles/numerictextbox/highcontrast-light.scss +5 -1
  247. package/styles/numerictextbox/highcontrast.scss +5 -1
  248. package/styles/numerictextbox/icons/_bootstrap-dark.scss +11 -0
  249. package/styles/numerictextbox/icons/_bootstrap.scss +11 -0
  250. package/styles/numerictextbox/icons/_bootstrap4.scss +11 -0
  251. package/styles/numerictextbox/icons/_bootstrap5-dark.scss +1 -0
  252. package/styles/numerictextbox/icons/_bootstrap5.scss +11 -0
  253. package/styles/numerictextbox/icons/_fabric-dark.scss +11 -0
  254. package/styles/numerictextbox/icons/_fabric.scss +11 -0
  255. package/styles/numerictextbox/icons/_fluent-dark.scss +1 -0
  256. package/styles/numerictextbox/icons/_fluent.scss +11 -0
  257. package/styles/numerictextbox/icons/_fusionnew.scss +11 -0
  258. package/styles/numerictextbox/icons/_highcontrast-light.scss +11 -0
  259. package/styles/numerictextbox/icons/_highcontrast.scss +11 -0
  260. package/styles/numerictextbox/icons/_material-dark.scss +11 -0
  261. package/styles/numerictextbox/icons/_material.scss +11 -0
  262. package/styles/numerictextbox/icons/_material3-dark.scss +1 -0
  263. package/styles/numerictextbox/icons/_material3.scss +11 -0
  264. package/styles/numerictextbox/icons/_tailwind-dark.scss +1 -0
  265. package/styles/numerictextbox/icons/_tailwind.scss +11 -0
  266. package/styles/numerictextbox/material-dark.scss +5 -1
  267. package/styles/numerictextbox/material.scss +5 -1
  268. package/styles/numerictextbox/material3-dark.scss +5 -1
  269. package/styles/numerictextbox/material3.scss +5 -1
  270. package/styles/numerictextbox/tailwind-dark.scss +5 -1
  271. package/styles/numerictextbox/tailwind.scss +5 -1
  272. package/styles/rating/_all.scss +2 -0
  273. package/styles/rating/_bootstrap-dark-definition.scss +43 -0
  274. package/styles/rating/_bootstrap-definition.scss +43 -0
  275. package/styles/rating/_bootstrap4-definition.scss +43 -0
  276. package/styles/rating/_bootstrap5-dark-definition.scss +1 -0
  277. package/styles/rating/_bootstrap5-definition.scss +43 -0
  278. package/styles/rating/_fabric-dark-definition.scss +43 -0
  279. package/styles/rating/_fabric-definition.scss +43 -0
  280. package/styles/rating/_fluent-dark-definition.scss +1 -0
  281. package/styles/rating/_fluent-definition.scss +43 -0
  282. package/styles/rating/_fusionnew-definition.scss +43 -0
  283. package/styles/rating/_highcontrast-definition.scss +43 -0
  284. package/styles/rating/_highcontrast-light-definition.scss +43 -0
  285. package/styles/rating/_layout.scss +207 -0
  286. package/styles/rating/_material-dark-definition.scss +43 -0
  287. package/styles/rating/_material-definition.scss +43 -0
  288. package/styles/rating/_material3-dark-definition.scss +1 -0
  289. package/styles/rating/_material3-definition.scss +43 -0
  290. package/styles/rating/_tailwind-dark-definition.scss +1 -0
  291. package/styles/rating/_tailwind-definition.scss +43 -0
  292. package/styles/rating/_theme.scss +195 -0
  293. package/styles/rating/bootstrap-dark.scss +4 -1
  294. package/styles/rating/bootstrap.scss +4 -1
  295. package/styles/rating/bootstrap4.scss +4 -1
  296. package/styles/rating/bootstrap5-dark.scss +4 -1
  297. package/styles/rating/bootstrap5.scss +4 -1
  298. package/styles/rating/fabric-dark.scss +4 -1
  299. package/styles/rating/fabric.scss +4 -1
  300. package/styles/rating/fluent-dark.scss +4 -1
  301. package/styles/rating/fluent.scss +4 -1
  302. package/styles/rating/highcontrast-light.scss +4 -1
  303. package/styles/rating/highcontrast.scss +4 -1
  304. package/styles/rating/material-dark.scss +4 -1
  305. package/styles/rating/material.scss +4 -1
  306. package/styles/rating/material3-dark.scss +4 -1
  307. package/styles/rating/material3.scss +4 -1
  308. package/styles/rating/tailwind-dark.scss +4 -1
  309. package/styles/rating/tailwind.scss +4 -1
  310. package/styles/signature/_all.scss +2 -0
  311. package/styles/signature/_bootstrap-dark-definition.scss +3 -0
  312. package/styles/signature/_bootstrap-definition.scss +3 -0
  313. package/styles/signature/_bootstrap4-definition.scss +3 -0
  314. package/styles/signature/_bootstrap5-dark-definition.scss +1 -0
  315. package/styles/signature/_bootstrap5-definition.scss +3 -0
  316. package/styles/signature/_fabric-dark-definition.scss +3 -0
  317. package/styles/signature/_fabric-definition.scss +3 -0
  318. package/styles/signature/_fluent-dark-definition.scss +1 -0
  319. package/styles/signature/_fluent-definition.scss +3 -0
  320. package/styles/signature/_fusionnew-definition.scss +3 -0
  321. package/styles/signature/_highcontrast-definition.scss +3 -0
  322. package/styles/signature/_highcontrast-light-definition.scss +3 -0
  323. package/styles/signature/_layout.scss +5 -0
  324. package/styles/signature/_material-dark-definition.scss +3 -0
  325. package/styles/signature/_material-definition.scss +3 -0
  326. package/styles/signature/_material3-dark-definition.scss +1 -0
  327. package/styles/signature/_material3-definition.scss +3 -0
  328. package/styles/signature/_tailwind-dark-definition.scss +1 -0
  329. package/styles/signature/_tailwind-definition.scss +3 -0
  330. package/styles/signature/_theme.scss +7 -0
  331. package/styles/signature/bootstrap-dark.scss +3 -1
  332. package/styles/signature/bootstrap.scss +3 -1
  333. package/styles/signature/bootstrap4.scss +3 -1
  334. package/styles/signature/bootstrap5-dark.scss +3 -1
  335. package/styles/signature/bootstrap5.scss +3 -1
  336. package/styles/signature/fabric-dark.scss +3 -1
  337. package/styles/signature/fabric.scss +3 -1
  338. package/styles/signature/fluent-dark.scss +3 -1
  339. package/styles/signature/fluent.scss +3 -1
  340. package/styles/signature/highcontrast-light.scss +3 -1
  341. package/styles/signature/highcontrast.scss +3 -1
  342. package/styles/signature/material-dark.scss +3 -1
  343. package/styles/signature/material.scss +3 -1
  344. package/styles/signature/material3-dark.scss +3 -1
  345. package/styles/signature/material3.scss +3 -1
  346. package/styles/signature/tailwind-dark.scss +3 -1
  347. package/styles/signature/tailwind.scss +3 -1
  348. package/styles/slider/_all.scss +3 -0
  349. package/styles/slider/_bootstrap-dark-definition.scss +156 -0
  350. package/styles/slider/_bootstrap-definition.scss +152 -0
  351. package/styles/slider/_bootstrap4-definition.scss +147 -0
  352. package/styles/slider/_bootstrap5-dark-definition.scss +1 -0
  353. package/styles/slider/_bootstrap5-definition.scss +90 -0
  354. package/styles/slider/_fabric-dark-definition.scss +162 -0
  355. package/styles/slider/_fabric-definition.scss +156 -0
  356. package/styles/slider/_fluent-dark-definition.scss +1 -0
  357. package/styles/slider/_fluent-definition.scss +74 -0
  358. package/styles/slider/_fusionnew-definition.scss +90 -0
  359. package/styles/slider/_highcontrast-definition.scss +145 -0
  360. package/styles/slider/_highcontrast-light-definition.scss +149 -0
  361. package/styles/slider/_icons.scss +1 -0
  362. package/styles/slider/_layout.scss +2485 -0
  363. package/styles/slider/_material-dark-definition.scss +159 -0
  364. package/styles/slider/_material-definition.scss +154 -0
  365. package/styles/slider/_material3-dark-definition.scss +1 -0
  366. package/styles/slider/_material3-definition.scss +97 -0
  367. package/styles/slider/_tailwind-dark-definition.scss +1 -0
  368. package/styles/slider/_tailwind-definition.scss +84 -0
  369. package/styles/slider/_theme.scss +249 -0
  370. package/styles/slider/bootstrap-dark.scss +5 -1
  371. package/styles/slider/bootstrap.scss +5 -1
  372. package/styles/slider/bootstrap4.scss +5 -1
  373. package/styles/slider/bootstrap5-dark.scss +5 -1
  374. package/styles/slider/bootstrap5.scss +5 -1
  375. package/styles/slider/fabric-dark.scss +5 -1
  376. package/styles/slider/fabric.scss +5 -1
  377. package/styles/slider/fluent-dark.scss +5 -1
  378. package/styles/slider/fluent.scss +5 -1
  379. package/styles/slider/highcontrast-light.scss +5 -1
  380. package/styles/slider/highcontrast.scss +5 -1
  381. package/styles/slider/material-dark.scss +5 -1
  382. package/styles/slider/material.scss +5 -1
  383. package/styles/slider/material3-dark.scss +5 -1
  384. package/styles/slider/material3.scss +5 -1
  385. package/styles/slider/tailwind-dark.scss +5 -1
  386. package/styles/slider/tailwind.scss +5 -1
  387. package/styles/textbox/_all.scss +1 -0
  388. package/styles/textbox/_bootstrap-dark-definition.scss +4 -0
  389. package/styles/textbox/_bootstrap-definition.scss +4 -0
  390. package/styles/textbox/_bootstrap4-definition.scss +4 -0
  391. package/styles/textbox/_bootstrap5-dark-definition.scss +1 -0
  392. package/styles/textbox/_bootstrap5-definition.scss +4 -0
  393. package/styles/textbox/_fabric-dark-definition.scss +4 -0
  394. package/styles/textbox/_fabric-definition.scss +4 -0
  395. package/styles/textbox/_fluent-dark-definition.scss +1 -0
  396. package/styles/textbox/_fluent-definition.scss +4 -0
  397. package/styles/textbox/_fusionnew-definition.scss +4 -0
  398. package/styles/textbox/_highcontrast-definition.scss +4 -0
  399. package/styles/textbox/_highcontrast-light-definition.scss +4 -0
  400. package/styles/textbox/_layout.scss +37 -0
  401. package/styles/textbox/_material-dark-definition.scss +4 -0
  402. package/styles/textbox/_material-definition.scss +4 -0
  403. package/styles/textbox/_material3-dark-definition.scss +1 -0
  404. package/styles/textbox/_material3-definition.scss +4 -0
  405. package/styles/textbox/_tailwind-dark-definition.scss +1 -0
  406. package/styles/textbox/_tailwind-definition.scss +4 -0
  407. package/styles/textbox/_theme.scss +1 -0
  408. package/styles/textbox/bootstrap-dark.scss +4 -1
  409. package/styles/textbox/bootstrap.scss +4 -1
  410. package/styles/textbox/bootstrap4.scss +4 -1
  411. package/styles/textbox/bootstrap5-dark.scss +4 -1
  412. package/styles/textbox/bootstrap5.scss +4 -1
  413. package/styles/textbox/fabric-dark.scss +4 -1
  414. package/styles/textbox/fabric.scss +4 -1
  415. package/styles/textbox/fluent-dark.scss +4 -1
  416. package/styles/textbox/fluent.scss +4 -1
  417. package/styles/textbox/highcontrast-light.scss +4 -1
  418. package/styles/textbox/highcontrast.scss +4 -1
  419. package/styles/textbox/material-dark.scss +4 -1
  420. package/styles/textbox/material.scss +4 -1
  421. package/styles/textbox/material3-dark.scss +4 -1
  422. package/styles/textbox/material3.scss +4 -1
  423. package/styles/textbox/tailwind-dark.scss +4 -1
  424. package/styles/textbox/tailwind.scss +4 -1
  425. package/styles/uploader/_all.scss +2 -0
  426. package/styles/uploader/_bootstrap-dark-definition.scss +213 -0
  427. package/styles/uploader/_bootstrap-definition.scss +208 -0
  428. package/styles/uploader/_bootstrap4-definition.scss +211 -0
  429. package/styles/uploader/_bootstrap5-dark-definition.scss +1 -0
  430. package/styles/uploader/_bootstrap5-definition.scss +216 -0
  431. package/styles/uploader/_definition.scss +142 -0
  432. package/styles/uploader/_fabric-dark-definition.scss +216 -0
  433. package/styles/uploader/_fabric-definition.scss +210 -0
  434. package/styles/uploader/_fluent-dark-definition.scss +1 -0
  435. package/styles/uploader/_fluent-definition.scss +234 -0
  436. package/styles/uploader/_fusionnew-definition.scss +216 -0
  437. package/styles/uploader/_highcontrast-definition.scss +211 -0
  438. package/styles/uploader/_highcontrast-light-definition.scss +219 -0
  439. package/styles/uploader/_layout.scss +989 -0
  440. package/styles/uploader/_material-dark-definition.scss +217 -0
  441. package/styles/uploader/_material-definition.scss +214 -0
  442. package/styles/uploader/_material3-dark-definition.scss +1 -0
  443. package/styles/uploader/_material3-definition.scss +215 -0
  444. package/styles/uploader/_tailwind-dark-definition.scss +1 -0
  445. package/styles/uploader/_tailwind-definition.scss +232 -0
  446. package/styles/uploader/_theme.scss +146 -0
  447. package/styles/uploader/bootstrap-dark.scss +6 -1
  448. package/styles/uploader/bootstrap.scss +6 -1
  449. package/styles/uploader/bootstrap4.scss +6 -1
  450. package/styles/uploader/bootstrap5-dark.scss +6 -1
  451. package/styles/uploader/bootstrap5.scss +6 -1
  452. package/styles/uploader/fabric-dark.scss +6 -1
  453. package/styles/uploader/fabric.scss +6 -1
  454. package/styles/uploader/fluent-dark.scss +6 -1
  455. package/styles/uploader/fluent.scss +6 -1
  456. package/styles/uploader/highcontrast-light.scss +6 -1
  457. package/styles/uploader/highcontrast.scss +6 -1
  458. package/styles/uploader/icons/_bootstrap-dark.scss +34 -0
  459. package/styles/uploader/icons/_bootstrap.scss +34 -0
  460. package/styles/uploader/icons/_bootstrap4.scss +34 -0
  461. package/styles/uploader/icons/_bootstrap5-dark.scss +1 -0
  462. package/styles/uploader/icons/_bootstrap5.scss +34 -0
  463. package/styles/uploader/icons/_fabric-dark.scss +34 -0
  464. package/styles/uploader/icons/_fabric.scss +34 -0
  465. package/styles/uploader/icons/_fluent-dark.scss +1 -0
  466. package/styles/uploader/icons/_fluent.scss +34 -0
  467. package/styles/uploader/icons/_fusionnew.scss +34 -0
  468. package/styles/uploader/icons/_highcontrast-light.scss +34 -0
  469. package/styles/uploader/icons/_highcontrast.scss +34 -0
  470. package/styles/uploader/icons/_material-dark.scss +34 -0
  471. package/styles/uploader/icons/_material.scss +34 -0
  472. package/styles/uploader/icons/_material3-dark.scss +1 -0
  473. package/styles/uploader/icons/_material3.scss +34 -0
  474. package/styles/uploader/icons/_tailwind-dark.scss +1 -0
  475. package/styles/uploader/icons/_tailwind.scss +34 -0
  476. package/styles/uploader/material-dark.scss +6 -1
  477. package/styles/uploader/material.scss +6 -1
  478. package/styles/uploader/material3-dark.scss +6 -1
  479. package/styles/uploader/material3.scss +6 -1
  480. package/styles/uploader/tailwind-dark.scss +6 -1
  481. package/styles/uploader/tailwind.scss +6 -1
  482. package/syncfusion-ej2-angular-inputs.d.ts +5 -0
  483. package/@syncfusion/ej2-angular-inputs.es5.js +0 -1791
  484. package/@syncfusion/ej2-angular-inputs.es5.js.map +0 -1
  485. package/@syncfusion/ej2-angular-inputs.js +0 -1689
  486. package/@syncfusion/ej2-angular-inputs.js.map +0 -1
  487. package/CHANGELOG.md +0 -1498
  488. package/dist/ej2-angular-inputs.umd.js +0 -1880
  489. package/dist/ej2-angular-inputs.umd.js.map +0 -1
  490. package/dist/ej2-angular-inputs.umd.min.js +0 -11
  491. package/dist/ej2-angular-inputs.umd.min.js.map +0 -1
  492. package/ej2-angular-inputs.d.ts +0 -12
  493. package/ej2-angular-inputs.metadata.json +0 -1
  494. package/postinstall/tagchange.js +0 -18
@@ -1,1791 +0,0 @@
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, ChangeDetectorRef, 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 { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, Rating, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
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 = ['autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width'];
31
- var outputs = ['blur', 'change', 'created', 'destroyed', 'focus', 'input', 'valueChange'];
32
- var twoWays = ['value'];
33
- /**
34
- * Represents the EJ2 Angular TextBox Component.
35
- * ```html
36
- * <ejs-textbox [value]='value'></ejs-textbox>
37
- * ```
38
- */
39
- var TextBoxComponent = TextBoxComponent_1 = /** @class */ (function (_super) {
40
- __extends(TextBoxComponent, _super);
41
- /**
42
- * @param {?} ngEle
43
- * @param {?} srenderer
44
- * @param {?} viewContainerRef
45
- * @param {?} injector
46
- * @param {?} cdr
47
- */
48
- function TextBoxComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
49
- var _this = _super.call(this) || this;
50
- _this.ngEle = ngEle;
51
- _this.srenderer = srenderer;
52
- _this.viewContainerRef = viewContainerRef;
53
- _this.injector = injector;
54
- _this.cdr = cdr;
55
- _this.skipFromEvent = true;
56
- _this.element = _this.ngEle.nativeElement;
57
- _this.injectedModules = _this.injectedModules || [];
58
- _this.registerEvents(outputs);
59
- _this.addTwoWay.call(_this, twoWays);
60
- setValue('currentInstance', _this, _this.viewContainerRef);
61
- _this.formContext = new FormBase();
62
- _this.formCompContext = new ComponentBase();
63
- return _this;
64
- }
65
- /**
66
- * @param {?} registerFunction
67
- * @return {?}
68
- */
69
- TextBoxComponent.prototype.registerOnChange = function (registerFunction) {
70
- };
71
- /**
72
- * @param {?} registerFunction
73
- * @return {?}
74
- */
75
- TextBoxComponent.prototype.registerOnTouched = function (registerFunction) {
76
- };
77
- /**
78
- * @param {?} value
79
- * @return {?}
80
- */
81
- TextBoxComponent.prototype.writeValue = function (value) {
82
- };
83
- /**
84
- * @param {?} disabled
85
- * @return {?}
86
- */
87
- TextBoxComponent.prototype.setDisabledState = function (disabled) {
88
- };
89
- /**
90
- * @return {?}
91
- */
92
- TextBoxComponent.prototype.ngOnInit = function () {
93
- this.formCompContext.ngOnInit(this);
94
- };
95
- /**
96
- * @return {?}
97
- */
98
- TextBoxComponent.prototype.ngAfterViewInit = function () {
99
- this.formContext.ngAfterViewInit(this);
100
- };
101
- /**
102
- * @return {?}
103
- */
104
- TextBoxComponent.prototype.ngOnDestroy = function () {
105
- this.formCompContext.ngOnDestroy(this);
106
- };
107
- /**
108
- * @return {?}
109
- */
110
- TextBoxComponent.prototype.ngAfterContentChecked = function () {
111
- this.formCompContext.ngAfterContentChecked(this);
112
- };
113
- return TextBoxComponent;
114
- }(TextBox));
115
- TextBoxComponent.decorators = [
116
- { type: Component, args: [{
117
- selector: 'ejs-textbox',
118
- inputs: inputs,
119
- outputs: outputs,
120
- template: '',
121
- changeDetection: ChangeDetectionStrategy.OnPush,
122
- providers: [
123
- {
124
- provide: NG_VALUE_ACCESSOR,
125
- useExisting: forwardRef(function () { return TextBoxComponent_1; }),
126
- multi: true
127
- }
128
- ],
129
- queries: {}
130
- },] },
131
- ];
132
- /**
133
- * @nocollapse
134
- */
135
- TextBoxComponent.ctorParameters = function () { return [
136
- { type: ElementRef, },
137
- { type: Renderer2, },
138
- { type: ViewContainerRef, },
139
- { type: Injector, },
140
- { type: ChangeDetectorRef, },
141
- ]; };
142
- TextBoxComponent = TextBoxComponent_1 = __decorate([
143
- ComponentMixins([ComponentBase, FormBase]),
144
- __metadata("design:paramtypes", [ElementRef,
145
- Renderer2,
146
- ViewContainerRef,
147
- Injector,
148
- ChangeDetectorRef])
149
- ], TextBoxComponent);
150
- var TextBoxComponent_1;
151
- /**
152
- * NgModule definition for the TextBox component.
153
- */
154
- var TextBoxModule = /** @class */ (function () {
155
- function TextBoxModule() {
156
- }
157
- return TextBoxModule;
158
- }());
159
- TextBoxModule.decorators = [
160
- { type: NgModule, args: [{
161
- imports: [CommonModule],
162
- declarations: [
163
- TextBoxComponent
164
- ],
165
- exports: [
166
- TextBoxComponent
167
- ]
168
- },] },
169
- ];
170
- /**
171
- * @nocollapse
172
- */
173
- TextBoxModule.ctorParameters = function () { return []; };
174
- /**
175
- * NgModule definition for the TextBox component with providers.
176
- */
177
- var TextBoxAllModule = /** @class */ (function () {
178
- function TextBoxAllModule() {
179
- }
180
- return TextBoxAllModule;
181
- }());
182
- TextBoxAllModule.decorators = [
183
- { type: NgModule, args: [{
184
- imports: [CommonModule, TextBoxModule],
185
- exports: [
186
- TextBoxModule
187
- ],
188
- providers: []
189
- },] },
190
- ];
191
- /**
192
- * @nocollapse
193
- */
194
- TextBoxAllModule.ctorParameters = function () { return []; };
195
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
196
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
197
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
198
- r = Reflect.decorate(decorators, target, key, desc);
199
- else
200
- for (var i = decorators.length - 1; i >= 0; i--)
201
- if (d = decorators[i])
202
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
203
- return c > 3 && r && Object.defineProperty(target, key, r), r;
204
- };
205
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
206
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
207
- return Reflect.metadata(k, v);
208
- };
209
- var inputs$1 = ['cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width'];
210
- var outputs$1 = ['blur', 'change', 'created', 'destroyed', 'focus', 'valueChange'];
211
- var twoWays$1 = ['value'];
212
- /**
213
- * Represents the EJ2 Angular NumericTextBox Component.
214
- * ```html
215
- * <ej-numerictextbox [value]='value'></ej-numerictextbox>
216
- * ```
217
- */
218
- var NumericTextBoxComponent = NumericTextBoxComponent_1 = /** @class */ (function (_super) {
219
- __extends(NumericTextBoxComponent, _super);
220
- /**
221
- * @param {?} ngEle
222
- * @param {?} srenderer
223
- * @param {?} viewContainerRef
224
- * @param {?} injector
225
- * @param {?} cdr
226
- */
227
- function NumericTextBoxComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
228
- var _this = _super.call(this) || this;
229
- _this.ngEle = ngEle;
230
- _this.srenderer = srenderer;
231
- _this.viewContainerRef = viewContainerRef;
232
- _this.injector = injector;
233
- _this.cdr = cdr;
234
- _this.skipFromEvent = true;
235
- _this.element = _this.ngEle.nativeElement;
236
- _this.injectedModules = _this.injectedModules || [];
237
- _this.registerEvents(outputs$1);
238
- _this.addTwoWay.call(_this, twoWays$1);
239
- setValue('currentInstance', _this, _this.viewContainerRef);
240
- _this.formContext = new FormBase();
241
- _this.formCompContext = new ComponentBase();
242
- return _this;
243
- }
244
- /**
245
- * @param {?} registerFunction
246
- * @return {?}
247
- */
248
- NumericTextBoxComponent.prototype.registerOnChange = function (registerFunction) {
249
- };
250
- /**
251
- * @param {?} registerFunction
252
- * @return {?}
253
- */
254
- NumericTextBoxComponent.prototype.registerOnTouched = function (registerFunction) {
255
- };
256
- /**
257
- * @param {?} value
258
- * @return {?}
259
- */
260
- NumericTextBoxComponent.prototype.writeValue = function (value) {
261
- };
262
- /**
263
- * @param {?} disabled
264
- * @return {?}
265
- */
266
- NumericTextBoxComponent.prototype.setDisabledState = function (disabled) {
267
- };
268
- /**
269
- * @return {?}
270
- */
271
- NumericTextBoxComponent.prototype.ngOnInit = function () {
272
- this.formCompContext.ngOnInit(this);
273
- };
274
- /**
275
- * @return {?}
276
- */
277
- NumericTextBoxComponent.prototype.ngAfterViewInit = function () {
278
- this.formContext.ngAfterViewInit(this);
279
- };
280
- /**
281
- * @return {?}
282
- */
283
- NumericTextBoxComponent.prototype.ngOnDestroy = function () {
284
- this.formCompContext.ngOnDestroy(this);
285
- };
286
- /**
287
- * @return {?}
288
- */
289
- NumericTextBoxComponent.prototype.ngAfterContentChecked = function () {
290
- this.formCompContext.ngAfterContentChecked(this);
291
- };
292
- return NumericTextBoxComponent;
293
- }(NumericTextBox));
294
- NumericTextBoxComponent.decorators = [
295
- { type: Component, args: [{
296
- selector: 'ejs-numerictextbox',
297
- inputs: inputs$1,
298
- outputs: outputs$1,
299
- template: '',
300
- changeDetection: ChangeDetectionStrategy.OnPush,
301
- providers: [
302
- {
303
- provide: NG_VALUE_ACCESSOR,
304
- useExisting: forwardRef(function () { return NumericTextBoxComponent_1; }),
305
- multi: true
306
- }
307
- ],
308
- queries: {}
309
- },] },
310
- ];
311
- /**
312
- * @nocollapse
313
- */
314
- NumericTextBoxComponent.ctorParameters = function () { return [
315
- { type: ElementRef, },
316
- { type: Renderer2, },
317
- { type: ViewContainerRef, },
318
- { type: Injector, },
319
- { type: ChangeDetectorRef, },
320
- ]; };
321
- NumericTextBoxComponent = NumericTextBoxComponent_1 = __decorate$1([
322
- ComponentMixins([ComponentBase, FormBase]),
323
- __metadata$1("design:paramtypes", [ElementRef,
324
- Renderer2,
325
- ViewContainerRef,
326
- Injector,
327
- ChangeDetectorRef])
328
- ], NumericTextBoxComponent);
329
- var NumericTextBoxComponent_1;
330
- /**
331
- * NgModule definition for the NumericTextBox component.
332
- */
333
- var NumericTextBoxModule = /** @class */ (function () {
334
- function NumericTextBoxModule() {
335
- }
336
- return NumericTextBoxModule;
337
- }());
338
- NumericTextBoxModule.decorators = [
339
- { type: NgModule, args: [{
340
- imports: [CommonModule],
341
- declarations: [
342
- NumericTextBoxComponent
343
- ],
344
- exports: [
345
- NumericTextBoxComponent
346
- ]
347
- },] },
348
- ];
349
- /**
350
- * @nocollapse
351
- */
352
- NumericTextBoxModule.ctorParameters = function () { return []; };
353
- /**
354
- * NgModule definition for the NumericTextBox component with providers.
355
- */
356
- var NumericTextBoxAllModule = /** @class */ (function () {
357
- function NumericTextBoxAllModule() {
358
- }
359
- return NumericTextBoxAllModule;
360
- }());
361
- NumericTextBoxAllModule.decorators = [
362
- { type: NgModule, args: [{
363
- imports: [CommonModule, NumericTextBoxModule],
364
- exports: [
365
- NumericTextBoxModule
366
- ],
367
- providers: []
368
- },] },
369
- ];
370
- /**
371
- * @nocollapse
372
- */
373
- NumericTextBoxAllModule.ctorParameters = function () { return []; };
374
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
375
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
376
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
377
- r = Reflect.decorate(decorators, target, key, desc);
378
- else
379
- for (var i = decorators.length - 1; i >= 0; i--)
380
- if (d = decorators[i])
381
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
382
- return c > 3 && r && Object.defineProperty(target, key, r), r;
383
- };
384
- var __metadata$2 = (this && this.__metadata) || function (k, v) {
385
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
386
- return Reflect.metadata(k, v);
387
- };
388
- var inputs$2 = ['cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width'];
389
- var outputs$2 = ['blur', 'change', 'created', 'destroyed', 'focus', 'valueChange'];
390
- var twoWays$2 = ['value'];
391
- /**
392
- * Represents the EJ2 Angular MaskedTextbox Component.
393
- * ```html
394
- * <ej-maskedtextbox [value]='value'></ej-maskedtextbox>
395
- * ```
396
- */
397
- var MaskedTextBoxComponent = MaskedTextBoxComponent_1 = /** @class */ (function (_super) {
398
- __extends(MaskedTextBoxComponent, _super);
399
- /**
400
- * @param {?} ngEle
401
- * @param {?} srenderer
402
- * @param {?} viewContainerRef
403
- * @param {?} injector
404
- * @param {?} cdr
405
- */
406
- function MaskedTextBoxComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
407
- var _this = _super.call(this) || this;
408
- _this.ngEle = ngEle;
409
- _this.srenderer = srenderer;
410
- _this.viewContainerRef = viewContainerRef;
411
- _this.injector = injector;
412
- _this.cdr = cdr;
413
- _this.skipFromEvent = true;
414
- _this.element = _this.ngEle.nativeElement;
415
- _this.injectedModules = _this.injectedModules || [];
416
- _this.registerEvents(outputs$2);
417
- _this.addTwoWay.call(_this, twoWays$2);
418
- setValue('currentInstance', _this, _this.viewContainerRef);
419
- _this.formContext = new FormBase();
420
- _this.formCompContext = new ComponentBase();
421
- return _this;
422
- }
423
- /**
424
- * @param {?} registerFunction
425
- * @return {?}
426
- */
427
- MaskedTextBoxComponent.prototype.registerOnChange = function (registerFunction) {
428
- };
429
- /**
430
- * @param {?} registerFunction
431
- * @return {?}
432
- */
433
- MaskedTextBoxComponent.prototype.registerOnTouched = function (registerFunction) {
434
- };
435
- /**
436
- * @param {?} value
437
- * @return {?}
438
- */
439
- MaskedTextBoxComponent.prototype.writeValue = function (value) {
440
- };
441
- /**
442
- * @param {?} disabled
443
- * @return {?}
444
- */
445
- MaskedTextBoxComponent.prototype.setDisabledState = function (disabled) {
446
- };
447
- /**
448
- * @return {?}
449
- */
450
- MaskedTextBoxComponent.prototype.ngOnInit = function () {
451
- this.formCompContext.ngOnInit(this);
452
- };
453
- /**
454
- * @return {?}
455
- */
456
- MaskedTextBoxComponent.prototype.ngAfterViewInit = function () {
457
- this.formContext.ngAfterViewInit(this);
458
- };
459
- /**
460
- * @return {?}
461
- */
462
- MaskedTextBoxComponent.prototype.ngOnDestroy = function () {
463
- this.formCompContext.ngOnDestroy(this);
464
- };
465
- /**
466
- * @return {?}
467
- */
468
- MaskedTextBoxComponent.prototype.ngAfterContentChecked = function () {
469
- this.formCompContext.ngAfterContentChecked(this);
470
- };
471
- return MaskedTextBoxComponent;
472
- }(MaskedTextBox));
473
- MaskedTextBoxComponent.decorators = [
474
- { type: Component, args: [{
475
- selector: 'ejs-maskedtextbox',
476
- inputs: inputs$2,
477
- outputs: outputs$2,
478
- template: '',
479
- changeDetection: ChangeDetectionStrategy.OnPush,
480
- providers: [
481
- {
482
- provide: NG_VALUE_ACCESSOR,
483
- useExisting: forwardRef(function () { return MaskedTextBoxComponent_1; }),
484
- multi: true
485
- }
486
- ],
487
- queries: {}
488
- },] },
489
- ];
490
- /**
491
- * @nocollapse
492
- */
493
- MaskedTextBoxComponent.ctorParameters = function () { return [
494
- { type: ElementRef, },
495
- { type: Renderer2, },
496
- { type: ViewContainerRef, },
497
- { type: Injector, },
498
- { type: ChangeDetectorRef, },
499
- ]; };
500
- MaskedTextBoxComponent = MaskedTextBoxComponent_1 = __decorate$2([
501
- ComponentMixins([ComponentBase, FormBase]),
502
- __metadata$2("design:paramtypes", [ElementRef,
503
- Renderer2,
504
- ViewContainerRef,
505
- Injector,
506
- ChangeDetectorRef])
507
- ], MaskedTextBoxComponent);
508
- var MaskedTextBoxComponent_1;
509
- /**
510
- * NgModule definition for the MaskedTextBox component.
511
- */
512
- var MaskedTextBoxModule = /** @class */ (function () {
513
- function MaskedTextBoxModule() {
514
- }
515
- return MaskedTextBoxModule;
516
- }());
517
- MaskedTextBoxModule.decorators = [
518
- { type: NgModule, args: [{
519
- imports: [CommonModule],
520
- declarations: [
521
- MaskedTextBoxComponent
522
- ],
523
- exports: [
524
- MaskedTextBoxComponent
525
- ]
526
- },] },
527
- ];
528
- /**
529
- * @nocollapse
530
- */
531
- MaskedTextBoxModule.ctorParameters = function () { return []; };
532
- /**
533
- * NgModule definition for the MaskedTextBox component with providers.
534
- */
535
- var MaskedTextBoxAllModule = /** @class */ (function () {
536
- function MaskedTextBoxAllModule() {
537
- }
538
- return MaskedTextBoxAllModule;
539
- }());
540
- MaskedTextBoxAllModule.decorators = [
541
- { type: NgModule, args: [{
542
- imports: [CommonModule, MaskedTextBoxModule],
543
- exports: [
544
- MaskedTextBoxModule
545
- ],
546
- providers: []
547
- },] },
548
- ];
549
- /**
550
- * @nocollapse
551
- */
552
- MaskedTextBoxAllModule.ctorParameters = function () { return []; };
553
- var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
554
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
555
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
556
- r = Reflect.decorate(decorators, target, key, desc);
557
- else
558
- for (var i = decorators.length - 1; i >= 0; i--)
559
- if (d = decorators[i])
560
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
561
- return c > 3 && r && Object.defineProperty(target, key, r), r;
562
- };
563
- var __metadata$3 = (this && this.__metadata) || function (k, v) {
564
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
565
- return Reflect.metadata(k, v);
566
- };
567
- var inputs$3 = ['colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width'];
568
- var outputs$3 = ['focus', 'blur', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange', 'valueChange'];
569
- var twoWays$3 = ['value'];
570
- /**
571
- * Represents the EJ2 Angular Slider Component.
572
- * ```html
573
- * <ejs-slider [value]='value'></ejs-slider>
574
- * ```
575
- */
576
- var SliderComponent = SliderComponent_1 = /** @class */ (function (_super) {
577
- __extends(SliderComponent, _super);
578
- /**
579
- * @param {?} ngEle
580
- * @param {?} srenderer
581
- * @param {?} viewContainerRef
582
- * @param {?} injector
583
- * @param {?} cdr
584
- */
585
- function SliderComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
586
- var _this = _super.call(this) || this;
587
- _this.ngEle = ngEle;
588
- _this.srenderer = srenderer;
589
- _this.viewContainerRef = viewContainerRef;
590
- _this.injector = injector;
591
- _this.cdr = cdr;
592
- _this.element = _this.ngEle.nativeElement;
593
- _this.injectedModules = _this.injectedModules || [];
594
- _this.registerEvents(outputs$3);
595
- _this.addTwoWay.call(_this, twoWays$3);
596
- setValue('currentInstance', _this, _this.viewContainerRef);
597
- _this.formContext = new FormBase();
598
- _this.formCompContext = new ComponentBase();
599
- return _this;
600
- }
601
- /**
602
- * @param {?} registerFunction
603
- * @return {?}
604
- */
605
- SliderComponent.prototype.registerOnChange = function (registerFunction) {
606
- };
607
- /**
608
- * @param {?} registerFunction
609
- * @return {?}
610
- */
611
- SliderComponent.prototype.registerOnTouched = function (registerFunction) {
612
- };
613
- /**
614
- * @param {?} value
615
- * @return {?}
616
- */
617
- SliderComponent.prototype.writeValue = function (value) {
618
- };
619
- /**
620
- * @param {?} disabled
621
- * @return {?}
622
- */
623
- SliderComponent.prototype.setDisabledState = function (disabled) {
624
- };
625
- /**
626
- * @return {?}
627
- */
628
- SliderComponent.prototype.ngOnInit = function () {
629
- this.formCompContext.ngOnInit(this);
630
- };
631
- /**
632
- * @return {?}
633
- */
634
- SliderComponent.prototype.ngAfterViewInit = function () {
635
- this.formContext.ngAfterViewInit(this);
636
- };
637
- /**
638
- * @return {?}
639
- */
640
- SliderComponent.prototype.ngOnDestroy = function () {
641
- this.formCompContext.ngOnDestroy(this);
642
- };
643
- /**
644
- * @return {?}
645
- */
646
- SliderComponent.prototype.ngAfterContentChecked = function () {
647
- this.formCompContext.ngAfterContentChecked(this);
648
- };
649
- return SliderComponent;
650
- }(Slider));
651
- SliderComponent.decorators = [
652
- { type: Component, args: [{
653
- selector: 'ejs-slider',
654
- inputs: inputs$3,
655
- outputs: outputs$3,
656
- template: '',
657
- changeDetection: ChangeDetectionStrategy.OnPush,
658
- providers: [
659
- {
660
- provide: NG_VALUE_ACCESSOR,
661
- useExisting: forwardRef(function () { return SliderComponent_1; }),
662
- multi: true
663
- }
664
- ],
665
- queries: {}
666
- },] },
667
- ];
668
- /**
669
- * @nocollapse
670
- */
671
- SliderComponent.ctorParameters = function () { return [
672
- { type: ElementRef, },
673
- { type: Renderer2, },
674
- { type: ViewContainerRef, },
675
- { type: Injector, },
676
- { type: ChangeDetectorRef, },
677
- ]; };
678
- SliderComponent = SliderComponent_1 = __decorate$3([
679
- ComponentMixins([ComponentBase, FormBase]),
680
- __metadata$3("design:paramtypes", [ElementRef,
681
- Renderer2,
682
- ViewContainerRef,
683
- Injector,
684
- ChangeDetectorRef])
685
- ], SliderComponent);
686
- var SliderComponent_1;
687
- /**
688
- * NgModule definition for the Slider component.
689
- */
690
- var SliderModule = /** @class */ (function () {
691
- function SliderModule() {
692
- }
693
- return SliderModule;
694
- }());
695
- SliderModule.decorators = [
696
- { type: NgModule, args: [{
697
- imports: [CommonModule],
698
- declarations: [
699
- SliderComponent
700
- ],
701
- exports: [
702
- SliderComponent
703
- ]
704
- },] },
705
- ];
706
- /**
707
- * @nocollapse
708
- */
709
- SliderModule.ctorParameters = function () { return []; };
710
- /**
711
- * NgModule definition for the Slider component with providers.
712
- */
713
- var SliderAllModule = /** @class */ (function () {
714
- function SliderAllModule() {
715
- }
716
- return SliderAllModule;
717
- }());
718
- SliderAllModule.decorators = [
719
- { type: NgModule, args: [{
720
- imports: [CommonModule, SliderModule],
721
- exports: [
722
- SliderModule
723
- ],
724
- providers: []
725
- },] },
726
- ];
727
- /**
728
- * @nocollapse
729
- */
730
- SliderAllModule.ctorParameters = function () { return []; };
731
- var input = ['name', 'size', 'type'];
732
- var outputs$4 = [];
733
- /**
734
- * 'e-files' directive represent a file of angular uploader
735
- * It must be contained in a Uploader component(`ejs-uploader`).
736
- * ```html
737
- * <ejs-uploader id='fileupload' multiple=true>
738
- * <e-files>
739
- * <e-file name='Java' size=23000 type='pdf'></e-file>
740
- * <e-file name='C++' size=30000 type='.docx'></e-file>
741
- * </e-files>
742
- * </ejs-uploader>
743
- * ```
744
- */
745
- var UploadedFilesDirective = /** @class */ (function (_super) {
746
- __extends(UploadedFilesDirective, _super);
747
- /**
748
- * @param {?} viewContainerRef
749
- */
750
- function UploadedFilesDirective(viewContainerRef) {
751
- var _this = _super.call(this) || this;
752
- _this.viewContainerRef = viewContainerRef;
753
- setValue('currentInstance', _this, _this.viewContainerRef);
754
- _this.registerEvents(outputs$4);
755
- _this.directivePropList = input;
756
- return _this;
757
- }
758
- return UploadedFilesDirective;
759
- }(ComplexBase));
760
- UploadedFilesDirective.decorators = [
761
- { type: Directive, args: [{
762
- selector: 'e-files>e-uploadedfiles',
763
- inputs: input,
764
- outputs: outputs$4,
765
- queries: {}
766
- },] },
767
- ];
768
- /**
769
- * @nocollapse
770
- */
771
- UploadedFilesDirective.ctorParameters = function () { return [
772
- { type: ViewContainerRef, },
773
- ]; };
774
- /**
775
- * UploadedFiles Array Directive
776
- */
777
- var FilesDirective = /** @class */ (function (_super) {
778
- __extends(FilesDirective, _super);
779
- function FilesDirective() {
780
- return _super.call(this, 'files') || this;
781
- }
782
- return FilesDirective;
783
- }(ArrayBase));
784
- FilesDirective.decorators = [
785
- { type: Directive, args: [{
786
- selector: 'ejs-uploader>e-files',
787
- queries: {
788
- children: new ContentChildren(UploadedFilesDirective)
789
- },
790
- },] },
791
- ];
792
- /**
793
- * @nocollapse
794
- */
795
- FilesDirective.ctorParameters = function () { return []; };
796
- var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
797
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
798
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
799
- r = Reflect.decorate(decorators, target, key, desc);
800
- else
801
- for (var i = decorators.length - 1; i >= 0; i--)
802
- if (d = decorators[i])
803
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
804
- return c > 3 && r && Object.defineProperty(target, key, r), r;
805
- };
806
- var __metadata$4 = (this && this.__metadata) || function (k, v) {
807
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
808
- return Reflect.metadata(k, v);
809
- };
810
- var inputs$4 = ['allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template'];
811
- var outputs$5 = ['focus', 'blur', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
812
- var twoWays$4 = [];
813
- /**
814
- * Represents the EJ2 Angular Uploader Component.
815
- * ```html
816
- * <ejs-uploader></ejs-uploader>
817
- * ```
818
- */
819
- var UploaderComponent = UploaderComponent_1 = /** @class */ (function (_super) {
820
- __extends(UploaderComponent, _super);
821
- /**
822
- * @param {?} ngEle
823
- * @param {?} srenderer
824
- * @param {?} viewContainerRef
825
- * @param {?} injector
826
- * @param {?} cdr
827
- */
828
- function UploaderComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
829
- var _this = _super.call(this) || this;
830
- _this.ngEle = ngEle;
831
- _this.srenderer = srenderer;
832
- _this.viewContainerRef = viewContainerRef;
833
- _this.injector = injector;
834
- _this.cdr = cdr;
835
- _this.tags = ['files'];
836
- _this.element = _this.ngEle.nativeElement;
837
- _this.injectedModules = _this.injectedModules || [];
838
- _this.registerEvents(outputs$5);
839
- _this.addTwoWay.call(_this, twoWays$4);
840
- setValue('currentInstance', _this, _this.viewContainerRef);
841
- _this.formContext = new FormBase();
842
- _this.formCompContext = new ComponentBase();
843
- return _this;
844
- }
845
- /**
846
- * @param {?} registerFunction
847
- * @return {?}
848
- */
849
- UploaderComponent.prototype.registerOnChange = function (registerFunction) {
850
- };
851
- /**
852
- * @param {?} registerFunction
853
- * @return {?}
854
- */
855
- UploaderComponent.prototype.registerOnTouched = function (registerFunction) {
856
- };
857
- /**
858
- * @param {?} value
859
- * @return {?}
860
- */
861
- UploaderComponent.prototype.writeValue = function (value) {
862
- };
863
- /**
864
- * @param {?} disabled
865
- * @return {?}
866
- */
867
- UploaderComponent.prototype.setDisabledState = function (disabled) {
868
- };
869
- /**
870
- * @return {?}
871
- */
872
- UploaderComponent.prototype.ngOnInit = function () {
873
- this.formCompContext.ngOnInit(this);
874
- };
875
- /**
876
- * @return {?}
877
- */
878
- UploaderComponent.prototype.ngAfterViewInit = function () {
879
- this.formContext.ngAfterViewInit(this);
880
- };
881
- /**
882
- * @return {?}
883
- */
884
- UploaderComponent.prototype.ngOnDestroy = function () {
885
- this.formCompContext.ngOnDestroy(this);
886
- };
887
- /**
888
- * @return {?}
889
- */
890
- UploaderComponent.prototype.ngAfterContentChecked = function () {
891
- this.tagObjects[0].instance = this.childFiles;
892
- this.formCompContext.ngAfterContentChecked(this);
893
- };
894
- return UploaderComponent;
895
- }(Uploader));
896
- UploaderComponent.decorators = [
897
- { type: Component, args: [{
898
- selector: 'ejs-uploader',
899
- inputs: inputs$4,
900
- outputs: outputs$5,
901
- template: '',
902
- changeDetection: ChangeDetectionStrategy.OnPush,
903
- providers: [
904
- {
905
- provide: NG_VALUE_ACCESSOR,
906
- useExisting: forwardRef(function () { return UploaderComponent_1; }),
907
- multi: true
908
- }
909
- ],
910
- queries: {
911
- childFiles: new ContentChild(FilesDirective)
912
- }
913
- },] },
914
- ];
915
- /**
916
- * @nocollapse
917
- */
918
- UploaderComponent.ctorParameters = function () { return [
919
- { type: ElementRef, },
920
- { type: Renderer2, },
921
- { type: ViewContainerRef, },
922
- { type: Injector, },
923
- { type: ChangeDetectorRef, },
924
- ]; };
925
- UploaderComponent.propDecorators = {
926
- 'template': [{ type: ContentChild, args: ['template',] },],
927
- };
928
- __decorate$4([
929
- Template(),
930
- __metadata$4("design:type", Object)
931
- ], UploaderComponent.prototype, "template", void 0);
932
- UploaderComponent = UploaderComponent_1 = __decorate$4([
933
- ComponentMixins([ComponentBase, FormBase]),
934
- __metadata$4("design:paramtypes", [ElementRef,
935
- Renderer2,
936
- ViewContainerRef,
937
- Injector,
938
- ChangeDetectorRef])
939
- ], UploaderComponent);
940
- var UploaderComponent_1;
941
- /**
942
- * NgModule definition for the Uploader component.
943
- */
944
- var UploaderModule = /** @class */ (function () {
945
- function UploaderModule() {
946
- }
947
- return UploaderModule;
948
- }());
949
- UploaderModule.decorators = [
950
- { type: NgModule, args: [{
951
- imports: [CommonModule],
952
- declarations: [
953
- UploaderComponent,
954
- UploadedFilesDirective,
955
- FilesDirective
956
- ],
957
- exports: [
958
- UploaderComponent,
959
- UploadedFilesDirective,
960
- FilesDirective
961
- ]
962
- },] },
963
- ];
964
- /**
965
- * @nocollapse
966
- */
967
- UploaderModule.ctorParameters = function () { return []; };
968
- /**
969
- * NgModule definition for the Uploader component with providers.
970
- */
971
- var UploaderAllModule = /** @class */ (function () {
972
- function UploaderAllModule() {
973
- }
974
- return UploaderAllModule;
975
- }());
976
- UploaderAllModule.decorators = [
977
- { type: NgModule, args: [{
978
- imports: [CommonModule, UploaderModule],
979
- exports: [
980
- UploaderModule
981
- ],
982
- providers: []
983
- },] },
984
- ];
985
- /**
986
- * @nocollapse
987
- */
988
- UploaderAllModule.ctorParameters = function () { return []; };
989
- var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
990
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
991
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
992
- r = Reflect.decorate(decorators, target, key, desc);
993
- else
994
- for (var i = decorators.length - 1; i >= 0; i--)
995
- if (d = decorators[i])
996
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
997
- return c > 3 && r && Object.defineProperty(target, key, r), r;
998
- };
999
- var __metadata$5 = (this && this.__metadata) || function (k, v) {
1000
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1001
- return Reflect.metadata(k, v);
1002
- };
1003
- var inputs$5 = ['columns', 'createPopupOnClick', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value'];
1004
- var outputs$6 = ['focus', 'blur', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select', 'valueChange'];
1005
- var twoWays$5 = ['value'];
1006
- /**
1007
- * Represents the EJ2 Angular ColorPicker Component.
1008
- * ```html
1009
- * <input ejs-colorpicker type='color'/>
1010
- * ```
1011
- */
1012
- var ColorPickerComponent = ColorPickerComponent_1 = /** @class */ (function (_super) {
1013
- __extends(ColorPickerComponent, _super);
1014
- /**
1015
- * @param {?} ngEle
1016
- * @param {?} srenderer
1017
- * @param {?} viewContainerRef
1018
- * @param {?} injector
1019
- * @param {?} cdr
1020
- */
1021
- function ColorPickerComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
1022
- var _this = _super.call(this) || this;
1023
- _this.ngEle = ngEle;
1024
- _this.srenderer = srenderer;
1025
- _this.viewContainerRef = viewContainerRef;
1026
- _this.injector = injector;
1027
- _this.cdr = cdr;
1028
- _this.element = _this.ngEle.nativeElement;
1029
- _this.injectedModules = _this.injectedModules || [];
1030
- _this.registerEvents(outputs$6);
1031
- _this.addTwoWay.call(_this, twoWays$5);
1032
- setValue('currentInstance', _this, _this.viewContainerRef);
1033
- _this.formContext = new FormBase();
1034
- _this.formCompContext = new ComponentBase();
1035
- return _this;
1036
- }
1037
- /**
1038
- * @param {?} registerFunction
1039
- * @return {?}
1040
- */
1041
- ColorPickerComponent.prototype.registerOnChange = function (registerFunction) {
1042
- };
1043
- /**
1044
- * @param {?} registerFunction
1045
- * @return {?}
1046
- */
1047
- ColorPickerComponent.prototype.registerOnTouched = function (registerFunction) {
1048
- };
1049
- /**
1050
- * @param {?} value
1051
- * @return {?}
1052
- */
1053
- ColorPickerComponent.prototype.writeValue = function (value) {
1054
- };
1055
- /**
1056
- * @param {?} disabled
1057
- * @return {?}
1058
- */
1059
- ColorPickerComponent.prototype.setDisabledState = function (disabled) {
1060
- };
1061
- /**
1062
- * @return {?}
1063
- */
1064
- ColorPickerComponent.prototype.ngOnInit = function () {
1065
- this.formCompContext.ngOnInit(this);
1066
- };
1067
- /**
1068
- * @return {?}
1069
- */
1070
- ColorPickerComponent.prototype.ngAfterViewInit = function () {
1071
- this.formContext.ngAfterViewInit(this);
1072
- };
1073
- /**
1074
- * @return {?}
1075
- */
1076
- ColorPickerComponent.prototype.ngOnDestroy = function () {
1077
- this.formCompContext.ngOnDestroy(this);
1078
- };
1079
- /**
1080
- * @return {?}
1081
- */
1082
- ColorPickerComponent.prototype.ngAfterContentChecked = function () {
1083
- this.formCompContext.ngAfterContentChecked(this);
1084
- };
1085
- return ColorPickerComponent;
1086
- }(ColorPicker));
1087
- ColorPickerComponent.decorators = [
1088
- { type: Component, args: [{
1089
- selector: '[ejs-colorpicker]',
1090
- inputs: inputs$5,
1091
- outputs: outputs$6,
1092
- template: '',
1093
- changeDetection: ChangeDetectionStrategy.OnPush,
1094
- providers: [
1095
- {
1096
- provide: NG_VALUE_ACCESSOR,
1097
- useExisting: forwardRef(function () { return ColorPickerComponent_1; }),
1098
- multi: true
1099
- }
1100
- ],
1101
- queries: {}
1102
- },] },
1103
- ];
1104
- /**
1105
- * @nocollapse
1106
- */
1107
- ColorPickerComponent.ctorParameters = function () { return [
1108
- { type: ElementRef, },
1109
- { type: Renderer2, },
1110
- { type: ViewContainerRef, },
1111
- { type: Injector, },
1112
- { type: ChangeDetectorRef, },
1113
- ]; };
1114
- ColorPickerComponent = ColorPickerComponent_1 = __decorate$5([
1115
- ComponentMixins([ComponentBase, FormBase]),
1116
- __metadata$5("design:paramtypes", [ElementRef,
1117
- Renderer2,
1118
- ViewContainerRef,
1119
- Injector,
1120
- ChangeDetectorRef])
1121
- ], ColorPickerComponent);
1122
- var ColorPickerComponent_1;
1123
- /**
1124
- * NgModule definition for the ColorPicker component.
1125
- */
1126
- var ColorPickerModule = /** @class */ (function () {
1127
- function ColorPickerModule() {
1128
- }
1129
- return ColorPickerModule;
1130
- }());
1131
- ColorPickerModule.decorators = [
1132
- { type: NgModule, args: [{
1133
- imports: [CommonModule],
1134
- declarations: [
1135
- ColorPickerComponent
1136
- ],
1137
- exports: [
1138
- ColorPickerComponent
1139
- ]
1140
- },] },
1141
- ];
1142
- /**
1143
- * @nocollapse
1144
- */
1145
- ColorPickerModule.ctorParameters = function () { return []; };
1146
- /**
1147
- * NgModule definition for the ColorPicker component with providers.
1148
- */
1149
- var ColorPickerAllModule = /** @class */ (function () {
1150
- function ColorPickerAllModule() {
1151
- }
1152
- return ColorPickerAllModule;
1153
- }());
1154
- ColorPickerAllModule.decorators = [
1155
- { type: NgModule, args: [{
1156
- imports: [CommonModule, ColorPickerModule],
1157
- exports: [
1158
- ColorPickerModule
1159
- ],
1160
- providers: []
1161
- },] },
1162
- ];
1163
- /**
1164
- * @nocollapse
1165
- */
1166
- ColorPickerAllModule.ctorParameters = function () { return []; };
1167
- var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
1168
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1169
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1170
- r = Reflect.decorate(decorators, target, key, desc);
1171
- else
1172
- for (var i = decorators.length - 1; i >= 0; i--)
1173
- if (d = decorators[i])
1174
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1175
- return c > 3 && r && Object.defineProperty(target, key, r), r;
1176
- };
1177
- var __metadata$6 = (this && this.__metadata) || function (k, v) {
1178
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1179
- return Reflect.metadata(k, v);
1180
- };
1181
- var inputs$6 = ['backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity'];
1182
- var outputs$7 = ['focus', 'blur', 'beforeSave', 'change', 'created'];
1183
- var twoWays$6 = [];
1184
- /**
1185
- * Represents the EJ2 Angular Signature Component.
1186
- * ```html
1187
- * <canvas ejs-signature />
1188
- * ```
1189
- */
1190
- var SignatureComponent = SignatureComponent_1 = /** @class */ (function (_super) {
1191
- __extends(SignatureComponent, _super);
1192
- /**
1193
- * @param {?} ngEle
1194
- * @param {?} srenderer
1195
- * @param {?} viewContainerRef
1196
- * @param {?} injector
1197
- * @param {?} cdr
1198
- */
1199
- function SignatureComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
1200
- var _this = _super.call(this) || this;
1201
- _this.ngEle = ngEle;
1202
- _this.srenderer = srenderer;
1203
- _this.viewContainerRef = viewContainerRef;
1204
- _this.injector = injector;
1205
- _this.cdr = cdr;
1206
- _this.element = _this.ngEle.nativeElement;
1207
- _this.injectedModules = _this.injectedModules || [];
1208
- _this.registerEvents(outputs$7);
1209
- _this.addTwoWay.call(_this, twoWays$6);
1210
- setValue('currentInstance', _this, _this.viewContainerRef);
1211
- _this.formContext = new FormBase();
1212
- _this.formCompContext = new ComponentBase();
1213
- return _this;
1214
- }
1215
- /**
1216
- * @param {?} registerFunction
1217
- * @return {?}
1218
- */
1219
- SignatureComponent.prototype.registerOnChange = function (registerFunction) {
1220
- };
1221
- /**
1222
- * @param {?} registerFunction
1223
- * @return {?}
1224
- */
1225
- SignatureComponent.prototype.registerOnTouched = function (registerFunction) {
1226
- };
1227
- /**
1228
- * @param {?} value
1229
- * @return {?}
1230
- */
1231
- SignatureComponent.prototype.writeValue = function (value) {
1232
- };
1233
- /**
1234
- * @param {?} disabled
1235
- * @return {?}
1236
- */
1237
- SignatureComponent.prototype.setDisabledState = function (disabled) {
1238
- };
1239
- /**
1240
- * @return {?}
1241
- */
1242
- SignatureComponent.prototype.ngOnInit = function () {
1243
- this.formCompContext.ngOnInit(this);
1244
- };
1245
- /**
1246
- * @return {?}
1247
- */
1248
- SignatureComponent.prototype.ngAfterViewInit = function () {
1249
- this.formContext.ngAfterViewInit(this);
1250
- };
1251
- /**
1252
- * @return {?}
1253
- */
1254
- SignatureComponent.prototype.ngOnDestroy = function () {
1255
- this.formCompContext.ngOnDestroy(this);
1256
- };
1257
- /**
1258
- * @return {?}
1259
- */
1260
- SignatureComponent.prototype.ngAfterContentChecked = function () {
1261
- this.formCompContext.ngAfterContentChecked(this);
1262
- };
1263
- return SignatureComponent;
1264
- }(Signature));
1265
- SignatureComponent.decorators = [
1266
- { type: Component, args: [{
1267
- selector: '[ejs-signature]',
1268
- inputs: inputs$6,
1269
- outputs: outputs$7,
1270
- template: '',
1271
- changeDetection: ChangeDetectionStrategy.OnPush,
1272
- providers: [
1273
- {
1274
- provide: NG_VALUE_ACCESSOR,
1275
- useExisting: forwardRef(function () { return SignatureComponent_1; }),
1276
- multi: true
1277
- }
1278
- ],
1279
- queries: {}
1280
- },] },
1281
- ];
1282
- /**
1283
- * @nocollapse
1284
- */
1285
- SignatureComponent.ctorParameters = function () { return [
1286
- { type: ElementRef, },
1287
- { type: Renderer2, },
1288
- { type: ViewContainerRef, },
1289
- { type: Injector, },
1290
- { type: ChangeDetectorRef, },
1291
- ]; };
1292
- SignatureComponent = SignatureComponent_1 = __decorate$6([
1293
- ComponentMixins([ComponentBase, FormBase]),
1294
- __metadata$6("design:paramtypes", [ElementRef,
1295
- Renderer2,
1296
- ViewContainerRef,
1297
- Injector,
1298
- ChangeDetectorRef])
1299
- ], SignatureComponent);
1300
- var SignatureComponent_1;
1301
- /**
1302
- * NgModule definition for the Signature component.
1303
- */
1304
- var SignatureModule = /** @class */ (function () {
1305
- function SignatureModule() {
1306
- }
1307
- return SignatureModule;
1308
- }());
1309
- SignatureModule.decorators = [
1310
- { type: NgModule, args: [{
1311
- imports: [CommonModule],
1312
- declarations: [
1313
- SignatureComponent
1314
- ],
1315
- exports: [
1316
- SignatureComponent
1317
- ]
1318
- },] },
1319
- ];
1320
- /**
1321
- * @nocollapse
1322
- */
1323
- SignatureModule.ctorParameters = function () { return []; };
1324
- /**
1325
- * NgModule definition for the Signature component with providers.
1326
- */
1327
- var SignatureAllModule = /** @class */ (function () {
1328
- function SignatureAllModule() {
1329
- }
1330
- return SignatureAllModule;
1331
- }());
1332
- SignatureAllModule.decorators = [
1333
- { type: NgModule, args: [{
1334
- imports: [CommonModule, SignatureModule],
1335
- exports: [
1336
- SignatureModule
1337
- ],
1338
- providers: []
1339
- },] },
1340
- ];
1341
- /**
1342
- * @nocollapse
1343
- */
1344
- SignatureAllModule.ctorParameters = function () { return []; };
1345
- var __decorate$7 = (this && this.__decorate) || function (decorators, target, key, desc) {
1346
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1347
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1348
- r = Reflect.decorate(decorators, target, key, desc);
1349
- else
1350
- for (var i = decorators.length - 1; i >= 0; i--)
1351
- if (d = decorators[i])
1352
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1353
- return c > 3 && r && Object.defineProperty(target, key, r), r;
1354
- };
1355
- var __metadata$7 = (this && this.__metadata) || function (k, v) {
1356
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1357
- return Reflect.metadata(k, v);
1358
- };
1359
- var inputs$7 = ['allowReset', 'cssClass', 'disabled', 'emptyTemplate', 'enableAnimation', 'enablePersistence', 'enableRtl', 'enableSingleSelection', 'fullTemplate', 'itemsCount', 'labelPosition', 'labelTemplate', 'locale', 'min', 'precision', 'readOnly', 'showLabel', 'showTooltip', 'tooltipTemplate', 'value', 'visible'];
1360
- var outputs$8 = ['focus', 'blur', 'beforeItemRender', 'created', 'onItemHover', 'valueChanged', 'valueChange'];
1361
- var twoWays$7 = ['value'];
1362
- /**
1363
- * Represents the EJ2 Angular Rating Component.
1364
- * ```html
1365
- * <input ejs-rating [value]='value' />
1366
- * ```
1367
- */
1368
- var RatingComponent = RatingComponent_1 = /** @class */ (function (_super) {
1369
- __extends(RatingComponent, _super);
1370
- /**
1371
- * @param {?} ngEle
1372
- * @param {?} srenderer
1373
- * @param {?} viewContainerRef
1374
- * @param {?} injector
1375
- * @param {?} cdr
1376
- */
1377
- function RatingComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
1378
- var _this = _super.call(this) || this;
1379
- _this.ngEle = ngEle;
1380
- _this.srenderer = srenderer;
1381
- _this.viewContainerRef = viewContainerRef;
1382
- _this.injector = injector;
1383
- _this.cdr = cdr;
1384
- _this.element = _this.ngEle.nativeElement;
1385
- _this.injectedModules = _this.injectedModules || [];
1386
- _this.registerEvents(outputs$8);
1387
- _this.addTwoWay.call(_this, twoWays$7);
1388
- setValue('currentInstance', _this, _this.viewContainerRef);
1389
- _this.formContext = new FormBase();
1390
- _this.formCompContext = new ComponentBase();
1391
- return _this;
1392
- }
1393
- /**
1394
- * @param {?} registerFunction
1395
- * @return {?}
1396
- */
1397
- RatingComponent.prototype.registerOnChange = function (registerFunction) {
1398
- };
1399
- /**
1400
- * @param {?} registerFunction
1401
- * @return {?}
1402
- */
1403
- RatingComponent.prototype.registerOnTouched = function (registerFunction) {
1404
- };
1405
- /**
1406
- * @param {?} value
1407
- * @return {?}
1408
- */
1409
- RatingComponent.prototype.writeValue = function (value) {
1410
- };
1411
- /**
1412
- * @param {?} disabled
1413
- * @return {?}
1414
- */
1415
- RatingComponent.prototype.setDisabledState = function (disabled) {
1416
- };
1417
- /**
1418
- * @return {?}
1419
- */
1420
- RatingComponent.prototype.ngOnInit = function () {
1421
- this.formCompContext.ngOnInit(this);
1422
- };
1423
- /**
1424
- * @return {?}
1425
- */
1426
- RatingComponent.prototype.ngAfterViewInit = function () {
1427
- this.formContext.ngAfterViewInit(this);
1428
- };
1429
- /**
1430
- * @return {?}
1431
- */
1432
- RatingComponent.prototype.ngOnDestroy = function () {
1433
- this.formCompContext.ngOnDestroy(this);
1434
- };
1435
- /**
1436
- * @return {?}
1437
- */
1438
- RatingComponent.prototype.ngAfterContentChecked = function () {
1439
- this.formCompContext.ngAfterContentChecked(this);
1440
- };
1441
- return RatingComponent;
1442
- }(Rating));
1443
- RatingComponent.decorators = [
1444
- { type: Component, args: [{
1445
- selector: '[ejs-rating]',
1446
- inputs: inputs$7,
1447
- outputs: outputs$8,
1448
- template: '',
1449
- changeDetection: ChangeDetectionStrategy.OnPush,
1450
- providers: [
1451
- {
1452
- provide: NG_VALUE_ACCESSOR,
1453
- useExisting: forwardRef(function () { return RatingComponent_1; }),
1454
- multi: true
1455
- }
1456
- ],
1457
- queries: {}
1458
- },] },
1459
- ];
1460
- /**
1461
- * @nocollapse
1462
- */
1463
- RatingComponent.ctorParameters = function () { return [
1464
- { type: ElementRef, },
1465
- { type: Renderer2, },
1466
- { type: ViewContainerRef, },
1467
- { type: Injector, },
1468
- { type: ChangeDetectorRef, },
1469
- ]; };
1470
- RatingComponent.propDecorators = {
1471
- 'fullTemplate': [{ type: ContentChild, args: ['fullTemplate',] },],
1472
- 'emptyTemplate': [{ type: ContentChild, args: ['emptyTemplate',] },],
1473
- 'tooltipTemplate': [{ type: ContentChild, args: ['tooltipTemplate',] },],
1474
- 'labelTemplate': [{ type: ContentChild, args: ['labelTemplate',] },],
1475
- };
1476
- __decorate$7([
1477
- Template(),
1478
- __metadata$7("design:type", Object)
1479
- ], RatingComponent.prototype, "fullTemplate", void 0);
1480
- __decorate$7([
1481
- Template(),
1482
- __metadata$7("design:type", Object)
1483
- ], RatingComponent.prototype, "emptyTemplate", void 0);
1484
- __decorate$7([
1485
- Template(),
1486
- __metadata$7("design:type", Object)
1487
- ], RatingComponent.prototype, "tooltipTemplate", void 0);
1488
- __decorate$7([
1489
- Template(),
1490
- __metadata$7("design:type", Object)
1491
- ], RatingComponent.prototype, "labelTemplate", void 0);
1492
- RatingComponent = RatingComponent_1 = __decorate$7([
1493
- ComponentMixins([ComponentBase, FormBase]),
1494
- __metadata$7("design:paramtypes", [ElementRef,
1495
- Renderer2,
1496
- ViewContainerRef,
1497
- Injector,
1498
- ChangeDetectorRef])
1499
- ], RatingComponent);
1500
- var RatingComponent_1;
1501
- /**
1502
- * NgModule definition for the Rating component.
1503
- */
1504
- var RatingModule = /** @class */ (function () {
1505
- function RatingModule() {
1506
- }
1507
- return RatingModule;
1508
- }());
1509
- RatingModule.decorators = [
1510
- { type: NgModule, args: [{
1511
- imports: [CommonModule],
1512
- declarations: [
1513
- RatingComponent
1514
- ],
1515
- exports: [
1516
- RatingComponent
1517
- ]
1518
- },] },
1519
- ];
1520
- /**
1521
- * @nocollapse
1522
- */
1523
- RatingModule.ctorParameters = function () { return []; };
1524
- /**
1525
- * NgModule definition for the Rating component with providers.
1526
- */
1527
- var RatingAllModule = /** @class */ (function () {
1528
- function RatingAllModule() {
1529
- }
1530
- return RatingAllModule;
1531
- }());
1532
- RatingAllModule.decorators = [
1533
- { type: NgModule, args: [{
1534
- imports: [CommonModule, RatingModule],
1535
- exports: [
1536
- RatingModule
1537
- ],
1538
- providers: []
1539
- },] },
1540
- ];
1541
- /**
1542
- * @nocollapse
1543
- */
1544
- RatingAllModule.ctorParameters = function () { return []; };
1545
- var FormValidators = /** @class */ (function () {
1546
- function FormValidators() {
1547
- }
1548
- /**
1549
- * @param {?} number
1550
- * @return {?}
1551
- */
1552
- FormValidators.max = function (number) {
1553
- var /** @type {?} */ max = number;
1554
- return function (control) {
1555
- //tslint:disable-next-line
1556
- var /** @type {?} */ result = ((FormValidator)).checkValidator.max({ value: control.value, param: max });
1557
- if (result === true) {
1558
- return null;
1559
- }
1560
- else {
1561
- return { 'max': true };
1562
- }
1563
- };
1564
- };
1565
- /**
1566
- * @param {?} number
1567
- * @return {?}
1568
- */
1569
- FormValidators.min = function (number) {
1570
- var /** @type {?} */ min = number;
1571
- return function (control) {
1572
- //tslint:disable-next-line
1573
- var /** @type {?} */ result = ((FormValidator)).checkValidator.min({ value: control.value, param: min });
1574
- if (result === true) {
1575
- return null;
1576
- }
1577
- else {
1578
- return { 'min': true };
1579
- }
1580
- };
1581
- };
1582
- /**
1583
- * @param {?} control
1584
- * @return {?}
1585
- */
1586
- FormValidators.creditcard = function (control) {
1587
- //tslint:disable-next-line
1588
- var /** @type {?} */ result = ((FormValidator)).checkValidator.creditcard({ value: control.value });
1589
- if (result === true) {
1590
- return null;
1591
- }
1592
- else {
1593
- return { 'cardno': true };
1594
- }
1595
- };
1596
- /**
1597
- * @param {?} control
1598
- * @return {?}
1599
- */
1600
- FormValidators.date = function (control) {
1601
- //tslint:disable-next-line
1602
- var /** @type {?} */ result = ((FormValidator)).checkValidator.date({ value: control.value });
1603
- if (result === true) {
1604
- return null;
1605
- }
1606
- else {
1607
- return { 'date': true };
1608
- }
1609
- };
1610
- /**
1611
- * @param {?} control
1612
- * @return {?}
1613
- */
1614
- FormValidators.dateIso = function (control) {
1615
- //tslint:disable-next-line
1616
- var /** @type {?} */ result = ((FormValidator)).checkValidator.dateIso({ value: control.value });
1617
- if (result === true) {
1618
- return null;
1619
- }
1620
- else {
1621
- return { 'dateiso': true };
1622
- }
1623
- };
1624
- /**
1625
- * @param {?} control
1626
- * @return {?}
1627
- */
1628
- FormValidators.digits = function (control) {
1629
- //tslint:disable-next-line
1630
- var /** @type {?} */ result = ((FormValidator)).checkValidator.digits({ value: control.value });
1631
- if (result === true) {
1632
- return null;
1633
- }
1634
- else {
1635
- return { 'digit': true };
1636
- }
1637
- };
1638
- /**
1639
- * @param {?} control
1640
- * @return {?}
1641
- */
1642
- FormValidators.email = function (control) {
1643
- //tslint:disable-next-line
1644
- var /** @type {?} */ result = ((FormValidator)).checkValidator.email({ value: control.value });
1645
- if (result === true) {
1646
- return null;
1647
- }
1648
- else {
1649
- return { 'email': true };
1650
- }
1651
- };
1652
- /**
1653
- * @param {?} number
1654
- * @return {?}
1655
- */
1656
- FormValidators.maxLength = function (number) {
1657
- var /** @type {?} */ maxlength = number;
1658
- return function (control) {
1659
- //tslint:disable-next-line
1660
- var /** @type {?} */ result = ((FormValidator)).checkValidator.maxLength({ value: control.value, param: maxlength });
1661
- if (result === true) {
1662
- return null;
1663
- }
1664
- else {
1665
- return { 'maxlength': true };
1666
- }
1667
- };
1668
- };
1669
- /**
1670
- * @param {?} number
1671
- * @return {?}
1672
- */
1673
- FormValidators.minLength = function (number) {
1674
- var /** @type {?} */ minlength = number;
1675
- return function (control) {
1676
- //tslint:disable-next-line
1677
- var /** @type {?} */ result = ((FormValidator)).checkValidator.minLength({ value: control.value, param: minlength });
1678
- if (result === true) {
1679
- return null;
1680
- }
1681
- else {
1682
- return { 'minlength': true };
1683
- }
1684
- };
1685
- };
1686
- /**
1687
- * @param {?} control
1688
- * @return {?}
1689
- */
1690
- FormValidators.number = function (control) {
1691
- //tslint:disable-next-line
1692
- var /** @type {?} */ result = ((FormValidator)).checkValidator.number({ value: control.value });
1693
- if (result === true) {
1694
- return null;
1695
- }
1696
- else {
1697
- return { 'number': true };
1698
- }
1699
- };
1700
- /**
1701
- * @param {?} control
1702
- * @return {?}
1703
- */
1704
- FormValidators.required = function (control) {
1705
- //tslint:disable-next-line
1706
- var /** @type {?} */ result = (control.value === null) ? false : ((FormValidator)).checkValidator.required({ value: control.value });
1707
- if (result === true) {
1708
- return null;
1709
- }
1710
- else {
1711
- return { 'required': true };
1712
- }
1713
- };
1714
- /**
1715
- * @param {?} control
1716
- * @return {?}
1717
- */
1718
- FormValidators.tel = function (control) {
1719
- //tslint:disable-next-line
1720
- var /** @type {?} */ result = ((FormValidator)).checkValidator.tel({ value: control.value });
1721
- if (result === true) {
1722
- return null;
1723
- }
1724
- else {
1725
- return { 'telno': true };
1726
- }
1727
- };
1728
- /**
1729
- * @param {?} control
1730
- * @return {?}
1731
- */
1732
- FormValidators.url = function (control) {
1733
- //tslint:disable-next-line
1734
- var /** @type {?} */ result = ((FormValidator)).checkValidator.url({ value: control.value });
1735
- if (result === true) {
1736
- return null;
1737
- }
1738
- else {
1739
- return { 'url': true };
1740
- }
1741
- };
1742
- /**
1743
- * @param {?} number1
1744
- * @param {?} number2
1745
- * @return {?}
1746
- */
1747
- FormValidators.rangeLength = function (number1, number2) {
1748
- var /** @type {?} */ minRL = number1;
1749
- var /** @type {?} */ maxRL = number2;
1750
- //tslint:disable-next-line
1751
- var /** @type {?} */ param = [minRL, maxRL];
1752
- return function (control) {
1753
- //tslint:disable-next-line
1754
- var /** @type {?} */ result = ((FormValidator)).checkValidator.rangeLength({ value: control.value, param: param });
1755
- if (result === true) {
1756
- return null;
1757
- }
1758
- else {
1759
- return { 'rangelength': true };
1760
- }
1761
- };
1762
- };
1763
- /**
1764
- * @param {?} number1
1765
- * @param {?} number2
1766
- * @return {?}
1767
- */
1768
- FormValidators.range = function (number1, number2) {
1769
- var /** @type {?} */ minR = number1;
1770
- var /** @type {?} */ maxR = number2;
1771
- //tslint:disable-next-line
1772
- var /** @type {?} */ param1 = [minR, maxR];
1773
- return function (control) {
1774
- //tslint:disable-next-line
1775
- var /** @type {?} */ result = ((FormValidator)).checkValidator.range({ value: control.value, param: param1 });
1776
- if (result === true) {
1777
- return null;
1778
- }
1779
- else {
1780
- return { 'range': true };
1781
- }
1782
- };
1783
- };
1784
- return FormValidators;
1785
- }());
1786
- /**
1787
- * Generated bundle index. Do not edit.
1788
- */
1789
- export { TextBoxComponent, TextBoxModule, TextBoxAllModule, NumericTextBoxComponent, NumericTextBoxModule, NumericTextBoxAllModule, MaskedTextBoxComponent, MaskedTextBoxModule, MaskedTextBoxAllModule, SliderComponent, SliderModule, SliderAllModule, UploadedFilesDirective, FilesDirective, UploaderComponent, UploaderModule, UploaderAllModule, ColorPickerComponent, ColorPickerModule, ColorPickerAllModule, SignatureComponent, SignatureModule, SignatureAllModule, RatingComponent, RatingModule, RatingAllModule, FormValidators, inputs$5 as ɵk, outputs$6 as ɵl, inputs$2 as ɵe, outputs$2 as ɵf, inputs$1 as ɵc, outputs$1 as ɵd, inputs$7 as ɵo, outputs$8 as ɵp, inputs$6 as ɵm, outputs$7 as ɵn, inputs$3 as ɵg, outputs$3 as ɵh, inputs as ɵa, outputs as ɵb, inputs$4 as ɵi, outputs$5 as ɵj };
1790
- export { NumericTextBox, regularExpressions, createMask, applyMask, wireEvents, unwireEvents, bindClearEvent, unstrippedValue, strippedValue, maskInputMouseDownHandler, maskInputMouseUpHandler, maskInputFocusHandler, triggerFocus, escapeRegExp, maskInputBlurHandler, maskInputDropHandler, mobileRemoveFunction, setMaskValue, setElementValue, maskInput, getVal, getMaskedVal, MaskUndo, MaskedTextBox, Input, TicksData, ColorRangeData, LimitData, TooltipData, Slider, regex, ErrorOption, FormValidator, FilesProp, ButtonsProps, AsyncSettings, Uploader, ColorPicker, TextBox, Signature, LabelPosition, PrecisionType, Rating, SignatureBase } from '@syncfusion/ej2-inputs';
1791
- //# sourceMappingURL=ej2-angular-inputs.es5.js.map