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