smart-webcomponents 18.0.0 → 18.0.1

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 (737) hide show
  1. package/package.json +1 -1
  2. package/source/angular/accordion/index.ts +1 -0
  3. package/source/angular/accordion/public_api.ts +5 -0
  4. package/source/angular/accordion/smart.accordion.module.ts +13 -0
  5. package/source/angular/accordion/smart.accordion.ts +370 -0
  6. package/source/angular/accordion/smart.accordionitem.ts +142 -0
  7. package/source/angular/accordion/smart.element.ts +104 -0
  8. package/source/angular/array/index.ts +1 -0
  9. package/source/angular/array/public_api.ts +3 -0
  10. package/source/angular/array/smart.array.module.ts +12 -0
  11. package/source/angular/array/smart.array.ts +817 -0
  12. package/source/angular/array/smart.element.ts +104 -0
  13. package/source/angular/barcode/index.ts +1 -0
  14. package/source/angular/barcode/public_api.ts +3 -0
  15. package/source/angular/barcode/smart.barcode.module.ts +12 -0
  16. package/source/angular/barcode/smart.barcode.ts +306 -0
  17. package/source/angular/barcode/smart.element.ts +104 -0
  18. package/source/angular/bootstrap/bootstrap.button.ts +160 -0
  19. package/source/angular/bootstrap/bootstrap.checkbox.ts +165 -0
  20. package/source/angular/bootstrap/bootstrap.circular.ts +151 -0
  21. package/source/angular/bootstrap/bootstrap.dropdown.ts +253 -0
  22. package/source/angular/bootstrap/bootstrap.fileinput.ts +133 -0
  23. package/source/angular/bootstrap/bootstrap.input.ts +160 -0
  24. package/source/angular/bootstrap/bootstrap.inputgroup.ts +178 -0
  25. package/source/angular/bootstrap/bootstrap.modal.ts +204 -0
  26. package/source/angular/bootstrap/bootstrap.progressbar.ts +151 -0
  27. package/source/angular/bootstrap/bootstrap.radiobutton.ts +156 -0
  28. package/source/angular/bootstrap/bootstrap.range.ts +133 -0
  29. package/source/angular/bootstrap/bootstrap.splitbutton.ts +253 -0
  30. package/source/angular/bootstrap/bootstrap.switchbutton.ts +165 -0
  31. package/source/angular/bootstrap/bootstrap.tabs.ts +175 -0
  32. package/source/angular/bootstrap/bootstrap.textarea.ts +160 -0
  33. package/source/angular/bootstrap/bootstrap.togglebutton.ts +156 -0
  34. package/source/angular/bootstrap/index.ts +1 -0
  35. package/source/angular/bootstrap/public_api.ts +17 -0
  36. package/source/angular/bootstrap/smart.element.ts +104 -0
  37. package/source/angular/breadcrumb/index.ts +1 -0
  38. package/source/angular/breadcrumb/public_api.ts +3 -0
  39. package/source/angular/breadcrumb/smart.breadcrumb.module.ts +12 -0
  40. package/source/angular/breadcrumb/smart.breadcrumb.ts +306 -0
  41. package/source/angular/breadcrumb/smart.element.ts +104 -0
  42. package/source/angular/button/index.ts +1 -0
  43. package/source/angular/button/public_api.ts +9 -0
  44. package/source/angular/button/smart.button.module.ts +15 -0
  45. package/source/angular/button/smart.button.ts +230 -0
  46. package/source/angular/button/smart.element.ts +104 -0
  47. package/source/angular/button/smart.powerbutton.ts +283 -0
  48. package/source/angular/button/smart.repeatbutton.ts +214 -0
  49. package/source/angular/button/smart.togglebutton.ts +235 -0
  50. package/source/angular/buttongroup/index.ts +1 -0
  51. package/source/angular/buttongroup/public_api.ts +3 -0
  52. package/source/angular/buttongroup/smart.buttongroup.module.ts +12 -0
  53. package/source/angular/buttongroup/smart.buttongroup.ts +229 -0
  54. package/source/angular/buttongroup/smart.element.ts +104 -0
  55. package/source/angular/calendar/index.ts +1 -0
  56. package/source/angular/calendar/public_api.ts +3 -0
  57. package/source/angular/calendar/smart.calendar.module.ts +12 -0
  58. package/source/angular/calendar/smart.calendar.ts +787 -0
  59. package/source/angular/calendar/smart.element.ts +104 -0
  60. package/source/angular/card/index.ts +1 -0
  61. package/source/angular/card/public_api.ts +3 -0
  62. package/source/angular/card/smart.card.module.ts +12 -0
  63. package/source/angular/card/smart.card.ts +220 -0
  64. package/source/angular/card/smart.element.ts +104 -0
  65. package/source/angular/cardview/index.ts +1 -0
  66. package/source/angular/cardview/public_api.ts +3 -0
  67. package/source/angular/cardview/smart.cardview.module.ts +12 -0
  68. package/source/angular/cardview/smart.cardview.ts +573 -0
  69. package/source/angular/cardview/smart.element.ts +104 -0
  70. package/source/angular/carousel/index.ts +1 -0
  71. package/source/angular/carousel/public_api.ts +3 -0
  72. package/source/angular/carousel/smart.carousel.module.ts +12 -0
  73. package/source/angular/carousel/smart.carousel.ts +414 -0
  74. package/source/angular/carousel/smart.element.ts +104 -0
  75. package/source/angular/chart/index.ts +1 -0
  76. package/source/angular/chart/public_api.ts +3 -0
  77. package/source/angular/chart/smart.chart.module.ts +12 -0
  78. package/source/angular/chart/smart.chart.ts +930 -0
  79. package/source/angular/chart/smart.element.ts +104 -0
  80. package/source/angular/checkbox/index.ts +1 -0
  81. package/source/angular/checkbox/public_api.ts +3 -0
  82. package/source/angular/checkbox/smart.checkbox.module.ts +12 -0
  83. package/source/angular/checkbox/smart.checkbox.ts +341 -0
  84. package/source/angular/checkbox/smart.element.ts +104 -0
  85. package/source/angular/checkinput/index.ts +1 -0
  86. package/source/angular/checkinput/public_api.ts +3 -0
  87. package/source/angular/checkinput/smart.checkinput.module.ts +12 -0
  88. package/source/angular/checkinput/smart.checkinput.ts +497 -0
  89. package/source/angular/checkinput/smart.element.ts +104 -0
  90. package/source/angular/chip/index.ts +1 -0
  91. package/source/angular/chip/public_api.ts +3 -0
  92. package/source/angular/chip/smart.chip.module.ts +12 -0
  93. package/source/angular/chip/smart.chip.ts +221 -0
  94. package/source/angular/chip/smart.element.ts +104 -0
  95. package/source/angular/colorinput/index.ts +1 -0
  96. package/source/angular/colorinput/public_api.ts +3 -0
  97. package/source/angular/colorinput/smart.colorinput.module.ts +12 -0
  98. package/source/angular/colorinput/smart.colorinput.ts +456 -0
  99. package/source/angular/colorinput/smart.element.ts +104 -0
  100. package/source/angular/colorpanel/index.ts +1 -0
  101. package/source/angular/colorpanel/public_api.ts +3 -0
  102. package/source/angular/colorpanel/smart.colorpanel.module.ts +12 -0
  103. package/source/angular/colorpanel/smart.colorpanel.ts +501 -0
  104. package/source/angular/colorpanel/smart.element.ts +104 -0
  105. package/source/angular/colorpicker/index.ts +1 -0
  106. package/source/angular/colorpicker/public_api.ts +3 -0
  107. package/source/angular/colorpicker/smart.colorpicker.module.ts +12 -0
  108. package/source/angular/colorpicker/smart.colorpicker.ts +756 -0
  109. package/source/angular/colorpicker/smart.element.ts +104 -0
  110. package/source/angular/columnpanel/index.ts +1 -0
  111. package/source/angular/columnpanel/public_api.ts +3 -0
  112. package/source/angular/columnpanel/smart.columnpanel.module.ts +12 -0
  113. package/source/angular/columnpanel/smart.columnpanel.ts +183 -0
  114. package/source/angular/columnpanel/smart.element.ts +104 -0
  115. package/source/angular/combobox/index.ts +1 -0
  116. package/source/angular/combobox/public_api.ts +7 -0
  117. package/source/angular/combobox/smart.combobox.module.ts +14 -0
  118. package/source/angular/combobox/smart.combobox.ts +1154 -0
  119. package/source/angular/combobox/smart.element.ts +104 -0
  120. package/source/angular/combobox/smart.listitem.ts +162 -0
  121. package/source/angular/combobox/smart.listitemsgroup.ts +72 -0
  122. package/source/angular/countryinput/index.ts +1 -0
  123. package/source/angular/countryinput/public_api.ts +3 -0
  124. package/source/angular/countryinput/smart.countryinput.module.ts +12 -0
  125. package/source/angular/countryinput/smart.countryinput.ts +391 -0
  126. package/source/angular/countryinput/smart.element.ts +104 -0
  127. package/source/angular/customizationdialog/index.ts +1 -0
  128. package/source/angular/customizationdialog/public_api.ts +3 -0
  129. package/source/angular/customizationdialog/smart.customizationdialog.module.ts +12 -0
  130. package/source/angular/customizationdialog/smart.customizationdialog.ts +311 -0
  131. package/source/angular/customizationdialog/smart.element.ts +104 -0
  132. package/source/angular/dateinput/index.ts +1 -0
  133. package/source/angular/dateinput/public_api.ts +3 -0
  134. package/source/angular/dateinput/smart.dateinput.module.ts +12 -0
  135. package/source/angular/dateinput/smart.dateinput.ts +465 -0
  136. package/source/angular/dateinput/smart.element.ts +104 -0
  137. package/source/angular/daterangeinput/index.ts +1 -0
  138. package/source/angular/daterangeinput/public_api.ts +3 -0
  139. package/source/angular/daterangeinput/smart.daterangeinput.module.ts +12 -0
  140. package/source/angular/daterangeinput/smart.daterangeinput.ts +456 -0
  141. package/source/angular/daterangeinput/smart.element.ts +104 -0
  142. package/source/angular/datetimepicker/index.ts +1 -0
  143. package/source/angular/datetimepicker/public_api.ts +3 -0
  144. package/source/angular/datetimepicker/smart.datetimepicker.module.ts +12 -0
  145. package/source/angular/datetimepicker/smart.datetimepicker.ts +835 -0
  146. package/source/angular/datetimepicker/smart.element.ts +104 -0
  147. package/source/angular/dockinglayout/index.ts +1 -0
  148. package/source/angular/dockinglayout/public_api.ts +3 -0
  149. package/source/angular/dockinglayout/smart.dockinglayout.module.ts +12 -0
  150. package/source/angular/dockinglayout/smart.dockinglayout.ts +866 -0
  151. package/source/angular/dockinglayout/smart.element.ts +104 -0
  152. package/source/angular/dropdownbutton/index.ts +1 -0
  153. package/source/angular/dropdownbutton/public_api.ts +3 -0
  154. package/source/angular/dropdownbutton/smart.dropdownbutton.module.ts +12 -0
  155. package/source/angular/dropdownbutton/smart.dropdownbutton.ts +542 -0
  156. package/source/angular/dropdownbutton/smart.element.ts +104 -0
  157. package/source/angular/dropdownlist/index.ts +1 -0
  158. package/source/angular/dropdownlist/public_api.ts +7 -0
  159. package/source/angular/dropdownlist/smart.dropdownlist.module.ts +14 -0
  160. package/source/angular/dropdownlist/smart.dropdownlist.ts +1111 -0
  161. package/source/angular/dropdownlist/smart.element.ts +104 -0
  162. package/source/angular/dropdownlist/smart.listitem.ts +162 -0
  163. package/source/angular/dropdownlist/smart.listitemsgroup.ts +72 -0
  164. package/source/angular/editor/index.ts +1 -0
  165. package/source/angular/editor/public_api.ts +3 -0
  166. package/source/angular/editor/smart.editor.module.ts +12 -0
  167. package/source/angular/editor/smart.editor.ts +1353 -0
  168. package/source/angular/editor/smart.element.ts +104 -0
  169. package/source/angular/element/index.ts +1 -0
  170. package/source/angular/element/public_api.ts +3 -0
  171. package/source/angular/element/smart.element.module.ts +10 -0
  172. package/source/angular/element/smart.element.ts +104 -0
  173. package/source/angular/fileupload/index.ts +1 -0
  174. package/source/angular/fileupload/public_api.ts +3 -0
  175. package/source/angular/fileupload/smart.element.ts +104 -0
  176. package/source/angular/fileupload/smart.fileupload.module.ts +12 -0
  177. package/source/angular/fileupload/smart.fileupload.ts +517 -0
  178. package/source/angular/filterbuilder/index.ts +1 -0
  179. package/source/angular/filterbuilder/public_api.ts +3 -0
  180. package/source/angular/filterbuilder/smart.element.ts +104 -0
  181. package/source/angular/filterbuilder/smart.filterbuilder.module.ts +12 -0
  182. package/source/angular/filterbuilder/smart.filterbuilder.ts +506 -0
  183. package/source/angular/filterpanel/index.ts +1 -0
  184. package/source/angular/filterpanel/public_api.ts +3 -0
  185. package/source/angular/filterpanel/smart.element.ts +104 -0
  186. package/source/angular/filterpanel/smart.filterpanel.module.ts +12 -0
  187. package/source/angular/filterpanel/smart.filterpanel.ts +334 -0
  188. package/source/angular/form/index.ts +1 -0
  189. package/source/angular/form/public_api.ts +7 -0
  190. package/source/angular/form/smart.element.ts +104 -0
  191. package/source/angular/form/smart.form.module.ts +14 -0
  192. package/source/angular/form/smart.form.ts +288 -0
  193. package/source/angular/form/smart.formcontrol.ts +336 -0
  194. package/source/angular/form/smart.formgroup.ts +238 -0
  195. package/source/angular/ganttchart/index.ts +1 -0
  196. package/source/angular/ganttchart/public_api.ts +3 -0
  197. package/source/angular/ganttchart/smart.element.ts +104 -0
  198. package/source/angular/ganttchart/smart.ganttchart.module.ts +12 -0
  199. package/source/angular/ganttchart/smart.ganttchart.ts +2214 -0
  200. package/source/angular/gauge/index.ts +1 -0
  201. package/source/angular/gauge/public_api.ts +3 -0
  202. package/source/angular/gauge/smart.element.ts +104 -0
  203. package/source/angular/gauge/smart.gauge.module.ts +12 -0
  204. package/source/angular/gauge/smart.gauge.ts +650 -0
  205. package/source/angular/grid/index.ts +1 -0
  206. package/source/angular/grid/public_api.ts +3 -0
  207. package/source/angular/grid/smart.element.ts +104 -0
  208. package/source/angular/grid/smart.grid.module.ts +12 -0
  209. package/source/angular/grid/smart.grid.ts +3154 -0
  210. package/source/angular/grouppanel/index.ts +1 -0
  211. package/source/angular/grouppanel/public_api.ts +3 -0
  212. package/source/angular/grouppanel/smart.element.ts +104 -0
  213. package/source/angular/grouppanel/smart.grouppanel.module.ts +12 -0
  214. package/source/angular/grouppanel/smart.grouppanel.ts +220 -0
  215. package/source/angular/index.d.ts +33688 -0
  216. package/source/angular/input/index.ts +1 -0
  217. package/source/angular/input/public_api.ts +3 -0
  218. package/source/angular/input/smart.element.ts +104 -0
  219. package/source/angular/input/smart.input.module.ts +12 -0
  220. package/source/angular/input/smart.input.ts +590 -0
  221. package/source/angular/kanban/index.ts +1 -0
  222. package/source/angular/kanban/public_api.ts +3 -0
  223. package/source/angular/kanban/smart.element.ts +104 -0
  224. package/source/angular/kanban/smart.kanban.module.ts +12 -0
  225. package/source/angular/kanban/smart.kanban.ts +1700 -0
  226. package/source/angular/layout/index.ts +1 -0
  227. package/source/angular/layout/public_api.ts +11 -0
  228. package/source/angular/layout/smart.element.ts +104 -0
  229. package/source/angular/layout/smart.layout.module.ts +16 -0
  230. package/source/angular/layout/smart.layout.ts +363 -0
  231. package/source/angular/layout/smart.layoutgroup.ts +140 -0
  232. package/source/angular/layout/smart.layoutitem.ts +129 -0
  233. package/source/angular/layout/smart.tablayoutgroup.ts +147 -0
  234. package/source/angular/layout/smart.tablayoutitem.ts +138 -0
  235. package/source/angular/led/index.ts +1 -0
  236. package/source/angular/led/public_api.ts +3 -0
  237. package/source/angular/led/smart.element.ts +104 -0
  238. package/source/angular/led/smart.led.module.ts +12 -0
  239. package/source/angular/led/smart.led.ts +280 -0
  240. package/source/angular/listbox/index.ts +1 -0
  241. package/source/angular/listbox/public_api.ts +7 -0
  242. package/source/angular/listbox/smart.element.ts +104 -0
  243. package/source/angular/listbox/smart.listbox.module.ts +14 -0
  244. package/source/angular/listbox/smart.listbox.ts +1036 -0
  245. package/source/angular/listbox/smart.listitem.ts +162 -0
  246. package/source/angular/listbox/smart.listitemsgroup.ts +72 -0
  247. package/source/angular/listmenu/index.ts +1 -0
  248. package/source/angular/listmenu/public_api.ts +7 -0
  249. package/source/angular/listmenu/smart.element.ts +104 -0
  250. package/source/angular/listmenu/smart.listmenu.module.ts +14 -0
  251. package/source/angular/listmenu/smart.listmenu.ts +597 -0
  252. package/source/angular/listmenu/smart.menuitem.ts +126 -0
  253. package/source/angular/listmenu/smart.menuitemsgroup.ts +153 -0
  254. package/source/angular/map/index.ts +1 -0
  255. package/source/angular/map/public_api.ts +3 -0
  256. package/source/angular/map/smart.element.ts +104 -0
  257. package/source/angular/map/smart.map.module.ts +12 -0
  258. package/source/angular/map/smart.map.ts +128 -0
  259. package/source/angular/maskedtextbox/index.ts +1 -0
  260. package/source/angular/maskedtextbox/public_api.ts +3 -0
  261. package/source/angular/maskedtextbox/smart.element.ts +104 -0
  262. package/source/angular/maskedtextbox/smart.maskedtextbox.module.ts +12 -0
  263. package/source/angular/maskedtextbox/smart.maskedtextbox.ts +539 -0
  264. package/source/angular/menu/index.ts +1 -0
  265. package/source/angular/menu/public_api.ts +7 -0
  266. package/source/angular/menu/smart.element.ts +104 -0
  267. package/source/angular/menu/smart.menu.module.ts +14 -0
  268. package/source/angular/menu/smart.menu.ts +695 -0
  269. package/source/angular/menu/smart.menuitem.ts +126 -0
  270. package/source/angular/menu/smart.menuitemsgroup.ts +153 -0
  271. package/source/angular/multicolumnfilterpanel/index.ts +1 -0
  272. package/source/angular/multicolumnfilterpanel/public_api.ts +3 -0
  273. package/source/angular/multicolumnfilterpanel/smart.element.ts +104 -0
  274. package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.module.ts +12 -0
  275. package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.ts +256 -0
  276. package/source/angular/multicomboinput/index.ts +1 -0
  277. package/source/angular/multicomboinput/public_api.ts +3 -0
  278. package/source/angular/multicomboinput/smart.element.ts +104 -0
  279. package/source/angular/multicomboinput/smart.multicomboinput.module.ts +12 -0
  280. package/source/angular/multicomboinput/smart.multicomboinput.ts +542 -0
  281. package/source/angular/multiinput/index.ts +1 -0
  282. package/source/angular/multiinput/public_api.ts +3 -0
  283. package/source/angular/multiinput/smart.element.ts +104 -0
  284. package/source/angular/multiinput/smart.multiinput.module.ts +12 -0
  285. package/source/angular/multiinput/smart.multiinput.ts +497 -0
  286. package/source/angular/multilinetextbox/index.ts +1 -0
  287. package/source/angular/multilinetextbox/public_api.ts +7 -0
  288. package/source/angular/multilinetextbox/smart.element.ts +104 -0
  289. package/source/angular/multilinetextbox/smart.listitem.ts +162 -0
  290. package/source/angular/multilinetextbox/smart.listitemsgroup.ts +72 -0
  291. package/source/angular/multilinetextbox/smart.multilinetextbox.module.ts +14 -0
  292. package/source/angular/multilinetextbox/smart.multilinetextbox.ts +561 -0
  293. package/source/angular/multisplitbutton/index.ts +1 -0
  294. package/source/angular/multisplitbutton/public_api.ts +7 -0
  295. package/source/angular/multisplitbutton/smart.element.ts +104 -0
  296. package/source/angular/multisplitbutton/smart.listitem.ts +162 -0
  297. package/source/angular/multisplitbutton/smart.listitemsgroup.ts +72 -0
  298. package/source/angular/multisplitbutton/smart.multisplitbutton.module.ts +14 -0
  299. package/source/angular/multisplitbutton/smart.multisplitbutton.ts +620 -0
  300. package/source/angular/numberinput/index.ts +1 -0
  301. package/source/angular/numberinput/public_api.ts +3 -0
  302. package/source/angular/numberinput/smart.element.ts +104 -0
  303. package/source/angular/numberinput/smart.numberinput.module.ts +12 -0
  304. package/source/angular/numberinput/smart.numberinput.ts +398 -0
  305. package/source/angular/numerictextbox/index.ts +1 -0
  306. package/source/angular/numerictextbox/public_api.ts +3 -0
  307. package/source/angular/numerictextbox/smart.element.ts +104 -0
  308. package/source/angular/numerictextbox/smart.numerictextbox.module.ts +12 -0
  309. package/source/angular/numerictextbox/smart.numerictextbox.ts +648 -0
  310. package/source/angular/pager/index.ts +1 -0
  311. package/source/angular/pager/public_api.ts +3 -0
  312. package/source/angular/pager/smart.element.ts +104 -0
  313. package/source/angular/pager/smart.pager.module.ts +12 -0
  314. package/source/angular/pager/smart.pager.ts +386 -0
  315. package/source/angular/passwordinput/index.ts +1 -0
  316. package/source/angular/passwordinput/public_api.ts +3 -0
  317. package/source/angular/passwordinput/smart.element.ts +104 -0
  318. package/source/angular/passwordinput/smart.passwordinput.module.ts +12 -0
  319. package/source/angular/passwordinput/smart.passwordinput.ts +218 -0
  320. package/source/angular/passwordtextbox/index.ts +1 -0
  321. package/source/angular/passwordtextbox/public_api.ts +3 -0
  322. package/source/angular/passwordtextbox/smart.element.ts +104 -0
  323. package/source/angular/passwordtextbox/smart.passwordtextbox.module.ts +12 -0
  324. package/source/angular/passwordtextbox/smart.passwordtextbox.ts +463 -0
  325. package/source/angular/path/index.ts +1 -0
  326. package/source/angular/path/public_api.ts +3 -0
  327. package/source/angular/path/smart.element.ts +104 -0
  328. package/source/angular/path/smart.path.module.ts +12 -0
  329. package/source/angular/path/smart.path.ts +491 -0
  330. package/source/angular/phoneinput/index.ts +1 -0
  331. package/source/angular/phoneinput/public_api.ts +3 -0
  332. package/source/angular/phoneinput/smart.element.ts +104 -0
  333. package/source/angular/phoneinput/smart.phoneinput.module.ts +12 -0
  334. package/source/angular/phoneinput/smart.phoneinput.ts +493 -0
  335. package/source/angular/pivottable/index.ts +1 -0
  336. package/source/angular/pivottable/public_api.ts +3 -0
  337. package/source/angular/pivottable/smart.element.ts +104 -0
  338. package/source/angular/pivottable/smart.pivottable.module.ts +12 -0
  339. package/source/angular/pivottable/smart.pivottable.ts +840 -0
  340. package/source/angular/progressbar/index.ts +1 -0
  341. package/source/angular/progressbar/public_api.ts +5 -0
  342. package/source/angular/progressbar/smart.circularprogressbar.ts +223 -0
  343. package/source/angular/progressbar/smart.element.ts +104 -0
  344. package/source/angular/progressbar/smart.progressbar.module.ts +13 -0
  345. package/source/angular/progressbar/smart.progressbar.ts +235 -0
  346. package/source/angular/qrcode/index.ts +1 -0
  347. package/source/angular/qrcode/public_api.ts +3 -0
  348. package/source/angular/qrcode/smart.element.ts +104 -0
  349. package/source/angular/qrcode/smart.qrcode.module.ts +12 -0
  350. package/source/angular/qrcode/smart.qrcode.ts +333 -0
  351. package/source/angular/querybuilder/index.ts +1 -0
  352. package/source/angular/querybuilder/public_api.ts +3 -0
  353. package/source/angular/querybuilder/smart.element.ts +104 -0
  354. package/source/angular/querybuilder/smart.querybuilder.module.ts +12 -0
  355. package/source/angular/querybuilder/smart.querybuilder.ts +460 -0
  356. package/source/angular/radiobutton/index.ts +1 -0
  357. package/source/angular/radiobutton/public_api.ts +3 -0
  358. package/source/angular/radiobutton/smart.element.ts +104 -0
  359. package/source/angular/radiobutton/smart.radiobutton.module.ts +12 -0
  360. package/source/angular/radiobutton/smart.radiobutton.ts +350 -0
  361. package/source/angular/rating/index.ts +1 -0
  362. package/source/angular/rating/public_api.ts +3 -0
  363. package/source/angular/rating/smart.element.ts +104 -0
  364. package/source/angular/rating/smart.rating.module.ts +12 -0
  365. package/source/angular/rating/smart.rating.ts +309 -0
  366. package/source/angular/ribbon/index.ts +1 -0
  367. package/source/angular/ribbon/public_api.ts +9 -0
  368. package/source/angular/ribbon/smart.element.ts +104 -0
  369. package/source/angular/ribbon/smart.ribbon.module.ts +15 -0
  370. package/source/angular/ribbon/smart.ribbon.ts +427 -0
  371. package/source/angular/ribbon/smart.ribbongroup.ts +126 -0
  372. package/source/angular/ribbon/smart.ribbonitem.ts +180 -0
  373. package/source/angular/ribbon/smart.ribbontab.ts +99 -0
  374. package/source/angular/scheduler/index.ts +1 -0
  375. package/source/angular/scheduler/public_api.ts +3 -0
  376. package/source/angular/scheduler/smart.element.ts +104 -0
  377. package/source/angular/scheduler/smart.scheduler.module.ts +12 -0
  378. package/source/angular/scheduler/smart.scheduler.ts +2337 -0
  379. package/source/angular/scrollbar/index.ts +1 -0
  380. package/source/angular/scrollbar/public_api.ts +3 -0
  381. package/source/angular/scrollbar/smart.element.ts +104 -0
  382. package/source/angular/scrollbar/smart.scrollbar.module.ts +12 -0
  383. package/source/angular/scrollbar/smart.scrollbar.ts +260 -0
  384. package/source/angular/slider/index.ts +1 -0
  385. package/source/angular/slider/public_api.ts +3 -0
  386. package/source/angular/slider/smart.element.ts +104 -0
  387. package/source/angular/slider/smart.slider.module.ts +12 -0
  388. package/source/angular/slider/smart.slider.ts +632 -0
  389. package/source/angular/sortable/index.ts +1 -0
  390. package/source/angular/sortable/public_api.ts +3 -0
  391. package/source/angular/sortable/smart.element.ts +104 -0
  392. package/source/angular/sortable/smart.sortable.module.ts +12 -0
  393. package/source/angular/sortable/smart.sortable.ts +217 -0
  394. package/source/angular/sortpanel/index.ts +1 -0
  395. package/source/angular/sortpanel/public_api.ts +3 -0
  396. package/source/angular/sortpanel/smart.element.ts +104 -0
  397. package/source/angular/sortpanel/smart.sortpanel.module.ts +12 -0
  398. package/source/angular/sortpanel/smart.sortpanel.ts +180 -0
  399. package/source/angular/splitter/index.ts +1 -0
  400. package/source/angular/splitter/public_api.ts +7 -0
  401. package/source/angular/splitter/smart.element.ts +104 -0
  402. package/source/angular/splitter/smart.splitter.module.ts +14 -0
  403. package/source/angular/splitter/smart.splitter.ts +530 -0
  404. package/source/angular/splitter/smart.splitterbar.ts +121 -0
  405. package/source/angular/splitter/smart.splitteritem.ts +192 -0
  406. package/source/angular/switchbutton/index.ts +1 -0
  407. package/source/angular/switchbutton/public_api.ts +3 -0
  408. package/source/angular/switchbutton/smart.element.ts +104 -0
  409. package/source/angular/switchbutton/smart.switchbutton.module.ts +12 -0
  410. package/source/angular/switchbutton/smart.switchbutton.ts +386 -0
  411. package/source/angular/table/index.ts +1 -0
  412. package/source/angular/table/public_api.ts +3 -0
  413. package/source/angular/table/smart.element.ts +104 -0
  414. package/source/angular/table/smart.table.module.ts +12 -0
  415. package/source/angular/table/smart.table.ts +1507 -0
  416. package/source/angular/tabs/index.ts +1 -0
  417. package/source/angular/tabs/public_api.ts +7 -0
  418. package/source/angular/tabs/smart.element.ts +104 -0
  419. package/source/angular/tabs/smart.tabitem.ts +126 -0
  420. package/source/angular/tabs/smart.tabitemsgroup.ts +81 -0
  421. package/source/angular/tabs/smart.tabs.module.ts +14 -0
  422. package/source/angular/tabs/smart.tabs.ts +622 -0
  423. package/source/angular/tank/index.ts +1 -0
  424. package/source/angular/tank/public_api.ts +3 -0
  425. package/source/angular/tank/smart.element.ts +104 -0
  426. package/source/angular/tank/smart.tank.module.ts +12 -0
  427. package/source/angular/tank/smart.tank.ts +593 -0
  428. package/source/angular/textarea/index.ts +1 -0
  429. package/source/angular/textarea/public_api.ts +3 -0
  430. package/source/angular/textarea/smart.element.ts +104 -0
  431. package/source/angular/textarea/smart.textarea.module.ts +12 -0
  432. package/source/angular/textarea/smart.textarea.ts +519 -0
  433. package/source/angular/textbox/index.ts +1 -0
  434. package/source/angular/textbox/public_api.ts +7 -0
  435. package/source/angular/textbox/smart.element.ts +104 -0
  436. package/source/angular/textbox/smart.listitem.ts +162 -0
  437. package/source/angular/textbox/smart.listitemsgroup.ts +72 -0
  438. package/source/angular/textbox/smart.textbox.module.ts +14 -0
  439. package/source/angular/textbox/smart.textbox.ts +708 -0
  440. package/source/angular/threedchart/index.ts +1 -0
  441. package/source/angular/threedchart/public_api.ts +3 -0
  442. package/source/angular/threedchart/smart.element.ts +104 -0
  443. package/source/angular/threedchart/smart.threedchart.module.ts +12 -0
  444. package/source/angular/threedchart/smart.threedchart.ts +1052 -0
  445. package/source/angular/timeinput/index.ts +1 -0
  446. package/source/angular/timeinput/public_api.ts +3 -0
  447. package/source/angular/timeinput/smart.element.ts +104 -0
  448. package/source/angular/timeinput/smart.timeinput.module.ts +12 -0
  449. package/source/angular/timeinput/smart.timeinput.ts +427 -0
  450. package/source/angular/timepicker/index.ts +1 -0
  451. package/source/angular/timepicker/public_api.ts +3 -0
  452. package/source/angular/timepicker/smart.element.ts +104 -0
  453. package/source/angular/timepicker/smart.timepicker.module.ts +12 -0
  454. package/source/angular/timepicker/smart.timepicker.ts +370 -0
  455. package/source/angular/toast/index.ts +1 -0
  456. package/source/angular/toast/public_api.ts +3 -0
  457. package/source/angular/toast/smart.element.ts +104 -0
  458. package/source/angular/toast/smart.toast.module.ts +12 -0
  459. package/source/angular/toast/smart.toast.ts +405 -0
  460. package/source/angular/tooltip/index.ts +1 -0
  461. package/source/angular/tooltip/public_api.ts +3 -0
  462. package/source/angular/tooltip/smart.element.ts +104 -0
  463. package/source/angular/tooltip/smart.tooltip.module.ts +12 -0
  464. package/source/angular/tooltip/smart.tooltip.ts +339 -0
  465. package/source/angular/tree/index.ts +1 -0
  466. package/source/angular/tree/public_api.ts +7 -0
  467. package/source/angular/tree/smart.element.ts +104 -0
  468. package/source/angular/tree/smart.tree.module.ts +14 -0
  469. package/source/angular/tree/smart.tree.ts +1042 -0
  470. package/source/angular/tree/smart.treeitem.ts +135 -0
  471. package/source/angular/tree/smart.treeitemsgroup.ts +135 -0
  472. package/source/angular/validator/index.ts +1 -0
  473. package/source/angular/validator/public_api.ts +3 -0
  474. package/source/angular/validator/smart.element.ts +104 -0
  475. package/source/angular/validator/smart.validator.module.ts +12 -0
  476. package/source/angular/validator/smart.validator.ts +124 -0
  477. package/source/angular/window/index.ts +1 -0
  478. package/source/angular/window/public_api.ts +3 -0
  479. package/source/angular/window/smart.element.ts +104 -0
  480. package/source/angular/window/smart.window.module.ts +12 -0
  481. package/source/angular/window/smart.window.ts +1180 -0
  482. package/source/react/accordion/accordion.jsx +508 -0
  483. package/source/react/accordion/accordion.tsx +516 -0
  484. package/source/react/accordion/accordionitem.jsx +257 -0
  485. package/source/react/accordion/accordionitem.tsx +279 -0
  486. package/source/react/alertwindow/alertwindow.jsx +1437 -0
  487. package/source/react/alertwindow/alertwindow.tsx +1399 -0
  488. package/source/react/array/array.jsx +953 -0
  489. package/source/react/array/array.tsx +959 -0
  490. package/source/react/barcode/barcode.jsx +442 -0
  491. package/source/react/barcode/barcode.tsx +468 -0
  492. package/source/react/breadcrumb/breadcrumb.jsx +445 -0
  493. package/source/react/breadcrumb/breadcrumb.tsx +455 -0
  494. package/source/react/button/button.jsx +377 -0
  495. package/source/react/button/button.tsx +409 -0
  496. package/source/react/button/powerbutton.jsx +347 -0
  497. package/source/react/button/powerbutton.tsx +373 -0
  498. package/source/react/button/repeatbutton.jsx +371 -0
  499. package/source/react/button/repeatbutton.tsx +397 -0
  500. package/source/react/button/togglebutton.jsx +383 -0
  501. package/source/react/button/togglebutton.tsx +401 -0
  502. package/source/react/buttongroup/buttongroup.jsx +386 -0
  503. package/source/react/buttongroup/buttongroup.tsx +412 -0
  504. package/source/react/calendar/calendar.jsx +914 -0
  505. package/source/react/calendar/calendar.tsx +916 -0
  506. package/source/react/card/card.jsx +359 -0
  507. package/source/react/card/card.tsx +373 -0
  508. package/source/react/cardview/cardview.jsx +710 -0
  509. package/source/react/cardview/cardview.tsx +706 -0
  510. package/source/react/carousel/carousel.jsx +592 -0
  511. package/source/react/carousel/carousel.tsx +606 -0
  512. package/source/react/chart/chart.jsx +1060 -0
  513. package/source/react/chart/chart.tsx +1046 -0
  514. package/source/react/checkbox/checkbox.jsx +407 -0
  515. package/source/react/checkbox/checkbox.tsx +425 -0
  516. package/source/react/checkinput/checkinput.jsx +612 -0
  517. package/source/react/checkinput/checkinput.tsx +638 -0
  518. package/source/react/chip/chip.jsx +375 -0
  519. package/source/react/chip/chip.tsx +401 -0
  520. package/source/react/colorinput/colorinput.jsx +562 -0
  521. package/source/react/colorinput/colorinput.tsx +588 -0
  522. package/source/react/colorpanel/colorpanel.jsx +616 -0
  523. package/source/react/colorpanel/colorpanel.tsx +630 -0
  524. package/source/react/colorpicker/colorpicker.jsx +892 -0
  525. package/source/react/colorpicker/colorpicker.tsx +874 -0
  526. package/source/react/columnpanel/columnpanel.jsx +322 -0
  527. package/source/react/columnpanel/columnpanel.tsx +344 -0
  528. package/source/react/combobox/combobox.jsx +1287 -0
  529. package/source/react/combobox/combobox.tsx +1277 -0
  530. package/source/react/combobox/listitem.jsx +325 -0
  531. package/source/react/combobox/listitem.tsx +355 -0
  532. package/source/react/combobox/listitemsgroup.jsx +205 -0
  533. package/source/react/combobox/listitemsgroup.tsx +235 -0
  534. package/source/react/countryinput/countryinput.jsx +455 -0
  535. package/source/react/countryinput/countryinput.tsx +473 -0
  536. package/source/react/customizationdialog/customizationdialog.jsx +471 -0
  537. package/source/react/customizationdialog/customizationdialog.tsx +485 -0
  538. package/source/react/dateinput/dateinput.jsx +559 -0
  539. package/source/react/dateinput/dateinput.tsx +585 -0
  540. package/source/react/daterangeinput/daterangeinput.jsx +562 -0
  541. package/source/react/daterangeinput/daterangeinput.tsx +588 -0
  542. package/source/react/datetimepicker/datetimepicker.jsx +1013 -0
  543. package/source/react/datetimepicker/datetimepicker.tsx +1023 -0
  544. package/source/react/dialogwindow/dialogwindow.jsx +1437 -0
  545. package/source/react/dialogwindow/dialogwindow.tsx +1399 -0
  546. package/source/react/dockinglayout/dockinglayout.jsx +969 -0
  547. package/source/react/dockinglayout/dockinglayout.tsx +975 -0
  548. package/source/react/dropdownbutton/dropdownbutton.jsx +711 -0
  549. package/source/react/dropdownbutton/dropdownbutton.tsx +709 -0
  550. package/source/react/dropdownlist/dropdownlist.jsx +1223 -0
  551. package/source/react/dropdownlist/dropdownlist.tsx +1209 -0
  552. package/source/react/dropdownlist/listitem.jsx +325 -0
  553. package/source/react/dropdownlist/listitem.tsx +355 -0
  554. package/source/react/dropdownlist/listitemsgroup.jsx +205 -0
  555. package/source/react/dropdownlist/listitemsgroup.tsx +235 -0
  556. package/source/react/editor/editor.jsx +1465 -0
  557. package/source/react/editor/editor.tsx +1383 -0
  558. package/source/react/element/element.jsx +438 -0
  559. package/source/react/element/element.tsx +460 -0
  560. package/source/react/fileupload/fileupload.jsx +689 -0
  561. package/source/react/fileupload/fileupload.tsx +691 -0
  562. package/source/react/filterbuilder/filterbuilder.jsx +654 -0
  563. package/source/react/filterbuilder/filterbuilder.tsx +644 -0
  564. package/source/react/filterpanel/filterpanel.jsx +479 -0
  565. package/source/react/filterpanel/filterpanel.tsx +497 -0
  566. package/source/react/form/form.jsx +429 -0
  567. package/source/react/form/form.tsx +463 -0
  568. package/source/react/form/formcontrol.jsx +541 -0
  569. package/source/react/form/formcontrol.tsx +571 -0
  570. package/source/react/form/formgroup.jsx +380 -0
  571. package/source/react/form/formgroup.tsx +410 -0
  572. package/source/react/ganttchart/ganttchart.jsx +2344 -0
  573. package/source/react/ganttchart/ganttchart.tsx +2262 -0
  574. package/source/react/gauge/gauge.jsx +801 -0
  575. package/source/react/gauge/gauge.tsx +827 -0
  576. package/source/react/grid/grid.jsx +3021 -0
  577. package/source/react/grid/grid.tsx +2897 -0
  578. package/source/react/grouppanel/grouppanel.jsx +359 -0
  579. package/source/react/grouppanel/grouppanel.tsx +373 -0
  580. package/source/react/input/input.jsx +672 -0
  581. package/source/react/input/input.tsx +682 -0
  582. package/source/react/kanban/kanban.jsx +1894 -0
  583. package/source/react/kanban/kanban.tsx +1810 -0
  584. package/source/react/layout/layout.jsx +495 -0
  585. package/source/react/layout/layout.tsx +501 -0
  586. package/source/react/layout/layoutgroup.jsx +279 -0
  587. package/source/react/layout/layoutgroup.tsx +309 -0
  588. package/source/react/layout/layoutitem.jsx +265 -0
  589. package/source/react/layout/layoutitem.tsx +295 -0
  590. package/source/react/layout/tablayoutgroup.jsx +289 -0
  591. package/source/react/layout/tablayoutgroup.tsx +319 -0
  592. package/source/react/layout/tablayoutitem.jsx +277 -0
  593. package/source/react/layout/tablayoutitem.tsx +307 -0
  594. package/source/react/led/led.jsx +458 -0
  595. package/source/react/led/led.tsx +484 -0
  596. package/source/react/listbox/listbox.jsx +1119 -0
  597. package/source/react/listbox/listbox.tsx +1109 -0
  598. package/source/react/listbox/listitem.jsx +325 -0
  599. package/source/react/listbox/listitem.tsx +355 -0
  600. package/source/react/listbox/listitemsgroup.jsx +205 -0
  601. package/source/react/listbox/listitemsgroup.tsx +235 -0
  602. package/source/react/listmenu/listmenu.jsx +786 -0
  603. package/source/react/listmenu/listmenu.tsx +796 -0
  604. package/source/react/listmenu/menuitem.jsx +277 -0
  605. package/source/react/listmenu/menuitem.tsx +307 -0
  606. package/source/react/listmenu/menuitemsgroup.jsx +313 -0
  607. package/source/react/listmenu/menuitemsgroup.tsx +343 -0
  608. package/source/react/map/map.jsx +279 -0
  609. package/source/react/map/map.tsx +309 -0
  610. package/source/react/maskedtextbox/maskedtextbox.jsx +663 -0
  611. package/source/react/maskedtextbox/maskedtextbox.tsx +681 -0
  612. package/source/react/menu/menu.jsx +863 -0
  613. package/source/react/menu/menu.tsx +857 -0
  614. package/source/react/menu/menuitem.jsx +277 -0
  615. package/source/react/menu/menuitem.tsx +307 -0
  616. package/source/react/menu/menuitemsgroup.jsx +313 -0
  617. package/source/react/menu/menuitemsgroup.tsx +343 -0
  618. package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.jsx +407 -0
  619. package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.tsx +421 -0
  620. package/source/react/multicomboinput/multicomboinput.jsx +672 -0
  621. package/source/react/multicomboinput/multicomboinput.tsx +698 -0
  622. package/source/react/multiinput/multiinput.jsx +612 -0
  623. package/source/react/multiinput/multiinput.tsx +638 -0
  624. package/source/react/multilinetextbox/listitem.jsx +325 -0
  625. package/source/react/multilinetextbox/listitem.tsx +355 -0
  626. package/source/react/multilinetextbox/listitemsgroup.jsx +205 -0
  627. package/source/react/multilinetextbox/listitemsgroup.tsx +235 -0
  628. package/source/react/multilinetextbox/multilinetextbox.jsx +684 -0
  629. package/source/react/multilinetextbox/multilinetextbox.tsx +714 -0
  630. package/source/react/multilinewindow/multilinewindow.jsx +1437 -0
  631. package/source/react/multilinewindow/multilinewindow.tsx +1399 -0
  632. package/source/react/multisplitbutton/listitem.jsx +325 -0
  633. package/source/react/multisplitbutton/listitem.tsx +355 -0
  634. package/source/react/multisplitbutton/listitemsgroup.jsx +205 -0
  635. package/source/react/multisplitbutton/listitemsgroup.tsx +235 -0
  636. package/source/react/multisplitbutton/multisplitbutton.jsx +797 -0
  637. package/source/react/multisplitbutton/multisplitbutton.tsx +795 -0
  638. package/source/react/numberinput/numberinput.jsx +459 -0
  639. package/source/react/numberinput/numberinput.tsx +485 -0
  640. package/source/react/numerictextbox/numerictextbox.jsx +767 -0
  641. package/source/react/numerictextbox/numerictextbox.tsx +769 -0
  642. package/source/react/pager/pager.jsx +570 -0
  643. package/source/react/pager/pager.tsx +592 -0
  644. package/source/react/passwordinput/passwordinput.jsx +363 -0
  645. package/source/react/passwordinput/passwordinput.tsx +385 -0
  646. package/source/react/passwordtextbox/passwordtextbox.jsx +569 -0
  647. package/source/react/passwordtextbox/passwordtextbox.tsx +591 -0
  648. package/source/react/path/path.jsx +675 -0
  649. package/source/react/path/path.tsx +673 -0
  650. package/source/react/phoneinput/phoneinput.jsx +527 -0
  651. package/source/react/phoneinput/phoneinput.tsx +545 -0
  652. package/source/react/pivottable/pivottable.jsx +1036 -0
  653. package/source/react/pivottable/pivottable.tsx +1030 -0
  654. package/source/react/progressbar/circularprogressbar.jsx +383 -0
  655. package/source/react/progressbar/circularprogressbar.tsx +409 -0
  656. package/source/react/progressbar/progressbar.jsx +397 -0
  657. package/source/react/progressbar/progressbar.tsx +425 -0
  658. package/source/react/progresswindow/progresswindow.jsx +1437 -0
  659. package/source/react/progresswindow/progresswindow.tsx +1399 -0
  660. package/source/react/promptwindow/promptwindow.jsx +1437 -0
  661. package/source/react/promptwindow/promptwindow.tsx +1399 -0
  662. package/source/react/qrcode/qrcode.jsx +478 -0
  663. package/source/react/qrcode/qrcode.tsx +504 -0
  664. package/source/react/querybuilder/querybuilder.jsx +635 -0
  665. package/source/react/querybuilder/querybuilder.tsx +637 -0
  666. package/source/react/radiobutton/radiobutton.jsx +419 -0
  667. package/source/react/radiobutton/radiobutton.tsx +437 -0
  668. package/source/react/rating/rating.jsx +361 -0
  669. package/source/react/rating/rating.tsx +387 -0
  670. package/source/react/ribbon/ribbon.jsx +535 -0
  671. package/source/react/ribbon/ribbon.tsx +527 -0
  672. package/source/react/ribbon/ribbongroup.jsx +277 -0
  673. package/source/react/ribbon/ribbongroup.tsx +307 -0
  674. package/source/react/ribbon/ribbonitem.jsx +349 -0
  675. package/source/react/ribbon/ribbonitem.tsx +379 -0
  676. package/source/react/ribbon/ribbontab.jsx +241 -0
  677. package/source/react/ribbon/ribbontab.tsx +271 -0
  678. package/source/react/scheduler/scheduler.jsx +2510 -0
  679. package/source/react/scheduler/scheduler.tsx +2398 -0
  680. package/source/react/scrollbar/scrollbar.jsx +426 -0
  681. package/source/react/scrollbar/scrollbar.tsx +452 -0
  682. package/source/react/slider/slider.jsx +777 -0
  683. package/source/react/slider/slider.tsx +803 -0
  684. package/source/react/sortable/sortable.jsx +365 -0
  685. package/source/react/sortable/sortable.tsx +391 -0
  686. package/source/react/sortpanel/sortpanel.jsx +319 -0
  687. package/source/react/sortpanel/sortpanel.tsx +341 -0
  688. package/source/react/splitter/splitter.jsx +659 -0
  689. package/source/react/splitter/splitter.tsx +677 -0
  690. package/source/react/splitter/splitterbar.jsx +251 -0
  691. package/source/react/splitter/splitterbar.tsx +281 -0
  692. package/source/react/splitter/splitteritem.jsx +334 -0
  693. package/source/react/splitter/splitteritem.tsx +364 -0
  694. package/source/react/switchbutton/switchbutton.jsx +467 -0
  695. package/source/react/switchbutton/switchbutton.tsx +485 -0
  696. package/source/react/table/table.jsx +1688 -0
  697. package/source/react/table/table.tsx +1654 -0
  698. package/source/react/tabs/tabitem.jsx +265 -0
  699. package/source/react/tabs/tabitem.tsx +295 -0
  700. package/source/react/tabs/tabitemsgroup.jsx +217 -0
  701. package/source/react/tabs/tabitemsgroup.tsx +247 -0
  702. package/source/react/tabs/tabs.jsx +766 -0
  703. package/source/react/tabs/tabs.tsx +772 -0
  704. package/source/react/tabswindow/tabswindow.jsx +1437 -0
  705. package/source/react/tabswindow/tabswindow.tsx +1399 -0
  706. package/source/react/tank/tank.jsx +726 -0
  707. package/source/react/tank/tank.tsx +752 -0
  708. package/source/react/textarea/textarea.jsx +619 -0
  709. package/source/react/textarea/textarea.tsx +641 -0
  710. package/source/react/textbox/listitem.jsx +325 -0
  711. package/source/react/textbox/listitem.tsx +355 -0
  712. package/source/react/textbox/listitemsgroup.jsx +205 -0
  713. package/source/react/textbox/listitemsgroup.tsx +235 -0
  714. package/source/react/textbox/textbox.jsx +888 -0
  715. package/source/react/textbox/textbox.tsx +914 -0
  716. package/source/react/threedchart/threedchart.jsx +1182 -0
  717. package/source/react/threedchart/threedchart.tsx +1168 -0
  718. package/source/react/timeinput/timeinput.jsx +509 -0
  719. package/source/react/timeinput/timeinput.tsx +535 -0
  720. package/source/react/timepicker/timepicker.jsx +452 -0
  721. package/source/react/timepicker/timepicker.tsx +478 -0
  722. package/source/react/toast/toast.jsx +556 -0
  723. package/source/react/toast/toast.tsx +558 -0
  724. package/source/react/tooltip/tooltip.jsx +499 -0
  725. package/source/react/tooltip/tooltip.tsx +513 -0
  726. package/source/react/tree/tree.jsx +1222 -0
  727. package/source/react/tree/tree.tsx +1208 -0
  728. package/source/react/tree/treeitem.jsx +289 -0
  729. package/source/react/tree/treeitem.tsx +319 -0
  730. package/source/react/tree/treeitemsgroup.jsx +289 -0
  731. package/source/react/tree/treeitemsgroup.tsx +319 -0
  732. package/source/react/validator/validator.jsx +248 -0
  733. package/source/react/validator/validator.tsx +278 -0
  734. package/source/react/waitwindow/waitwindow.jsx +1437 -0
  735. package/source/react/waitwindow/waitwindow.tsx +1399 -0
  736. package/source/react/window/window.jsx +1421 -0
  737. package/source/react/window/window.tsx +1399 -0
@@ -0,0 +1,2337 @@
1
+ import { Scheduler } from './../index';
2
+ import { SchedulerEventRenderMode, SchedulerRepeatFreq, SchedulerNotificationType, SchedulerDayFormat, FilterMode, SchedulerGroupOrientation, SchedulerHourFormat, SchedulerHeaderDatePosition, SchedulerHeaderNavigationStyle, SchedulerHeaderViewPosition, SchedulerLegendLocation, SchedulerLegendPosition, SchedulerLegendLayout, HorizontalScrollBarVisibility, MinuteFormat, MonthFormat, ResizeHandlesVisibility, SchedulerResourceSortOrder, SchedulerScrollButtonsPosition, SchedulerSortOrder, SchedulerTimelineDayScale, SchedulerTimeZone, VerticalScrollBarVisibility, SchedulerViewType, SchedulerViews, SchedulerViewSelectorType, SchedulerViewStartDay, WeekDayFormat, YearFormat, SchedulerDataExport, SchedulerEvent, SchedulerEventRepeat, SchedulerNotification, SchedulerResource, SchedulerStatuse, ElementRenderMode} from './../index';
3
+ import { DataAdapter } from './../index';
4
+ import { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter } from '@angular/core';
5
+ import { BaseElement, Smart } from './smart.element';
6
+ export { SchedulerEventRenderMode, SchedulerRepeatFreq, SchedulerNotificationType, SchedulerDayFormat, FilterMode, SchedulerGroupOrientation, SchedulerHourFormat, SchedulerHeaderDatePosition, SchedulerHeaderNavigationStyle, SchedulerHeaderViewPosition, SchedulerLegendLocation, SchedulerLegendPosition, SchedulerLegendLayout, HorizontalScrollBarVisibility, MinuteFormat, MonthFormat, ResizeHandlesVisibility, SchedulerResourceSortOrder, SchedulerScrollButtonsPosition, SchedulerSortOrder, SchedulerTimelineDayScale, SchedulerTimeZone, VerticalScrollBarVisibility, SchedulerViewType, SchedulerViews, SchedulerViewSelectorType, SchedulerViewStartDay, WeekDayFormat, YearFormat, SchedulerDataExport, SchedulerEvent, SchedulerEventRepeat, SchedulerNotification, SchedulerResource, SchedulerStatuse, ElementRenderMode} from './../index';
7
+ export { Smart } from './smart.element';
8
+ export { Scheduler } from './../index';
9
+ export { DataAdapter } from './../index';
10
+
11
+
12
+ @Directive({
13
+ exportAs: 'smart-scheduler', selector: 'smart-scheduler, [smart-scheduler]'
14
+ })
15
+
16
+ export class SchedulerComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {
17
+ constructor(ref: ElementRef<Scheduler>) {
18
+ super(ref);
19
+ this.nativeElement = ref.nativeElement as Scheduler;
20
+ }
21
+
22
+ private eventHandlers: any[] = [];
23
+
24
+ public declare nativeElement: Scheduler;
25
+ /** @description Creates the component on demand.
26
+ * @param properties An optional object of properties, which will be added to the template binded ones.
27
+ */
28
+ public createComponent(properties = {}): any {
29
+ this.nativeElement = <Scheduler>document.createElement('smart-scheduler');
30
+ for (let propertyName in properties) {
31
+ this.nativeElement[propertyName] = properties[propertyName];
32
+ }
33
+ return this.nativeElement;
34
+ }
35
+ /** @description Determines the scroll speed while dragging an event. */
36
+ @Input()
37
+ get autoScrollStep(): number {
38
+ return this.nativeElement ? this.nativeElement.autoScrollStep : undefined;
39
+ }
40
+ set autoScrollStep(value: number) {
41
+ this.nativeElement ? this.nativeElement.autoScrollStep = value : undefined;
42
+ }
43
+
44
+ /** @description Determines whether the all day cells in Day and Week views automatically change their height depending on the events count in these cells. */
45
+ @Input()
46
+ get autoHeightAllDayCells(): boolean {
47
+ return this.nativeElement ? this.nativeElement.autoHeightAllDayCells : undefined;
48
+ }
49
+ set autoHeightAllDayCells(value: boolean) {
50
+ this.nativeElement ? this.nativeElement.autoHeightAllDayCells = value : undefined;
51
+ }
52
+
53
+ /** @description Defines an array of objects with start and end fields, where start and end are Date objects. For example: [{ 'start': '2022-10-25T12:00.000Z', 'end': '2022-10-25T13:00.000Z' }]. */
54
+ @Input()
55
+ get available(): any {
56
+ return this.nativeElement ? this.nativeElement.available : undefined;
57
+ }
58
+ set available(value: any) {
59
+ this.nativeElement ? this.nativeElement.available = value : undefined;
60
+ }
61
+
62
+ /** @description Determines the color scheme for the event background selector in the event window editor. */
63
+ @Input()
64
+ get colorScheme(): string[] {
65
+ return this.nativeElement ? this.nativeElement.colorScheme : undefined;
66
+ }
67
+ set colorScheme(value: string[]) {
68
+ this.nativeElement ? this.nativeElement.colorScheme = value : undefined;
69
+ }
70
+
71
+ /** @description Determines the current time of the Scheduler to use for the current time indicator functionality. By default the current time is Today. */
72
+ @Input()
73
+ get currentTime(): string | Date {
74
+ return this.nativeElement ? this.nativeElement.currentTime : undefined;
75
+ }
76
+ set currentTime(value: string | Date) {
77
+ this.nativeElement ? this.nativeElement.currentTime = value : undefined;
78
+ }
79
+
80
+ /** @description Enables/Disables the current time indicator. Current time indicator shows the current time in the appropriate view cells. */
81
+ @Input()
82
+ get currentTimeIndicator(): boolean {
83
+ return this.nativeElement ? this.nativeElement.currentTimeIndicator : undefined;
84
+ }
85
+ set currentTimeIndicator(value: boolean) {
86
+ this.nativeElement ? this.nativeElement.currentTimeIndicator = value : undefined;
87
+ }
88
+
89
+ /** @description Determines the refresh interval in seconds for the currentTimeIndicator. */
90
+ @Input()
91
+ get currentTimeIndicatorInterval(): number {
92
+ return this.nativeElement ? this.nativeElement.currentTimeIndicatorInterval : undefined;
93
+ }
94
+ set currentTimeIndicatorInterval(value: number) {
95
+ this.nativeElement ? this.nativeElement.currentTimeIndicatorInterval = value : undefined;
96
+ }
97
+
98
+ /** @description Determines the context menu items that are visible when the Context Menu is opened. */
99
+ @Input()
100
+ get contextMenuDataSource(): any[] {
101
+ return this.nativeElement ? this.nativeElement.contextMenuDataSource : undefined;
102
+ }
103
+ set contextMenuDataSource(value: any[]) {
104
+ this.nativeElement ? this.nativeElement.contextMenuDataSource = value : undefined;
105
+ }
106
+
107
+ /** @description Determines whether the clipboard shortcuts for copy/paste/cut action of events are visible in the Scheduler context menu or not. */
108
+ @Input()
109
+ get contextMenuClipboardActions(): boolean {
110
+ return this.nativeElement ? this.nativeElement.contextMenuClipboardActions : undefined;
111
+ }
112
+ set contextMenuClipboardActions(value: boolean) {
113
+ this.nativeElement ? this.nativeElement.contextMenuClipboardActions = value : undefined;
114
+ }
115
+
116
+ /** @description Allows to customize the content of the event elements. It can be an HTMLTemplateElement that will be applied to all events or it's id as a string or a function that will be called for each event with the following parameters: eventContent - the content holder for the event,eventObj - the event object.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the corresponding object properties. */
117
+ @Input()
118
+ get eventTemplate(): any {
119
+ return this.nativeElement ? this.nativeElement.eventTemplate : undefined;
120
+ }
121
+ set eventTemplate(value: any) {
122
+ this.nativeElement ? this.nativeElement.eventTemplate = value : undefined;
123
+ }
124
+
125
+ /** @description Allows to customize the content of the event collector elements. It can be an HTMLTemplateElement that will be applied to all events or it's id as a string or a function that will be called for each event with the following parameters: eventContent - the content holder for the event,eventObj - the event object.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the corresponding object properties. */
126
+ @Input()
127
+ get eventCollectorTemplate(): any {
128
+ return this.nativeElement ? this.nativeElement.eventCollectorTemplate : undefined;
129
+ }
130
+ set eventCollectorTemplate(value: any) {
131
+ this.nativeElement ? this.nativeElement.eventCollectorTemplate = value : undefined;
132
+ }
133
+
134
+ /** @description Determines how the events inside the Scheduler are rendered.classic - the events are arranged next to each other and try to fit inside the cells.modern - the events obey the CSS property that determines their size and if there's not enough space inside the cell for all events to appear, an event collector is created to hold the rest of the events. On mobile phones only collectors are created. */
135
+ @Input()
136
+ get eventRenderMode(): SchedulerEventRenderMode | string {
137
+ return this.nativeElement ? this.nativeElement.eventRenderMode : undefined;
138
+ }
139
+ set eventRenderMode(value: SchedulerEventRenderMode | string) {
140
+ this.nativeElement ? this.nativeElement.eventRenderMode = value : undefined;
141
+ }
142
+
143
+ /** @description Allows to customize the content of the event menu items (tooltip). When clicked on an event element an event menu with details opens. It can be an HTMLTemplateElement that will be applied to all events or it's id as a string or a function that will be called for each event with the following parameters: eventContent - the content holder for the event,eventObj - the event object.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the corresponding object properties. */
144
+ @Input()
145
+ get eventTooltipTemplate(): any {
146
+ return this.nativeElement ? this.nativeElement.eventTooltipTemplate : undefined;
147
+ }
148
+ set eventTooltipTemplate(value: any) {
149
+ this.nativeElement ? this.nativeElement.eventTooltipTemplate = value : undefined;
150
+ }
151
+
152
+ /** @description Allows to customize the content of the timeline cells. It can be an HTMLTemplateElement that will be applied to all cells or it's id as a string or a function that will be called for each cell with the following parameters: cellContent - the content holder for the cell,cellDate - the cell date.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the value of the cell. */
153
+ @Input()
154
+ get cellTemplate(): any {
155
+ return this.nativeElement ? this.nativeElement.cellTemplate : undefined;
156
+ }
157
+ set cellTemplate(value: any) {
158
+ this.nativeElement ? this.nativeElement.cellTemplate = value : undefined;
159
+ }
160
+
161
+ /** @description Determines the currently visible date for the Scheduler. */
162
+ @Input()
163
+ get dateCurrent(): string | Date {
164
+ return this.nativeElement ? this.nativeElement.dateCurrent : undefined;
165
+ }
166
+ set dateCurrent(value: string | Date) {
167
+ this.nativeElement ? this.nativeElement.dateCurrent = value : undefined;
168
+ }
169
+
170
+ /** @description Sets the Schedulers's Data Export options. */
171
+ @Input()
172
+ get dataExport(): SchedulerDataExport {
173
+ return this.nativeElement ? this.nativeElement.dataExport : undefined;
174
+ }
175
+ set dataExport(value: SchedulerDataExport) {
176
+ this.nativeElement ? this.nativeElement.dataExport = value : undefined;
177
+ }
178
+
179
+ /** @description Determines the events that will be loaded inside the Timeline. Each event represents an object that should contain the following properties: */
180
+ @Input()
181
+ get dataSource(): SchedulerEvent[] {
182
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
183
+ }
184
+ set dataSource(value: SchedulerEvent[]) {
185
+ this.nativeElement ? this.nativeElement.dataSource = value : undefined;
186
+ }
187
+
188
+ /** @description A callback that can be used to customize the text inside the date selector located in the header. The callback has one parameter - the current date. */
189
+ @Input()
190
+ get dateSelectorFormatFunction(): any {
191
+ return this.nativeElement ? this.nativeElement.dateSelectorFormatFunction : undefined;
192
+ }
193
+ set dateSelectorFormatFunction(value: any) {
194
+ this.nativeElement ? this.nativeElement.dateSelectorFormatFunction = value : undefined;
195
+ }
196
+
197
+ /** @description Determines the day format of the dates in the timeline. */
198
+ @Input()
199
+ get dayFormat(): SchedulerDayFormat | string {
200
+ return this.nativeElement ? this.nativeElement.dayFormat : undefined;
201
+ }
202
+ set dayFormat(value: SchedulerDayFormat | string) {
203
+ this.nativeElement ? this.nativeElement.dayFormat = value : undefined;
204
+ }
205
+
206
+ /** @description Enables or disables the element. */
207
+ @Input()
208
+ get disabled(): boolean {
209
+ return this.nativeElement ? this.nativeElement.disabled : undefined;
210
+ }
211
+ set disabled(value: boolean) {
212
+ this.nativeElement ? this.nativeElement.disabled = value : undefined;
213
+ }
214
+
215
+ /** @description Disables auto scrolling of the timeline while dragging/resizing an event. */
216
+ @Input()
217
+ get disableAutoScroll(): boolean {
218
+ return this.nativeElement ? this.nativeElement.disableAutoScroll : undefined;
219
+ }
220
+ set disableAutoScroll(value: boolean) {
221
+ this.nativeElement ? this.nativeElement.disableAutoScroll = value : undefined;
222
+ }
223
+
224
+ /** @description Disables dragging of events. */
225
+ @Input()
226
+ get disableDrag(): boolean {
227
+ return this.nativeElement ? this.nativeElement.disableDrag : undefined;
228
+ }
229
+ set disableDrag(value: boolean) {
230
+ this.nativeElement ? this.nativeElement.disableDrag = value : undefined;
231
+ }
232
+
233
+ /** @description Disables dropping of events. */
234
+ @Input()
235
+ get disableDrop(): boolean {
236
+ return this.nativeElement ? this.nativeElement.disableDrop : undefined;
237
+ }
238
+ set disableDrop(value: boolean) {
239
+ this.nativeElement ? this.nativeElement.disableDrop = value : undefined;
240
+ }
241
+
242
+ /** @description Disables resizing of events. */
243
+ @Input()
244
+ get disableResize(): boolean {
245
+ return this.nativeElement ? this.nativeElement.disableResize : undefined;
246
+ }
247
+ set disableResize(value: boolean) {
248
+ this.nativeElement ? this.nativeElement.disableResize = value : undefined;
249
+ }
250
+
251
+ /** @description Disables the cell selection. */
252
+ @Input()
253
+ get disableSelection(): boolean {
254
+ return this.nativeElement ? this.nativeElement.disableSelection : undefined;
255
+ }
256
+ set disableSelection(value: boolean) {
257
+ this.nativeElement ? this.nativeElement.disableSelection = value : undefined;
258
+ }
259
+
260
+ /** @description Disables the window editor for the events. */
261
+ @Input()
262
+ get disableWindowEditor(): boolean {
263
+ return this.nativeElement ? this.nativeElement.disableWindowEditor : undefined;
264
+ }
265
+ set disableWindowEditor(value: boolean) {
266
+ this.nativeElement ? this.nativeElement.disableWindowEditor = value : undefined;
267
+ }
268
+
269
+ /** @description Disables the context menu of the events and cells. */
270
+ @Input()
271
+ get disableContextMenu(): boolean {
272
+ return this.nativeElement ? this.nativeElement.disableContextMenu : undefined;
273
+ }
274
+ set disableContextMenu(value: boolean) {
275
+ this.nativeElement ? this.nativeElement.disableContextMenu = value : undefined;
276
+ }
277
+
278
+ /** @description Disables the event menu that appears when an event/collector has been clicked. */
279
+ @Input()
280
+ get disableEventMenu(): boolean {
281
+ return this.nativeElement ? this.nativeElement.disableEventMenu : undefined;
282
+ }
283
+ set disableEventMenu(value: boolean) {
284
+ this.nativeElement ? this.nativeElement.disableEventMenu = value : undefined;
285
+ }
286
+
287
+ /** @description Disables the view menu that allows to select the current Scheduler view. */
288
+ @Input()
289
+ get disableViewMenu(): boolean {
290
+ return this.nativeElement ? this.nativeElement.disableViewMenu : undefined;
291
+ }
292
+ set disableViewMenu(value: boolean) {
293
+ this.nativeElement ? this.nativeElement.disableViewMenu = value : undefined;
294
+ }
295
+
296
+ /** @description Disables the date menu that allows to select the current Scheduler date. */
297
+ @Input()
298
+ get disableDateMenu(): boolean {
299
+ return this.nativeElement ? this.nativeElement.disableDateMenu : undefined;
300
+ }
301
+ set disableDateMenu(value: boolean) {
302
+ this.nativeElement ? this.nativeElement.disableDateMenu = value : undefined;
303
+ }
304
+
305
+ /** @description A callback that can be used to customize the drag feedback that appears when an event is dragged. */
306
+ @Input()
307
+ get dragFeedbackFormatFunction(): any {
308
+ return this.nativeElement ? this.nativeElement.dragFeedbackFormatFunction : undefined;
309
+ }
310
+ set dragFeedbackFormatFunction(value: any) {
311
+ this.nativeElement ? this.nativeElement.dragFeedbackFormatFunction = value : undefined;
312
+ }
313
+
314
+ /** @description Determines the offset for the drag feedback from the pointer. */
315
+ @Input()
316
+ get dragOffset(): any {
317
+ return this.nativeElement ? this.nativeElement.dragOffset : undefined;
318
+ }
319
+ set dragOffset(value: any) {
320
+ this.nativeElement ? this.nativeElement.dragOffset = value : undefined;
321
+ }
322
+
323
+ /** @description Determines the filtering condition for the events.The filter property takes an array of objects or a function. Each object represents a single filtering condition with the following attributes: name - the name of the Scheduler event property that will be filtered by.value - the filtering condition value. The value will be used to compare the events based on the filterMode, for example: [{ name: 'price', value: 25 }]. The value can also be a function. The function accepts a single arguemnt - the value that corresponds to the filtered attribute. The function allows to apply custom condition that is different from the default filter modes. It should return true ( if the evnet passes the filtering condition ) or false ( if the event does not meet the filtering condition ). Here's an example: [{ name: 'roomId', value: (id) => ['2', '3'].indexOf(id + '') > -1 }]. In the example the events that do not have a 'roomId' property that is equal to '2' or '3' will be filtered out.. If a function is set to the filter property instead, it allows to completely customize the filtering logic. The function passes a single argument - each Scheduler event that will be displayed. The function should return true ( if the condition is met ) or false ( if not ). */
324
+ @Input()
325
+ get filter(): any {
326
+ return this.nativeElement ? this.nativeElement.filter : undefined;
327
+ }
328
+ set filter(value: any) {
329
+ this.nativeElement ? this.nativeElement.filter = value : undefined;
330
+ }
331
+
332
+ /** @description Determines whether Scheduler's filtering is enabled or not. */
333
+ @Input()
334
+ get filterable(): any {
335
+ return this.nativeElement ? this.nativeElement.filterable : undefined;
336
+ }
337
+ set filterable(value: any) {
338
+ this.nativeElement ? this.nativeElement.filterable = value : undefined;
339
+ }
340
+
341
+ /** @description Determines the filter mode. */
342
+ @Input()
343
+ get filterMode(): FilterMode | string {
344
+ return this.nativeElement ? this.nativeElement.filterMode : undefined;
345
+ }
346
+ set filterMode(value: FilterMode | string) {
347
+ this.nativeElement ? this.nativeElement.filterMode = value : undefined;
348
+ }
349
+
350
+ /** @description A getter that returns an array of all Scheduler events. */
351
+ @Input()
352
+ get events(): SchedulerEvent[] {
353
+ return this.nativeElement ? this.nativeElement.events : undefined;
354
+ }
355
+ set events(value: SchedulerEvent[]) {
356
+ this.nativeElement ? this.nativeElement.events = value : undefined;
357
+ }
358
+
359
+ /** @description Determines the first day of week for the Scheduler. By default it's Sunday. */
360
+ @Input()
361
+ get firstDayOfWeek(): number {
362
+ return this.nativeElement ? this.nativeElement.firstDayOfWeek : undefined;
363
+ }
364
+ set firstDayOfWeek(value: number) {
365
+ this.nativeElement ? this.nativeElement.firstDayOfWeek = value : undefined;
366
+ }
367
+
368
+ /** @description Allows to customize the footer of the Scheduler. It can be an HTMLTemplateElement, it's id as a string or a function with the following parameters: footerContainer - the footer container.. */
369
+ @Input()
370
+ get footerTemplate(): any {
371
+ return this.nativeElement ? this.nativeElement.footerTemplate : undefined;
372
+ }
373
+ set footerTemplate(value: any) {
374
+ this.nativeElement ? this.nativeElement.footerTemplate = value : undefined;
375
+ }
376
+
377
+ /** @description Determines whether the events will be grouped by date. */
378
+ @Input()
379
+ get groupByDate(): boolean {
380
+ return this.nativeElement ? this.nativeElement.groupByDate : undefined;
381
+ }
382
+ set groupByDate(value: boolean) {
383
+ this.nativeElement ? this.nativeElement.groupByDate = value : undefined;
384
+ }
385
+
386
+ /** @description Determines the grouping orientation. */
387
+ @Input()
388
+ get groupOrientation(): SchedulerGroupOrientation | string {
389
+ return this.nativeElement ? this.nativeElement.groupOrientation : undefined;
390
+ }
391
+ set groupOrientation(value: SchedulerGroupOrientation | string) {
392
+ this.nativeElement ? this.nativeElement.groupOrientation = value : undefined;
393
+ }
394
+
395
+ /** @description Allows to customize the content of the group cells that are visible inside the header. It can be an HTMLTemplateElement that will be applied to all cells or it's id as a string or a function that will be called for each group cell with the following parameters: cellContent - the content holder for the group cell.cellObj - the group cell object.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the corresponding object properties. */
396
+ @Input()
397
+ get groupTemplate(): any {
398
+ return this.nativeElement ? this.nativeElement.groupTemplate : undefined;
399
+ }
400
+ set groupTemplate(value: any) {
401
+ this.nativeElement ? this.nativeElement.groupTemplate = value : undefined;
402
+ }
403
+
404
+ /** @description Determines the resources that the events are grouped by. */
405
+ @Input()
406
+ get groups(): any {
407
+ return this.nativeElement ? this.nativeElement.groups : undefined;
408
+ }
409
+ set groups(value: any) {
410
+ this.nativeElement ? this.nativeElement.groups = value : undefined;
411
+ }
412
+
413
+ /** @description Determines the end hour that will be displayed in 'day' and 'week' views. */
414
+ @Input()
415
+ get hourEnd(): number {
416
+ return this.nativeElement ? this.nativeElement.hourEnd : undefined;
417
+ }
418
+ set hourEnd(value: number) {
419
+ this.nativeElement ? this.nativeElement.hourEnd = value : undefined;
420
+ }
421
+
422
+ /** @description Determines the start hour that will be displayed in 'day' and 'week' views. */
423
+ @Input()
424
+ get hourStart(): number {
425
+ return this.nativeElement ? this.nativeElement.hourStart : undefined;
426
+ }
427
+ set hourStart(value: number) {
428
+ this.nativeElement ? this.nativeElement.hourStart = value : undefined;
429
+ }
430
+
431
+ /** @description Determines the formatting of hours inside the element. */
432
+ @Input()
433
+ get hourFormat(): SchedulerHourFormat | string {
434
+ return this.nativeElement ? this.nativeElement.hourFormat : undefined;
435
+ }
436
+ set hourFormat(value: SchedulerHourFormat | string) {
437
+ this.nativeElement ? this.nativeElement.hourFormat = value : undefined;
438
+ }
439
+
440
+ /** @description Allows to customize the header of the Scheduler. It can be an HTMLTemplateElement, it's id as a string or a function with the following parameters: headerContent - the header container.. */
441
+ @Input()
442
+ get headerTemplate(): any {
443
+ return this.nativeElement ? this.nativeElement.headerTemplate : undefined;
444
+ }
445
+ set headerTemplate(value: any) {
446
+ this.nativeElement ? this.nativeElement.headerTemplate = value : undefined;
447
+ }
448
+
449
+ /** @description Determines the position of the Date selector inside the Header of the element. */
450
+ @Input()
451
+ get headerDatePosition(): SchedulerHeaderDatePosition | string {
452
+ return this.nativeElement ? this.nativeElement.headerDatePosition : undefined;
453
+ }
454
+ set headerDatePosition(value: SchedulerHeaderDatePosition | string) {
455
+ this.nativeElement ? this.nativeElement.headerDatePosition = value : undefined;
456
+ }
457
+
458
+ /** @description Determines the styling of the Header navigation controls. */
459
+ @Input()
460
+ get headerNavigationStyle(): SchedulerHeaderNavigationStyle | string {
461
+ return this.nativeElement ? this.nativeElement.headerNavigationStyle : undefined;
462
+ }
463
+ set headerNavigationStyle(value: SchedulerHeaderNavigationStyle | string) {
464
+ this.nativeElement ? this.nativeElement.headerNavigationStyle = value : undefined;
465
+ }
466
+
467
+ /** @description Determines the position of the view selector control inside the Header of the element. */
468
+ @Input()
469
+ get headerViewPosition(): SchedulerHeaderViewPosition | string {
470
+ return this.nativeElement ? this.nativeElement.headerViewPosition : undefined;
471
+ }
472
+ set headerViewPosition(value: SchedulerHeaderViewPosition | string) {
473
+ this.nativeElement ? this.nativeElement.headerViewPosition = value : undefined;
474
+ }
475
+
476
+ /** @description Determines whether the 'All Day' container with the all day events is hidden or not. */
477
+ @Input()
478
+ get hideAllDay(): boolean {
479
+ return this.nativeElement ? this.nativeElement.hideAllDay : undefined;
480
+ }
481
+ set hideAllDay(value: boolean) {
482
+ this.nativeElement ? this.nativeElement.hideAllDay = value : undefined;
483
+ }
484
+
485
+ /** @description Determines whether the days set by 'nonworkingDays' property are hidden or not. */
486
+ @Input()
487
+ get hideNonworkingWeekdays(): boolean {
488
+ return this.nativeElement ? this.nativeElement.hideNonworkingWeekdays : undefined;
489
+ }
490
+ set hideNonworkingWeekdays(value: boolean) {
491
+ this.nativeElement ? this.nativeElement.hideNonworkingWeekdays = value : undefined;
492
+ }
493
+
494
+ /** @description Determines whether other month days are visible when view is set to month. When enabled, events that start on other month days are not displayed and the cells that represent such days do not allow the creation of new events on them. Also dragging and droping an event on other month days is not allowed. Reszing is also affected. Events can end on other month days, but cannot start on one. */
495
+ @Input()
496
+ get hideOtherMonthDays(): boolean {
497
+ return this.nativeElement ? this.nativeElement.hideOtherMonthDays : undefined;
498
+ }
499
+ set hideOtherMonthDays(value: boolean) {
500
+ this.nativeElement ? this.nativeElement.hideOtherMonthDays = value : undefined;
501
+ }
502
+
503
+ /** @description Determines whether the 'Today' button is hidden or not. */
504
+ @Input()
505
+ get hideTodayButton(): boolean {
506
+ return this.nativeElement ? this.nativeElement.hideTodayButton : undefined;
507
+ }
508
+ set hideTodayButton(value: boolean) {
509
+ this.nativeElement ? this.nativeElement.hideTodayButton = value : undefined;
510
+ }
511
+
512
+ /** @description Determines whether the checkable items in the view selection menu are hidden or not. */
513
+ @Input()
514
+ get hideViewMenuCheckableItems(): boolean {
515
+ return this.nativeElement ? this.nativeElement.hideViewMenuCheckableItems : undefined;
516
+ }
517
+ set hideViewMenuCheckableItems(value: boolean) {
518
+ this.nativeElement ? this.nativeElement.hideViewMenuCheckableItems = value : undefined;
519
+ }
520
+
521
+ /** @description Determines whether the weekend days are hidden or not. */
522
+ @Input()
523
+ get hideWeekend(): boolean {
524
+ return this.nativeElement ? this.nativeElement.hideWeekend : undefined;
525
+ }
526
+ set hideWeekend(value: boolean) {
527
+ this.nativeElement ? this.nativeElement.hideWeekend = value : undefined;
528
+ }
529
+
530
+ /** @description Determines the location of the legend inside the Scheduler. By default the location is inside the footer but it can also reside in the header. */
531
+ @Input()
532
+ get legendLocation(): SchedulerLegendLocation | string {
533
+ return this.nativeElement ? this.nativeElement.legendLocation : undefined;
534
+ }
535
+ set legendLocation(value: SchedulerLegendLocation | string) {
536
+ this.nativeElement ? this.nativeElement.legendLocation = value : undefined;
537
+ }
538
+
539
+ /** @description Determines the position of the legend. By default it's positioned to the near side but setting it to 'far' will change that. */
540
+ @Input()
541
+ get legendPosition(): SchedulerLegendPosition | string {
542
+ return this.nativeElement ? this.nativeElement.legendPosition : undefined;
543
+ }
544
+ set legendPosition(value: SchedulerLegendPosition | string) {
545
+ this.nativeElement ? this.nativeElement.legendPosition = value : undefined;
546
+ }
547
+
548
+ /** @description Determines the layout of the legend items. */
549
+ @Input()
550
+ get legendLayout(): SchedulerLegendLayout | string {
551
+ return this.nativeElement ? this.nativeElement.legendLayout : undefined;
552
+ }
553
+ set legendLayout(value: SchedulerLegendLayout | string) {
554
+ this.nativeElement ? this.nativeElement.legendLayout = value : undefined;
555
+ }
556
+
557
+ /** @description Determines the number of items when the legend switches automatically from horizontal list to menu. */
558
+ @Input()
559
+ get legendLayoutMenuBreakpoint(): number {
560
+ return this.nativeElement ? this.nativeElement.legendLayoutMenuBreakpoint : undefined;
561
+ }
562
+ set legendLayoutMenuBreakpoint(value: number) {
563
+ this.nativeElement ? this.nativeElement.legendLayoutMenuBreakpoint = value : undefined;
564
+ }
565
+
566
+ /** @description Determines the mouse wheel step. When this property is set to a positive number, the scroll step with mouse wheel or trackpad will depend on the property value. */
567
+ @Input()
568
+ get mouseWheelStep(): number {
569
+ return this.nativeElement ? this.nativeElement.mouseWheelStep : undefined;
570
+ }
571
+ set mouseWheelStep(value: number) {
572
+ this.nativeElement ? this.nativeElement.mouseWheelStep = value : undefined;
573
+ }
574
+
575
+ /** @description Determines weather or not horizontal scrollbar is shown. */
576
+ @Input()
577
+ get horizontalScrollBarVisibility(): HorizontalScrollBarVisibility | string {
578
+ return this.nativeElement ? this.nativeElement.horizontalScrollBarVisibility : undefined;
579
+ }
580
+ set horizontalScrollBarVisibility(value: HorizontalScrollBarVisibility | string) {
581
+ this.nativeElement ? this.nativeElement.horizontalScrollBarVisibility = value : undefined;
582
+ }
583
+
584
+ /** @description Determines the language of the Scheduler. */
585
+ @Input()
586
+ get locale(): string {
587
+ return this.nativeElement ? this.nativeElement.locale : undefined;
588
+ }
589
+ set locale(value: string) {
590
+ this.nativeElement ? this.nativeElement.locale = value : undefined;
591
+ }
592
+
593
+ /** @description Detetmines the maximum view date for the Scheduler. */
594
+ @Input()
595
+ get max(): string | Date {
596
+ return this.nativeElement ? this.nativeElement.max : undefined;
597
+ }
598
+ set max(value: string | Date) {
599
+ this.nativeElement ? this.nativeElement.max = value : undefined;
600
+ }
601
+
602
+ /** @description Detetmines the maximum number of events per Scheduler cell. By default this property is null which means that the number of events per cell is automatically determined by the size of the events. */
603
+ @Input()
604
+ get maxEventsPerCell(): number | null {
605
+ return this.nativeElement ? this.nativeElement.maxEventsPerCell : undefined;
606
+ }
607
+ set maxEventsPerCell(value: number | null) {
608
+ this.nativeElement ? this.nativeElement.maxEventsPerCell = value : undefined;
609
+ }
610
+
611
+ /** @description Detetmines the minimum view date for the Scheduler. */
612
+ @Input()
613
+ get min(): string | Date {
614
+ return this.nativeElement ? this.nativeElement.min : undefined;
615
+ }
616
+ set min(value: string | Date) {
617
+ this.nativeElement ? this.nativeElement.min = value : undefined;
618
+ }
619
+
620
+ /** @description Sets or gets an object specifying strings used in the element that can be localized. Used in conjunction with the property locale. */
621
+ @Input()
622
+ get messages(): any {
623
+ return this.nativeElement ? this.nativeElement.messages : undefined;
624
+ }
625
+ set messages(value: any) {
626
+ this.nativeElement ? this.nativeElement.messages = value : undefined;
627
+ }
628
+
629
+ /** @description Determines the minute formatting inside the Scheduler. */
630
+ @Input()
631
+ get minuteFormat(): MinuteFormat | string {
632
+ return this.nativeElement ? this.nativeElement.minuteFormat : undefined;
633
+ }
634
+ set minuteFormat(value: MinuteFormat | string) {
635
+ this.nativeElement ? this.nativeElement.minuteFormat = value : undefined;
636
+ }
637
+
638
+ /** @description Determines the month name formatting inside the Scheduler. */
639
+ @Input()
640
+ get monthFormat(): MonthFormat | string {
641
+ return this.nativeElement ? this.nativeElement.monthFormat : undefined;
642
+ }
643
+ set monthFormat(value: MonthFormat | string) {
644
+ this.nativeElement ? this.nativeElement.monthFormat = value : undefined;
645
+ }
646
+
647
+ /** @description Determines the nonworking days of the week from 0 to 6, where 0 is the first day of the week and 6 is the last day. Nonworking days will be colored differently inside the Timeline. The color is determined by a CSS variable. */
648
+ @Input()
649
+ get nonworkingDays(): any {
650
+ return this.nativeElement ? this.nativeElement.nonworkingDays : undefined;
651
+ }
652
+ set nonworkingDays(value: any) {
653
+ this.nativeElement ? this.nativeElement.nonworkingDays = value : undefined;
654
+ }
655
+
656
+ /** @description Determines the nonworking hours of the day. Hours are represented as numbers inside an array, however ranges of hours can be defined as an array with starting and ending hour separated by a comma. In the timline the cells that represent nonworking days are colored differently from the rest. */
657
+ @Input()
658
+ get nonworkingHours(): any {
659
+ return this.nativeElement ? this.nativeElement.nonworkingHours : undefined;
660
+ }
661
+ set nonworkingHours(value: any) {
662
+ this.nativeElement ? this.nativeElement.nonworkingHours = value : undefined;
663
+ }
664
+
665
+ /** @description Determines the interval (in seconds) at which the element will check for notifications. */
666
+ @Input()
667
+ get notificationInterval(): number {
668
+ return this.nativeElement ? this.nativeElement.notificationInterval : undefined;
669
+ }
670
+ set notificationInterval(value: number) {
671
+ this.nativeElement ? this.nativeElement.notificationInterval = value : undefined;
672
+ }
673
+
674
+ /** @description Determines the visibility of the resize handles. */
675
+ @Input()
676
+ get resizeHandlesVisibility(): ResizeHandlesVisibility | string {
677
+ return this.nativeElement ? this.nativeElement.resizeHandlesVisibility : undefined;
678
+ }
679
+ set resizeHandlesVisibility(value: ResizeHandlesVisibility | string) {
680
+ this.nativeElement ? this.nativeElement.resizeHandlesVisibility = value : undefined;
681
+ }
682
+
683
+ /** @description Determines the rate at which the element will refresh it's content on element resize. By default it's refresh immediately. This property is used for element resize throttling */
684
+ @Input()
685
+ get resizeInterval(): number {
686
+ return this.nativeElement ? this.nativeElement.resizeInterval : undefined;
687
+ }
688
+ set resizeInterval(value: number) {
689
+ this.nativeElement ? this.nativeElement.resizeInterval = value : undefined;
690
+ }
691
+
692
+ /** @description An array of resources that can be assigned to the events. */
693
+ @Input()
694
+ get resources(): SchedulerResource[] {
695
+ return this.nativeElement ? this.nativeElement.resources : undefined;
696
+ }
697
+ set resources(value: SchedulerResource[]) {
698
+ this.nativeElement ? this.nativeElement.resources = value : undefined;
699
+ }
700
+
701
+ /** @description Defines an array of dates that are not allowed to have events on. Events that overlap restricted Dates or start/end on them will not be displayed. */
702
+ @Input()
703
+ get restrictedDates(): any {
704
+ return this.nativeElement ? this.nativeElement.restrictedDates : undefined;
705
+ }
706
+ set restrictedDates(value: any) {
707
+ this.nativeElement ? this.nativeElement.restrictedDates = value : undefined;
708
+ }
709
+
710
+ /** @description Defines an array of hours that are not allowed to have events on. Events that overlap restricted Hours or start/end on them will not be displayed. */
711
+ @Input()
712
+ get restrictedHours(): any {
713
+ return this.nativeElement ? this.nativeElement.restrictedHours : undefined;
714
+ }
715
+ set restrictedHours(value: any) {
716
+ this.nativeElement ? this.nativeElement.restrictedHours = value : undefined;
717
+ }
718
+
719
+ /** @description Defines an array of dates and hours that are not allowed to have events on. Events that overlap restricted Hours or start/end on them will not be displayed. Each array item is an Object and requires 2 fields - date and hours. For example: { date: new Date(2023, 10, 1), hours: [[0, 6], 12, [20, 23]] }. The hours define a range of restricted hours similartly to the restricted hours property, the date defines a date where the restricted hours will be applied. */
720
+ @Input()
721
+ get restricted(): any {
722
+ return this.nativeElement ? this.nativeElement.restricted : undefined;
723
+ }
724
+ set restricted(value: any) {
725
+ this.nativeElement ? this.nativeElement.restricted = value : undefined;
726
+ }
727
+
728
+ /** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
729
+ @Input()
730
+ get rightToLeft(): boolean {
731
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
732
+ }
733
+ set rightToLeft(value: boolean) {
734
+ this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
735
+ }
736
+
737
+ /** @description Determines the position of the date navigation navigation buttons inside the header of the element. */
738
+ @Input()
739
+ get scrollButtonsPosition(): SchedulerScrollButtonsPosition | string {
740
+ return this.nativeElement ? this.nativeElement.scrollButtonsPosition : undefined;
741
+ }
742
+ set scrollButtonsPosition(value: SchedulerScrollButtonsPosition | string) {
743
+ this.nativeElement ? this.nativeElement.scrollButtonsPosition = value : undefined;
744
+ }
745
+
746
+ /** @description Enables/Disables the current time shader. If enabled all cells that represent past time will be shaded. */
747
+ @Input()
748
+ get shadeUntilCurrentTime(): boolean {
749
+ return this.nativeElement ? this.nativeElement.shadeUntilCurrentTime : undefined;
750
+ }
751
+ set shadeUntilCurrentTime(value: boolean) {
752
+ this.nativeElement ? this.nativeElement.shadeUntilCurrentTime = value : undefined;
753
+ }
754
+
755
+ /** @description Determines whether the resource legend is visible or not. The Legend shows the resources and their items in the footer section of the Scheduler. If filterable is enabled it is possible to filter by resource items by clicking on the corresponding resource item from the legend. */
756
+ @Input()
757
+ get showLegend(): boolean {
758
+ return this.nativeElement ? this.nativeElement.showLegend : undefined;
759
+ }
760
+ set showLegend(value: boolean) {
761
+ this.nativeElement ? this.nativeElement.showLegend = value : undefined;
762
+ }
763
+
764
+ /** @description Determines the name of the resource data item property that will be used for sorting the resource data defined as the resource.dataSource. */
765
+ @Input()
766
+ get sortBy(): string {
767
+ return this.nativeElement ? this.nativeElement.sortBy : undefined;
768
+ }
769
+ set sortBy(value: string) {
770
+ this.nativeElement ? this.nativeElement.sortBy = value : undefined;
771
+ }
772
+
773
+ /** @description Allows to define a custom sorting function that will be used to sort the resource data. The sortFunction is used when sortOrder is set to custom. */
774
+ @Input()
775
+ get sortFunction(): any {
776
+ return this.nativeElement ? this.nativeElement.sortFunction : undefined;
777
+ }
778
+ set sortFunction(value: any) {
779
+ this.nativeElement ? this.nativeElement.sortFunction = value : undefined;
780
+ }
781
+
782
+ /** @description Determines the sorting order of the resource data items. When set to custom, a custom sorting function has to be defined for the sortFunction property. The asc stands for 'ascending' while desc means 'descending' sorting order. */
783
+ @Input()
784
+ get sortOrder(): SchedulerSortOrder | string {
785
+ return this.nativeElement ? this.nativeElement.sortOrder : undefined;
786
+ }
787
+ set sortOrder(value: SchedulerSortOrder | string) {
788
+ this.nativeElement ? this.nativeElement.sortOrder = value : undefined;
789
+ }
790
+
791
+ /** @description Determines the repeating delay of the repeat buttons inside the header of the element. Such buttons are the Date navigation buttons and the view scroll buttons. */
792
+ @Input()
793
+ get spinButtonsDelay(): number {
794
+ return this.nativeElement ? this.nativeElement.spinButtonsDelay : undefined;
795
+ }
796
+ set spinButtonsDelay(value: number) {
797
+ this.nativeElement ? this.nativeElement.spinButtonsDelay = value : undefined;
798
+ }
799
+
800
+ /** @description Determines the initial delay of the repeat buttons inside the header of the element. Such buttons are the Date navigation buttons and the view scroll buttons. */
801
+ @Input()
802
+ get spinButtonsInitialDelay(): number {
803
+ return this.nativeElement ? this.nativeElement.spinButtonsInitialDelay : undefined;
804
+ }
805
+ set spinButtonsInitialDelay(value: number) {
806
+ this.nativeElement ? this.nativeElement.spinButtonsInitialDelay = value : undefined;
807
+ }
808
+
809
+ /** @description Defines the statuses that will be available for selection thourgh the window editor for the events. */
810
+ @Input()
811
+ get statuses(): SchedulerStatuse[] {
812
+ return this.nativeElement ? this.nativeElement.statuses : undefined;
813
+ }
814
+ set statuses(value: SchedulerStatuse[]) {
815
+ this.nativeElement ? this.nativeElement.statuses = value : undefined;
816
+ }
817
+
818
+ /** @description Sets or gets the element's visual theme. */
819
+ @Input()
820
+ get theme(): string {
821
+ return this.nativeElement ? this.nativeElement.theme : undefined;
822
+ }
823
+ set theme(value: string) {
824
+ this.nativeElement ? this.nativeElement.theme = value : undefined;
825
+ }
826
+
827
+ /** @description A format function for the Header of the Timeline. Allows to modify the date labels in the header cells. */
828
+ @Input()
829
+ get timelineHeaderFormatFunction(): any {
830
+ return this.nativeElement ? this.nativeElement.timelineHeaderFormatFunction : undefined;
831
+ }
832
+ set timelineHeaderFormatFunction(value: any) {
833
+ this.nativeElement ? this.nativeElement.timelineHeaderFormatFunction = value : undefined;
834
+ }
835
+
836
+ /** @description Determines the date scale for the timeline cells. */
837
+ @Input()
838
+ get timelineDayScale(): SchedulerTimelineDayScale | string {
839
+ return this.nativeElement ? this.nativeElement.timelineDayScale : undefined;
840
+ }
841
+ set timelineDayScale(value: SchedulerTimelineDayScale | string) {
842
+ this.nativeElement ? this.nativeElement.timelineDayScale = value : undefined;
843
+ }
844
+
845
+ /** @description Enables/Disables the tick marks next to the time cells in the vertical header of the element. Time header appears in 'day' and 'week' views. */
846
+ @Input()
847
+ get timeRulerTicks(): boolean {
848
+ return this.nativeElement ? this.nativeElement.timeRulerTicks : undefined;
849
+ }
850
+ set timeRulerTicks(value: boolean) {
851
+ this.nativeElement ? this.nativeElement.timeRulerTicks = value : undefined;
852
+ }
853
+
854
+ /** @description Determines the timeZone for the element. By default if the local time zone is used if the property is not set. */
855
+ @Input()
856
+ get timeZone(): SchedulerTimeZone | string {
857
+ return this.nativeElement ? this.nativeElement.timeZone : undefined;
858
+ }
859
+ set timeZone(value: SchedulerTimeZone | string) {
860
+ this.nativeElement ? this.nativeElement.timeZone = value : undefined;
861
+ }
862
+
863
+ /** @description Allows to display additional timeZones at once along with the default that is set via the timeZone property. Accepts an array values that represent the ids of valid time zones. The possbile time zones can be viewed in the timeZone property description. By default the local time zone is displayed. */
864
+ @Input()
865
+ get timeZones(): any {
866
+ return this.nativeElement ? this.nativeElement.timeZones : undefined;
867
+ }
868
+ set timeZones(value: any) {
869
+ this.nativeElement ? this.nativeElement.timeZones = value : undefined;
870
+ }
871
+
872
+ /** @description Determines the delay ( in miliseconds) before the tooltip/menu appears. */
873
+ @Input()
874
+ get tooltipDelay(): number {
875
+ return this.nativeElement ? this.nativeElement.tooltipDelay : undefined;
876
+ }
877
+ set tooltipDelay(value: number) {
878
+ this.nativeElement ? this.nativeElement.tooltipDelay = value : undefined;
879
+ }
880
+
881
+ /** @description Determines the offset ot the tooltip/menu. */
882
+ @Input()
883
+ get tooltipOffset(): number[] {
884
+ return this.nativeElement ? this.nativeElement.tooltipOffset : undefined;
885
+ }
886
+ set tooltipOffset(value: number[]) {
887
+ this.nativeElement ? this.nativeElement.tooltipOffset = value : undefined;
888
+ }
889
+
890
+ /** @description Determines weather or not vertical scrollbar is shown. */
891
+ @Input()
892
+ get verticalScrollBarVisibility(): VerticalScrollBarVisibility | string {
893
+ return this.nativeElement ? this.nativeElement.verticalScrollBarVisibility : undefined;
894
+ }
895
+ set verticalScrollBarVisibility(value: VerticalScrollBarVisibility | string) {
896
+ this.nativeElement ? this.nativeElement.verticalScrollBarVisibility = value : undefined;
897
+ }
898
+
899
+ /** @description Determines the current view. The property accepts view values that are defined in the views property. Custom views should contain a valid value that will be set as the current view. */
900
+ @Input()
901
+ get view(): string {
902
+ return this.nativeElement ? this.nativeElement.view : undefined;
903
+ }
904
+ set view(value: string) {
905
+ this.nativeElement ? this.nativeElement.view = value : undefined;
906
+ }
907
+
908
+ /** @description Indicates the current Scheduler viewType. Custom views must contain a valid type property that corresponds to one of the view types. This property should not be set. */
909
+ @Input()
910
+ get viewType(): SchedulerViewType | string {
911
+ return this.nativeElement ? this.nativeElement.viewType : undefined;
912
+ }
913
+ set viewType(value: SchedulerViewType | string) {
914
+ this.nativeElement ? this.nativeElement.viewType = value : undefined;
915
+ }
916
+
917
+ /** @description Determines the viewing date range of the timeline. The property should be set to an array of strings or view objects. When you set it to a string, you should use any of the following: 'day', 'week', 'month', 'agenda', 'timelineDay', 'timelineWeek', 'timelineMonth'. Custom views can be defined as objects instead of strings. The view object should contain the following properties: label - the label for the view.value - the value for the view. The value is the unique identifier for the view.type - the type of view. The type should be one of the default allowed values for a view.hideWeekend - an Optional property that allows to hide the weekend only for this specific view.hideNonworkingWeekdays - an Optional property that allows to hide the nonwrking weekdays for this specific view.shortcutKey - an Optional property that allows to set a custom shortcut key for the view.hideHours - an Optional property applicable only to timelineWeek view that allows to hide the hour cells and only show the day cells. */
918
+ @Input()
919
+ get views(): SchedulerViews | string {
920
+ return this.nativeElement ? this.nativeElement.views : undefined;
921
+ }
922
+ set views(value: SchedulerViews | string) {
923
+ this.nativeElement ? this.nativeElement.views = value : undefined;
924
+ }
925
+
926
+ /** @description Determines type of the view selector located in the header of the element. */
927
+ @Input()
928
+ get viewSelectorType(): SchedulerViewSelectorType | string {
929
+ return this.nativeElement ? this.nativeElement.viewSelectorType : undefined;
930
+ }
931
+ set viewSelectorType(value: SchedulerViewSelectorType | string) {
932
+ this.nativeElement ? this.nativeElement.viewSelectorType = value : undefined;
933
+ }
934
+
935
+ /** @description Determines the Start Date rule. The Week and TimelineWeek views start by default from the current date taking into account the firstDayOfWeek property. When this property is set to 'dateCurrent', these views will start from the value of the 'dateCurrent'. */
936
+ @Input()
937
+ get viewStartDay(): SchedulerViewStartDay | string {
938
+ return this.nativeElement ? this.nativeElement.viewStartDay : undefined;
939
+ }
940
+ set viewStartDay(value: SchedulerViewStartDay | string) {
941
+ this.nativeElement ? this.nativeElement.viewStartDay = value : undefined;
942
+ }
943
+
944
+ /** @description Determines the format of the week days inside the element. */
945
+ @Input()
946
+ get weekdayFormat(): WeekDayFormat | string {
947
+ return this.nativeElement ? this.nativeElement.weekdayFormat : undefined;
948
+ }
949
+ set weekdayFormat(value: WeekDayFormat | string) {
950
+ this.nativeElement ? this.nativeElement.weekdayFormat = value : undefined;
951
+ }
952
+
953
+ /** @description Determines the format of the dates inside the timeline header when they represent years. */
954
+ @Input()
955
+ get yearFormat(): YearFormat | string {
956
+ return this.nativeElement ? this.nativeElement.yearFormat : undefined;
957
+ }
958
+ set yearFormat(value: YearFormat | string) {
959
+ this.nativeElement ? this.nativeElement.yearFormat = value : undefined;
960
+ }
961
+
962
+ /** @description Sets or gets if the element can be focused. */
963
+ @Input()
964
+ get unfocusable(): boolean {
965
+ return this.nativeElement ? this.nativeElement.unfocusable : undefined;
966
+ }
967
+ set unfocusable(value: boolean) {
968
+ this.nativeElement ? this.nativeElement.unfocusable = value : undefined;
969
+ }
970
+
971
+ /** @description Determines the maximum number of redo/undo steps that will be remembered by the Scheduler. When the number is reached the oldest records are removed in order to add new. */
972
+ @Input()
973
+ get undoRedoSteps(): number {
974
+ return this.nativeElement ? this.nativeElement.undoRedoSteps : undefined;
975
+ }
976
+ set undoRedoSteps(value: number) {
977
+ this.nativeElement ? this.nativeElement.undoRedoSteps = value : undefined;
978
+ }
979
+
980
+ /** @description A function that can be used to completly customize the popup Window that is used to edit events. The function has the following arguments: target - the target popup Window that is about to be opened.type - the type of the window. The type determines the purpose of the window. The default type is an empty string which means that it's the default event editing window. The other type is 'confirm' ( confirmation window) that appears when clicking on a repeating event. eventObj - the event object that is going to be edited. */
981
+ @Input()
982
+ get windowCustomizationFunction(): any {
983
+ return this.nativeElement ? this.nativeElement.windowCustomizationFunction : undefined;
984
+ }
985
+ set windowCustomizationFunction(value: any) {
986
+ this.nativeElement ? this.nativeElement.windowCustomizationFunction = value : undefined;
987
+ }
988
+
989
+ /** @description This event is triggered when a batch update was started after executing the beginUpdate method.
990
+ * @param event. The custom event. */
991
+ @Output() onBeginUpdate: EventEmitter<CustomEvent> = new EventEmitter();
992
+
993
+ /** @description This event is triggered when a batch update was ended from after executing the endUpdate method.
994
+ * @param event. The custom event. */
995
+ @Output() onEndUpdate: EventEmitter<CustomEvent> = new EventEmitter();
996
+
997
+ /** @description This event is triggered when a new cell is selected/unselected.
998
+ * @param event. The custom event. Custom event was created with: event.detail( value, oldValue)
999
+ * value - The new selected Date.
1000
+ * oldValue - The previously selected Date.
1001
+ */
1002
+ @Output() onChange: EventEmitter<CustomEvent> = new EventEmitter();
1003
+
1004
+ /** @description This event is triggered when an Event has been updated/inserted/removed/dragged/resized or an exception of a repeating event has been added/updated/removed.
1005
+ * @param event. The custom event. Custom event was created with: event.detail( item, type)
1006
+ * item - An object that represents the actual item with it's attributes.
1007
+ * type - The type of change that is being done to the item.
1008
+ */
1009
+ @Output() onItemChange: EventEmitter<CustomEvent> = new EventEmitter();
1010
+
1011
+ /** @description This event is triggered when an Event is going to be updated/inserted/removed. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1012
+ * @param event. The custom event. Custom event was created with: event.detail( item, type)
1013
+ * item - An object that represents the actual item with it's attributes.
1014
+ * type - The type of change that is going to be made to the item (e.g. 'inserting', 'removing', 'updating', 'exceptionInserting', 'exceptionUpdating', 'exceptionRemoving').
1015
+ */
1016
+ @Output() onItemChanging: EventEmitter<CustomEvent> = new EventEmitter();
1017
+
1018
+ /** @description This event is triggered when en event, event item or a context menu item is clicked.
1019
+ * @param event. The custom event. Custom event was created with: event.detail( item, type, itemObj)
1020
+ * item - The HTMLElement for the event.
1021
+ * type - The type of item that is clicked. The possible values are: <ul><li>event - when an event item is clicked.</li><li>context - when a context menu item is clicked.</li></ul>.
1022
+ * itemObj - The event object.
1023
+ */
1024
+ @Output() onItemClick: EventEmitter<CustomEvent> = new EventEmitter();
1025
+
1026
+ /** @description This event is triggered when an Event is inserted.
1027
+ * @param event. The custom event. Custom event was created with: event.detail( item)
1028
+ * item - An object that represents the actual item with it's attributes.
1029
+ */
1030
+ @Output() onItemInsert: EventEmitter<CustomEvent> = new EventEmitter();
1031
+
1032
+ /** @description This event is triggered when an Event is removed.
1033
+ * @param event. The custom event. Custom event was created with: event.detail( item)
1034
+ * item - An object that represents the actual item with it's attributes.
1035
+ */
1036
+ @Output() onItemRemove: EventEmitter<CustomEvent> = new EventEmitter();
1037
+
1038
+ /** @description This event is triggered when an Event is updated.
1039
+ * @param event. The custom event. Custom event was created with: event.detail( type, item)
1040
+ * type - The type of item that has been modified.
1041
+ * item - An object that represents the actual item with it's attributes.
1042
+ */
1043
+ @Output() onItemUpdate: EventEmitter<CustomEvent> = new EventEmitter();
1044
+
1045
+ /** @description This event is triggered when the view is changed via user interaction.
1046
+ * @param event. The custom event. Custom event was created with: event.detail( oldValue, value)
1047
+ * oldValue - The value of the previously selected view.
1048
+ * value - The value of the new selected view.
1049
+ */
1050
+ @Output() onViewChange: EventEmitter<CustomEvent> = new EventEmitter();
1051
+
1052
+ /** @description This event is triggered before the view is changed via user interaction. The view change action can be canceled if event.preventDefault() is called on the event.
1053
+ * @param event. The custom event. Custom event was created with: event.detail( oldValue, value)
1054
+ * oldValue - The value of the previously selected view.
1055
+ * value - The value of the new selected view.
1056
+ */
1057
+ @Output() onViewChanging: EventEmitter<CustomEvent> = new EventEmitter();
1058
+
1059
+ /** @description This event is triggered when a shortcut key for an event is pressed. By default only 'Delete' key is used.
1060
+ * @param event. The custom event. Custom event was created with: event.detail( key, target, eventObj)
1061
+ * key - The shortcut key that was pressed.
1062
+ * target - The event target (HTMLElement).
1063
+ * eventObj - The scheduler Event object that affected by the keypress.
1064
+ */
1065
+ @Output() onEventShortcutKey: EventEmitter<CustomEvent> = new EventEmitter();
1066
+
1067
+ /** @description This event is triggered when the 'dateCurrent' property is changed. This can be caused by navigating to a different date.
1068
+ * @param event. The custom event. Custom event was created with: event.detail( oldValue, value)
1069
+ * oldValue - The previous current date that was in view.
1070
+ * value - The current date in view.
1071
+ */
1072
+ @Output() onDateChange: EventEmitter<CustomEvent> = new EventEmitter();
1073
+
1074
+ /** @description This event is triggered when dragging of an event begins. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1075
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, itemDateRange, originalEvent)
1076
+ * target - The HTMLElement that corresponds to the event that is going to be dragged.
1077
+ * item - The scheduler Event object that is going to be dragged.
1078
+ * itemDateRange - The start/end dates for the Scheduler Event.
1079
+ * originalEvent - The original event object.
1080
+ */
1081
+ @Output() onDragStart: EventEmitter<CustomEvent> = new EventEmitter();
1082
+
1083
+ /** @description This event is triggered when dragging of an event finishes.
1084
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, itemDateRange, originalEvent)
1085
+ * target - The HTMLElement that corresponds to the event that is dragged.
1086
+ * item - The scheduler Event object that is dragged.
1087
+ * itemDateRange - The new start/end dates for the dragged Scheduler Event.
1088
+ * originalEvent - The original event object.
1089
+ */
1090
+ @Output() onDragEnd: EventEmitter<CustomEvent> = new EventEmitter();
1091
+
1092
+ /** @description This event is triggered when the user drops an item over a cell.
1093
+ * @param event. The custom event. Custom event was created with: event.detail( target, date, allDay)
1094
+ * target - The HTMLElement that corresponds to the event that is dragged.
1095
+ * date - The cell's date under the pointer.
1096
+ * allDay - Boolean value, which is true when the cell under the pointer is all day cell.
1097
+ */
1098
+ @Output() onDropoverCell: EventEmitter<CustomEvent> = new EventEmitter();
1099
+
1100
+ /** @description This event is triggered when resizing of a task starts. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1101
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, itemDateRange, originalEvent)
1102
+ * target - The HTMLElement that corresponds to the event that is going to be resized.
1103
+ * item - The scheduler Event object that is going to be resized.
1104
+ * itemDateRange - The start/end dates for Scheduler Event that is going to be resized.
1105
+ * originalEvent - The original event object.
1106
+ */
1107
+ @Output() onResizeStart: EventEmitter<CustomEvent> = new EventEmitter();
1108
+
1109
+ /** @description This event is triggered when the resizing of an event finishes.
1110
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, itemDateRange, originalEvent)
1111
+ * target - The HTMLElement that corresponds to the event that is resized.
1112
+ * item - The scheduler Event object that is resized.
1113
+ * itemDateRange - The new start/end dates for the resized Scheduler Event.
1114
+ * originalEvent - The original event object.
1115
+ */
1116
+ @Output() onResizeEnd: EventEmitter<CustomEvent> = new EventEmitter();
1117
+
1118
+ /** @description This event is triggered when the user starts top open the event dialog window. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1119
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, type, eventObj)
1120
+ * target - The dialog window that is opening.
1121
+ * item - The event object that is going to be edited.
1122
+ * type - The type of window that is going to open. Two window types are available, the dafault which is an empty string ( does not have a type) and 'confirm' which is displayed when clicked on a repeating event.
1123
+ * eventObj - The event object that is the target of the menu.
1124
+ */
1125
+ @Output() onEditDialogOpening: EventEmitter<CustomEvent> = new EventEmitter();
1126
+
1127
+ /** @description This event is triggered when the user opens the event dialog window.
1128
+ * @param event. The custom event. Custom event was created with: event.detail( target, editors, item, eventObj)
1129
+ * target - The dialog window that is opened.
1130
+ * editors - An object containing all event editors that are present inside the window. This property is undefined when the window is of type 'confirm', because confirm windows do not contain editors.
1131
+ * item - The event object that is being edited.
1132
+ * eventObj - The event object that is the target of the menu.
1133
+ */
1134
+ @Output() onEditDialogOpen: EventEmitter<CustomEvent> = new EventEmitter();
1135
+
1136
+ /** @description This event is triggered when the user closes the event dialog window.
1137
+ * @param event. The custom event. Custom event was created with: event.detail( target, editors, item, eventObj)
1138
+ * target - The dialog window that is closed.
1139
+ * editors - An object containing all event editors that are present inside the window. This property is undefined when the window is of type 'confirm', because confirm windows do not contain editors.
1140
+ * item - The event object that is being edited.
1141
+ * eventObj - The event object that is the target of the menu.
1142
+ */
1143
+ @Output() onEditDialogClose: EventEmitter<CustomEvent> = new EventEmitter();
1144
+
1145
+ /** @description This event is triggered when the user is about to close the event dialog window. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1146
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, type, eventObj)
1147
+ * target - The dialog window that is closing.
1148
+ * item - The event object that is edited.
1149
+ * type - The type of window that is going to be closed. Two window types are available, the dafault which is an empty string ( does not have a type) and 'confirm' which is displayed when clicked on a repeating event.
1150
+ * eventObj - The event object that is the target of the menu.
1151
+ */
1152
+ @Output() onEditDialogClosing: EventEmitter<CustomEvent> = new EventEmitter();
1153
+
1154
+ /** @description This event is triggered when the user begins to open the context menu on a timeline cell or an event element. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1155
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, cellObj, eventObj)
1156
+ * target - The context menu instance.
1157
+ * owner - The HTMLElement that the menu belongs to.
1158
+ * cellObj - The cell object that is the target of the menu. If the target is an event instead of a cell this parameter will be undefined.
1159
+ * eventObj - The event object that is the target of the menu. If the target is a cell instead of an event this paramter will be undefined.
1160
+ */
1161
+ @Output() onContextMenuOpening: EventEmitter<CustomEvent> = new EventEmitter();
1162
+
1163
+ /** @description This event is triggered when the context menu is opened.
1164
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, cellObj, eventObj)
1165
+ * target - The context menu instance.
1166
+ * owner - The HTMLElement that the menu belongs to.
1167
+ * cellObj - The cell object that is the target of the menu. If the target is an event instead of a cell this parameter will be undefined.
1168
+ * eventObj - The event object that is the target of the menu. If the target is a cell instead of an event this paramter will be undefined.
1169
+ */
1170
+ @Output() onContextMenuOpen: EventEmitter<CustomEvent> = new EventEmitter();
1171
+
1172
+ /** @description This event is triggered when the context menu is closed.
1173
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, cellObj, eventObj)
1174
+ * target - The context menu instance.
1175
+ * owner - The HTMLElement that the menu belongs to.
1176
+ * cellObj - The cell object that is the target of the menu. If the target is an event instead of a cell this parameter will be undefined.
1177
+ * eventObj - The event object that is the target of the menu. If the target is a cell instead of an event this paramter will be undefined.
1178
+ */
1179
+ @Output() onContextMenuClose: EventEmitter<CustomEvent> = new EventEmitter();
1180
+
1181
+ /** @description This event is triggered when the user is about to close the context menu. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1182
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, cellObj, eventObj)
1183
+ * target - The context menu instance.
1184
+ * owner - The HTMLElement that the menu belongs to.
1185
+ * cellObj - The cell object that is the target of the menu. If the target is an event instead of a cell this parameter will be undefined.
1186
+ * eventObj - The event object that is the target of the menu. If the target is a cell instead of an event this paramter will be undefined.
1187
+ */
1188
+ @Output() onContextMenuClosing: EventEmitter<CustomEvent> = new EventEmitter();
1189
+
1190
+ /** @description This event is triggered when the event menu is about to open. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1191
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, eventObj)
1192
+ * target - The menu instance.
1193
+ * owner - The HTMLElement of the event that the menu belongs to.
1194
+ * eventObj - The event object that is the target of the menu.
1195
+ */
1196
+ @Output() onEventMenuOpening: EventEmitter<CustomEvent> = new EventEmitter();
1197
+
1198
+ /** @description This event is triggered when the event menu is opened.
1199
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, eventObj)
1200
+ * target - The menu instance.
1201
+ * owner - The HTMLElement of the event that the menu belongs to.
1202
+ * eventObj - The event object that is the target of the menu.
1203
+ */
1204
+ @Output() onEventMenuOpen: EventEmitter<CustomEvent> = new EventEmitter();
1205
+
1206
+ /** @description This event is triggered when the event menu is closed.
1207
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, eventObj)
1208
+ * target - The menu instance.
1209
+ * owner - The HTMLElement of the event that the menu belongs to.
1210
+ * eventObj - The event object that is the target of the menu.
1211
+ */
1212
+ @Output() onEventMenuClose: EventEmitter<CustomEvent> = new EventEmitter();
1213
+
1214
+ /** @description This event is triggered when the evet menu is about to close. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1215
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, eventObj)
1216
+ * target - The menu instance.
1217
+ * owner - The HTMLElement of the event that the menu belongs to.
1218
+ * eventObj - The event object that is the target of the menu.
1219
+ */
1220
+ @Output() onEventMenuClosing: EventEmitter<CustomEvent> = new EventEmitter();
1221
+
1222
+ /** @description This event is triggered when the date selection menu is opened.
1223
+ * @param event. The custom event. Custom event was created with: event.detail( target)
1224
+ * target - The menu instance.
1225
+ */
1226
+ @Output() onDateMenuOpen: EventEmitter<CustomEvent> = new EventEmitter();
1227
+
1228
+ /** @description This event is triggered when the date selection menu is closed.
1229
+ * @param event. The custom event. Custom event was created with: event.detail( target)
1230
+ * target - The menu instance.
1231
+ */
1232
+ @Output() onDateMenuClose: EventEmitter<CustomEvent> = new EventEmitter();
1233
+
1234
+ /** @description This event is triggered when the view selection menu is opened.
1235
+ * @param event. The custom event. Custom event was created with: event.detail( target)
1236
+ * target - The menu instance.
1237
+ */
1238
+ @Output() onViewMenuOpen: EventEmitter<CustomEvent> = new EventEmitter();
1239
+
1240
+ /** @description This event is triggered when the view selection menu is closed.
1241
+ * @param event. The custom event. Custom event was created with: event.detail( target)
1242
+ * target - The menu instance.
1243
+ */
1244
+ @Output() onViewMenuClose: EventEmitter<CustomEvent> = new EventEmitter();
1245
+
1246
+ /** @description This event is triggered when a notification is opened.
1247
+ * @param event. The custom event. Custom event was created with: event.detail( instance)
1248
+ * instance - The toast item instance that is opened.
1249
+ */
1250
+ @Output() onNotificationOpen: EventEmitter<CustomEvent> = new EventEmitter();
1251
+
1252
+ /** @description This event is triggered when a notification is closed.
1253
+ * @param event. The custom event. Custom event was created with: event.detail( instance)
1254
+ * instance - The toast item instance that is closed.
1255
+ */
1256
+ @Output() onNotificationClose: EventEmitter<CustomEvent> = new EventEmitter();
1257
+
1258
+ /** @description Adds an event to the Scheduler. Accepts an event object of the following format (same as the dataSource format): { label?: string, dateStart: date, dateEnd: date, description?: string, id?: string | number, class?: string, backgroundColor?: string, color?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], allDay?: boolean, disableDrag?: boolean, disableResize?: boolean, repeat?: { repeatFreq: string, repeatInterval: number, repeatOn?: number | number[] | date, repeatEnd?: number | date, exceptions?: { date: date, dateStart?: date, dateEnd?: date, hidden?: boolean, backgroundColor?: string, status?: string, label?: string, description?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], disableDrag?: boolean, disableResize?: boolean }[] }, status?: string }
1259
+ * @param {any} eventObj. An object describing a Scheduler event that is not already present in the element.
1260
+ */
1261
+ public addEvent(eventObj: any): void {
1262
+ if (this.nativeElement.isRendered) {
1263
+ this.nativeElement.addEvent(eventObj);
1264
+ }
1265
+ else
1266
+ {
1267
+ this.nativeElement.whenRendered(() => {
1268
+ this.nativeElement.addEvent(eventObj);
1269
+ });
1270
+ }
1271
+ }
1272
+
1273
+ /** @description Adds a new view. Example: scheduler.addView('week', 'My View', 'myView', false, false, 10); scheduler.setView('myView');
1274
+ * @param {string} type. The view type.
1275
+ * @param {string} label. The view's label displayed in the header.
1276
+ * @param {string} value. The view's value used to identify the view.
1277
+ * @param {boolean} hideWeekend. Determines whether to hide the weekend.
1278
+ * @param {boolean} hideNonworkingWeekdays. Determines whether to hide the non working days.
1279
+ * @param {number} additionalDays. Determines whether to add additional days to the view.
1280
+ */
1281
+ public addView(type: string, label: string, value: string, hideWeekend: boolean, hideNonworkingWeekdays: boolean, additionalDays: number): void {
1282
+ if (this.nativeElement.isRendered) {
1283
+ this.nativeElement.addView(type, label, value, hideWeekend, hideNonworkingWeekdays, additionalDays);
1284
+ }
1285
+ else
1286
+ {
1287
+ this.nativeElement.whenRendered(() => {
1288
+ this.nativeElement.addView(type, label, value, hideWeekend, hideNonworkingWeekdays, additionalDays);
1289
+ });
1290
+ }
1291
+ }
1292
+
1293
+ /** @description Starts an update operation. This is appropriate when calling multiple methods or set multiple properties at once.
1294
+ */
1295
+ public beginUpdate(): void {
1296
+ if (this.nativeElement.isRendered) {
1297
+ this.nativeElement.beginUpdate();
1298
+ }
1299
+ else
1300
+ {
1301
+ this.nativeElement.whenRendered(() => {
1302
+ this.nativeElement.beginUpdate();
1303
+ });
1304
+ }
1305
+ }
1306
+
1307
+ /** @description Creates an event and adds it to the Scheduler.
1308
+ * @param {string} label. Event label.
1309
+ * @param {string} value. Event value.
1310
+ * @param {string} dateStart. Event date start.
1311
+ * @param {string} dateEnd. Event date end.
1312
+ * @param {boolean} allDay. Event all day. Set it to true to create all day event.
1313
+ */
1314
+ public createEvent(label: string, value: string, dateStart: string, dateEnd: string, allDay: boolean): void {
1315
+ if (this.nativeElement.isRendered) {
1316
+ this.nativeElement.createEvent(label, value, dateStart, dateEnd, allDay);
1317
+ }
1318
+ else
1319
+ {
1320
+ this.nativeElement.whenRendered(() => {
1321
+ this.nativeElement.createEvent(label, value, dateStart, dateEnd, allDay);
1322
+ });
1323
+ }
1324
+ }
1325
+
1326
+ /** @description Ends the update operation. This method will resume the rendering and will refresh the element.
1327
+ */
1328
+ public endUpdate(): void {
1329
+ if (this.nativeElement.isRendered) {
1330
+ this.nativeElement.endUpdate();
1331
+ }
1332
+ else
1333
+ {
1334
+ this.nativeElement.whenRendered(() => {
1335
+ this.nativeElement.endUpdate();
1336
+ });
1337
+ }
1338
+ }
1339
+
1340
+ /** @description Returns an array of the start and end view dates.
1341
+ * @returns {Date[]}
1342
+ */
1343
+ public async getViewDates(): Promise<any> {
1344
+ const getResultOnRender = () => {
1345
+ return new Promise(resolve => {
1346
+ this.nativeElement.whenRendered(() => {
1347
+ const result = this.nativeElement.getViewDates();
1348
+ resolve(result)
1349
+ });
1350
+ });
1351
+ };
1352
+ const result = await getResultOnRender();
1353
+
1354
+ return result;
1355
+ }
1356
+
1357
+ /** @description Refereshes the Scheduler by recalculating the Scrollbars.
1358
+ * @param {boolean} fullRefresh?. If set the Scheduler will be re-rendered completely.
1359
+ */
1360
+ public refresh(fullRefresh?: boolean): void {
1361
+ if (this.nativeElement.isRendered) {
1362
+ this.nativeElement.refresh(fullRefresh);
1363
+ }
1364
+ else
1365
+ {
1366
+ this.nativeElement.whenRendered(() => {
1367
+ this.nativeElement.refresh(fullRefresh);
1368
+ });
1369
+ }
1370
+ }
1371
+
1372
+ /** @description Exports the events from the Scheduler.
1373
+ * @param {string} dataFormat. Determines the format of the exported file. The following values are available: <ul><li><b>pdf</b></li><li><b>xlsx</b></li><li><b>html</b></li><li><b>iCal</b></li></ul>
1374
+ * @param {any} callback?. A callback that allows to format the exported data based on a condition. For additional details, refer ro the Smart Export Documentation.
1375
+ */
1376
+ public exportData(dataFormat: string, callback?: any): void {
1377
+ if (this.nativeElement.isRendered) {
1378
+ this.nativeElement.exportData(dataFormat, callback);
1379
+ }
1380
+ else
1381
+ {
1382
+ this.nativeElement.whenRendered(() => {
1383
+ this.nativeElement.exportData(dataFormat, callback);
1384
+ });
1385
+ }
1386
+ }
1387
+
1388
+ /** @description Returns a JSON representation of the events inside the Scheduler.
1389
+ * @returns {any}
1390
+ */
1391
+ public async getDataSource(): Promise<any> {
1392
+ const getResultOnRender = () => {
1393
+ return new Promise(resolve => {
1394
+ this.nativeElement.whenRendered(() => {
1395
+ const result = this.nativeElement.getDataSource();
1396
+ resolve(result)
1397
+ });
1398
+ });
1399
+ };
1400
+ const result = await getResultOnRender();
1401
+
1402
+ return result;
1403
+ }
1404
+
1405
+ /** @description Returns a JSON representation of the resources inside the Scheduler.
1406
+ * @returns {any}
1407
+ */
1408
+ public async getResources(): Promise<any> {
1409
+ const getResultOnRender = () => {
1410
+ return new Promise(resolve => {
1411
+ this.nativeElement.whenRendered(() => {
1412
+ const result = this.nativeElement.getResources();
1413
+ resolve(result)
1414
+ });
1415
+ });
1416
+ };
1417
+ const result = await getResultOnRender();
1418
+
1419
+ return result;
1420
+ }
1421
+
1422
+ /** @description Gets a date from coordinates
1423
+ * @param {number} x. X coordinate.
1424
+ * @param {number} y. Y coordinate.
1425
+ * @returns {string}
1426
+ */
1427
+ public async getDateFromCoordinates(x, y): Promise<any> {
1428
+ const getResultOnRender = () => {
1429
+ return new Promise(resolve => {
1430
+ this.nativeElement.whenRendered(() => {
1431
+ const result = this.nativeElement.getDateFromCoordinates(x, y);
1432
+ resolve(result)
1433
+ });
1434
+ });
1435
+ };
1436
+ const result = await getResultOnRender();
1437
+
1438
+ return result;
1439
+ }
1440
+
1441
+ /** @description Gets whether a cell is all day cell from coordinates
1442
+ * @param {number} x. X coordinate.
1443
+ * @param {number} y. Y coordinate.
1444
+ * @returns {boolean}
1445
+ */
1446
+ public async getIsAllDayCellFromCoordinates(x, y): Promise<any> {
1447
+ const getResultOnRender = () => {
1448
+ return new Promise(resolve => {
1449
+ this.nativeElement.whenRendered(() => {
1450
+ const result = this.nativeElement.getIsAllDayCellFromCoordinates(x, y);
1451
+ resolve(result)
1452
+ });
1453
+ });
1454
+ };
1455
+ const result = await getResultOnRender();
1456
+
1457
+ return result;
1458
+ }
1459
+
1460
+ /** @description Returns the current state of the Scheduler. Includes the current dateCurernt, dataSource and timeZone properties.
1461
+ * @returns {any}
1462
+ */
1463
+ public async getState(): Promise<any> {
1464
+ const getResultOnRender = () => {
1465
+ return new Promise(resolve => {
1466
+ this.nativeElement.whenRendered(() => {
1467
+ const result = this.nativeElement.getState();
1468
+ resolve(result)
1469
+ });
1470
+ });
1471
+ };
1472
+ const result = await getResultOnRender();
1473
+
1474
+ return result;
1475
+ }
1476
+
1477
+ /** @description Removes a previously saved state of the element form LocalStorage according to it's id. Requires an id to be set to the element.
1478
+ */
1479
+ public clearState(): void {
1480
+ if (this.nativeElement.isRendered) {
1481
+ this.nativeElement.clearState();
1482
+ }
1483
+ else
1484
+ {
1485
+ this.nativeElement.whenRendered(() => {
1486
+ this.nativeElement.clearState();
1487
+ });
1488
+ }
1489
+ }
1490
+
1491
+ /** @description Loads a previously saved state of the element or checks LocalStorage for any saved states if no argument is passed to the method.
1492
+ * @param {any[]} state?. An Array containing a valid structure of Scheduler events. If no state is provided, the element will check localStorage for a saved state.
1493
+ */
1494
+ public loadState(state?: any[]): void {
1495
+ if (this.nativeElement.isRendered) {
1496
+ this.nativeElement.loadState(state);
1497
+ }
1498
+ else
1499
+ {
1500
+ this.nativeElement.whenRendered(() => {
1501
+ this.nativeElement.loadState(state);
1502
+ });
1503
+ }
1504
+ }
1505
+
1506
+ /** @description Saves the current events of the element to LocalStorage. Requires an id to be set to the element.
1507
+ * @param {any[]} state?. An Array containing a valid structure of Scheduler events.
1508
+ */
1509
+ public saveState(state?: any[]): void {
1510
+ if (this.nativeElement.isRendered) {
1511
+ this.nativeElement.saveState(state);
1512
+ }
1513
+ else
1514
+ {
1515
+ this.nativeElement.whenRendered(() => {
1516
+ this.nativeElement.saveState(state);
1517
+ });
1518
+ }
1519
+ }
1520
+
1521
+ /** @description Sets the Scheduler's view. Example: scheduler.addView('week', 'My View', 'myView', false, false, 10); scheduler.setView('myView');
1522
+ * @param {string} view?. The view's value. For example: 'day'.
1523
+ */
1524
+ public setView(view?: string): void {
1525
+ if (this.nativeElement.isRendered) {
1526
+ this.nativeElement.setView(view);
1527
+ }
1528
+ else
1529
+ {
1530
+ this.nativeElement.whenRendered(() => {
1531
+ this.nativeElement.setView(view);
1532
+ });
1533
+ }
1534
+ }
1535
+
1536
+ /** @description Checks whether the Scheduler contains the event.
1537
+ * @param {any} eventObj. A Scheduler event object.
1538
+ * @returns {boolean}
1539
+ */
1540
+ public async containsEvent(eventObj): Promise<any> {
1541
+ const getResultOnRender = () => {
1542
+ return new Promise(resolve => {
1543
+ this.nativeElement.whenRendered(() => {
1544
+ const result = this.nativeElement.containsEvent(eventObj);
1545
+ resolve(result)
1546
+ });
1547
+ });
1548
+ };
1549
+ const result = await getResultOnRender();
1550
+
1551
+ return result;
1552
+ }
1553
+
1554
+ /** @description Inserts an event as object of the following format (same as the dataSource format): { label?: string, dateStart: date, dateEnd: date, description?: string, id?: string | number, class?: string, backgroundColor?: string, color?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], allDay?: boolean, disableDrag?: boolean, disableResize?: boolean, repeat?: { repeatFreq: string, repeatInterval: number, repeatOn?: number | number[] | date, repeatEnd?: number | date, exceptions?: { date: date, dateStart?: date, dateEnd?: date, hidden?: boolean, backgroundColor?: string, status?: string, label?: string, description?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], disableDrag?: boolean, disableResize?: boolean }[] }, status?: string }
1555
+ * @param {any} eventObj. An object describing a Scheduler event that is not already present in the element.
1556
+ * @param {number} index?. A number that represents the index to insert the event at. If not provided the event is inserted at the end of the list.
1557
+ */
1558
+ public insertEvent(eventObj: any, index?: number): void {
1559
+ if (this.nativeElement.isRendered) {
1560
+ this.nativeElement.insertEvent(eventObj, index);
1561
+ }
1562
+ else
1563
+ {
1564
+ this.nativeElement.whenRendered(() => {
1565
+ this.nativeElement.insertEvent(eventObj, index);
1566
+ });
1567
+ }
1568
+ }
1569
+
1570
+ /** @description Updates an event object of the following format (same as the dataSource format): { label?: string, dateStart: date, dateEnd: date, description?: string, id?: string | number, class?: string, backgroundColor?: string, color?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], allDay?: boolean, disableDrag?: boolean, disableResize?: boolean, repeat?: { repeatFreq: string, repeatInterval: number, repeatOn?: number | number[] | date, repeatEnd?: number | date, exceptions?: { date: date, dateStart?: date, dateEnd?: date, hidden?: boolean, backgroundColor?: string, status?: string, label?: string, description?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], disableDrag?: boolean, disableResize?: boolean }[] }, status?: string }
1571
+ * @param {any} index. A number that represents the index of an event or a Scheduler event object.
1572
+ * @param {any} eventObj. An object describing a Scheduler event. The properties of this object will be applied to the desired event.
1573
+ */
1574
+ public updateEvent(index: any, eventObj: any): void {
1575
+ if (this.nativeElement.isRendered) {
1576
+ this.nativeElement.updateEvent(index, eventObj);
1577
+ }
1578
+ else
1579
+ {
1580
+ this.nativeElement.whenRendered(() => {
1581
+ this.nativeElement.updateEvent(index, eventObj);
1582
+ });
1583
+ }
1584
+ }
1585
+
1586
+ /** @description Removes an existing event.
1587
+ * @param {any} index. A number that represents the index of an event or the actual event object to be removed.
1588
+ */
1589
+ public removeEvent(index: any): void {
1590
+ if (this.nativeElement.isRendered) {
1591
+ this.nativeElement.removeEvent(index);
1592
+ }
1593
+ else
1594
+ {
1595
+ this.nativeElement.whenRendered(() => {
1596
+ this.nativeElement.removeEvent(index);
1597
+ });
1598
+ }
1599
+ }
1600
+
1601
+ /** @description Returns an array of all exceptions of the target repeating event.
1602
+ * @param {any} eventObj. The index, id or an object reference of an existing repeating Scheduler event.
1603
+ * @returns {any}
1604
+ */
1605
+ public async getEventExceptions(eventObj): Promise<any> {
1606
+ const getResultOnRender = () => {
1607
+ return new Promise(resolve => {
1608
+ this.nativeElement.whenRendered(() => {
1609
+ const result = this.nativeElement.getEventExceptions(eventObj);
1610
+ resolve(result)
1611
+ });
1612
+ });
1613
+ };
1614
+ const result = await getResultOnRender();
1615
+
1616
+ return result;
1617
+ }
1618
+
1619
+ /** @description Adds an event exception to a repeating event. The exception occurences for a repeating event can be gathered via the following methods: occurencesoccurrencesBetweenoccurrenceAfteroccurrenceBefore. Example usage: scheduler.addEventException(eventObj, { date: occuranceDate, dateStart: newDateStart, dateEnd: newDateEnd, label: 'Exception' });
1620
+ * @param {any} eventObj. The index, id or an object reference of an existing repeating Scheduler event.
1621
+ * @param {any} exceptionObj. An event object that describes an exception. Exception event objects must have a <b>date</b> attribute of type Date which indicates the date of occurence.
1622
+ */
1623
+ public addEventException(eventObj: any, exceptionObj: any): void {
1624
+ if (this.nativeElement.isRendered) {
1625
+ this.nativeElement.addEventException(eventObj, exceptionObj);
1626
+ }
1627
+ else
1628
+ {
1629
+ this.nativeElement.whenRendered(() => {
1630
+ this.nativeElement.addEventException(eventObj, exceptionObj);
1631
+ });
1632
+ }
1633
+ }
1634
+
1635
+ /** @description Updates an event exception of a repeating event. The exception occurences for a repeating event can be gathered via the following methods: occurencesoccurrencesBetweenoccurrenceAfteroccurrenceBefore. Example usage: scheduler.updateEventException(eventObj, dateOfOccurance, { dateStart: newDateStart, dateEnd: newDateEnd, label: 'Updated Exception' });
1636
+ * @param {any} eventObj. The index, id or an object reference of an existing repeating Scheduler event.
1637
+ * @param {any} exceptionRef. The index, id, an occurence date of the exception or an object reference of an existing Scheduler repeating event exception.
1638
+ * @param {any} exceptionObj. An event object that describes an exception. All attributes of an exception can be updated except the occurance date (the <b>date</b> attribute).
1639
+ */
1640
+ public updateEventException(eventObj: any, exceptionRef: any, exceptionObj: any): void {
1641
+ if (this.nativeElement.isRendered) {
1642
+ this.nativeElement.updateEventException(eventObj, exceptionRef, exceptionObj);
1643
+ }
1644
+ else
1645
+ {
1646
+ this.nativeElement.whenRendered(() => {
1647
+ this.nativeElement.updateEventException(eventObj, exceptionRef, exceptionObj);
1648
+ });
1649
+ }
1650
+ }
1651
+
1652
+ /** @description Removes an exception from a repeating event.
1653
+ * @param {any} eventObj. The index, id or an object reference of an existing repeating Scheduler event.
1654
+ * @param {any} index. The index, id, occurance date or an object reference of an event exception that belongs to the target repeating event.
1655
+ */
1656
+ public removeEventException(eventObj: any, index: any): void {
1657
+ if (this.nativeElement.isRendered) {
1658
+ this.nativeElement.removeEventException(eventObj, index);
1659
+ }
1660
+ else
1661
+ {
1662
+ this.nativeElement.whenRendered(() => {
1663
+ this.nativeElement.removeEventException(eventObj, index);
1664
+ });
1665
+ }
1666
+ }
1667
+
1668
+ /** @description Opens the popup Window for specific event Editing.
1669
+ * @param {any} index. A number that represents the index of a event or the actual event object to be edited.
1670
+ */
1671
+ public openWindow(index: any): void {
1672
+ if (this.nativeElement.isRendered) {
1673
+ this.nativeElement.openWindow(index);
1674
+ }
1675
+ else
1676
+ {
1677
+ this.nativeElement.whenRendered(() => {
1678
+ this.nativeElement.openWindow(index);
1679
+ });
1680
+ }
1681
+ }
1682
+
1683
+ /** @description Closes the popup window.
1684
+ */
1685
+ public closeWindow(): void {
1686
+ if (this.nativeElement.isRendered) {
1687
+ this.nativeElement.closeWindow();
1688
+ }
1689
+ else
1690
+ {
1691
+ this.nativeElement.whenRendered(() => {
1692
+ this.nativeElement.closeWindow();
1693
+ });
1694
+ }
1695
+ }
1696
+
1697
+ /** @description Prepares the Scheduler for printing by opening the browser's Print Preview.
1698
+ */
1699
+ public print(): void {
1700
+ if (this.nativeElement.isRendered) {
1701
+ this.nativeElement.print();
1702
+ }
1703
+ else
1704
+ {
1705
+ this.nativeElement.whenRendered(() => {
1706
+ this.nativeElement.print();
1707
+ });
1708
+ }
1709
+ }
1710
+
1711
+ /** @description Scrolls the Scheduler to a Date.
1712
+ * @param {Date} date. The date to scroll to.
1713
+ * @param {boolean} strictScroll?. Determines whether to scroll strictly to the date or not. This mean sthat the Scheduler wll scroll to the begining of the cell that corresponds to the target date.
1714
+ * @param {boolean} autoScroll?. Calculates the scroll positions and element bounds, then adds an offset to scroll within the middle of the view.
1715
+ */
1716
+ public scrollToDate(date: Date, strictScroll?: boolean, autoScroll?: boolean): void {
1717
+ if (this.nativeElement.isRendered) {
1718
+ this.nativeElement.scrollToDate(date, strictScroll, autoScroll);
1719
+ }
1720
+ else
1721
+ {
1722
+ this.nativeElement.whenRendered(() => {
1723
+ this.nativeElement.scrollToDate(date, strictScroll, autoScroll);
1724
+ });
1725
+ }
1726
+ }
1727
+
1728
+ /** @description Navigates the Scheduler to a Date.
1729
+ * @param {Date} date. The date to navigate to.
1730
+ */
1731
+ public navigateToDate(date: Date): void {
1732
+ if (this.nativeElement.isRendered) {
1733
+ this.nativeElement.navigateToDate(date);
1734
+ }
1735
+ else
1736
+ {
1737
+ this.nativeElement.whenRendered(() => {
1738
+ this.nativeElement.navigateToDate(date);
1739
+ });
1740
+ }
1741
+ }
1742
+
1743
+ /** @description Scrolls the Scheduler to an event.
1744
+ * @param {any} index. The index of a Scheduler event or the actual event object to scroll to.
1745
+ */
1746
+ public scrollToEvent(index: any): void {
1747
+ if (this.nativeElement.isRendered) {
1748
+ this.nativeElement.scrollToEvent(index);
1749
+ }
1750
+ else
1751
+ {
1752
+ this.nativeElement.whenRendered(() => {
1753
+ this.nativeElement.scrollToEvent(index);
1754
+ });
1755
+ }
1756
+ }
1757
+
1758
+ /** @description Opens a custom notification.
1759
+ * @param {string} message. The notification message.
1760
+ * @param {any} toastSettings. Smart.Toast settings to be applied to the Toast element when opening the notification.
1761
+ */
1762
+ public openNotification(message: string, toastSettings: any): void {
1763
+ if (this.nativeElement.isRendered) {
1764
+ this.nativeElement.openNotification(message, toastSettings);
1765
+ }
1766
+ else
1767
+ {
1768
+ this.nativeElement.whenRendered(() => {
1769
+ this.nativeElement.openNotification(message, toastSettings);
1770
+ });
1771
+ }
1772
+ }
1773
+
1774
+ /** @description Closes all notifications.
1775
+ */
1776
+ public closeNotifications(): void {
1777
+ if (this.nativeElement.isRendered) {
1778
+ this.nativeElement.closeNotifications();
1779
+ }
1780
+ else
1781
+ {
1782
+ this.nativeElement.whenRendered(() => {
1783
+ this.nativeElement.closeNotifications();
1784
+ });
1785
+ }
1786
+ }
1787
+
1788
+ /** @description Returns all occurances of an event.
1789
+ * @param {any} eventObj. A Scheduler evnet object.
1790
+ * @param {number} count. The number of occurances to return. By default 100 date occurances of the event are returned.
1791
+ */
1792
+ public occurrences(eventObj: any, count: number): void {
1793
+ if (this.nativeElement.isRendered) {
1794
+ this.nativeElement.occurrences(eventObj, count);
1795
+ }
1796
+ else
1797
+ {
1798
+ this.nativeElement.whenRendered(() => {
1799
+ this.nativeElement.occurrences(eventObj, count);
1800
+ });
1801
+ }
1802
+ }
1803
+
1804
+ /** @description Returns all occurances of an event between two dates.
1805
+ * @param {any} eventObj. A Scheduler event object.
1806
+ * @param {Date} dateFrom. The start date.
1807
+ * @param {Date} dateTo. The end date.
1808
+ */
1809
+ public occurrencesBetween(eventObj: any, dateFrom: Date, dateTo: Date): void {
1810
+ if (this.nativeElement.isRendered) {
1811
+ this.nativeElement.occurrencesBetween(eventObj, dateFrom, dateTo);
1812
+ }
1813
+ else
1814
+ {
1815
+ this.nativeElement.whenRendered(() => {
1816
+ this.nativeElement.occurrencesBetween(eventObj, dateFrom, dateTo);
1817
+ });
1818
+ }
1819
+ }
1820
+
1821
+ /** @description Returns the first occurance of an event after a date.
1822
+ * @param {any} eventObj. A Scheduler event object.
1823
+ * @param {number} date. The date after which the first occurance of the event will be returned.
1824
+ */
1825
+ public occurrenceAfter(eventObj: any, date: number): void {
1826
+ if (this.nativeElement.isRendered) {
1827
+ this.nativeElement.occurrenceAfter(eventObj, date);
1828
+ }
1829
+ else
1830
+ {
1831
+ this.nativeElement.whenRendered(() => {
1832
+ this.nativeElement.occurrenceAfter(eventObj, date);
1833
+ });
1834
+ }
1835
+ }
1836
+
1837
+ /** @description Returns the last occurance of an event before a date.
1838
+ * @param {any} eventObj. A Scheduler event object.
1839
+ * @param {number} date. The date before which the first occurance of the event will be returned.
1840
+ */
1841
+ public occurrenceBefore(eventObj: any, date: number): void {
1842
+ if (this.nativeElement.isRendered) {
1843
+ this.nativeElement.occurrenceBefore(eventObj, date);
1844
+ }
1845
+ else
1846
+ {
1847
+ this.nativeElement.whenRendered(() => {
1848
+ this.nativeElement.occurrenceBefore(eventObj, date);
1849
+ });
1850
+ }
1851
+ }
1852
+
1853
+ /** @description Returns the dateStart/dateEnd of a timeline cell.
1854
+ * @param {HTMLElement} cell. A Scheduler timeline cell element.
1855
+ * @returns {any}
1856
+ */
1857
+ public async getCellDateRange(cell): Promise<any> {
1858
+ const getResultOnRender = () => {
1859
+ return new Promise(resolve => {
1860
+ this.nativeElement.whenRendered(() => {
1861
+ const result = this.nativeElement.getCellDateRange(cell);
1862
+ resolve(result)
1863
+ });
1864
+ });
1865
+ };
1866
+ const result = await getResultOnRender();
1867
+
1868
+ return result;
1869
+ }
1870
+
1871
+ /** @description Opens the tooltip(event menu) for an event.
1872
+ * @param {any} eventObj. A Scheduler event object or it's index.
1873
+ */
1874
+ public openEventTooltip(eventObj: any): void {
1875
+ if (this.nativeElement.isRendered) {
1876
+ this.nativeElement.openEventTooltip(eventObj);
1877
+ }
1878
+ else
1879
+ {
1880
+ this.nativeElement.whenRendered(() => {
1881
+ this.nativeElement.openEventTooltip(eventObj);
1882
+ });
1883
+ }
1884
+ }
1885
+
1886
+ /** @description Closes the event tooltip (event menu).
1887
+ */
1888
+ public closeEventTooltip(): void {
1889
+ if (this.nativeElement.isRendered) {
1890
+ this.nativeElement.closeEventTooltip();
1891
+ }
1892
+ else
1893
+ {
1894
+ this.nativeElement.whenRendered(() => {
1895
+ this.nativeElement.closeEventTooltip();
1896
+ });
1897
+ }
1898
+ }
1899
+
1900
+ /** @description Returns true or false whether the date is restricted or not.
1901
+ * @param {Date} date. A Date object.
1902
+ * @returns {boolean}
1903
+ */
1904
+ public async isDateRestricted(date): Promise<any> {
1905
+ const getResultOnRender = () => {
1906
+ return new Promise(resolve => {
1907
+ this.nativeElement.whenRendered(() => {
1908
+ const result = this.nativeElement.isDateRestricted(date);
1909
+ resolve(result)
1910
+ });
1911
+ });
1912
+ };
1913
+ const result = await getResultOnRender();
1914
+
1915
+ return result;
1916
+ }
1917
+
1918
+ /** @description Returns true or false whether the hour is restricted or not.
1919
+ * @param {number | Date} hour. A number that represents an hour ( 0 to 23 ) or a Date object.
1920
+ * @returns {boolean}
1921
+ */
1922
+ public async isHourRestricted(hour): Promise<any> {
1923
+ const getResultOnRender = () => {
1924
+ return new Promise(resolve => {
1925
+ this.nativeElement.whenRendered(() => {
1926
+ const result = this.nativeElement.isHourRestricted(hour);
1927
+ resolve(result)
1928
+ });
1929
+ });
1930
+ };
1931
+ const result = await getResultOnRender();
1932
+
1933
+ return result;
1934
+ }
1935
+
1936
+ /** @description Returns true or false whether the event is restricted or not.
1937
+ * @param {any} eventObj. A Scheduler event object or a direct event HTMLElement instance.
1938
+ * @returns {boolean}
1939
+ */
1940
+ public async isEventRestricted(eventObj): Promise<any> {
1941
+ const getResultOnRender = () => {
1942
+ return new Promise(resolve => {
1943
+ this.nativeElement.whenRendered(() => {
1944
+ const result = this.nativeElement.isEventRestricted(eventObj);
1945
+ resolve(result)
1946
+ });
1947
+ });
1948
+ };
1949
+ const result = await getResultOnRender();
1950
+
1951
+ return result;
1952
+ }
1953
+
1954
+ /** @description Deletes the current undo/redo history.
1955
+ * @returns {boolean}
1956
+ */
1957
+ public async deleteUndoRedoHistory(): Promise<any> {
1958
+ const getResultOnRender = () => {
1959
+ return new Promise(resolve => {
1960
+ this.nativeElement.whenRendered(() => {
1961
+ const result = this.nativeElement.deleteUndoRedoHistory();
1962
+ resolve(result)
1963
+ });
1964
+ });
1965
+ };
1966
+ const result = await getResultOnRender();
1967
+
1968
+ return result;
1969
+ }
1970
+
1971
+ /** @description Indicates whether it is possible to redo an action.
1972
+ * @returns {boolean}
1973
+ */
1974
+ public async canRedo(): Promise<any> {
1975
+ const getResultOnRender = () => {
1976
+ return new Promise(resolve => {
1977
+ this.nativeElement.whenRendered(() => {
1978
+ const result = this.nativeElement.canRedo();
1979
+ resolve(result)
1980
+ });
1981
+ });
1982
+ };
1983
+ const result = await getResultOnRender();
1984
+
1985
+ return result;
1986
+ }
1987
+
1988
+ /** @description Indicates whether it is possbile to undo an action.
1989
+ * @returns {boolean}
1990
+ */
1991
+ public async canUndo(): Promise<any> {
1992
+ const getResultOnRender = () => {
1993
+ return new Promise(resolve => {
1994
+ this.nativeElement.whenRendered(() => {
1995
+ const result = this.nativeElement.canUndo();
1996
+ resolve(result)
1997
+ });
1998
+ });
1999
+ };
2000
+ const result = await getResultOnRender();
2001
+
2002
+ return result;
2003
+ }
2004
+
2005
+ /** @description Redo the next event modification.
2006
+ * @param {number} step?. A step to redo to.
2007
+ * @returns {boolean}
2008
+ */
2009
+ public async redo(step?): Promise<any> {
2010
+ const getResultOnRender = () => {
2011
+ return new Promise(resolve => {
2012
+ this.nativeElement.whenRendered(() => {
2013
+ const result = this.nativeElement.redo(step);
2014
+ resolve(result)
2015
+ });
2016
+ });
2017
+ };
2018
+ const result = await getResultOnRender();
2019
+
2020
+ return result;
2021
+ }
2022
+
2023
+ /** @description Undo the last event modification.
2024
+ * @param {number} step?. A step to undo to.
2025
+ * @returns {boolean}
2026
+ */
2027
+ public async undo(step?): Promise<any> {
2028
+ const getResultOnRender = () => {
2029
+ return new Promise(resolve => {
2030
+ this.nativeElement.whenRendered(() => {
2031
+ const result = this.nativeElement.undo(step);
2032
+ resolve(result)
2033
+ });
2034
+ });
2035
+ };
2036
+ const result = await getResultOnRender();
2037
+
2038
+ return result;
2039
+ }
2040
+
2041
+
2042
+ get isRendered(): boolean {
2043
+ return this.nativeElement ? this.nativeElement.isRendered : false;
2044
+ }
2045
+
2046
+ ngOnInit() {
2047
+ }
2048
+
2049
+ ngAfterViewInit() {
2050
+ const that = this;
2051
+
2052
+ that.onCreate.emit(that.nativeElement);
2053
+
2054
+ Smart.Render();
2055
+
2056
+ this.nativeElement.classList.add('smart-angular');
2057
+
2058
+ this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });
2059
+ this.listen();
2060
+ }
2061
+
2062
+ ngOnDestroy() {
2063
+ this.unlisten();
2064
+ }
2065
+
2066
+ ngOnChanges(changes: SimpleChanges) {
2067
+ if (this.nativeElement && this.nativeElement.isRendered) {
2068
+ for (const propName in changes) {
2069
+ if (changes.hasOwnProperty(propName)) {
2070
+ this.nativeElement[propName] = changes[propName].currentValue;
2071
+ }
2072
+ }
2073
+ }
2074
+ }
2075
+
2076
+ /** @description Add event listeners. */
2077
+ private listen(): void {
2078
+ const that = this;
2079
+ that.eventHandlers['beginUpdateHandler'] = (event: CustomEvent) => { that.onBeginUpdate.emit(event); }
2080
+ that.nativeElement.addEventListener('beginUpdate', that.eventHandlers['beginUpdateHandler']);
2081
+
2082
+ that.eventHandlers['endUpdateHandler'] = (event: CustomEvent) => { that.onEndUpdate.emit(event); }
2083
+ that.nativeElement.addEventListener('endUpdate', that.eventHandlers['endUpdateHandler']);
2084
+
2085
+ that.eventHandlers['changeHandler'] = (event: CustomEvent) => { that.onChange.emit(event); }
2086
+ that.nativeElement.addEventListener('change', that.eventHandlers['changeHandler']);
2087
+
2088
+ that.eventHandlers['itemChangeHandler'] = (event: CustomEvent) => { that.onItemChange.emit(event); }
2089
+ that.nativeElement.addEventListener('itemChange', that.eventHandlers['itemChangeHandler']);
2090
+
2091
+ that.eventHandlers['itemChangingHandler'] = (event: CustomEvent) => { that.onItemChanging.emit(event); }
2092
+ that.nativeElement.addEventListener('itemChanging', that.eventHandlers['itemChangingHandler']);
2093
+
2094
+ that.eventHandlers['itemClickHandler'] = (event: CustomEvent) => { that.onItemClick.emit(event); }
2095
+ that.nativeElement.addEventListener('itemClick', that.eventHandlers['itemClickHandler']);
2096
+
2097
+ that.eventHandlers['itemInsertHandler'] = (event: CustomEvent) => { that.onItemInsert.emit(event); }
2098
+ that.nativeElement.addEventListener('itemInsert', that.eventHandlers['itemInsertHandler']);
2099
+
2100
+ that.eventHandlers['itemRemoveHandler'] = (event: CustomEvent) => { that.onItemRemove.emit(event); }
2101
+ that.nativeElement.addEventListener('itemRemove', that.eventHandlers['itemRemoveHandler']);
2102
+
2103
+ that.eventHandlers['itemUpdateHandler'] = (event: CustomEvent) => { that.onItemUpdate.emit(event); }
2104
+ that.nativeElement.addEventListener('itemUpdate', that.eventHandlers['itemUpdateHandler']);
2105
+
2106
+ that.eventHandlers['viewChangeHandler'] = (event: CustomEvent) => { that.onViewChange.emit(event); }
2107
+ that.nativeElement.addEventListener('viewChange', that.eventHandlers['viewChangeHandler']);
2108
+
2109
+ that.eventHandlers['viewChangingHandler'] = (event: CustomEvent) => { that.onViewChanging.emit(event); }
2110
+ that.nativeElement.addEventListener('viewChanging', that.eventHandlers['viewChangingHandler']);
2111
+
2112
+ that.eventHandlers['eventShortcutKeyHandler'] = (event: CustomEvent) => { that.onEventShortcutKey.emit(event); }
2113
+ that.nativeElement.addEventListener('eventShortcutKey', that.eventHandlers['eventShortcutKeyHandler']);
2114
+
2115
+ that.eventHandlers['dateChangeHandler'] = (event: CustomEvent) => { that.onDateChange.emit(event); }
2116
+ that.nativeElement.addEventListener('dateChange', that.eventHandlers['dateChangeHandler']);
2117
+
2118
+ that.eventHandlers['dragStartHandler'] = (event: CustomEvent) => { that.onDragStart.emit(event); }
2119
+ that.nativeElement.addEventListener('dragStart', that.eventHandlers['dragStartHandler']);
2120
+
2121
+ that.eventHandlers['dragEndHandler'] = (event: CustomEvent) => { that.onDragEnd.emit(event); }
2122
+ that.nativeElement.addEventListener('dragEnd', that.eventHandlers['dragEndHandler']);
2123
+
2124
+ that.eventHandlers['dropoverCellHandler'] = (event: CustomEvent) => { that.onDropoverCell.emit(event); }
2125
+ that.nativeElement.addEventListener('dropoverCell', that.eventHandlers['dropoverCellHandler']);
2126
+
2127
+ that.eventHandlers['resizeStartHandler'] = (event: CustomEvent) => { that.onResizeStart.emit(event); }
2128
+ that.nativeElement.addEventListener('resizeStart', that.eventHandlers['resizeStartHandler']);
2129
+
2130
+ that.eventHandlers['resizeEndHandler'] = (event: CustomEvent) => { that.onResizeEnd.emit(event); }
2131
+ that.nativeElement.addEventListener('resizeEnd', that.eventHandlers['resizeEndHandler']);
2132
+
2133
+ that.eventHandlers['editDialogOpeningHandler'] = (event: CustomEvent) => { that.onEditDialogOpening.emit(event); }
2134
+ that.nativeElement.addEventListener('editDialogOpening', that.eventHandlers['editDialogOpeningHandler']);
2135
+
2136
+ that.eventHandlers['editDialogOpenHandler'] = (event: CustomEvent) => { that.onEditDialogOpen.emit(event); }
2137
+ that.nativeElement.addEventListener('editDialogOpen', that.eventHandlers['editDialogOpenHandler']);
2138
+
2139
+ that.eventHandlers['editDialogCloseHandler'] = (event: CustomEvent) => { that.onEditDialogClose.emit(event); }
2140
+ that.nativeElement.addEventListener('editDialogClose', that.eventHandlers['editDialogCloseHandler']);
2141
+
2142
+ that.eventHandlers['editDialogClosingHandler'] = (event: CustomEvent) => { that.onEditDialogClosing.emit(event); }
2143
+ that.nativeElement.addEventListener('editDialogClosing', that.eventHandlers['editDialogClosingHandler']);
2144
+
2145
+ that.eventHandlers['contextMenuOpeningHandler'] = (event: CustomEvent) => { that.onContextMenuOpening.emit(event); }
2146
+ that.nativeElement.addEventListener('contextMenuOpening', that.eventHandlers['contextMenuOpeningHandler']);
2147
+
2148
+ that.eventHandlers['contextMenuOpenHandler'] = (event: CustomEvent) => { that.onContextMenuOpen.emit(event); }
2149
+ that.nativeElement.addEventListener('contextMenuOpen', that.eventHandlers['contextMenuOpenHandler']);
2150
+
2151
+ that.eventHandlers['contextMenuCloseHandler'] = (event: CustomEvent) => { that.onContextMenuClose.emit(event); }
2152
+ that.nativeElement.addEventListener('contextMenuClose', that.eventHandlers['contextMenuCloseHandler']);
2153
+
2154
+ that.eventHandlers['contextMenuClosingHandler'] = (event: CustomEvent) => { that.onContextMenuClosing.emit(event); }
2155
+ that.nativeElement.addEventListener('contextMenuClosing', that.eventHandlers['contextMenuClosingHandler']);
2156
+
2157
+ that.eventHandlers['eventMenuOpeningHandler'] = (event: CustomEvent) => { that.onEventMenuOpening.emit(event); }
2158
+ that.nativeElement.addEventListener('eventMenuOpening', that.eventHandlers['eventMenuOpeningHandler']);
2159
+
2160
+ that.eventHandlers['eventMenuOpenHandler'] = (event: CustomEvent) => { that.onEventMenuOpen.emit(event); }
2161
+ that.nativeElement.addEventListener('eventMenuOpen', that.eventHandlers['eventMenuOpenHandler']);
2162
+
2163
+ that.eventHandlers['eventMenuCloseHandler'] = (event: CustomEvent) => { that.onEventMenuClose.emit(event); }
2164
+ that.nativeElement.addEventListener('eventMenuClose', that.eventHandlers['eventMenuCloseHandler']);
2165
+
2166
+ that.eventHandlers['eventMenuClosingHandler'] = (event: CustomEvent) => { that.onEventMenuClosing.emit(event); }
2167
+ that.nativeElement.addEventListener('eventMenuClosing', that.eventHandlers['eventMenuClosingHandler']);
2168
+
2169
+ that.eventHandlers['dateMenuOpenHandler'] = (event: CustomEvent) => { that.onDateMenuOpen.emit(event); }
2170
+ that.nativeElement.addEventListener('dateMenuOpen', that.eventHandlers['dateMenuOpenHandler']);
2171
+
2172
+ that.eventHandlers['dateMenuCloseHandler'] = (event: CustomEvent) => { that.onDateMenuClose.emit(event); }
2173
+ that.nativeElement.addEventListener('dateMenuClose', that.eventHandlers['dateMenuCloseHandler']);
2174
+
2175
+ that.eventHandlers['viewMenuOpenHandler'] = (event: CustomEvent) => { that.onViewMenuOpen.emit(event); }
2176
+ that.nativeElement.addEventListener('viewMenuOpen', that.eventHandlers['viewMenuOpenHandler']);
2177
+
2178
+ that.eventHandlers['viewMenuCloseHandler'] = (event: CustomEvent) => { that.onViewMenuClose.emit(event); }
2179
+ that.nativeElement.addEventListener('viewMenuClose', that.eventHandlers['viewMenuCloseHandler']);
2180
+
2181
+ that.eventHandlers['notificationOpenHandler'] = (event: CustomEvent) => { that.onNotificationOpen.emit(event); }
2182
+ that.nativeElement.addEventListener('notificationOpen', that.eventHandlers['notificationOpenHandler']);
2183
+
2184
+ that.eventHandlers['notificationCloseHandler'] = (event: CustomEvent) => { that.onNotificationClose.emit(event); }
2185
+ that.nativeElement.addEventListener('notificationClose', that.eventHandlers['notificationCloseHandler']);
2186
+
2187
+ }
2188
+
2189
+ /** @description Remove event listeners. */
2190
+ private unlisten(): void {
2191
+ const that = this;
2192
+ if (that.eventHandlers['beginUpdateHandler']) {
2193
+ that.nativeElement.removeEventListener('beginUpdate', that.eventHandlers['beginUpdateHandler']);
2194
+ }
2195
+
2196
+ if (that.eventHandlers['endUpdateHandler']) {
2197
+ that.nativeElement.removeEventListener('endUpdate', that.eventHandlers['endUpdateHandler']);
2198
+ }
2199
+
2200
+ if (that.eventHandlers['changeHandler']) {
2201
+ that.nativeElement.removeEventListener('change', that.eventHandlers['changeHandler']);
2202
+ }
2203
+
2204
+ if (that.eventHandlers['itemChangeHandler']) {
2205
+ that.nativeElement.removeEventListener('itemChange', that.eventHandlers['itemChangeHandler']);
2206
+ }
2207
+
2208
+ if (that.eventHandlers['itemChangingHandler']) {
2209
+ that.nativeElement.removeEventListener('itemChanging', that.eventHandlers['itemChangingHandler']);
2210
+ }
2211
+
2212
+ if (that.eventHandlers['itemClickHandler']) {
2213
+ that.nativeElement.removeEventListener('itemClick', that.eventHandlers['itemClickHandler']);
2214
+ }
2215
+
2216
+ if (that.eventHandlers['itemInsertHandler']) {
2217
+ that.nativeElement.removeEventListener('itemInsert', that.eventHandlers['itemInsertHandler']);
2218
+ }
2219
+
2220
+ if (that.eventHandlers['itemRemoveHandler']) {
2221
+ that.nativeElement.removeEventListener('itemRemove', that.eventHandlers['itemRemoveHandler']);
2222
+ }
2223
+
2224
+ if (that.eventHandlers['itemUpdateHandler']) {
2225
+ that.nativeElement.removeEventListener('itemUpdate', that.eventHandlers['itemUpdateHandler']);
2226
+ }
2227
+
2228
+ if (that.eventHandlers['viewChangeHandler']) {
2229
+ that.nativeElement.removeEventListener('viewChange', that.eventHandlers['viewChangeHandler']);
2230
+ }
2231
+
2232
+ if (that.eventHandlers['viewChangingHandler']) {
2233
+ that.nativeElement.removeEventListener('viewChanging', that.eventHandlers['viewChangingHandler']);
2234
+ }
2235
+
2236
+ if (that.eventHandlers['eventShortcutKeyHandler']) {
2237
+ that.nativeElement.removeEventListener('eventShortcutKey', that.eventHandlers['eventShortcutKeyHandler']);
2238
+ }
2239
+
2240
+ if (that.eventHandlers['dateChangeHandler']) {
2241
+ that.nativeElement.removeEventListener('dateChange', that.eventHandlers['dateChangeHandler']);
2242
+ }
2243
+
2244
+ if (that.eventHandlers['dragStartHandler']) {
2245
+ that.nativeElement.removeEventListener('dragStart', that.eventHandlers['dragStartHandler']);
2246
+ }
2247
+
2248
+ if (that.eventHandlers['dragEndHandler']) {
2249
+ that.nativeElement.removeEventListener('dragEnd', that.eventHandlers['dragEndHandler']);
2250
+ }
2251
+
2252
+ if (that.eventHandlers['dropoverCellHandler']) {
2253
+ that.nativeElement.removeEventListener('dropoverCell', that.eventHandlers['dropoverCellHandler']);
2254
+ }
2255
+
2256
+ if (that.eventHandlers['resizeStartHandler']) {
2257
+ that.nativeElement.removeEventListener('resizeStart', that.eventHandlers['resizeStartHandler']);
2258
+ }
2259
+
2260
+ if (that.eventHandlers['resizeEndHandler']) {
2261
+ that.nativeElement.removeEventListener('resizeEnd', that.eventHandlers['resizeEndHandler']);
2262
+ }
2263
+
2264
+ if (that.eventHandlers['editDialogOpeningHandler']) {
2265
+ that.nativeElement.removeEventListener('editDialogOpening', that.eventHandlers['editDialogOpeningHandler']);
2266
+ }
2267
+
2268
+ if (that.eventHandlers['editDialogOpenHandler']) {
2269
+ that.nativeElement.removeEventListener('editDialogOpen', that.eventHandlers['editDialogOpenHandler']);
2270
+ }
2271
+
2272
+ if (that.eventHandlers['editDialogCloseHandler']) {
2273
+ that.nativeElement.removeEventListener('editDialogClose', that.eventHandlers['editDialogCloseHandler']);
2274
+ }
2275
+
2276
+ if (that.eventHandlers['editDialogClosingHandler']) {
2277
+ that.nativeElement.removeEventListener('editDialogClosing', that.eventHandlers['editDialogClosingHandler']);
2278
+ }
2279
+
2280
+ if (that.eventHandlers['contextMenuOpeningHandler']) {
2281
+ that.nativeElement.removeEventListener('contextMenuOpening', that.eventHandlers['contextMenuOpeningHandler']);
2282
+ }
2283
+
2284
+ if (that.eventHandlers['contextMenuOpenHandler']) {
2285
+ that.nativeElement.removeEventListener('contextMenuOpen', that.eventHandlers['contextMenuOpenHandler']);
2286
+ }
2287
+
2288
+ if (that.eventHandlers['contextMenuCloseHandler']) {
2289
+ that.nativeElement.removeEventListener('contextMenuClose', that.eventHandlers['contextMenuCloseHandler']);
2290
+ }
2291
+
2292
+ if (that.eventHandlers['contextMenuClosingHandler']) {
2293
+ that.nativeElement.removeEventListener('contextMenuClosing', that.eventHandlers['contextMenuClosingHandler']);
2294
+ }
2295
+
2296
+ if (that.eventHandlers['eventMenuOpeningHandler']) {
2297
+ that.nativeElement.removeEventListener('eventMenuOpening', that.eventHandlers['eventMenuOpeningHandler']);
2298
+ }
2299
+
2300
+ if (that.eventHandlers['eventMenuOpenHandler']) {
2301
+ that.nativeElement.removeEventListener('eventMenuOpen', that.eventHandlers['eventMenuOpenHandler']);
2302
+ }
2303
+
2304
+ if (that.eventHandlers['eventMenuCloseHandler']) {
2305
+ that.nativeElement.removeEventListener('eventMenuClose', that.eventHandlers['eventMenuCloseHandler']);
2306
+ }
2307
+
2308
+ if (that.eventHandlers['eventMenuClosingHandler']) {
2309
+ that.nativeElement.removeEventListener('eventMenuClosing', that.eventHandlers['eventMenuClosingHandler']);
2310
+ }
2311
+
2312
+ if (that.eventHandlers['dateMenuOpenHandler']) {
2313
+ that.nativeElement.removeEventListener('dateMenuOpen', that.eventHandlers['dateMenuOpenHandler']);
2314
+ }
2315
+
2316
+ if (that.eventHandlers['dateMenuCloseHandler']) {
2317
+ that.nativeElement.removeEventListener('dateMenuClose', that.eventHandlers['dateMenuCloseHandler']);
2318
+ }
2319
+
2320
+ if (that.eventHandlers['viewMenuOpenHandler']) {
2321
+ that.nativeElement.removeEventListener('viewMenuOpen', that.eventHandlers['viewMenuOpenHandler']);
2322
+ }
2323
+
2324
+ if (that.eventHandlers['viewMenuCloseHandler']) {
2325
+ that.nativeElement.removeEventListener('viewMenuClose', that.eventHandlers['viewMenuCloseHandler']);
2326
+ }
2327
+
2328
+ if (that.eventHandlers['notificationOpenHandler']) {
2329
+ that.nativeElement.removeEventListener('notificationOpen', that.eventHandlers['notificationOpenHandler']);
2330
+ }
2331
+
2332
+ if (that.eventHandlers['notificationCloseHandler']) {
2333
+ that.nativeElement.removeEventListener('notificationClose', that.eventHandlers['notificationCloseHandler']);
2334
+ }
2335
+
2336
+ }
2337
+ }