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,2262 @@
1
+ import React from "react";
2
+ import { GanttChartProperties } from "./../../index";
3
+ import { GanttChartDataExportItemType, GanttDayFormat, Duration, HorizontalScrollBarVisibility, HourFormat, MonthFormat, MonthScale, QuarterFormat, GanttChartResourceTimelineMode, GanttChartResourceTimelineView, GanttChartSelectionMode, GanttChartSortMode, GanttChartTaskType, VerticalScrollBarVisibility, GanttChartView, YearFormat, WeekFormat, GanttChartDataExport, GanttChartDateMarker, GanttChartResource, GanttChartResourceColumn, GanttChartTask, GanttChartTaskIndicator, GanttChartTaskPlanned, GanttChartTaskSegment, GanttChartTaskColumn, GanttChartTooltip} from './../../index';
4
+ export { GanttChartProperties } from "./../../index";
5
+ export { GanttChartDataExportItemType, GanttDayFormat, Duration, HorizontalScrollBarVisibility, HourFormat, MonthFormat, MonthScale, QuarterFormat, GanttChartResourceTimelineMode, GanttChartResourceTimelineView, GanttChartSelectionMode, GanttChartSortMode, GanttChartTaskType, VerticalScrollBarVisibility, GanttChartView, YearFormat, WeekFormat, GanttChartDataExport, GanttChartDateMarker, GanttChartResource, GanttChartResourceColumn, GanttChartTask, GanttChartTaskIndicator, GanttChartTaskPlanned, GanttChartTaskSegment, GanttChartTaskColumn, GanttChartTooltip} from './../../index';
6
+
7
+ interface IWindow { Smart: any; }
8
+ declare const window: IWindow;
9
+ let Smart: any;
10
+ if (typeof window !== "undefined") {
11
+ Smart = window.Smart;
12
+ }
13
+ export interface GanttChartProps extends GanttChartProperties {
14
+ className?: string;
15
+ style?: React.CSSProperties;
16
+
17
+ onBeginUpdate?: ((event?: Event) => void) | undefined;
18
+ onEndUpdate?: ((event?: Event) => void) | undefined;
19
+ onConnectionStart?: ((event?: Event) => void) | undefined;
20
+ onConnectionEnd?: ((event?: Event) => void) | undefined;
21
+ onChange?: ((event?: Event) => void) | undefined;
22
+ onColumnResize?: ((event?: Event) => void) | undefined;
23
+ onClosing?: ((event?: Event) => void) | undefined;
24
+ onClose?: ((event?: Event) => void) | undefined;
25
+ onCollapse?: ((event?: Event) => void) | undefined;
26
+ onDragStart?: ((event?: Event) => void) | undefined;
27
+ onDragEnd?: ((event?: Event) => void) | undefined;
28
+ onExpand?: ((event?: Event) => void) | undefined;
29
+ onFilter?: ((event?: Event) => void) | undefined;
30
+ onItemClick?: ((event?: Event) => void) | undefined;
31
+ onItemInsert?: ((event?: Event) => void) | undefined;
32
+ onItemRemove?: ((event?: Event) => void) | undefined;
33
+ onItemUpdate?: ((event?: Event) => void) | undefined;
34
+ onOpening?: ((event?: Event) => void) | undefined;
35
+ onOpen?: ((event?: Event) => void) | undefined;
36
+ onProgressChangeStart?: ((event?: Event) => void) | undefined;
37
+ onProgressChangeEnd?: ((event?: Event) => void) | undefined;
38
+ onResizeStart?: ((event?: Event) => void) | undefined;
39
+ onResizeEnd?: ((event?: Event) => void) | undefined;
40
+ onSort?: ((event?: Event) => void) | undefined;
41
+ onScrollBottomReached?: ((event?: Event) => void) | undefined;
42
+ onScrollTopReached?: ((event?: Event) => void) | undefined;
43
+ onScrollLeftReached?: ((event?: Event) => void) | undefined;
44
+ onScrollRightReached?: ((event?: Event) => void) | undefined;
45
+ onCreate?: ((event?: Event) => void) | undefined;
46
+ onReady?: ((event?: Event) => void) | undefined;
47
+
48
+ }
49
+ /**
50
+ Gantt charts are specialized bar charts that help clearly represent how tasks and resources are allocated over time in planning, project management, and scheduling applications.
51
+ */
52
+ export class GanttChart extends React.Component<React.HTMLAttributes<Element> & GanttChartProps, any> {
53
+ private _id: string;
54
+ private nativeElement: any;
55
+ private componentRef: any;
56
+
57
+ // Gets the id of the React component.
58
+ get id() {
59
+ if (!this._id) {
60
+ this._id = 'GanttChart' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
61
+ }
62
+
63
+ return this._id;
64
+ }
65
+ /** Determines whether nonworkingDays/nonworkingHours are taken into considuration when determining the dateEnd of the tasks. When this property is enabled the dateEnd of the tasks is calculated to include only the actual working time. By default it's disabled and only calendar time is used.
66
+ * Property type: boolean
67
+ */
68
+ get adjustToNonworkingTime(): boolean {
69
+ return this.nativeElement ? this.nativeElement.adjustToNonworkingTime : undefined;
70
+ }
71
+ set adjustToNonworkingTime(value: boolean) {
72
+ if (this.nativeElement) {
73
+ this.nativeElement.adjustToNonworkingTime = value;
74
+ }
75
+ }
76
+
77
+ /** Recalculates the tasks that are connected and re-schedules them according to their connections. If no connections are present, autoScheduling has no effect until a connection is created. Connection types determines the start/end date limits of the tasks.
78
+ * Property type: boolean
79
+ */
80
+ get autoSchedule(): boolean {
81
+ return this.nativeElement ? this.nativeElement.autoSchedule : undefined;
82
+ }
83
+ set autoSchedule(value: boolean) {
84
+ if (this.nativeElement) {
85
+ this.nativeElement.autoSchedule = value;
86
+ }
87
+ }
88
+
89
+ /** Affects the tasks only when autoSchedule is enabled. When set to true, the tasks are strictly scheduled ( according to their connections ) and dragging is not allowed. Users can set lag to specific connections to determine a delay of overlap of between the two tasks ( interval of time in miliseconds ). Lag one of the attributes of a task connection and should be set in the dataSource where the task connections are defined.
90
+ * Property type: boolean
91
+ */
92
+ get autoScheduleStrictMode(): boolean {
93
+ return this.nativeElement ? this.nativeElement.autoScheduleStrictMode : undefined;
94
+ }
95
+ set autoScheduleStrictMode(value: boolean) {
96
+ if (this.nativeElement) {
97
+ this.nativeElement.autoScheduleStrictMode = value;
98
+ }
99
+ }
100
+
101
+ /** Determines the scroll speed when dragging when autoScroll property is set.
102
+ * Property type: number
103
+ */
104
+ get autoScrollStep(): number {
105
+ return this.nativeElement ? this.nativeElement.autoScrollStep : undefined;
106
+ }
107
+ set autoScrollStep(value: number) {
108
+ if (this.nativeElement) {
109
+ this.nativeElement.autoScrollStep = value;
110
+ }
111
+ }
112
+
113
+ /** Enabled/Disables the colummn header menu. When enabled and the user hovers a column header, a drop down button will appear that triggers a column menu for quick actions like sorting, filtering, etc. The actions depend on the enabled Gantt features, for example the filtering action will be available only if filtering is enabled for the element.
114
+ * Property type: boolean
115
+ */
116
+ get columnMenu(): boolean {
117
+ return this.nativeElement ? this.nativeElement.columnMenu : undefined;
118
+ }
119
+ set columnMenu(value: boolean) {
120
+ if (this.nativeElement) {
121
+ this.nativeElement.columnMenu = value;
122
+ }
123
+ }
124
+
125
+ /** Determines whether the Table columns are resizable or not. When enabled it is possible to resize the columns from the header cells of the Table in both Task and Resource timelines.
126
+ * Property type: boolean
127
+ */
128
+ get columnResize(): boolean {
129
+ return this.nativeElement ? this.nativeElement.columnResize : undefined;
130
+ }
131
+ set columnResize(value: boolean) {
132
+ if (this.nativeElement) {
133
+ this.nativeElement.columnResize = value;
134
+ }
135
+ }
136
+
137
+ /** Determines resize feedback is used during column resizing. This property is applicable only when columnResize is enabled.
138
+ * Property type: boolean
139
+ */
140
+ get columnResizeFeedback(): boolean {
141
+ return this.nativeElement ? this.nativeElement.columnResizeFeedback : undefined;
142
+ }
143
+ set columnResizeFeedback(value: boolean) {
144
+ if (this.nativeElement) {
145
+ this.nativeElement.columnResizeFeedback = value;
146
+ }
147
+ }
148
+
149
+ /** Gantt's current time. By default it is the today's date.
150
+ * Property type: string | Date
151
+ */
152
+ get currentTime(): string | Date {
153
+ return this.nativeElement ? this.nativeElement.currentTime : undefined;
154
+ }
155
+ set currentTime(value: string | Date) {
156
+ if (this.nativeElement) {
157
+ this.nativeElement.currentTime = value;
158
+ }
159
+ }
160
+
161
+ /** Enables/Disables the current time indicator. Current time indicator shows the current time in the appropriate view cells.
162
+ * Property type: boolean
163
+ */
164
+ get currentTimeIndicator(): boolean {
165
+ return this.nativeElement ? this.nativeElement.currentTimeIndicator : undefined;
166
+ }
167
+ set currentTimeIndicator(value: boolean) {
168
+ if (this.nativeElement) {
169
+ this.nativeElement.currentTimeIndicator = value;
170
+ }
171
+ }
172
+
173
+ /** Determines the refresh interval in seconds for the currentTimeIndicator.
174
+ * Property type: number
175
+ */
176
+ get currentTimeIndicatorInterval(): number {
177
+ return this.nativeElement ? this.nativeElement.currentTimeIndicatorInterval : undefined;
178
+ }
179
+ set currentTimeIndicatorInterval(value: number) {
180
+ if (this.nativeElement) {
181
+ this.nativeElement.currentTimeIndicatorInterval = value;
182
+ }
183
+ }
184
+
185
+ /** Sets the GanttChart's Data Export options.
186
+ * Property type: GanttChartDataExport
187
+ */
188
+ get dataExport(): GanttChartDataExport {
189
+ return this.nativeElement ? this.nativeElement.dataExport : undefined;
190
+ }
191
+ set dataExport(value: GanttChartDataExport) {
192
+ if (this.nativeElement) {
193
+ this.nativeElement.dataExport = value;
194
+ }
195
+ }
196
+
197
+ /** Determines the tasks that will be loaded inside the Timeline. Each item represents an object that should contain the following properties: label - the label of the TaskdateStart - the starting date of the Task. Should be a string representing a valid date.dateEnd - the ending date of the Task. Should be a string representing a valid date.type - determines the type of the task. Whether it's a simple task, a project or a milestone. Each type of task has specific behavior and additional attributes.. Additional properties: connections - an array of objects representing the connection between two tasks. Each connection (object) should have the following properties : target - a number representing the index of the target tasktype - a number representing the type of the connection. Four types of connections are available: 0 - is a connection of type Start-to-Start 1 - is a connection of type End-to-Start 2 - is a connection of type End-to-End3 - is a connection of type Start-to-End lag - a number that determines the delay between two connected auto scheduled tasks. Lag property can be a positive or a negative number. When negative it determines the overlap between two connected tasks. This property is used in conjuction with autoSchedule.duration - determines the duration of a Task in days, hours, minutes, seconds or miliseconds. Very usefull when the the dateEnd of a Task is unknown. The duration always shows the calendar time whether it is in days/hours or other.minDuration - sets the minimum duration of a task. maxDuration - sets the maximum duration of a task.minDateStart - determines the mininum date that a task can start from. Must be if type string and should represent a valid date.maxDateStart - determines the maximum date that a task can start from. Must be if type string and should represent a valid date.minDateEnd - determines the mininum date that a task can end. Must be if type string and should represent a valid date.maxDateEnd - determines the maximum date that a task can end. Must be if type string and should represent a valid date.progress - a number that determines the progress of a task ( from 0 to 100 ).overdue - a boolean that indicates whether the task's dateEnd has surpassed it's deadline date.disableDrag - a boolean property that disables the dragging of a task when set to true.disableResize - a boolean property that disables the resizing of a task when set to true.dragProject - a boolean that determines whether or not the whole project (along with the tasks) can be dragged while dragging the project task. Applicalbe only to Projects.segments - an array of objects that allows to devide a task into multiple segements. Each segment (except the first) can have a different starting date, duration and label.synchronized - a boolean that if set the project task's start/end dates are automatically calculated based on the tasks. By default a synchronized project task can't be dragged alone. Applicable only to Project tasks.expanded - a boolean that determines if a project is expanded or not. If not all of it's sub-tasks are not visible. Only the project task itself is visible. By default no projects are expanded. Applicable only to project tasks..GanttChart also accepts a DataAdapter instance as dataSource. You can read more about the dataAdapter here - https://www.htmlelements.com/docs/data-adapter/.
198
+ * Property type: any
199
+ */
200
+ get dataSource(): any {
201
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
202
+ }
203
+ set dataSource(value: any) {
204
+ if (this.nativeElement) {
205
+ this.nativeElement.dataSource = value;
206
+ }
207
+ }
208
+
209
+ /** Determines the format of the dates in the timeline header when they represent days.
210
+ * Property type: GanttDayFormat | string
211
+ */
212
+ get dayFormat(): GanttDayFormat | string {
213
+ return this.nativeElement ? this.nativeElement.dayFormat : undefined;
214
+ }
215
+ set dayFormat(value: GanttDayFormat | string) {
216
+ if (this.nativeElement) {
217
+ this.nativeElement.dayFormat = value;
218
+ }
219
+ }
220
+
221
+ /** Determines a specific end date for the Timeline. Usefull when the user wants custom ending date for the Timeline. If no date is set the end date of the timeline is automatically determined from the tasks.
222
+ * Property type: string | Date
223
+ */
224
+ get dateEnd(): string | Date {
225
+ return this.nativeElement ? this.nativeElement.dateEnd : undefined;
226
+ }
227
+ set dateEnd(value: string | Date) {
228
+ if (this.nativeElement) {
229
+ this.nativeElement.dateEnd = value;
230
+ }
231
+ }
232
+
233
+ /** Determines a specific starting date for the Timeline. Usefull when the user wants custom starting date for the Timeline. If no date is set the start date of the timeline is automatically determined from the tasks.
234
+ * Property type: string | Date
235
+ */
236
+ get dateStart(): string | Date {
237
+ return this.nativeElement ? this.nativeElement.dateStart : undefined;
238
+ }
239
+ set dateStart(value: string | Date) {
240
+ if (this.nativeElement) {
241
+ this.nativeElement.dateStart = value;
242
+ }
243
+ }
244
+
245
+ /** Determines the date markers that will be displayed inside the timeline. Date markers allow to mark and even label specific dates (including time) inside the GanttChart timeline.
246
+ * Property type: GanttChartDateMarker[]
247
+ */
248
+ get dateMarkers(): GanttChartDateMarker[] {
249
+ return this.nativeElement ? this.nativeElement.dateMarkers : undefined;
250
+ }
251
+ set dateMarkers(value: GanttChartDateMarker[]) {
252
+ if (this.nativeElement) {
253
+ this.nativeElement.dateMarkers = value;
254
+ }
255
+ }
256
+
257
+ /** Enables or disables the element.
258
+ * Property type: boolean
259
+ */
260
+ get disabled(): boolean {
261
+ return this.nativeElement ? this.nativeElement.disabled : undefined;
262
+ }
263
+ set disabled(value: boolean) {
264
+ if (this.nativeElement) {
265
+ this.nativeElement.disabled = value;
266
+ }
267
+ }
268
+
269
+ /** Disables auto scrolling while dragging/resizing a task bar inside the Timeline.
270
+ * Property type: boolean
271
+ */
272
+ get disableAutoScroll(): boolean {
273
+ return this.nativeElement ? this.nativeElement.disableAutoScroll : undefined;
274
+ }
275
+ set disableAutoScroll(value: boolean) {
276
+ if (this.nativeElement) {
277
+ this.nativeElement.disableAutoScroll = value;
278
+ }
279
+ }
280
+
281
+ /** Disables dragging of tasks in the Timeline.
282
+ * Property type: boolean
283
+ */
284
+ get disableTaskDrag(): boolean {
285
+ return this.nativeElement ? this.nativeElement.disableTaskDrag : undefined;
286
+ }
287
+ set disableTaskDrag(value: boolean) {
288
+ if (this.nativeElement) {
289
+ this.nativeElement.disableTaskDrag = value;
290
+ }
291
+ }
292
+
293
+ /** Disables task progress changing in the Timeline.
294
+ * Property type: boolean
295
+ */
296
+ get disableTaskProgressChange(): boolean {
297
+ return this.nativeElement ? this.nativeElement.disableTaskProgressChange : undefined;
298
+ }
299
+ set disableTaskProgressChange(value: boolean) {
300
+ if (this.nativeElement) {
301
+ this.nativeElement.disableTaskProgressChange = value;
302
+ }
303
+ }
304
+
305
+ /** Disables resizing of tasks in the Timeline.
306
+ * Property type: boolean
307
+ */
308
+ get disableTaskResize(): boolean {
309
+ return this.nativeElement ? this.nativeElement.disableTaskResize : undefined;
310
+ }
311
+ set disableTaskResize(value: boolean) {
312
+ if (this.nativeElement) {
313
+ this.nativeElement.disableTaskResize = value;
314
+ }
315
+ }
316
+
317
+ /** Disables the selection inside the GanttChart.
318
+ * Property type: boolean
319
+ */
320
+ get disableSelection(): boolean {
321
+ return this.nativeElement ? this.nativeElement.disableSelection : undefined;
322
+ }
323
+ set disableSelection(value: boolean) {
324
+ if (this.nativeElement) {
325
+ this.nativeElement.disableSelection = value;
326
+ }
327
+ }
328
+
329
+ /** Disables the task segment dragging.
330
+ * Property type: boolean
331
+ */
332
+ get disableSegmentDrag(): boolean {
333
+ return this.nativeElement ? this.nativeElement.disableSegmentDrag : undefined;
334
+ }
335
+ set disableSegmentDrag(value: boolean) {
336
+ if (this.nativeElement) {
337
+ this.nativeElement.disableSegmentDrag = value;
338
+ }
339
+ }
340
+
341
+ /** Disables the task segment resizing.
342
+ * Property type: boolean
343
+ */
344
+ get disableSegmentResize(): boolean {
345
+ return this.nativeElement ? this.nativeElement.disableSegmentResize : undefined;
346
+ }
347
+ set disableSegmentResize(value: boolean) {
348
+ if (this.nativeElement) {
349
+ this.nativeElement.disableSegmentResize = value;
350
+ }
351
+ }
352
+
353
+ /** Disables the window editor for the GanttChart.
354
+ * Property type: boolean
355
+ */
356
+ get disableWindowEditor(): boolean {
357
+ return this.nativeElement ? this.nativeElement.disableWindowEditor : undefined;
358
+ }
359
+ set disableWindowEditor(value: boolean) {
360
+ if (this.nativeElement) {
361
+ this.nativeElement.disableWindowEditor = value;
362
+ }
363
+ }
364
+
365
+ /** Determines in what unit is task duration property measured.
366
+ * Property type: Duration | string
367
+ */
368
+ get durationUnit(): Duration | string {
369
+ return this.nativeElement ? this.nativeElement.durationUnit : undefined;
370
+ }
371
+ set durationUnit(value: Duration | string) {
372
+ if (this.nativeElement) {
373
+ this.nativeElement.durationUnit = value;
374
+ }
375
+ }
376
+
377
+ /** Determines whether a dedicated filter row is used for Table filtering instead of the default filter input. This property has no effect if filtering is not enabled.
378
+ * Property type: boolean
379
+ */
380
+ get filterRow(): boolean {
381
+ return this.nativeElement ? this.nativeElement.filterRow : undefined;
382
+ }
383
+ set filterRow(value: boolean) {
384
+ if (this.nativeElement) {
385
+ this.nativeElement.filterRow = value;
386
+ }
387
+ }
388
+
389
+ /** Determines the view start day. Sunday is 0, Monday is 1, Saturday is 6. By default it's Sunday.
390
+ * Property type: number
391
+ */
392
+ get firstDayOfWeek(): number {
393
+ return this.nativeElement ? this.nativeElement.firstDayOfWeek : undefined;
394
+ }
395
+ set firstDayOfWeek(value: number) {
396
+ if (this.nativeElement) {
397
+ this.nativeElement.firstDayOfWeek = value;
398
+ }
399
+ }
400
+
401
+ /** Groups the tasks inside the Task timeline according to the resources they are assigned to. Unassigned tasks are placed in a default group labeled 'Unassigned'.
402
+ * Property type: boolean
403
+ */
404
+ get groupByResources(): boolean {
405
+ return this.nativeElement ? this.nativeElement.groupByResources : undefined;
406
+ }
407
+ set groupByResources(value: boolean) {
408
+ if (this.nativeElement) {
409
+ this.nativeElement.groupByResources = value;
410
+ }
411
+ }
412
+
413
+ /** Allows to create a custom header content for the Task Panel. The attribute accepts an HTMLTemplate element, it's id or a function.
414
+ * Property type: any
415
+ */
416
+ get headerTemplate(): any {
417
+ return this.nativeElement ? this.nativeElement.headerTemplate : undefined;
418
+ }
419
+ set headerTemplate(value: any) {
420
+ if (this.nativeElement) {
421
+ this.nativeElement.headerTemplate = value;
422
+ }
423
+ }
424
+
425
+ /** Determines whether the dateMarkers are visible or not.
426
+ * Property type: boolean
427
+ */
428
+ get hideDateMarkers(): boolean {
429
+ return this.nativeElement ? this.nativeElement.hideDateMarkers : undefined;
430
+ }
431
+ set hideDateMarkers(value: boolean) {
432
+ if (this.nativeElement) {
433
+ this.nativeElement.hideDateMarkers = value;
434
+ }
435
+ }
436
+
437
+ /** By default the Timeline has a three level header - timeline details, timeline second details and timeline header. This property hides the header container( the bottom container ).
438
+ * Property type: boolean
439
+ */
440
+ get hideTimelineHeader(): boolean {
441
+ return this.nativeElement ? this.nativeElement.hideTimelineHeader : undefined;
442
+ }
443
+ set hideTimelineHeader(value: boolean) {
444
+ if (this.nativeElement) {
445
+ this.nativeElement.hideTimelineHeader = value;
446
+ }
447
+ }
448
+
449
+ /** By default the Timeline has a three level header - timeline details, timeline second details and timeline header. This property hides the header details container( the top container ).
450
+ * Property type: boolean
451
+ */
452
+ get hideTimelineHeaderDetails(): boolean {
453
+ return this.nativeElement ? this.nativeElement.hideTimelineHeaderDetails : undefined;
454
+ }
455
+ set hideTimelineHeaderDetails(value: boolean) {
456
+ if (this.nativeElement) {
457
+ this.nativeElement.hideTimelineHeaderDetails = value;
458
+ }
459
+ }
460
+
461
+ /** By default the Timeline has a three level header - timeline details and timeline header. This property hides the second header details container( the middle container ).
462
+ * Property type: boolean
463
+ */
464
+ get hideTimelineSecondHeaderDetails(): boolean {
465
+ return this.nativeElement ? this.nativeElement.hideTimelineSecondHeaderDetails : undefined;
466
+ }
467
+ set hideTimelineSecondHeaderDetails(value: boolean) {
468
+ if (this.nativeElement) {
469
+ this.nativeElement.hideTimelineSecondHeaderDetails = value;
470
+ }
471
+ }
472
+
473
+ /** Hides the Resource panel regardless of the resources availability By default the Resource panel is visible if resources are added to the GanttChart. This property allows to hide the Resource panel permanently.
474
+ * Property type: boolean
475
+ */
476
+ get hideResourcePanel(): boolean {
477
+ return this.nativeElement ? this.nativeElement.hideResourcePanel : undefined;
478
+ }
479
+ set hideResourcePanel(value: boolean) {
480
+ if (this.nativeElement) {
481
+ this.nativeElement.hideResourcePanel = value;
482
+ }
483
+ }
484
+
485
+ /** Determines weather or not horizontal scrollbar is shown.
486
+ * Property type: HorizontalScrollBarVisibility | string
487
+ */
488
+ get horizontalScrollBarVisibility(): HorizontalScrollBarVisibility | string {
489
+ return this.nativeElement ? this.nativeElement.horizontalScrollBarVisibility : undefined;
490
+ }
491
+ set horizontalScrollBarVisibility(value: HorizontalScrollBarVisibility | string) {
492
+ if (this.nativeElement) {
493
+ this.nativeElement.horizontalScrollBarVisibility = value;
494
+ }
495
+ }
496
+
497
+ /** Determines the format of the dates inside the timeline header when they represent hours.
498
+ * Property type: HourFormat | string
499
+ */
500
+ get hourFormat(): HourFormat | string {
501
+ return this.nativeElement ? this.nativeElement.hourFormat : undefined;
502
+ }
503
+ set hourFormat(value: HourFormat | string) {
504
+ if (this.nativeElement) {
505
+ this.nativeElement.hourFormat = value;
506
+ }
507
+ }
508
+
509
+ /** When enabled, scrolling to the end of the horizotal timeline, triggers the creation of additional to extend the time range. The number of cells to be added when the scrollbar reaches the end position is determined by the infiniteTimelineStep.
510
+ * Property type: boolean
511
+ */
512
+ get infiniteTimeline(): boolean {
513
+ return this.nativeElement ? this.nativeElement.infiniteTimeline : undefined;
514
+ }
515
+ set infiniteTimeline(value: boolean) {
516
+ if (this.nativeElement) {
517
+ this.nativeElement.infiniteTimeline = value;
518
+ }
519
+ }
520
+
521
+ /** Determines the number of cells to be added when the horizontal scroll bar of the Timeline reaches it's end position when infiniteTimeline is enabled.
522
+ * Property type: number
523
+ */
524
+ get infiniteTimelineStep(): number {
525
+ return this.nativeElement ? this.nativeElement.infiniteTimelineStep : undefined;
526
+ }
527
+ set infiniteTimelineStep(value: number) {
528
+ if (this.nativeElement) {
529
+ this.nativeElement.infiniteTimelineStep = value;
530
+ }
531
+ }
532
+
533
+ /** When set the Timeline is positioned on the left side while the Task Tree is positioned on the right. By default it's vice versa.
534
+ * Property type: boolean
535
+ */
536
+ get inverted(): boolean {
537
+ return this.nativeElement ? this.nativeElement.inverted : undefined;
538
+ }
539
+ set inverted(value: boolean) {
540
+ if (this.nativeElement) {
541
+ this.nativeElement.inverted = value;
542
+ }
543
+ }
544
+
545
+ /** Determines whether keyboard navigation inside the Table is enabled or not. Keyboard navigation affects both Task and Resource Tables. It allows to navigate between items. the following keyboard shortcut keys are available for focused tasks inside the Task Table: Enter - opens the Window editor to edit the currently focused task.Delete - opens a confirmation window regarding the deletion of the currently focused task.
546
+ * Property type: boolean
547
+ */
548
+ get keyboardNavigation(): boolean {
549
+ return this.nativeElement ? this.nativeElement.keyboardNavigation : undefined;
550
+ }
551
+ set keyboardNavigation(value: boolean) {
552
+ if (this.nativeElement) {
553
+ this.nativeElement.keyboardNavigation = value;
554
+ }
555
+ }
556
+
557
+ /** Determines the language of the GanttChart.
558
+ * Property type: string
559
+ */
560
+ get locale(): string {
561
+ return this.nativeElement ? this.nativeElement.locale : undefined;
562
+ }
563
+ set locale(value: string) {
564
+ if (this.nativeElement) {
565
+ this.nativeElement.locale = value;
566
+ }
567
+ }
568
+
569
+ /** Detetmines the maximum possible date of the Timeline.
570
+ * Property type: string | Date
571
+ */
572
+ get max(): string | Date {
573
+ return this.nativeElement ? this.nativeElement.max : undefined;
574
+ }
575
+ set max(value: string | Date) {
576
+ if (this.nativeElement) {
577
+ this.nativeElement.max = value;
578
+ }
579
+ }
580
+
581
+ /** Detetmines the minimum possible date of the Timeline.
582
+ * Property type: string | Date
583
+ */
584
+ get min(): string | Date {
585
+ return this.nativeElement ? this.nativeElement.min : undefined;
586
+ }
587
+ set min(value: string | Date) {
588
+ if (this.nativeElement) {
589
+ this.nativeElement.min = value;
590
+ }
591
+ }
592
+
593
+ /** Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale.
594
+ * Property type: any
595
+ */
596
+ get messages(): any {
597
+ return this.nativeElement ? this.nativeElement.messages : undefined;
598
+ }
599
+ set messages(value: any) {
600
+ if (this.nativeElement) {
601
+ this.nativeElement.messages = value;
602
+ }
603
+ }
604
+
605
+ /** Determines the format of the dates the timeline header when they represent months.
606
+ * Property type: MonthFormat | string
607
+ */
608
+ get monthFormat(): MonthFormat | string {
609
+ return this.nativeElement ? this.nativeElement.monthFormat : undefined;
610
+ }
611
+ set monthFormat(value: MonthFormat | string) {
612
+ if (this.nativeElement) {
613
+ this.nativeElement.monthFormat = value;
614
+ }
615
+ }
616
+
617
+ /** Determines the scale in Month view.
618
+ * Property type: MonthScale | string
619
+ */
620
+ get monthScale(): MonthScale | string {
621
+ return this.nativeElement ? this.nativeElement.monthScale : undefined;
622
+ }
623
+ set monthScale(value: MonthScale | string) {
624
+ if (this.nativeElement) {
625
+ this.nativeElement.monthScale = value;
626
+ }
627
+ }
628
+
629
+ /** 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 displayed with colored cells inside the timeline and will not affect the dateEnd of the tasks unless the adjustToNonworkingTime property is enabled.
630
+ * Property type: number[]
631
+ */
632
+ get nonworkingDays(): number[] {
633
+ return this.nativeElement ? this.nativeElement.nonworkingDays : undefined;
634
+ }
635
+ set nonworkingDays(value: number[]) {
636
+ if (this.nativeElement) {
637
+ this.nativeElement.nonworkingDays = value;
638
+ }
639
+ }
640
+
641
+ /** Determines the nonworking hours of a day. Hours are represented as numbers inside an array (e.g. [1,2,3] - means 1,2 and 3 AM) or number ranges represented as nested arrays(e.g. [[0,6]] - means from 0 to 6 AM). In the timline the cells that represent nonworking days are colored differently from the rest and will not affect the dateEnd of the tasks unless the adjustToNonworkingTime property is enabled.
642
+ * Property type: number[] | number[][]
643
+ */
644
+ get nonworkingHours(): number[] | number[][] {
645
+ return this.nativeElement ? this.nativeElement.nonworkingHours : undefined;
646
+ }
647
+ set nonworkingHours(value: number[] | number[][]) {
648
+ if (this.nativeElement) {
649
+ this.nativeElement.nonworkingHours = value;
650
+ }
651
+ }
652
+
653
+ /** A function that can be used to completly customize the task element. The function has five arguments: task - the task object.segment - the task current segment object. If the task has only one segment, the task object is passed again.taskElement - the task's html element.segmentElement - the task's segment html element.labelElement - the task's segment label html element.
654
+ * Property type: any
655
+ */
656
+ get onTaskRender(): any {
657
+ return this.nativeElement ? this.nativeElement.onTaskRender : undefined;
658
+ }
659
+ set onTaskRender(value: any) {
660
+ if (this.nativeElement) {
661
+ this.nativeElement.onTaskRender = value;
662
+ }
663
+ }
664
+
665
+ /** A function that can be used to completly customize the popup Window that is used to interact width tasks by changing their properties. The function as three 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. Three possible values: 'task' (task editing), 'confirm' ( confirmation window), 'connection' (used when deleting a connection between tasks). item - the connection/task object that is the target of the window.
666
+ * Property type: any
667
+ */
668
+ get popupWindowCustomizationFunction(): any {
669
+ return this.nativeElement ? this.nativeElement.popupWindowCustomizationFunction : undefined;
670
+ }
671
+ set popupWindowCustomizationFunction(value: any) {
672
+ if (this.nativeElement) {
673
+ this.nativeElement.popupWindowCustomizationFunction = value;
674
+ }
675
+ }
676
+
677
+ /** Determines which Tab items are visible inside the popup window. Three possible values are allowed: general - the general tab with task properties determines by the taskColumns property.dependency - the dependency tab which shows the connections to the task and allows to create/delete connections.segments - the segments tab which shows the segments of the task and allows to created/delete segments..
678
+ * Property type: string[]
679
+ */
680
+ get popupWindowTabs(): string[] {
681
+ return this.nativeElement ? this.nativeElement.popupWindowTabs : undefined;
682
+ }
683
+ set popupWindowTabs(value: string[]) {
684
+ if (this.nativeElement) {
685
+ this.nativeElement.popupWindowTabs = value;
686
+ }
687
+ }
688
+
689
+ /** A format function for the Timeline task progress label. The expected result from the function is a string. The label is hidden by default can be shown with the showProgressLabel property.
690
+ * Property type: any
691
+ */
692
+ get progressLabelFormatFunction(): any {
693
+ return this.nativeElement ? this.nativeElement.progressLabelFormatFunction : undefined;
694
+ }
695
+ set progressLabelFormatFunction(value: any) {
696
+ if (this.nativeElement) {
697
+ this.nativeElement.progressLabelFormatFunction = value;
698
+ }
699
+ }
700
+
701
+ /** Determines the format of the dates the timeline header when they represent quarters.
702
+ * Property type: QuarterFormat | string
703
+ */
704
+ get quarterFormat(): QuarterFormat | string {
705
+ return this.nativeElement ? this.nativeElement.quarterFormat : undefined;
706
+ }
707
+ set quarterFormat(value: QuarterFormat | string) {
708
+ if (this.nativeElement) {
709
+ this.nativeElement.quarterFormat = value;
710
+ }
711
+ }
712
+
713
+ /** A getter that returns a flat structure as an array of all resources inside the element.
714
+ * Property type: GanttChartResource[]
715
+ */
716
+ get resources(): GanttChartResource[] {
717
+ return this.nativeElement ? this.nativeElement.resources : undefined;
718
+ }
719
+ set resources(value: GanttChartResource[]) {
720
+ if (this.nativeElement) {
721
+ this.nativeElement.resources = value;
722
+ }
723
+ }
724
+
725
+ /** Deteremines the columns that will be visible in the Resource Tree. Each entry in the value of this property must be of type Object. It should contain the label and value keys. The value of label determines the column header label inside the Task Tree. The value of value determines the content of the cells in the column. By default, one column with all resource labels is visible. Additional properties: formatFunction - a function that allows to customize the content of each record in the column. The function accepts two arguments - the actual label as string that is going to be inserted and the index of the resource. The function must return a string as the new content. min - controls the min size of the column max - controls the max size of the columnsize - controls the actual size of the column
726
+ * Property type: GanttChartResourceColumn[]
727
+ */
728
+ get resourceColumns(): GanttChartResourceColumn[] {
729
+ return this.nativeElement ? this.nativeElement.resourceColumns : undefined;
730
+ }
731
+ set resourceColumns(value: GanttChartResourceColumn[]) {
732
+ if (this.nativeElement) {
733
+ this.nativeElement.resourceColumns = value;
734
+ }
735
+ }
736
+
737
+ /** Determines whether the Resource Table is filterable or not.
738
+ * Property type: boolean
739
+ */
740
+ get resourceFiltering(): boolean {
741
+ return this.nativeElement ? this.nativeElement.resourceFiltering : undefined;
742
+ }
743
+ set resourceFiltering(value: boolean) {
744
+ if (this.nativeElement) {
745
+ this.nativeElement.resourceFiltering = value;
746
+ }
747
+ }
748
+
749
+ /** A format function that allows to re-format the group row labels when groupByResources is enabled.
750
+ * Property type: any
751
+ */
752
+ get resourceGroupFormatFunction(): any {
753
+ return this.nativeElement ? this.nativeElement.resourceGroupFormatFunction : undefined;
754
+ }
755
+ set resourceGroupFormatFunction(value: any) {
756
+ if (this.nativeElement) {
757
+ this.nativeElement.resourceGroupFormatFunction = value;
758
+ }
759
+ }
760
+
761
+ /** Allows to create a custom header content for the Resource Panel. The attribute accepts an HTMLTemplate element, it's id or a function.
762
+ * Property type: any
763
+ */
764
+ get resourcePanelHeaderTemplate(): any {
765
+ return this.nativeElement ? this.nativeElement.resourcePanelHeaderTemplate : undefined;
766
+ }
767
+ set resourcePanelHeaderTemplate(value: any) {
768
+ if (this.nativeElement) {
769
+ this.nativeElement.resourcePanelHeaderTemplate = value;
770
+ }
771
+ }
772
+
773
+ /** Determines the min size of the Resource Panel.
774
+ * Property type: number | string
775
+ */
776
+ get resourcePanelMin(): number | string {
777
+ return this.nativeElement ? this.nativeElement.resourcePanelMin : undefined;
778
+ }
779
+ set resourcePanelMin(value: number | string) {
780
+ if (this.nativeElement) {
781
+ this.nativeElement.resourcePanelMin = value;
782
+ }
783
+ }
784
+
785
+ /** Determines the size of the Resource Panel.
786
+ * Property type: number | string
787
+ */
788
+ get resourcePanelSize(): number | string {
789
+ return this.nativeElement ? this.nativeElement.resourcePanelSize : undefined;
790
+ }
791
+ set resourcePanelSize(value: number | string) {
792
+ if (this.nativeElement) {
793
+ this.nativeElement.resourcePanelSize = value;
794
+ }
795
+ }
796
+
797
+ /** Determines the refresh rate of the Resource Panel when dragging/resizing/progress changing a Task from the Timeline. This property allows to customize the interval between resource Tree/Timeline refreshes. By default they refresh immediately after a change.
798
+ * Property type: number
799
+ */
800
+ get resourcePanelRefreshRate(): number {
801
+ return this.nativeElement ? this.nativeElement.resourcePanelRefreshRate : undefined;
802
+ }
803
+ set resourcePanelRefreshRate(value: number) {
804
+ if (this.nativeElement) {
805
+ this.nativeElement.resourcePanelRefreshRate = value;
806
+ }
807
+ }
808
+
809
+ /** A callback that can be used to customize the content of the resource Timeline cells. The callback accepts three arguments: taskIndexes - an array of task indexes that are assigned to the resource for the current cell.resourceIndex - the index of the resource.cellDate - the date of the current cell. This property is used when resourceTimelineView is set to custom. Depending on the resourceTimelineMode, it should return: string - when the resourceTimelineMode is set to 'diagram'.object - when the resourceTimelineMode is set to 'histogram'. The object should have two attributes: capacity and maxCapacity, in order to be visualized as a histogram.. Another usage of this callback is to customize the timeline resource representation completely if resourceTimelineMode is set to custom.
810
+ * Property type: any
811
+ */
812
+ get resourceTimelineFormatFunction(): any {
813
+ return this.nativeElement ? this.nativeElement.resourceTimelineFormatFunction : undefined;
814
+ }
815
+ set resourceTimelineFormatFunction(value: any) {
816
+ if (this.nativeElement) {
817
+ this.nativeElement.resourceTimelineFormatFunction = value;
818
+ }
819
+ }
820
+
821
+ /** Determines how the capacity of the resources will be visualized inside the resource timeline. By default, the capacity is measured in hours depending on the view property of the element.
822
+ * Property type: GanttChartResourceTimelineMode | string
823
+ */
824
+ get resourceTimelineMode(): GanttChartResourceTimelineMode | string {
825
+ return this.nativeElement ? this.nativeElement.resourceTimelineMode : undefined;
826
+ }
827
+ set resourceTimelineMode(value: GanttChartResourceTimelineMode | string) {
828
+ if (this.nativeElement) {
829
+ this.nativeElement.resourceTimelineMode = value;
830
+ }
831
+ }
832
+
833
+ /** Determines how the resources will be displayed inside the resource Timeline.
834
+ * Property type: GanttChartResourceTimelineView | string
835
+ */
836
+ get resourceTimelineView(): GanttChartResourceTimelineView | string {
837
+ return this.nativeElement ? this.nativeElement.resourceTimelineView : undefined;
838
+ }
839
+ set resourceTimelineView(value: GanttChartResourceTimelineView | string) {
840
+ if (this.nativeElement) {
841
+ this.nativeElement.resourceTimelineView = value;
842
+ }
843
+ }
844
+
845
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
846
+ * Property type: boolean
847
+ */
848
+ get rightToLeft(): boolean {
849
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
850
+ }
851
+ set rightToLeft(value: boolean) {
852
+ if (this.nativeElement) {
853
+ this.nativeElement.rightToLeft = value;
854
+ }
855
+ }
856
+
857
+ /** Sets which tasks to select by their id or gets the currently selected task ids. If no id is provided for the task, an internal id is generated for each task according to it's index(tree path).
858
+ * Property type: number[] | string[]
859
+ */
860
+ get selectedTaskIds(): number[] | string[] {
861
+ return this.nativeElement ? this.nativeElement.selectedTaskIds : undefined;
862
+ }
863
+ set selectedTaskIds(value: number[] | string[]) {
864
+ if (this.nativeElement) {
865
+ this.nativeElement.selectedTaskIds = value;
866
+ }
867
+ }
868
+
869
+ /** Sets which resources to select by their id or gets the currently selected resource ids. If no id is provided for the resource, an internal id is generated for each resource according to it's index(tree path).
870
+ * Property type: number[] | string[]
871
+ */
872
+ get selectedResourceIds(): number[] | string[] {
873
+ return this.nativeElement ? this.nativeElement.selectedResourceIds : undefined;
874
+ }
875
+ set selectedResourceIds(value: number[] | string[]) {
876
+ if (this.nativeElement) {
877
+ this.nativeElement.selectedResourceIds = value;
878
+ }
879
+ }
880
+
881
+ /** Sets or gets the selection mode. Only applicable when selection is enabled.
882
+ * Property type: GanttChartSelectionMode | string
883
+ */
884
+ get selectionMode(): GanttChartSelectionMode | string {
885
+ return this.nativeElement ? this.nativeElement.selectionMode : undefined;
886
+ }
887
+ set selectionMode(value: GanttChartSelectionMode | string) {
888
+ if (this.nativeElement) {
889
+ this.nativeElement.selectionMode = value;
890
+ }
891
+ }
892
+
893
+ /** Enables/Disables the current time shader. If enabled all cells that represent past time will be shaded.
894
+ * Property type: boolean
895
+ */
896
+ get shadeUntilCurrentTime(): boolean {
897
+ return this.nativeElement ? this.nativeElement.shadeUntilCurrentTime : undefined;
898
+ }
899
+ set shadeUntilCurrentTime(value: boolean) {
900
+ if (this.nativeElement) {
901
+ this.nativeElement.shadeUntilCurrentTime = value;
902
+ }
903
+ }
904
+
905
+ /** Shows the selection column of the Task/Resource Table. When applied a checkbox column is displayed that allows to select tasks/resources.
906
+ * Property type: boolean
907
+ */
908
+ get showSelectionColumn(): boolean {
909
+ return this.nativeElement ? this.nativeElement.showSelectionColumn : undefined;
910
+ }
911
+ set showSelectionColumn(value: boolean) {
912
+ if (this.nativeElement) {
913
+ this.nativeElement.showSelectionColumn = value;
914
+ }
915
+ }
916
+
917
+ /** Determines whether the baselnes of the tasks are visible or not. Baselines are defined via the 'planned' attribute on the task objects of the dataSource property.
918
+ * Property type: boolean
919
+ */
920
+ get showBaseline(): boolean {
921
+ return this.nativeElement ? this.nativeElement.showBaseline : undefined;
922
+ }
923
+ set showBaseline(value: boolean) {
924
+ if (this.nativeElement) {
925
+ this.nativeElement.showBaseline = value;
926
+ }
927
+ }
928
+
929
+ /** Shows the progress label inside the progress bars of the Timeline tasks.
930
+ * Property type: boolean
931
+ */
932
+ get showProgressLabel(): boolean {
933
+ return this.nativeElement ? this.nativeElement.showProgressLabel : undefined;
934
+ }
935
+ set showProgressLabel(value: boolean) {
936
+ if (this.nativeElement) {
937
+ this.nativeElement.showProgressLabel = value;
938
+ }
939
+ }
940
+
941
+ /** If set the dateStart/dateEnd of the tasks will be coerced to the nearest timeline cell date ( according to the view ). Affects the dragging operation as well.
942
+ * Property type: boolean
943
+ */
944
+ get snapToNearest(): boolean {
945
+ return this.nativeElement ? this.nativeElement.snapToNearest : undefined;
946
+ }
947
+ set snapToNearest(value: boolean) {
948
+ if (this.nativeElement) {
949
+ this.nativeElement.snapToNearest = value;
950
+ }
951
+ }
952
+
953
+ /** Determines whether the GanttChart can be sorted by one, more then one or no columns.
954
+ * Property type: { (dataSource: any, sortColumns: string[], directions: string[], defaultCompareFunctions: { (firstRecord: any, secondRecord: any): number }[]): void }
955
+ */
956
+ get sortFunction(): { (dataSource: any, sortColumns: string[], directions: string[], defaultCompareFunctions: { (firstRecord: any, secondRecord: any): number }[]): void } {
957
+ return this.nativeElement ? this.nativeElement.sortFunction : undefined;
958
+ }
959
+ set sortFunction(value: { (dataSource: any, sortColumns: string[], directions: string[], defaultCompareFunctions: { (firstRecord: any, secondRecord: any): number }[]): void }) {
960
+ if (this.nativeElement) {
961
+ this.nativeElement.sortFunction = value;
962
+ }
963
+ }
964
+
965
+ /** A getter that returns a flat structure as an array of all tasks inside the element.
966
+ * Property type: GanttChartSortMode | string
967
+ */
968
+ get sortMode(): GanttChartSortMode | string {
969
+ return this.nativeElement ? this.nativeElement.sortMode : undefined;
970
+ }
971
+ set sortMode(value: GanttChartSortMode | string) {
972
+ if (this.nativeElement) {
973
+ this.nativeElement.sortMode = value;
974
+ }
975
+ }
976
+
977
+ /** Deteremines the columns that will be visible in the Task Tree. Each entry in the value of this property must be of type Object. It should contain the label and value keys. The value of label determines the column header label inside the Task Tree. The value of value determines the content of the cells in the column. It should reference a task attribute from the dataSource. By default, one column with all task labels is visible. Additional properties: formatFunction - a function that allows to customize the content of each record in the column. The function accepts one argument - the actual label as string that is going to be inserted and must return some content. min - controls the min size of the column max - controls the max size of the column size - controls the actual size of the columncustomEditor - a callback that can be used to set a custom editor for the column when editing via the window. It accepts two arguments label - the label of the columnvalue - the value of the column. The callback must return the editor.setCustomEditorValue - a callback that is used to set the value of the custom editor.getCustomEditorValue - a callback that is used to get the value of the custom editor.
978
+ * Property type: GanttChartTask[]
979
+ */
980
+ get tasks(): GanttChartTask[] {
981
+ return this.nativeElement ? this.nativeElement.tasks : undefined;
982
+ }
983
+ set tasks(value: GanttChartTask[]) {
984
+ if (this.nativeElement) {
985
+ this.nativeElement.tasks = value;
986
+ }
987
+ }
988
+
989
+ /** Determines whether the Task Table is filterable or not.
990
+ * Property type: GanttChartTaskColumn[]
991
+ */
992
+ get taskColumns(): GanttChartTaskColumn[] {
993
+ return this.nativeElement ? this.nativeElement.taskColumns : undefined;
994
+ }
995
+ set taskColumns(value: GanttChartTaskColumn[]) {
996
+ if (this.nativeElement) {
997
+ this.nativeElement.taskColumns = value;
998
+ }
999
+ }
1000
+
1001
+ /** Determines the min size of the Task Panel. Used when Resource Panel is visible.
1002
+ * Property type: boolean
1003
+ */
1004
+ get taskFiltering(): boolean {
1005
+ return this.nativeElement ? this.nativeElement.taskFiltering : undefined;
1006
+ }
1007
+ set taskFiltering(value: boolean) {
1008
+ if (this.nativeElement) {
1009
+ this.nativeElement.taskFiltering = value;
1010
+ }
1011
+ }
1012
+
1013
+ /** Determines the size of the Task Panel. Used when Resource Panel is visible.
1014
+ * Property type: string | number
1015
+ */
1016
+ get taskPanelMin(): string | number {
1017
+ return this.nativeElement ? this.nativeElement.taskPanelMin : undefined;
1018
+ }
1019
+ set taskPanelMin(value: string | number) {
1020
+ if (this.nativeElement) {
1021
+ this.nativeElement.taskPanelMin = value;
1022
+ }
1023
+ }
1024
+
1025
+ /** Determines the min width of the timeline.
1026
+ * Property type: string | number
1027
+ */
1028
+ get taskPanelSize(): string | number {
1029
+ return this.nativeElement ? this.nativeElement.taskPanelSize : undefined;
1030
+ }
1031
+ set taskPanelSize(value: string | number) {
1032
+ if (this.nativeElement) {
1033
+ this.nativeElement.taskPanelSize = value;
1034
+ }
1035
+ }
1036
+
1037
+ /** Determines the min width of the task table.
1038
+ * Property type: string | number
1039
+ */
1040
+ get timelineMin(): string | number {
1041
+ return this.nativeElement ? this.nativeElement.timelineMin : undefined;
1042
+ }
1043
+ set timelineMin(value: string | number) {
1044
+ if (this.nativeElement) {
1045
+ this.nativeElement.timelineMin = value;
1046
+ }
1047
+ }
1048
+
1049
+ /** Determines the size(width) of the task table.
1050
+ * Property type: string | number
1051
+ */
1052
+ get treeMin(): string | number {
1053
+ return this.nativeElement ? this.nativeElement.treeMin : undefined;
1054
+ }
1055
+ set treeMin(value: string | number) {
1056
+ if (this.nativeElement) {
1057
+ this.nativeElement.treeMin = value;
1058
+ }
1059
+ }
1060
+
1061
+ /** A format function for the Header of the Timeline. The function provides the following arguments: date - a Date object that represets the date for the current cell.type - a string that represents the type of date that the cell is showing, e.g. 'month', 'week', 'day', etc.isHeaderDetails - a boolean that indicates whether the current cell is part of the Header Details Container or not.value - a string that represents the default value for the cell provided by the element.
1062
+ * Property type: string | number
1063
+ */
1064
+ get treeSize(): string | number {
1065
+ return this.nativeElement ? this.nativeElement.treeSize : undefined;
1066
+ }
1067
+ set treeSize(value: string | number) {
1068
+ if (this.nativeElement) {
1069
+ this.nativeElement.treeSize = value;
1070
+ }
1071
+ }
1072
+
1073
+ /** Determines whether the tooltips are enabled or not. Tooltips are available for timeline tasks, resources, connections, indicators and segments.
1074
+ * Property type: any
1075
+ */
1076
+ get timelineHeaderFormatFunction(): any {
1077
+ return this.nativeElement ? this.nativeElement.timelineHeaderFormatFunction : undefined;
1078
+ }
1079
+ set timelineHeaderFormatFunction(value: any) {
1080
+ if (this.nativeElement) {
1081
+ this.nativeElement.timelineHeaderFormatFunction = value;
1082
+ }
1083
+ }
1084
+
1085
+ /** Determines weather or not vertical scrollbar is shown.
1086
+ * Property type: GanttChartTooltip
1087
+ */
1088
+ get tooltip(): GanttChartTooltip {
1089
+ return this.nativeElement ? this.nativeElement.tooltip : undefined;
1090
+ }
1091
+ set tooltip(value: GanttChartTooltip) {
1092
+ if (this.nativeElement) {
1093
+ this.nativeElement.tooltip = value;
1094
+ }
1095
+ }
1096
+
1097
+ /** Determines the viewing date range of the timeline. Possible values: day - The timeline show the hours of the day.week - the timeline shows the days of the week.month - the timeline shows the days of the month.year - the timeline shows the months of the year.resource - displays the current tasks by grouping them according to the resources they have assigned. The unassigned tasks will be placed in a separate group called 'Unassigned'. The timeline has a header section that contains the labels of each cell according to the date inside them. The header is splitted in two sections in order to give a more detailed information of the dates.
1098
+ * Property type: VerticalScrollBarVisibility | string
1099
+ */
1100
+ get verticalScrollBarVisibility(): VerticalScrollBarVisibility | string {
1101
+ return this.nativeElement ? this.nativeElement.verticalScrollBarVisibility : undefined;
1102
+ }
1103
+ set verticalScrollBarVisibility(value: VerticalScrollBarVisibility | string) {
1104
+ if (this.nativeElement) {
1105
+ this.nativeElement.verticalScrollBarVisibility = value;
1106
+ }
1107
+ }
1108
+
1109
+ /** Determines the format of the dates inside the timeline header when they represent years.
1110
+ * Property type: GanttChartView | string
1111
+ */
1112
+ get view(): GanttChartView | string {
1113
+ return this.nativeElement ? this.nativeElement.view : undefined;
1114
+ }
1115
+ set view(value: GanttChartView | string) {
1116
+ if (this.nativeElement) {
1117
+ this.nativeElement.view = value;
1118
+ }
1119
+ }
1120
+
1121
+ /** Determines the format of the dates inside the timeline header when they represent weeks.
1122
+ * Property type: YearFormat | string
1123
+ */
1124
+ get yearFormat(): YearFormat | string {
1125
+ return this.nativeElement ? this.nativeElement.yearFormat : undefined;
1126
+ }
1127
+ set yearFormat(value: YearFormat | string) {
1128
+ if (this.nativeElement) {
1129
+ this.nativeElement.yearFormat = value;
1130
+ }
1131
+ }
1132
+
1133
+ /** Sets or gets the element's visual theme.
1134
+ * Property type: WeekFormat | string
1135
+ */
1136
+ get weekFormat(): WeekFormat | string {
1137
+ return this.nativeElement ? this.nativeElement.weekFormat : undefined;
1138
+ }
1139
+ set weekFormat(value: WeekFormat | string) {
1140
+ if (this.nativeElement) {
1141
+ this.nativeElement.weekFormat = value;
1142
+ }
1143
+ }
1144
+
1145
+ /** Sets or gets if the element can be focused.
1146
+ * Property type: string
1147
+ */
1148
+ get theme(): string {
1149
+ return this.nativeElement ? this.nativeElement.theme : undefined;
1150
+ }
1151
+ set theme(value: string) {
1152
+ if (this.nativeElement) {
1153
+ this.nativeElement.theme = value;
1154
+ }
1155
+ }
1156
+
1157
+ /** undefined
1158
+ * Property type: boolean
1159
+ */
1160
+ get unfocusable(): boolean {
1161
+ return this.nativeElement ? this.nativeElement.unfocusable : undefined;
1162
+ }
1163
+ set unfocusable(value: boolean) {
1164
+ if (this.nativeElement) {
1165
+ this.nativeElement.unfocusable = value;
1166
+ }
1167
+ }
1168
+
1169
+
1170
+ // Gets the properties of the React component.
1171
+ get properties(): string[] {
1172
+ return ["adjustToNonworkingTime","autoSchedule","autoScheduleStrictMode","autoScrollStep","columnMenu","columnResize","columnResizeFeedback","currentTime","currentTimeIndicator","currentTimeIndicatorInterval","dataExport","dataSource","dayFormat","dateEnd","dateStart","dateMarkers","disabled","disableAutoScroll","disableTaskDrag","disableTaskProgressChange","disableTaskResize","disableSelection","disableSegmentDrag","disableSegmentResize","disableWindowEditor","durationUnit","filterRow","firstDayOfWeek","groupByResources","headerTemplate","hideDateMarkers","hideTimelineHeader","hideTimelineHeaderDetails","hideTimelineSecondHeaderDetails","hideResourcePanel","horizontalScrollBarVisibility","hourFormat","infiniteTimeline","infiniteTimelineStep","inverted","keyboardNavigation","locale","max","min","messages","monthFormat","monthScale","nonworkingDays","nonworkingHours","onTaskRender","popupWindowCustomizationFunction","popupWindowTabs","progressLabelFormatFunction","quarterFormat","resources","resourceColumns","resourceFiltering","resourceGroupFormatFunction","resourcePanelHeaderTemplate","resourcePanelMin","resourcePanelSize","resourcePanelRefreshRate","resourceTimelineFormatFunction","resourceTimelineMode","resourceTimelineView","rightToLeft","selectedTaskIds","selectedResourceIds","selectionMode","shadeUntilCurrentTime","showSelectionColumn","showBaseline","showProgressLabel","snapToNearest","sortFunction","sortMode","tasks","taskColumns","taskFiltering","taskPanelMin","taskPanelSize","timelineMin","treeMin","treeSize","timelineHeaderFormatFunction","tooltip","verticalScrollBarVisibility","view","yearFormat","weekFormat","theme","unfocusable"];
1173
+ }
1174
+ /** This event is triggered when a batch update was started after executing the beginUpdate method.
1175
+ * @param event. The custom event. */
1176
+ onBeginUpdate?: ((event?: Event) => void) | undefined
1177
+ /** This event is triggered when a batch update was ended from after executing the endUpdate method.
1178
+ * @param event. The custom event. */
1179
+ onEndUpdate?: ((event?: Event) => void) | undefined
1180
+ /** This event is triggered when the user starts connecting one task to another. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1181
+ * @param event. The custom event. Custom event was created with: event.detail( startIndex)
1182
+ * startIndex - The index of the task that a connection is started from.
1183
+ */
1184
+ onConnectionStart?: ((event?: Event) => void) | undefined
1185
+ /** This event is triggered when the user completes a connection between two tasks.
1186
+ * @param event. The custom event. Custom event was created with: event.detail( id, startTaskId, startIndex, endIndex, endTaskId, type)
1187
+ * id - The id of the connection that was created.
1188
+ * startTaskId - The id of the task that a connection is started from.
1189
+ * startIndex - The index of the task that a connection is started from.
1190
+ * endIndex - The index of the task that a connection ended to.
1191
+ * endTaskId - The id of the task that a connection ended to.
1192
+ * type - The type of connection. Fours types are available: <ul><li><b>0</b> - start-to-start</li><li><b>1</b> - end-to-start</li><li><b>2</b> - end-to-end</li><li><b>3</b> - start-to-end</li></ul>
1193
+ */
1194
+ onConnectionEnd?: ((event?: Event) => void) | undefined
1195
+ /** This event is triggered when a Task is selected/unselected.
1196
+ * @param event. The custom event. Custom event was created with: event.detail( value, oldValue)
1197
+ * value - The index of the new selected task.
1198
+ * oldValue - The index of the previously selected task.
1199
+ */
1200
+ onChange?: ((event?: Event) => void) | undefined
1201
+ /** This event is triggered when a Tree column is resized. Column resizing is controled by the columnResize property.
1202
+ * @param event. The custom event. Custom event was created with: event.detail( dataField, headerCellElement, widthInPercentages, width)
1203
+ * dataField - The name of the column. Corresponds to the <b>value</b> attribute of a <b>taskColumns/resourceColumns</b> object.
1204
+ * headerCellElement - The HTMLElement column cell element that was resized.
1205
+ * widthInPercentages - The new width of the column in percentages.
1206
+ * width - The new width of the column in pixels.
1207
+ */
1208
+ onColumnResize?: ((event?: Event) => void) | undefined
1209
+ /** This event is triggered just before the window for task editing or tooltip is closing. The closing operation can be canceled by calling event.preventDefault() in the event handler function.
1210
+ * @param event. The custom event. Custom event was created with: event.detail( owner, item, target, type)
1211
+ * owner - The HTMLElement that is the owner of the tooltip. This attribute is defined only when the event is related to the tooltip.
1212
+ * item - The item object that is related to the tooltip owner. It can be a task/segment/resource/indicator object. This attribute is defined only when the event is related to the tooltip.
1213
+ * target - The instance of the window/tooltip that is going to close.
1214
+ * type - The type of window/tooltip that is going to close. There are three types of windows inside GanttChart: <ul><li><b>confirm</b> - a confirm window. This type of window is usually used to confirm the deletion of a task.</li><li><b>task</b> - a window used for task editing.</li><li><b>connection</b> - a window used to delete a connection.</li></ul>. If the event is a tooltip event, there are several tooltip types: <ul><li>indicator - when the tooltip owner is an indicator.</li><li>segment - when the tooltip owner is a task segment.</li><li>task - when the tooltip owner is a task.</li><li>resource - when the tooltip target is a resource.</li></ul>
1215
+ */
1216
+ onClosing?: ((event?: Event) => void) | undefined
1217
+ /** This event is triggered when the window for task editing is closed( hidden )
1218
+ * @param event. The custom event. Custom event was created with: event.detail( owner, item, target, type)
1219
+ * owner - The HTMLElement that is the owner of the tooltip. This attribute is defined only when the event is related to the tooltip
1220
+ * item - The item object that is related to the tooltip owner. It can be a task/segment/resource/indicator object. This attribute is defined only when the event is related to the tooltip.
1221
+ * target - The instance of the window/tooltip that is closed.
1222
+ * type - The type of window/tooltip that is closed. There are three types of windows inside GanttChart: <ul><li><b>confirm</b> - a confirm window. This type of window is usually used to confirm the deletion of a task.</li><li><b>task</b> - a window used for task editing.</li><li><b>connection</b> - a window used to delete a connection.</li></ul>. If the event is a tooltip event, there are several tooltip types: <ul><li>indicator - when the tooltip owner is an indicator.</li><li>segment - when the tooltip owner is a task segment.</li><li>task - when the tooltip owner is a task.</li><li>resource - when the tooltip target is a resource.</li></ul>
1223
+ */
1224
+ onClose?: ((event?: Event) => void) | undefined
1225
+ /** This event is triggered when an item is collapsed.
1226
+ * @param event. The custom event. Custom event was created with: event.detail( isGroup, item, index, label, value)
1227
+ * isGroup - A boolean flag indicating whether the collapsed item is a resource group. This is the case when <b>groupByResoruces</b> is enabled.
1228
+ * item - The object details of the collapsed item.
1229
+ * index - The index of the collapsed item.
1230
+ * label - The label of the collapsed item.
1231
+ * value - The value of the collapsed item.
1232
+ */
1233
+ onCollapse?: ((event?: Event) => void) | undefined
1234
+ /** This event is triggered when dragging of a task starts. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1235
+ * @param event. The custom event. Custom event was created with: event.detail( id, item, dateStart, dateEnd, segment)
1236
+ * id - The id of the task that is going to be dragged.
1237
+ * item - The object of the task that is going to be dragged.
1238
+ * dateStart - The start date of the task that is going to be dragged.
1239
+ * dateEnd - The end date of the task that is going to be dragged.
1240
+ * segment - The segment object that is going to be dragged. This attribute is undefined if a segment is not going to be dragged.
1241
+ */
1242
+ onDragStart?: ((event?: Event) => void) | undefined
1243
+ /** This event is triggered when dragging of a task finishes.
1244
+ * @param event. The custom event. Custom event was created with: event.detail( id, item, dateStart, dateEnd, segment)
1245
+ * id - The id of the task that is was dragged.
1246
+ * item - The object of the task that is was dragged.
1247
+ * dateStart - The start date of the task that is was dragged.
1248
+ * dateEnd - The end date of the task that is was dragged.
1249
+ * segment - The segment object that was dragged. This attribute is undefined if a segment has not been dragged.
1250
+ */
1251
+ onDragEnd?: ((event?: Event) => void) | undefined
1252
+ /** This event is triggered when an item is expanded.
1253
+ * @param event. The custom event. Custom event was created with: event.detail( isGroup, item, index, label, value)
1254
+ * isGroup - A boolean flag indicating whether the collapsed item is a resource group. This is the case when <b>groupByResoruces</b> is enabled.
1255
+ * item - The index of the expanded item.
1256
+ * index - The index of the expanded item.
1257
+ * label - The label of the expanded item.
1258
+ * value - The value of the expanded item.
1259
+ */
1260
+ onExpand?: ((event?: Event) => void) | undefined
1261
+ /** This event is triggered when the GanttChart is filtered.
1262
+ * @param event. The custom event. Custom event was created with: event.detail( type, action, filters)
1263
+ * type - The type of items that have been filtered ( task or resource ).
1264
+ * action - The name of the filtering action (whether filtering is added or removed).
1265
+ * filters - The filters that have been applied. Filters represent JQX.Utilities.FilterGroup objects.
1266
+ */
1267
+ onFilter?: ((event?: Event) => void) | undefined
1268
+ /** This event is triggered when a task, resource or connection is clicked inside the Timeline or the Tree columns.
1269
+ * @param event. The custom event. Custom event was created with: event.detail( id, item, type, originalEvent)
1270
+ * id - The id of the task.
1271
+ * item - The item that was clicked. It can be a task, resource or connection.
1272
+ * type - The type of item. Possible values are: 'task', 'project', 'resource', 'connection'.
1273
+ * originalEvent - The original DOM event.
1274
+ */
1275
+ onItemClick?: ((event?: Event) => void) | undefined
1276
+ /** This event is triggered when a Task/Resource/Connection is inserted.
1277
+ * @param event. The custom event. Custom event was created with: event.detail( type, item)
1278
+ * type - The type of item that has been modified. The type could be: 'connection', 'task', 'project', 'resource'.
1279
+ * item - An object that represents the actual item with it's attributes.
1280
+ */
1281
+ onItemInsert?: ((event?: Event) => void) | undefined
1282
+ /** This event is triggered when a Task/Resource/Connection is removed.
1283
+ * @param event. The custom event. Custom event was created with: event.detail( id, type, item)
1284
+ * id - The id of the task.
1285
+ * type - The type of item that has been modified. The type could be: 'connection', 'task', 'project', 'resource'.
1286
+ * item - An object that represents the actual item with it's attributes.
1287
+ */
1288
+ onItemRemove?: ((event?: Event) => void) | undefined
1289
+ /** This event is triggered when a Task/Resource/Connection is updated.
1290
+ * @param event. The custom event. Custom event was created with: event.detail( id, type, item)
1291
+ * id - The id of the task.
1292
+ * type - The type of item that has been modified. The type could be: 'connection', 'task', 'project', 'resource'.
1293
+ * item - An object that represents the actual item with it's attributes.
1294
+ */
1295
+ onItemUpdate?: ((event?: Event) => void) | undefined
1296
+ /** This event is triggered just before the window for task editing or tooltip is opening. The opening operation can be canceled by calling event.preventDefault() in the event handler function.
1297
+ * @param event. The custom event. Custom event was created with: event.detail( owner, item, target, type)
1298
+ * owner - The HTMLElement that is the owner of the tooltip. This attribute is defined only when the event is related to the tooltip
1299
+ * item - The item object that is related to the tooltip owner. It can be a task/segment/resource/indicator object. This attribute is defined only when the event is related to the tooltip.
1300
+ * target - The instance of the window/tooltip that is going to open.
1301
+ * type - The type of window/tooltip that is going to open. There are three types of windows inside GanttChart: <ul><li><b>confirm</b> - a confirm window. This type of window is usually used to confirm the deletion of a task.</li><li><b>task</b> - a window used for task editing.</li><li><b>connection</b> - a window used to delete a connection.</li></ul>. If the event is a tooltip event, there are several tooltip types: <ul><li>indicator - when the tooltip owner is an indicator.</li><li>segment - when the tooltip owner is a task segment.</li><li>task - when the tooltip owner is a task.</li><li>resource - when the tooltip target is a resource.</li></ul>
1302
+ */
1303
+ onOpening?: ((event?: Event) => void) | undefined
1304
+ /** This event is triggered when the window for task editing is opened( visible ) or when the tooltip is opened.
1305
+ * @param event. The custom event. Custom event was created with: event.detail( owner, item, target, type)
1306
+ * owner - The HTMLElement that is the owner of the tooltip. This attribute is defined only when the event is related to the tooltip
1307
+ * item - The item object that is related to the tooltip owner. It can be a task/segment/resource/indicator object. This attribute is defined only when the event is related to the tooltip.
1308
+ * target - The instance of the window/tooltip that is opened.
1309
+ * type - The type of window/tooltip that is opened. There are three types of windows inside GanttChart: <ul><li><b>confirm</b> - a confirm window. This type of window is usually used to confirm the deletion of a task.</li><li><b>task</b> - a window used for task editing.</li><li><b>connection</b> - a window used to delete a connection.</li></ul>. If the event is a tooltip event, there are several tooltip types: <ul><li>indicator - when the tooltip owner is an indicator.</li><li>segment - when the tooltip owner is a task segment.</li><li>task - when the tooltip owner is a task.</li><li>resource - when the tooltip target is a resource.</li></ul>
1310
+ */
1311
+ onOpen?: ((event?: Event) => void) | undefined
1312
+ /** This event is triggered when the progress of a task bar starts to change as a result of user interaction. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1313
+ * @param event. The custom event. Custom event was created with: event.detail( id, index, progress)
1314
+ * id - The id of the task.
1315
+ * index - The index of the task which progress is going to be changed.
1316
+ * progress - The progress of the task before it is changed.
1317
+ */
1318
+ onProgressChangeStart?: ((event?: Event) => void) | undefined
1319
+ /** This event is triggered when the progress of a task is changed.
1320
+ * @param event. The custom event. Custom event was created with: event.detail( id, index, progress)
1321
+ * id - The id of the task.
1322
+ * index - The index of the task which progress is has been changed.
1323
+ * progress - The progress of the task after it was changed.
1324
+ */
1325
+ onProgressChangeEnd?: ((event?: Event) => void) | undefined
1326
+ /** 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.
1327
+ * @param event. The custom event. Custom event was created with: event.detail( id, item, dateStart, dateEnd, segment)
1328
+ * id - The id of the task that is going to be resized.
1329
+ * item - The object of the task that is going to be resized.
1330
+ * dateStart - The start date of the task that is going to be resized.
1331
+ * dateEnd - The end date of the task that is going to be resized.
1332
+ * segment - The segment object that is going to be resized. This attribute is undefined if a segment is not going to be resized.
1333
+ */
1334
+ onResizeStart?: ((event?: Event) => void) | undefined
1335
+ /** This event is triggered when the resizing of a task finishes.
1336
+ * @param event. The custom event. Custom event was created with: event.detail( id, item, dateStart, dateEnd, segment)
1337
+ * id - The id of the task that was resized.
1338
+ * item - The object of the task that was resized.
1339
+ * dateStart - The start date of the task that was resized.
1340
+ * dateEnd - The end date of the task that was resized.
1341
+ * segment - The segment object that was resized. This attribute is undefined if a segment has not been resized.
1342
+ */
1343
+ onResizeEnd?: ((event?: Event) => void) | undefined
1344
+ /** This event is triggered when the GanttChart is sorted by some column.
1345
+ * @param event. The custom event. Custom event was created with: event.detail( type, columns, sortDataFields, sortOrders, sortDataTypes)
1346
+ * type - The type of columns that have been sorted ( task or resource column ).
1347
+ * columns - An array of objects that contains the currently sorted column objects.
1348
+ * sortDataFields - The dataFields of the columns that have been sorted. The dataField corresponds to the <b>value</b> property of a <b>taskColumns/resourceColumns</b> object.
1349
+ * sortOrders - The orders of the columns that have been sorted.
1350
+ * sortDataTypes - The data types of the columns that have been sorted.
1351
+ */
1352
+ onSort?: ((event?: Event) => void) | undefined
1353
+ /** This event is triggered when the Timeline has been scrolled to the bottom.
1354
+ * @param event. The custom event. */
1355
+ onScrollBottomReached?: ((event?: Event) => void) | undefined
1356
+ /** This event is triggered when the Timeline has been scrolled to the top.
1357
+ * @param event. The custom event. */
1358
+ onScrollTopReached?: ((event?: Event) => void) | undefined
1359
+ /** This event is triggered when the Timeline has been scrolled to the beginning (horizontally).
1360
+ * @param event. The custom event. */
1361
+ onScrollLeftReached?: ((event?: Event) => void) | undefined
1362
+ /** This event is triggered when the Timeline has been scrolled to the end (horizontally).
1363
+ * @param event. The custom event. */
1364
+ onScrollRightReached?: ((event?: Event) => void) | undefined
1365
+ /** This event occurs, when the React component is created.
1366
+ * @param event. The custom event. */
1367
+ onCreate?: ((event?: Event) => void) | undefined
1368
+ /** This event occurs, when the React component is completely rendered.
1369
+ * @param event. The custom event. */
1370
+ onReady?: ((event?: Event) => void) | undefined
1371
+
1372
+ // Gets the events of the React component.
1373
+ get eventListeners(): string[] {
1374
+ return ["onBeginUpdate","onEndUpdate","onConnectionStart","onConnectionEnd","onChange","onColumnResize","onClosing","onClose","onCollapse","onDragStart","onDragEnd","onExpand","onFilter","onItemClick","onItemInsert","onItemRemove","onItemUpdate","onOpening","onOpen","onProgressChangeStart","onProgressChangeEnd","onResizeStart","onResizeEnd","onSort","onScrollBottomReached","onScrollTopReached","onScrollLeftReached","onScrollRightReached","onCreate","onReady"];
1375
+ }
1376
+ /** Adds a custom filter to a specific column (task or resource column).
1377
+ * @param {any} columns. An object or an array of objects with the following syntax: <ul><li><b>type</b> - indicates the type of column to filter. Possible values are 'task' or 'resource'.</li><li><b>value</b> - the value of the column that must match the value attribute of a taskColumns/resourceColumns object(e.g. 'label', 'dateStart', etc).</li></ul>.
1378
+ * @param {any} filterGroup. A JQX.Utilities.FilterGroup object. Here's an example for creating a FilterGroup object: <pre>const filterGroup = new window.JQX.Utilities.FilterGroup(), filterObject = filterGroup.createFilter('string', 'Task B', 'STARTS_WITH_CASE_SENSITIVE'); filterGroup.addFilter('or', filterObject); gantt.addFilter({ type: 'task', value: 'label' }, filterGroup);</pre>
1379
+ */
1380
+ public addFilter(columns: any, filterGroup: any): void {
1381
+ if (this.nativeElement.isRendered) {
1382
+ this.nativeElement.addFilter(columns, filterGroup);
1383
+ }
1384
+ else
1385
+ {
1386
+ this.nativeElement.whenRendered(() => {
1387
+ this.nativeElement.addFilter(columns, filterGroup);
1388
+ });
1389
+ }
1390
+ }
1391
+
1392
+ /** Clears the currently applied filters.
1393
+ */
1394
+ public clearFilters(): void {
1395
+ if (this.nativeElement.isRendered) {
1396
+ this.nativeElement.clearFilters();
1397
+ }
1398
+ else
1399
+ {
1400
+ this.nativeElement.whenRendered(() => {
1401
+ this.nativeElement.clearFilters();
1402
+ });
1403
+ }
1404
+ }
1405
+
1406
+ /** Clears the currently applied column sorting.
1407
+ */
1408
+ public clearSort(): void {
1409
+ if (this.nativeElement.isRendered) {
1410
+ this.nativeElement.clearSort();
1411
+ }
1412
+ else
1413
+ {
1414
+ this.nativeElement.whenRendered(() => {
1415
+ this.nativeElement.clearSort();
1416
+ });
1417
+ }
1418
+ }
1419
+
1420
+ /** Unselects all currently selected items inside the GanttChart including Tasks and Resources. It also clears the assignment highlgihters.
1421
+ */
1422
+ public clearSelection(): void {
1423
+ if (this.nativeElement.isRendered) {
1424
+ this.nativeElement.clearSelection();
1425
+ }
1426
+ else
1427
+ {
1428
+ this.nativeElement.whenRendered(() => {
1429
+ this.nativeElement.clearSelection();
1430
+ });
1431
+ }
1432
+ }
1433
+
1434
+ /** Removes a previously saved state of the element form LocalStorage according to it's id. Requires an id to be set to the element.
1435
+ */
1436
+ public clearState(): void {
1437
+ if (this.nativeElement.isRendered) {
1438
+ this.nativeElement.clearState();
1439
+ }
1440
+ else
1441
+ {
1442
+ this.nativeElement.whenRendered(() => {
1443
+ this.nativeElement.clearState();
1444
+ });
1445
+ }
1446
+ }
1447
+
1448
+ /** Removes all tasks.
1449
+ */
1450
+ public clearTasks(): void {
1451
+ if (this.nativeElement.isRendered) {
1452
+ this.nativeElement.clearTasks();
1453
+ }
1454
+ else
1455
+ {
1456
+ this.nativeElement.whenRendered(() => {
1457
+ this.nativeElement.clearTasks();
1458
+ });
1459
+ }
1460
+ }
1461
+
1462
+ /** Removes all resources.
1463
+ */
1464
+ public clearResources(): void {
1465
+ if (this.nativeElement.isRendered) {
1466
+ this.nativeElement.clearResources();
1467
+ }
1468
+ else
1469
+ {
1470
+ this.nativeElement.whenRendered(() => {
1471
+ this.nativeElement.clearResources();
1472
+ });
1473
+ }
1474
+ }
1475
+
1476
+ /** Creates a connection between two tasks.
1477
+ * @param {number | string} startTaskIndex. The id of the start task or the connection string like '2-3-0'. <b>If the complete connections string is provided as the first argument, the rest of the method arguments are not necessary</b>
1478
+ * @param {number | string} taskEndIndex?. The id of the end task.
1479
+ * @param {number} connectionType?. The type of the connection. A numeric value from 0 to 3. The connection type can be: <ul><li><b>0</b> - Start-to-Start connection.</li><li><b>1</b> - End-to-Start connection.</li><li><b>2</b> - End-to-End connection.</li><li><b>3</b> - Start-to-End connection.</li></ul>
1480
+ * @param {number} lag?. The connection lag in miliseconds. Used by the Auto scheduling algorithm in order allow some slack time slack time before or after the next task begins/ends. Lag is measured in miliseconds. It can be a negative (lead) or a positive (lag) number.
1481
+ */
1482
+ public createConnection(startTaskIndex: number | string, taskEndIndex?: number | string, connectionType?: number, lag?: number): void {
1483
+ if (this.nativeElement.isRendered) {
1484
+ this.nativeElement.createConnection(startTaskIndex, taskEndIndex, connectionType, lag);
1485
+ }
1486
+ else
1487
+ {
1488
+ this.nativeElement.whenRendered(() => {
1489
+ this.nativeElement.createConnection(startTaskIndex, taskEndIndex, connectionType, lag);
1490
+ });
1491
+ }
1492
+ }
1493
+
1494
+ /** Collapses an expanded project.
1495
+ * @param {string | number} id. The id of a project item that should be collapsed.
1496
+ */
1497
+ public collapse(id: string | number): void {
1498
+ if (this.nativeElement.isRendered) {
1499
+ this.nativeElement.collapse(id);
1500
+ }
1501
+ else
1502
+ {
1503
+ this.nativeElement.whenRendered(() => {
1504
+ this.nativeElement.collapse(id);
1505
+ });
1506
+ }
1507
+ }
1508
+
1509
+ /** Starts an update operation. This is appropriate when calling multiple methods or set multiple properties at once.
1510
+ */
1511
+ public beginUpdate(): void {
1512
+ if (this.nativeElement.isRendered) {
1513
+ this.nativeElement.beginUpdate();
1514
+ }
1515
+ else
1516
+ {
1517
+ this.nativeElement.whenRendered(() => {
1518
+ this.nativeElement.beginUpdate();
1519
+ });
1520
+ }
1521
+ }
1522
+
1523
+ /** Ends the update operation. This method will resume the rendering and will refresh the GanttChart.
1524
+ */
1525
+ public endUpdate(): void {
1526
+ if (this.nativeElement.isRendered) {
1527
+ this.nativeElement.endUpdate();
1528
+ }
1529
+ else
1530
+ {
1531
+ this.nativeElement.whenRendered(() => {
1532
+ this.nativeElement.endUpdate();
1533
+ });
1534
+ }
1535
+ }
1536
+
1537
+ /** Refereshes the GanttChart after resizing by recalculating the Scrollbars.
1538
+ * @param {boolean} fullRefresh?. If set the GanttChart will be re-rendered completely.
1539
+ */
1540
+ public refresh(fullRefresh?: boolean): void {
1541
+ if (this.nativeElement.isRendered) {
1542
+ this.nativeElement.refresh(fullRefresh);
1543
+ }
1544
+ else
1545
+ {
1546
+ this.nativeElement.whenRendered(() => {
1547
+ this.nativeElement.refresh(fullRefresh);
1548
+ });
1549
+ }
1550
+ }
1551
+
1552
+ /** Makes sure a Task is visible by scrolling to it.
1553
+ * @param {string | number} taskId. The id of the target Task.
1554
+ */
1555
+ public ensureVisible(taskId: string | number): void {
1556
+ if (this.nativeElement.isRendered) {
1557
+ this.nativeElement.ensureVisible(taskId);
1558
+ }
1559
+ else
1560
+ {
1561
+ this.nativeElement.whenRendered(() => {
1562
+ this.nativeElement.ensureVisible(taskId);
1563
+ });
1564
+ }
1565
+ }
1566
+
1567
+ /** Expands a collapsed project with tasks.
1568
+ * @param {string | number} id. The id of a project task that should be expanded.
1569
+ */
1570
+ public expand(id: string | number): void {
1571
+ if (this.nativeElement.isRendered) {
1572
+ this.nativeElement.expand(id);
1573
+ }
1574
+ else
1575
+ {
1576
+ this.nativeElement.whenRendered(() => {
1577
+ this.nativeElement.expand(id);
1578
+ });
1579
+ }
1580
+ }
1581
+
1582
+ /** Exports the data of Tree of the GanttChart.
1583
+ * @param {string} dataFormat. Determines the format of the exported file. Three possible values are available: <ul><li><b>pdf</b></li><li><b>xlsx</b></li><li><b>html</b></li><li><b>tsv</b></li><li><b>csv</b></li><li><b>xml</b></li></ul>
1584
+ * @param {any} callback?. A callback that allows to format the exported data based on a condition. For additional details, refer ro the JQX Export Documentation.
1585
+ */
1586
+ public exportData(dataFormat: string, callback?: any): void {
1587
+ if (this.nativeElement.isRendered) {
1588
+ this.nativeElement.exportData(dataFormat, callback);
1589
+ }
1590
+ else
1591
+ {
1592
+ this.nativeElement.whenRendered(() => {
1593
+ this.nativeElement.exportData(dataFormat, callback);
1594
+ });
1595
+ }
1596
+ }
1597
+
1598
+ /** Returns all existing connections. The connections are returned as objects that contain detailed information. Each object in the array has the following keys: 'id' - connection id, 'type' - connection type, 'startTaskId' - connection's start task id, 'endTaskId' - connection's end task id, 'startIndex' - connection's start task index, 'endIndex' - connection's end task index, 'lag' - lag time.
1599
+ * @returns {any}
1600
+ */
1601
+ public getConnections() : any {
1602
+ const result: any = this.nativeElement.getConnections();
1603
+ return result;
1604
+ }
1605
+
1606
+ /** Returns the connection details for the target connection which includes: startTask, endTask, startTaskId, endTaskId and type of the corresponding connection. Connection types are described in detail under the `connectionEnd` event description in this document and in a dedicated topic available on the website.
1607
+ * @param {string} connectionId. A connection id. Each connection has a unique id that is assigned when a connection is created.
1608
+ * @returns {any}
1609
+ */
1610
+ public getConnectionDetails(connectionId:string) : any {
1611
+ const result: any = this.nativeElement.getConnectionDetails(connectionId);
1612
+ return result;
1613
+ }
1614
+
1615
+ /** Returns a JSON representation of all tasks inside the element along with their connections and settings.
1616
+ * @returns {any[]}
1617
+ */
1618
+ public getState() : any {
1619
+ const result: any = this.nativeElement.getState();
1620
+ return result;
1621
+ }
1622
+
1623
+ /** Returns the Tree path of a task/resource. The tree path is used as task/resource id if no id is provided by the user.
1624
+ * @param {any} item. A GattChartTask/GanttChartResource item object.
1625
+ * @returns {string}
1626
+ */
1627
+ public getItemPath(item:any) : any {
1628
+ const result: any = this.nativeElement.getItemPath(item);
1629
+ return result;
1630
+ }
1631
+
1632
+ /** Returns the task object that corresponds to the id/path.
1633
+ * @param {string | number} itemId. The id/path of a task.
1634
+ * @returns {any}
1635
+ */
1636
+ public getTask(itemId:string | number) : any {
1637
+ const result: any = this.nativeElement.getTask(itemId);
1638
+ return result;
1639
+ }
1640
+
1641
+ /** Returns an array of all GanttChart tasks.
1642
+ * @returns {any[]}
1643
+ */
1644
+ public getTasks() : any {
1645
+ const result: any = this.nativeElement.getTasks();
1646
+ return result;
1647
+ }
1648
+
1649
+ /** Returns the index of a task.
1650
+ * @param {any} task. A GattChartTask object.
1651
+ * @returns {number}
1652
+ */
1653
+ public getTaskIndex(task:any) : any {
1654
+ const result: any = this.nativeElement.getTaskIndex(task);
1655
+ return result;
1656
+ }
1657
+
1658
+ /** Returns the connections definitions of a task.
1659
+ * @param {any} taskId. A GanttChartTask object or it's id.
1660
+ * @returns {any}
1661
+ */
1662
+ public getTaskConnections(taskId:any) : any {
1663
+ const result: any = this.nativeElement.getTaskConnections(taskId);
1664
+ return result;
1665
+ }
1666
+
1667
+ /** Returns the Project of a task or undefined if it does not have one.
1668
+ * @param {any} task. A GantChartTask object.
1669
+ * @returns {any}
1670
+ */
1671
+ public getTaskProject(task:any) : any {
1672
+ const result: any = this.nativeElement.getTaskProject(task);
1673
+ return result;
1674
+ }
1675
+
1676
+ /** Returns the resource object that corresponds to the id/path.
1677
+ * @param {string | number} itemId. The id/path of a resource.
1678
+ * @returns {any}
1679
+ */
1680
+ public getResource(itemId:string | number) : any {
1681
+ const result: any = this.nativeElement.getResource(itemId);
1682
+ return result;
1683
+ }
1684
+
1685
+ /** Returns an array of all GanttChart resources.
1686
+ * @returns {any[]}
1687
+ */
1688
+ public getResources() : any {
1689
+ const result: any = this.nativeElement.getResources();
1690
+ return result;
1691
+ }
1692
+
1693
+ /** Returns the index of a resource.
1694
+ * @param {any} resource. A GanttChartResource object.
1695
+ * @returns {number}
1696
+ */
1697
+ public getResourceIndex(resource:any) : any {
1698
+ const result: any = this.nativeElement.getResourceIndex(resource);
1699
+ return result;
1700
+ }
1701
+
1702
+ /** Returns the tasks that are assigned to the resource.
1703
+ * @param {any} resource. A GanttChartResource object or it's id.
1704
+ * @returns {any}
1705
+ */
1706
+ public getResourceTasks(resource:any) : any {
1707
+ const result: any = this.nativeElement.getResourceTasks(resource);
1708
+ return result;
1709
+ }
1710
+
1711
+ /** Returns the currently selected tasks/resource ids. If selection is disabled or no items are selected returns null.
1712
+ * @returns {any}
1713
+ */
1714
+ public getSelectedIds() : any {
1715
+ const result: any = this.nativeElement.getSelectedIds();
1716
+ return result;
1717
+ }
1718
+
1719
+ /** Returns the currently selected tasks.
1720
+ * @returns {any}
1721
+ */
1722
+ public getSelectedTasks() : any {
1723
+ const result: any = this.nativeElement.getSelectedTasks();
1724
+ return result;
1725
+ }
1726
+
1727
+ /** Returns the currently selected resources.
1728
+ * @returns {any}
1729
+ */
1730
+ public getSelectedResources() : any {
1731
+ const result: any = this.nativeElement.getSelectedResources();
1732
+ return result;
1733
+ }
1734
+
1735
+ /** Returns the working hours of the day as numbers.
1736
+ * @returns {any}
1737
+ */
1738
+ public getWorkingHours() : any {
1739
+ const result: any = this.nativeElement.getWorkingHours();
1740
+ return result;
1741
+ }
1742
+
1743
+ /** Hides the tooltip if it's visible.
1744
+ * @returns {any}
1745
+ */
1746
+ public hideTooltip() : any {
1747
+ const result: any = this.nativeElement.hideTooltip();
1748
+ return result;
1749
+ }
1750
+
1751
+ /** Depending on the nonworkingDays property, returns true or false whether the target date is on a working day or not.
1752
+ * @param {Date} date. A javascript Date object or a string/number which represents a valid JS Date.
1753
+ */
1754
+ public isWorkingDay(date: Date): void {
1755
+ if (this.nativeElement.isRendered) {
1756
+ this.nativeElement.isWorkingDay(date);
1757
+ }
1758
+ else
1759
+ {
1760
+ this.nativeElement.whenRendered(() => {
1761
+ this.nativeElement.isWorkingDay(date);
1762
+ });
1763
+ }
1764
+ }
1765
+
1766
+ /** Loads a previously saved state of the element or checks LocalStorage for any saved states if no argument is passed to the method.
1767
+ * @param {any[]} state?. An Array containing a valid structure of Gantt Chart tasks.
1768
+ */
1769
+ public loadState(state?: any[]): void {
1770
+ if (this.nativeElement.isRendered) {
1771
+ this.nativeElement.loadState(state);
1772
+ }
1773
+ else
1774
+ {
1775
+ this.nativeElement.whenRendered(() => {
1776
+ this.nativeElement.loadState(state);
1777
+ });
1778
+ }
1779
+ }
1780
+
1781
+ /** Removes all connections between tasks.
1782
+ */
1783
+ public removeAllConnections(): void {
1784
+ if (this.nativeElement.isRendered) {
1785
+ this.nativeElement.removeAllConnections();
1786
+ }
1787
+ else
1788
+ {
1789
+ this.nativeElement.whenRendered(() => {
1790
+ this.nativeElement.removeAllConnections();
1791
+ });
1792
+ }
1793
+ }
1794
+
1795
+ /** Removes a connection between tasks. The function accepts three arguments(task's start index, end index and connection type) or one connection string argument which describes the connection.
1796
+ * @param {number | string} startTaskIndex. The index of the start task or the connection string like '2-3-0.
1797
+ * @param {number} taskEndIndex?. The index of the end task.
1798
+ * @param {number} connectionType?. The type of the connection. A numeric value from 0 to 3.
1799
+ * @returns {any}
1800
+ */
1801
+ public removeConnection(startTaskIndex:number | string, taskEndIndex?:number, connectionType?:number) : any {
1802
+ const result: any = this.nativeElement.removeConnection(startTaskIndex, taskEndIndex, connectionType);
1803
+ return result;
1804
+ }
1805
+
1806
+ /** Removes all connections of a task or between two tasks if the second argument is provided and valid.
1807
+ * @param {any} taskStart. The start task object or it's id.
1808
+ * @param {any} taskEnd?. The end task object or it's id.
1809
+ */
1810
+ public removeTaskConnection(taskStart: any, taskEnd?: any): void {
1811
+ if (this.nativeElement.isRendered) {
1812
+ this.nativeElement.removeTaskConnection(taskStart, taskEnd);
1813
+ }
1814
+ else
1815
+ {
1816
+ this.nativeElement.whenRendered(() => {
1817
+ this.nativeElement.removeTaskConnection(taskStart, taskEnd);
1818
+ });
1819
+ }
1820
+ }
1821
+
1822
+ /** Shows the tooltip for a specific element.
1823
+ * @param {HTMLElement} target. The HTMLElement that will be the target of the tooltip.
1824
+ * @param {string} content?. Allows to set a custom content for the Tooltip.
1825
+ */
1826
+ public showTooltip(target: HTMLElement, content?: string): void {
1827
+ if (this.nativeElement.isRendered) {
1828
+ this.nativeElement.showTooltip(target, content);
1829
+ }
1830
+ else
1831
+ {
1832
+ this.nativeElement.whenRendered(() => {
1833
+ this.nativeElement.showTooltip(target, content);
1834
+ });
1835
+ }
1836
+ }
1837
+
1838
+ /** Saves the current settings of the element to LocalStorage. Requires an id to be set to the element.
1839
+ * @param {any[]} state?. An Array containing a valid structure of Gantt Chart tasks.
1840
+ */
1841
+ public saveState(state?: any[]): void {
1842
+ if (this.nativeElement.isRendered) {
1843
+ this.nativeElement.saveState(state);
1844
+ }
1845
+ else
1846
+ {
1847
+ this.nativeElement.whenRendered(() => {
1848
+ this.nativeElement.saveState(state);
1849
+ });
1850
+ }
1851
+ }
1852
+
1853
+ /** Inserts a new task in the timeline. The new task can be inserted as a sub task of a project by passing the appropriate argument for the project id or as a root level item.
1854
+ * @param {any} taskObject. An object describing a Gantt Chart task.
1855
+ * @param {any} project?. A number or string that represents the id of a project (e.g. '0') or a project object definition present in the GanttChart. This parameter determines the parent project of the task that will be inserted. If <b>null</b> is passed as an arguemnt the new task will be inserted at root level without a parent project.
1856
+ * @param {number} index?. The index where the new item should be inserted(e.g. 2). This index will determine the position of the newly inserted task.
1857
+ * @returns {string | number | undefined}
1858
+ */
1859
+ public insertTask(taskObject:any, project?:any, index?:number) : any {
1860
+ const result: any = this.nativeElement.insertTask(taskObject, project, index);
1861
+ return result;
1862
+ }
1863
+
1864
+ /** Updates a task/project/milestone.
1865
+ * @param {any} taskId. A number or string that represents the id of a task/project(e.g. '0') or the object definition of the task/project.
1866
+ * @param {any} taskObject. An object describing a Gantt Chart task. The properties of this object will be applied to the desired task.
1867
+ */
1868
+ public updateTask(taskId: any, taskObject: any): void {
1869
+ if (this.nativeElement.isRendered) {
1870
+ this.nativeElement.updateTask(taskId, taskObject);
1871
+ }
1872
+ else
1873
+ {
1874
+ this.nativeElement.whenRendered(() => {
1875
+ this.nativeElement.updateTask(taskId, taskObject);
1876
+ });
1877
+ }
1878
+ }
1879
+
1880
+ /** Removes a task from the timeline.
1881
+ * @param {any} taskId. A number or string that represents the id of a task or the actual item object.
1882
+ */
1883
+ public removeTask(taskId: any): void {
1884
+ if (this.nativeElement.isRendered) {
1885
+ this.nativeElement.removeTask(taskId);
1886
+ }
1887
+ else
1888
+ {
1889
+ this.nativeElement.whenRendered(() => {
1890
+ this.nativeElement.removeTask(taskId);
1891
+ });
1892
+ }
1893
+ }
1894
+
1895
+ /** Inserts a new resource.
1896
+ * @param {string | number} resourceId. A string that represents the id of a resource or it's hierarchical position, e.g. '0' ( following jqxTree syntax), or a number that represents the index of a resource.
1897
+ * @param {any} resourceObject?. An object describing a Gantt Chart resource.
1898
+ */
1899
+ public insertResource(resourceId: string | number, resourceObject?: any): void {
1900
+ if (this.nativeElement.isRendered) {
1901
+ this.nativeElement.insertResource(resourceId, resourceObject);
1902
+ }
1903
+ else
1904
+ {
1905
+ this.nativeElement.whenRendered(() => {
1906
+ this.nativeElement.insertResource(resourceId, resourceObject);
1907
+ });
1908
+ }
1909
+ }
1910
+
1911
+ /** Updates an existing resource.
1912
+ * @param {any} resourceId. A string that represents the id of a resource or it's hierarchical position, e.g. '0' ( following jqxTree syntax), or a number that represents the index of a resource.
1913
+ * @param {any} taskObject. An object describing a Gantt Chart resource. The properties of this object will be applied to the target resource.
1914
+ */
1915
+ public updateResource(resourceId: any, taskObject: any): void {
1916
+ if (this.nativeElement.isRendered) {
1917
+ this.nativeElement.updateResource(resourceId, taskObject);
1918
+ }
1919
+ else
1920
+ {
1921
+ this.nativeElement.whenRendered(() => {
1922
+ this.nativeElement.updateResource(resourceId, taskObject);
1923
+ });
1924
+ }
1925
+ }
1926
+
1927
+ /** Removes a resource.
1928
+ * @param {any} resourceId. A string that represents the id of a resource or it's hierarchical position, e.g. '0' ( following jqxTree syntax), or a number that represents the index of a resource.
1929
+ */
1930
+ public removeResource(resourceId: any): void {
1931
+ if (this.nativeElement.isRendered) {
1932
+ this.nativeElement.removeResource(resourceId);
1933
+ }
1934
+ else
1935
+ {
1936
+ this.nativeElement.whenRendered(() => {
1937
+ this.nativeElement.removeResource(resourceId);
1938
+ });
1939
+ }
1940
+ }
1941
+
1942
+ /** Opens the popup Window for specific task to edit or to delete a connection if a connection string is passed.
1943
+ * @param {any} taskId. A string or number that represents the id of a task or the task object that is going to be edited or a connection string(e.g. '2-0-0').
1944
+ */
1945
+ public openWindow(taskId: any): void {
1946
+ if (this.nativeElement.isRendered) {
1947
+ this.nativeElement.openWindow(taskId);
1948
+ }
1949
+ else
1950
+ {
1951
+ this.nativeElement.whenRendered(() => {
1952
+ this.nativeElement.openWindow(taskId);
1953
+ });
1954
+ }
1955
+ }
1956
+
1957
+ /** Closes an opened popup Window. The method will close any opened popup window inside the element.
1958
+ */
1959
+ public closeWindow(): void {
1960
+ if (this.nativeElement.isRendered) {
1961
+ this.nativeElement.closeWindow();
1962
+ }
1963
+ else
1964
+ {
1965
+ this.nativeElement.whenRendered(() => {
1966
+ this.nativeElement.closeWindow();
1967
+ });
1968
+ }
1969
+ }
1970
+
1971
+ /** Prepares the GanttChart for printing by opening the browser's Print Preview.
1972
+ */
1973
+ public print(): void {
1974
+ if (this.nativeElement.isRendered) {
1975
+ this.nativeElement.print();
1976
+ }
1977
+ else
1978
+ {
1979
+ this.nativeElement.whenRendered(() => {
1980
+ this.nativeElement.print();
1981
+ });
1982
+ }
1983
+ }
1984
+
1985
+ /** Allows to sets the working days and hours at once.
1986
+ * @param {{ days: (number | string | number[])[], hours: (number | string | number[])[] }} settings. An object definition that contains the days and hours that should be working. The days and hours can be defined as an array of numbers where each number is a day/hour, strings where each string represents a range of days/hours (e.g. '1-5' or '2:00-8:00') or nested array of numbers (e.g. [[1,5]] or [[2, 8]]) which means from 1 to 5 or 2 to 8.
1987
+ */
1988
+ public setWorkTime(settings: { days: (number | string | number[])[], hours: (number | string | number[])[] }): void {
1989
+ if (this.nativeElement.isRendered) {
1990
+ this.nativeElement.setWorkTime(settings);
1991
+ }
1992
+ else
1993
+ {
1994
+ this.nativeElement.whenRendered(() => {
1995
+ this.nativeElement.setWorkTime(settings);
1996
+ });
1997
+ }
1998
+ }
1999
+
2000
+ /** Allows to select a task based on it's id.
2001
+ * @param {string | number} id. The id of the task to select.
2002
+ */
2003
+ public selectTask(id: string | number): void {
2004
+ if (this.nativeElement.isRendered) {
2005
+ this.nativeElement.selectTask(id);
2006
+ }
2007
+ else
2008
+ {
2009
+ this.nativeElement.whenRendered(() => {
2010
+ this.nativeElement.selectTask(id);
2011
+ });
2012
+ }
2013
+ }
2014
+
2015
+ /** Allows to select a resource based on it's id.
2016
+ * @param {string | number} id. The id of the resource to select.
2017
+ */
2018
+ public selectResource(id: string | number): void {
2019
+ if (this.nativeElement.isRendered) {
2020
+ this.nativeElement.selectResource(id);
2021
+ }
2022
+ else
2023
+ {
2024
+ this.nativeElement.whenRendered(() => {
2025
+ this.nativeElement.selectResource(id);
2026
+ });
2027
+ }
2028
+ }
2029
+
2030
+ /** Allows to unselect a task based on it's id.
2031
+ * @param {string | number} id. The id of the task to unselect.
2032
+ */
2033
+ public unselectTask(id: string | number): void {
2034
+ if (this.nativeElement.isRendered) {
2035
+ this.nativeElement.unselectTask(id);
2036
+ }
2037
+ else
2038
+ {
2039
+ this.nativeElement.whenRendered(() => {
2040
+ this.nativeElement.unselectTask(id);
2041
+ });
2042
+ }
2043
+ }
2044
+
2045
+ /** Allows to unselect a resource based on it's id.
2046
+ * @param {string | number} id. The id of the resource to unselect.
2047
+ */
2048
+ public unselectResource(id: string | number): void {
2049
+ if (this.nativeElement.isRendered) {
2050
+ this.nativeElement.unselectResource(id);
2051
+ }
2052
+ else
2053
+ {
2054
+ this.nativeElement.whenRendered(() => {
2055
+ this.nativeElement.unselectResource(id);
2056
+ });
2057
+ }
2058
+ }
2059
+
2060
+ /** Allows to unset previously set working time. The opposte method for setWorkingTime.
2061
+ * @param {{ days: (number | string | number[])[], hours: (number | string | number[])[] }} settings. An object definition that contains the days and hours that should not be working. The days and hours can be defined as an array of numbers where each number is a day/hour, strings where each string represents a range of days/hours (e.g. '1-5' or '2:00-8:00') or nested array of numbers (e.g. [[1,5]] or [[2, 8]]) which means from 1 to 5 or 2 to 8.
2062
+ */
2063
+ public unsetWorkTime(settings: { days: (number | string | number[])[], hours: (number | string | number[])[] }): void {
2064
+ if (this.nativeElement.isRendered) {
2065
+ this.nativeElement.unsetWorkTime(settings);
2066
+ }
2067
+ else
2068
+ {
2069
+ this.nativeElement.whenRendered(() => {
2070
+ this.nativeElement.unsetWorkTime(settings);
2071
+ });
2072
+ }
2073
+ }
2074
+
2075
+ /** Sorts the GanttChart tasks/resources if sortable is enabled.
2076
+ * @param {any} columns. An Array of objects which determine which columns to be sorted, the sort order and the type of item to sort: task or resource. If no arguments are provided sorting will be removed. <br /> An object should have the following properties: <ul><li><b>value</b> - a string that represents the value of a <b>taskColumn</b> to sort.</li><li><b>sortOrder</b> - a string that represents the sorting order for the column: 'asc' (asscending sorting) or 'desc' (descending) are possible values. </li><li><b>type</b> - a string that represents the type of item to sort. This property determines which panel will be sorted. Two possible values: 'task', 'resource'.</li></ul>
2077
+ */
2078
+ public sort(columns: any): void {
2079
+ if (this.nativeElement.isRendered) {
2080
+ this.nativeElement.sort(columns);
2081
+ }
2082
+ else
2083
+ {
2084
+ this.nativeElement.whenRendered(() => {
2085
+ this.nativeElement.sort(columns);
2086
+ });
2087
+ }
2088
+ }
2089
+
2090
+
2091
+
2092
+ constructor(props: any) {
2093
+ super(props);
2094
+ this.componentRef = React.createRef();
2095
+ }
2096
+
2097
+ componentDidRender(initialize: boolean) {
2098
+ const that = this;
2099
+ const props: any = {};
2100
+ const events: any = {};
2101
+ let styles: any = null;
2102
+
2103
+ const stringifyCircularJSON = (obj: any) => {
2104
+ const seen = new WeakSet();
2105
+ return JSON.stringify(obj, (k, v) => {
2106
+ if (v !== null && typeof v === 'object') {
2107
+ if (seen.has(v)) return;
2108
+ seen.add(v);
2109
+ }
2110
+
2111
+ if (k === 'Smart') {
2112
+ return v;
2113
+ }
2114
+
2115
+ return v;
2116
+ });
2117
+ };
2118
+
2119
+ for(let prop in that.props) {
2120
+ if (prop === 'children') {
2121
+ continue;
2122
+ }
2123
+
2124
+ if (prop === 'style') {
2125
+ styles = that.props[prop];
2126
+ continue;
2127
+ }
2128
+
2129
+ if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
2130
+ events[prop] = that.props[prop];
2131
+ continue;
2132
+ }
2133
+
2134
+ props[prop] = that.props[prop];
2135
+ }
2136
+
2137
+ if (initialize) {
2138
+ that.nativeElement = this.componentRef.current;
2139
+ if (that.nativeElement && !that.nativeElement.isCompleted) {
2140
+ that.nativeElement.reactStateProps = JSON.parse(stringifyCircularJSON(props));
2141
+ }
2142
+ }
2143
+
2144
+ if (initialize && that.nativeElement && that.nativeElement.isCompleted) {
2145
+ // return;
2146
+ }
2147
+
2148
+
2149
+ for(let prop in props) {
2150
+ if (prop === 'class' || prop === 'className') {
2151
+ const classNames = props[prop].trim().split(' ');
2152
+
2153
+ if (that.nativeElement._classNames) {
2154
+ const oldClassNames = that.nativeElement._classNames;
2155
+ for(let className in oldClassNames) {
2156
+ if (that.nativeElement.classList.contains(oldClassNames[className]) && oldClassNames[className] !== "") {
2157
+ that.nativeElement.classList.remove(oldClassNames[className]);
2158
+ }
2159
+ }
2160
+ }
2161
+
2162
+ that.nativeElement._classNames = classNames;
2163
+
2164
+ for(let className in classNames) {
2165
+ if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
2166
+ that.nativeElement.classList.add(classNames[className]);
2167
+ }
2168
+ }
2169
+
2170
+ continue;
2171
+ }
2172
+
2173
+ if (props[prop] !== that.nativeElement[prop]) {
2174
+ const normalizeProp = (str: string) => {
2175
+ return str.replace(/-([a-z])/g, function (g) {
2176
+ return g[1].toUpperCase();
2177
+ });
2178
+ }
2179
+
2180
+ if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
2181
+ that.nativeElement.setAttribute(prop, '');
2182
+ }
2183
+
2184
+ const normalizedProp = normalizeProp(prop);
2185
+
2186
+ if (that.nativeElement[normalizedProp] === undefined) {
2187
+ that.nativeElement.setAttribute(prop, props[prop]);
2188
+ }
2189
+
2190
+ if (props[prop] !== undefined) {
2191
+ if (typeof props[prop] === 'object' && that.nativeElement.reactStateProps && !initialize) {
2192
+ if (stringifyCircularJSON(props[prop]) === stringifyCircularJSON(that.nativeElement.reactStateProps[normalizedProp])) {
2193
+ continue;
2194
+ }
2195
+ }
2196
+
2197
+ that.nativeElement[normalizedProp] = props[prop];
2198
+ }
2199
+ }
2200
+ }
2201
+
2202
+
2203
+ for(let eventName in events) {
2204
+ that[eventName] = events[eventName];
2205
+ that.nativeElement[eventName.toLowerCase()] = events[eventName];
2206
+ }
2207
+
2208
+ if (initialize) {
2209
+ Smart.Render();
2210
+
2211
+ if (that.onCreate) {
2212
+ that.onCreate();
2213
+ }
2214
+
2215
+ that.nativeElement.whenRendered(() => {
2216
+ if (that.onReady) {
2217
+ that.onReady();
2218
+ }
2219
+ });
2220
+ }
2221
+
2222
+ // setup styles.
2223
+
2224
+ if (styles) {
2225
+ for(let styleName in styles) {
2226
+ that.nativeElement.style[styleName] = styles[styleName];
2227
+ }
2228
+ }
2229
+ }
2230
+
2231
+ componentDidMount() {
2232
+ this.componentDidRender(true);
2233
+ }
2234
+
2235
+ componentDidUpdate() {
2236
+ this.componentDidRender(false);
2237
+ }
2238
+
2239
+ componentWillUnmount() {
2240
+ const that = this;
2241
+
2242
+ if (!that.nativeElement) {
2243
+ return;
2244
+ }
2245
+
2246
+ that.nativeElement.whenRenderedCallbacks = [];
2247
+
2248
+ for(let i = 0; i < that.eventListeners.length; i++){
2249
+ const eventName = that.eventListeners[i];
2250
+
2251
+ that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
2252
+ }
2253
+ }
2254
+
2255
+ render() {
2256
+ return (
2257
+ React.createElement("smart-gantt-chart", { ref: this.componentRef }, this.props.children)
2258
+ )
2259
+ }
2260
+ }
2261
+
2262
+ export default GanttChart;