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,1810 @@
1
+ import React from "react";
2
+ import { KanbanProperties } from "./../../index";
3
+ import { KanbanAddNewButtonDisplayMode, KanbanColumnOrientation, KanbanColumnEditMode, KanbanEditMode, KanbanHeaderPosition, KanbanHierarchy, KanbanSelectionMode, KanbanTaskPosition, KanbanTaskSubTasks, KanbanColumn, KanbanDataSource, KanbanSwimlane, KanbanPriority, KanbanUser} from './../../index';
4
+ import { DataAdapter } from './../../index';
5
+ export { KanbanProperties } from "./../../index";
6
+ export { KanbanAddNewButtonDisplayMode, KanbanColumnOrientation, KanbanColumnEditMode, KanbanEditMode, KanbanHeaderPosition, KanbanHierarchy, KanbanSelectionMode, KanbanTaskPosition, KanbanTaskSubTasks, KanbanColumn, KanbanDataSource, KanbanSwimlane, KanbanPriority, KanbanUser} from './../../index';
7
+ export { DataAdapter } from './../../index';
8
+
9
+ interface IWindow { Smart: any; }
10
+ declare const window: IWindow;
11
+ let Smart: any;
12
+ if (typeof window !== "undefined") {
13
+ Smart = window.Smart;
14
+ }
15
+ export interface KanbanProps extends KanbanProperties {
16
+ className?: string;
17
+ style?: React.CSSProperties;
18
+
19
+ onChange?: ((event?: Event) => void) | undefined;
20
+ onClose?: ((event?: Event) => void) | undefined;
21
+ onClosing?: ((event?: Event) => void) | undefined;
22
+ onColumnAdd?: ((event?: Event) => void) | undefined;
23
+ onColumnRemove?: ((event?: Event) => void) | undefined;
24
+ onColumnReorder?: ((event?: Event) => void) | undefined;
25
+ onColumnUpdate?: ((event?: Event) => void) | undefined;
26
+ onColumnClick?: ((event?: Event) => void) | undefined;
27
+ onColumnDoubleClick?: ((event?: Event) => void) | undefined;
28
+ onColumnShow?: ((event?: Event) => void) | undefined;
29
+ onColumnHide?: ((event?: Event) => void) | undefined;
30
+ onColumnCollapse?: ((event?: Event) => void) | undefined;
31
+ onColumnExpand?: ((event?: Event) => void) | undefined;
32
+ onCommentAdd?: ((event?: Event) => void) | undefined;
33
+ onCommentRemove?: ((event?: Event) => void) | undefined;
34
+ onCommentUpdate?: ((event?: Event) => void) | undefined;
35
+ onDragEnd?: ((event?: Event) => void) | undefined;
36
+ onDragging?: ((event?: Event) => void) | undefined;
37
+ onDragStart?: ((event?: Event) => void) | undefined;
38
+ onFilter?: ((event?: Event) => void) | undefined;
39
+ onOpen?: ((event?: Event) => void) | undefined;
40
+ onOpening?: ((event?: Event) => void) | undefined;
41
+ onSort?: ((event?: Event) => void) | undefined;
42
+ onTaskBeforeAdd?: ((event?: Event) => void) | undefined;
43
+ onTaskAdd?: ((event?: Event) => void) | undefined;
44
+ onTaskRemove?: ((event?: Event) => void) | undefined;
45
+ onTaskUpdate?: ((event?: Event) => void) | undefined;
46
+ onTaskClick?: ((event?: Event) => void) | undefined;
47
+ onTaskDoubleClick?: ((event?: Event) => void) | undefined;
48
+ onCreate?: ((event?: Event) => void) | undefined;
49
+ onReady?: ((event?: Event) => void) | undefined;
50
+
51
+ }
52
+ /**
53
+ Kanban represents a kanban board that visually depicts work at various stages of a process using cards to represent tasks and columns to represent each stage of the process.
54
+ */
55
+ export class Kanban extends React.Component<React.HTMLAttributes<Element> & KanbanProps, any> {
56
+ private _id: string;
57
+ private nativeElement: any;
58
+ private componentRef: any;
59
+
60
+ // Gets the id of the React component.
61
+ get id() {
62
+ if (!this._id) {
63
+ this._id = 'Kanban' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
64
+ }
65
+
66
+ return this._id;
67
+ }
68
+ /** Enables or disables column reordering. When this property is set to true and allowDrag is enabled, users will be able to reoder columns through drag & drop. For example: Click and drag the first column's header and drop it over another column.
69
+ * Property type: boolean
70
+ */
71
+ get allowColumnReorder(): boolean {
72
+ return this.nativeElement ? this.nativeElement.allowColumnReorder : undefined;
73
+ }
74
+ set allowColumnReorder(value: boolean) {
75
+ if (this.nativeElement) {
76
+ this.nativeElement.allowColumnReorder = value;
77
+ }
78
+ }
79
+
80
+ /** Enables or disables column editing. When this property is set to true, users will be able to dynamically change the column's header label by double clicking on it.
81
+ * Property type: boolean
82
+ */
83
+ get allowColumnEdit(): boolean {
84
+ return this.nativeElement ? this.nativeElement.allowColumnEdit : undefined;
85
+ }
86
+ set allowColumnEdit(value: boolean) {
87
+ if (this.nativeElement) {
88
+ this.nativeElement.allowColumnEdit = value;
89
+ }
90
+ }
91
+
92
+ /** Enables or disables column removing. When this property is set to true, users will be able to dynamically remove a column through the column actions menu. the 'columnActions' property should be true.
93
+ * Property type: boolean
94
+ */
95
+ get allowColumnRemove(): boolean {
96
+ return this.nativeElement ? this.nativeElement.allowColumnRemove : undefined;
97
+ }
98
+ set allowColumnRemove(value: boolean) {
99
+ if (this.nativeElement) {
100
+ this.nativeElement.allowColumnRemove = value;
101
+ }
102
+ }
103
+
104
+ /** Enables or disables column hiding. When this property is set to true, users will be able to dynamically hide a column through the column actions menu. the 'columnActions' property should be true.
105
+ * Property type: boolean
106
+ */
107
+ get allowColumnHide(): boolean {
108
+ return this.nativeElement ? this.nativeElement.allowColumnHide : undefined;
109
+ }
110
+ set allowColumnHide(value: boolean) {
111
+ if (this.nativeElement) {
112
+ this.nativeElement.allowColumnHide = value;
113
+ }
114
+ }
115
+
116
+ /** Toggles the visibility of the column buttons for adding tasks. A particular button can be disabled by setting addNewButton in the column's definition to false.
117
+ * Property type: boolean
118
+ */
119
+ get addNewButton(): boolean {
120
+ return this.nativeElement ? this.nativeElement.addNewButton : undefined;
121
+ }
122
+ set addNewButton(value: boolean) {
123
+ if (this.nativeElement) {
124
+ this.nativeElement.addNewButton = value;
125
+ }
126
+ }
127
+
128
+ /** Determines whether the add button is visible in the column header and/or after the tasks in the column.
129
+ * Property type: KanbanAddNewButtonDisplayMode | string
130
+ */
131
+ get addNewButtonDisplayMode(): KanbanAddNewButtonDisplayMode | string {
132
+ return this.nativeElement ? this.nativeElement.addNewButtonDisplayMode : undefined;
133
+ }
134
+ set addNewButtonDisplayMode(value: KanbanAddNewButtonDisplayMode | string) {
135
+ if (this.nativeElement) {
136
+ this.nativeElement.addNewButtonDisplayMode = value;
137
+ }
138
+ }
139
+
140
+ /** Sets or gets whether a column with a button for adding new status columns to the Kanban will be displayed.
141
+ * Property type: boolean
142
+ */
143
+ get addNewColumn(): boolean {
144
+ return this.nativeElement ? this.nativeElement.addNewColumn : undefined;
145
+ }
146
+ set addNewColumn(value: boolean) {
147
+ if (this.nativeElement) {
148
+ this.nativeElement.addNewColumn = value;
149
+ }
150
+ }
151
+
152
+ /** Sets the width of the add new column. The property is used, if the 'columnWidth' property is set, too. It specifies the width of the dynamic new column.
153
+ * Property type: number | null
154
+ */
155
+ get addNewColumnWidth(): number | null {
156
+ return this.nativeElement ? this.nativeElement.addNewColumnWidth : undefined;
157
+ }
158
+ set addNewColumnWidth(value: number | null) {
159
+ if (this.nativeElement) {
160
+ this.nativeElement.addNewColumnWidth = value;
161
+ }
162
+ }
163
+
164
+ /** Allows the dragging of tasks.
165
+ * Property type: boolean
166
+ */
167
+ get allowDrag(): boolean {
168
+ return this.nativeElement ? this.nativeElement.allowDrag : undefined;
169
+ }
170
+ set allowDrag(value: boolean) {
171
+ if (this.nativeElement) {
172
+ this.nativeElement.allowDrag = value;
173
+ }
174
+ }
175
+
176
+ /** Allows the dropping of tasks.
177
+ * Property type: boolean
178
+ */
179
+ get allowDrop(): boolean {
180
+ return this.nativeElement ? this.nativeElement.allowDrop : undefined;
181
+ }
182
+ set allowDrop(value: boolean) {
183
+ if (this.nativeElement) {
184
+ this.nativeElement.allowDrop = value;
185
+ }
186
+ }
187
+
188
+ /** Allows the dropping of tasks placeholder. When you drag a task over another task it will make an empty space for the task.
189
+ * Property type: boolean
190
+ */
191
+ get allowDropPlaceholder(): boolean {
192
+ return this.nativeElement ? this.nativeElement.allowDropPlaceholder : undefined;
193
+ }
194
+ set allowDropPlaceholder(value: boolean) {
195
+ if (this.nativeElement) {
196
+ this.nativeElement.allowDropPlaceholder = value;
197
+ }
198
+ }
199
+
200
+ /** This property changes the visual appeal of the Kanban columns and tasks. When set to true and the Kanban columns have their 'color' property set, the color is also applied to the tasks and edit dialog.
201
+ * Property type: boolean
202
+ */
203
+ get applyColumnColorToTasks(): boolean {
204
+ return this.nativeElement ? this.nativeElement.applyColumnColorToTasks : undefined;
205
+ }
206
+ set applyColumnColorToTasks(value: boolean) {
207
+ if (this.nativeElement) {
208
+ this.nativeElement.applyColumnColorToTasks = value;
209
+ }
210
+ }
211
+
212
+ /** Enables or disables auto load state from the browser's localStorage. Information about tasks and their position and selected state, filtering, sorting, collapsed columns, as well as the values of the properties taskActions, taskComments, taskDue, taskPriority, taskProgress, taskTags, and taskUserIcon is loaded.
213
+ * Property type: boolean
214
+ */
215
+ get autoLoadState(): boolean {
216
+ return this.nativeElement ? this.nativeElement.autoLoadState : undefined;
217
+ }
218
+ set autoLoadState(value: boolean) {
219
+ if (this.nativeElement) {
220
+ this.nativeElement.autoLoadState = value;
221
+ }
222
+ }
223
+
224
+ /** Enables or disables auto save state to the browser's localStorage. Information about tasks and their position and selected state, filtering, sorting, collapsed columns, as well as the values of the properties taskActions, taskComments, taskDue, taskPriority, taskProgress, taskTags, and taskUserIcon is saved.
225
+ * Property type: boolean
226
+ */
227
+ get autoSaveState(): boolean {
228
+ return this.nativeElement ? this.nativeElement.autoSaveState : undefined;
229
+ }
230
+ set autoSaveState(value: boolean) {
231
+ if (this.nativeElement) {
232
+ this.nativeElement.autoSaveState = value;
233
+ }
234
+ }
235
+
236
+ /** Automatically updates the columns height depending on the tasks inside the column. The effect of this property is observed when 'columnColorEntireSurface' is true.
237
+ * Property type: boolean
238
+ */
239
+ get autoColumnHeight(): boolean {
240
+ return this.nativeElement ? this.nativeElement.autoColumnHeight : undefined;
241
+ }
242
+ set autoColumnHeight(value: boolean) {
243
+ if (this.nativeElement) {
244
+ this.nativeElement.autoColumnHeight = value;
245
+ }
246
+ }
247
+
248
+ /** Allows collapsing the card content.
249
+ * Property type: boolean
250
+ */
251
+ get collapsible(): boolean {
252
+ return this.nativeElement ? this.nativeElement.collapsible : undefined;
253
+ }
254
+ set collapsible(value: boolean) {
255
+ if (this.nativeElement) {
256
+ this.nativeElement.collapsible = value;
257
+ }
258
+ }
259
+
260
+ /** Displays colors in the column header, when the column's color property is set.
261
+ * Property type: boolean
262
+ */
263
+ get columnColors(): boolean {
264
+ return this.nativeElement ? this.nativeElement.columnColors : undefined;
265
+ }
266
+ set columnColors(value: boolean) {
267
+ if (this.nativeElement) {
268
+ this.nativeElement.columnColors = value;
269
+ }
270
+ }
271
+
272
+ /** Sets the Kanban columns width. When this property is set, the kanban columns width is set and a horizontal scrollbar may appear.
273
+ * Property type: number | null
274
+ */
275
+ get columnWidth(): number | null {
276
+ return this.nativeElement ? this.nativeElement.columnWidth : undefined;
277
+ }
278
+ set columnWidth(value: number | null) {
279
+ if (this.nativeElement) {
280
+ this.nativeElement.columnWidth = value;
281
+ }
282
+ }
283
+
284
+ /** Displays background in the Kanban column.
285
+ * Property type: boolean
286
+ */
287
+ get columnColorEntireSurface(): boolean {
288
+ return this.nativeElement ? this.nativeElement.columnColorEntireSurface : undefined;
289
+ }
290
+ set columnColorEntireSurface(value: boolean) {
291
+ if (this.nativeElement) {
292
+ this.nativeElement.columnColorEntireSurface = value;
293
+ }
294
+ }
295
+
296
+ /** Displays a column footer which shows the summary of the column.
297
+ * Property type: boolean
298
+ */
299
+ get columnFooter(): boolean {
300
+ return this.nativeElement ? this.nativeElement.columnFooter : undefined;
301
+ }
302
+ set columnFooter(value: boolean) {
303
+ if (this.nativeElement) {
304
+ this.nativeElement.columnFooter = value;
305
+ }
306
+ }
307
+
308
+ /** Describes the columns properties.
309
+ * Property type: KanbanColumn[]
310
+ */
311
+ get columns(): KanbanColumn[] {
312
+ return this.nativeElement ? this.nativeElement.columns : undefined;
313
+ }
314
+ set columns(value: KanbanColumn[]) {
315
+ if (this.nativeElement) {
316
+ this.nativeElement.columns = value;
317
+ }
318
+ }
319
+
320
+ /** Toggles the visibility of the column actions icon.
321
+ * Property type: boolean
322
+ */
323
+ get columnActions(): boolean {
324
+ return this.nativeElement ? this.nativeElement.columnActions : undefined;
325
+ }
326
+ set columnActions(value: boolean) {
327
+ if (this.nativeElement) {
328
+ this.nativeElement.columnActions = value;
329
+ }
330
+ }
331
+
332
+ /** Determines whether task count information is displayed in column headers.
333
+ * Property type: boolean
334
+ */
335
+ get columnSummary(): boolean {
336
+ return this.nativeElement ? this.nativeElement.columnSummary : undefined;
337
+ }
338
+ set columnSummary(value: boolean) {
339
+ if (this.nativeElement) {
340
+ this.nativeElement.columnSummary = value;
341
+ }
342
+ }
343
+
344
+ /** Determines whether a column header has a template. You can pass 'string', 'function' or HTMLTemplateElement as a value.
345
+ * Property type: any
346
+ */
347
+ get columnHeaderTemplate(): any {
348
+ return this.nativeElement ? this.nativeElement.columnHeaderTemplate : undefined;
349
+ }
350
+ set columnHeaderTemplate(value: any) {
351
+ if (this.nativeElement) {
352
+ this.nativeElement.columnHeaderTemplate = value;
353
+ }
354
+ }
355
+
356
+ /** Determines the column edit behavior. With the 'header' option, edit starts on double click on the column's label. In 'menu' mode, edit is allowed from the 'columnActions' menu. In 'headerAndMenu' option, column editing includes both options.
357
+ * Property type: KanbanColumnEditMode | string
358
+ */
359
+ get columnEditMode(): KanbanColumnEditMode | string {
360
+ return this.nativeElement ? this.nativeElement.columnEditMode : undefined;
361
+ }
362
+ set columnEditMode(value: KanbanColumnEditMode | string) {
363
+ if (this.nativeElement) {
364
+ this.nativeElement.columnEditMode = value;
365
+ }
366
+ }
367
+
368
+ /** Sets or gets the id of the current user. Has to correspond to the id of an item from the users property/array. Depending on the current user, different privileges are enabled. If no current user is set, privileges depend on the element's properties.
369
+ * Property type: string | number
370
+ */
371
+ get currentUser(): string | number {
372
+ return this.nativeElement ? this.nativeElement.currentUser : undefined;
373
+ }
374
+ set currentUser(value: string | number) {
375
+ if (this.nativeElement) {
376
+ this.nativeElement.currentUser = value;
377
+ }
378
+ }
379
+
380
+ /** Sets or gets whether the default dialog for adding/removing tasks or comments is disabled.
381
+ * Property type: boolean
382
+ */
383
+ get disableDialog(): boolean {
384
+ return this.nativeElement ? this.nativeElement.disableDialog : undefined;
385
+ }
386
+ set disableDialog(value: boolean) {
387
+ if (this.nativeElement) {
388
+ this.nativeElement.disableDialog = value;
389
+ }
390
+ }
391
+
392
+ /** Sets or gets a customization function for the dialog. This function can be used to customize the dialog look or to replace it. The Kanban calls this function with 5 arguments - 'dialog', 'taskOrComment', 'editors', 'purpose' and 'type'. The dialog is the 'smart-window' instance used as a default Kanban dialog. 'taskOrComment' is object which could be Kanban task or comment. 'purpose' could be 'add' or 'edit' and 'type' could be 'task' or 'column' depending on the action.
393
+ * Property type: any
394
+ */
395
+ get dialogCustomizationFunction(): any {
396
+ return this.nativeElement ? this.nativeElement.dialogCustomizationFunction : undefined;
397
+ }
398
+ set dialogCustomizationFunction(value: any) {
399
+ if (this.nativeElement) {
400
+ this.nativeElement.dialogCustomizationFunction = value;
401
+ }
402
+ }
403
+
404
+ /** Sets or gets a function called when the dialog is rendered. The Kanban calls this function with 6 arguments - 'dialog', 'editors', 'labels', 'tabs', 'layout', 'taskOrComment'. The dialog is the 'smart-window' instance used as a default Kanban dialog. 'taskOrComment' is object which could be Kanban task or comment. 'editors', 'labels', 'tabs' and 'layout' are JSON objects with key which describes the element type and value which is HTML Element.
405
+ * Property type: any
406
+ */
407
+ get dialogRendered(): any {
408
+ return this.nativeElement ? this.nativeElement.dialogRendered : undefined;
409
+ }
410
+ set dialogRendered(value: any) {
411
+ if (this.nativeElement) {
412
+ this.nativeElement.dialogRendered = value;
413
+ }
414
+ }
415
+
416
+ /** Determines the data source to be visualized in the kanban board.
417
+ * Property type: KanbanDataSource[]
418
+ */
419
+ get dataSource(): KanbanDataSource[] {
420
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
421
+ }
422
+ set dataSource(value: KanbanDataSource[]) {
423
+ if (this.nativeElement) {
424
+ this.nativeElement.dataSource = value;
425
+ }
426
+ }
427
+
428
+ /** Determines the the relation (mapping) between the Kanban's default fields (keywords) and the data fields from the data source. Not necessary if both match. Only some of the default mapping can be overwritten.
429
+ * Property type: { checklist: string; color: string; comments: string; dueDate: string; id: string; priority: string; progress: string; startDate: string; status: string; swimlane: string; tags: string; text: string; userId: string; createdUserId: string; upDatedUserId: string; createdDate: Date; upDatedDate: Date;}
430
+ */
431
+ get dataSourceMap(): { checklist: string; color: string; comments: string; dueDate: string; id: string; priority: string; progress: string; startDate: string; status: string; swimlane: string; tags: string; text: string; userId: string; createdUserId: string; upDatedUserId: string; createdDate: Date; upDatedDate: Date;} {
432
+ return this.nativeElement ? this.nativeElement.dataSourceMap : undefined;
433
+ }
434
+ set dataSourceMap(value: { checklist: string; color: string; comments: string; dueDate: string; id: string; priority: string; progress: string; startDate: string; status: string; swimlane: string; tags: string; text: string; userId: string; createdUserId: string; upDatedUserId: string; createdDate: Date; upDatedDate: Date;}) {
435
+ if (this.nativeElement) {
436
+ this.nativeElement.dataSourceMap = value;
437
+ }
438
+ }
439
+
440
+ /** Determines the offset of the drag feedback element from the mouse cursor when dragging tasks. The first member of the array is the horizontal offset and the second one - the vertical offset. If set to 'auto', the offset is based on the mouse position when the dragging started.
441
+ * Property type: boolean
442
+ */
443
+ get dragOffset(): boolean {
444
+ return this.nativeElement ? this.nativeElement.dragOffset : undefined;
445
+ }
446
+ set dragOffset(value: boolean) {
447
+ if (this.nativeElement) {
448
+ this.nativeElement.dragOffset = value;
449
+ }
450
+ }
451
+
452
+ /** Sets or gets whether tasks can be edited (including the assigning of users to tasks).
453
+ * Property type: boolean
454
+ */
455
+ get editable(): boolean {
456
+ return this.nativeElement ? this.nativeElement.editable : undefined;
457
+ }
458
+ set editable(value: boolean) {
459
+ if (this.nativeElement) {
460
+ this.nativeElement.editable = value;
461
+ }
462
+ }
463
+
464
+ /** Determines the edit behavior. It could be either singleClick or doubleClick. The dialog edit window is by default opened when user double clicks on a Kanban task.
465
+ * Property type: KanbanEditMode | string
466
+ */
467
+ get editMode(): KanbanEditMode | string {
468
+ return this.nativeElement ? this.nativeElement.editMode : undefined;
469
+ }
470
+ set editMode(value: KanbanEditMode | string) {
471
+ if (this.nativeElement) {
472
+ this.nativeElement.editMode = value;
473
+ }
474
+ }
475
+
476
+ /** Sets or gets the format string of the "Due date" label and the "Start date" and "Due date" editors.
477
+ * Property type: string
478
+ */
479
+ get formatStringDate(): string {
480
+ return this.nativeElement ? this.nativeElement.formatStringDate : undefined;
481
+ }
482
+ set formatStringDate(value: string) {
483
+ if (this.nativeElement) {
484
+ this.nativeElement.formatStringDate = value;
485
+ }
486
+ }
487
+
488
+ /** Sets or gets the format string of comments time stamp.
489
+ * Property type: string
490
+ */
491
+ get formatStringTime(): string {
492
+ return this.nativeElement ? this.nativeElement.formatStringTime : undefined;
493
+ }
494
+ set formatStringTime(value: string) {
495
+ if (this.nativeElement) {
496
+ this.nativeElement.formatStringTime = value;
497
+ }
498
+ }
499
+
500
+ /** Sets or gets the header position. The header contains the Customize, Filter, Sort, and Search buttons.
501
+ * Property type: KanbanHeaderPosition | string
502
+ */
503
+ get headerPosition(): KanbanHeaderPosition | string {
504
+ return this.nativeElement ? this.nativeElement.headerPosition : undefined;
505
+ }
506
+ set headerPosition(value: KanbanHeaderPosition | string) {
507
+ if (this.nativeElement) {
508
+ this.nativeElement.headerPosition = value;
509
+ }
510
+ }
511
+
512
+ /** Sets or gets the way column hierarchy is represented.
513
+ * Property type: KanbanHierarchy | string
514
+ */
515
+ get hierarchy(): KanbanHierarchy | string {
516
+ return this.nativeElement ? this.nativeElement.hierarchy : undefined;
517
+ }
518
+ set hierarchy(value: KanbanHierarchy | string) {
519
+ if (this.nativeElement) {
520
+ this.nativeElement.hierarchy = value;
521
+ }
522
+ }
523
+
524
+ /** Sets or gets the locale. Used in conjunction with the property messages.
525
+ * Property type: string
526
+ */
527
+ get locale(): string {
528
+ return this.nativeElement ? this.nativeElement.locale : undefined;
529
+ }
530
+ set locale(value: string) {
531
+ if (this.nativeElement) {
532
+ this.nativeElement.locale = value;
533
+ }
534
+ }
535
+
536
+ /** Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale.
537
+ * Property type: any
538
+ */
539
+ get messages(): any {
540
+ return this.nativeElement ? this.nativeElement.messages : undefined;
541
+ }
542
+ set messages(value: any) {
543
+ if (this.nativeElement) {
544
+ this.nativeElement.messages = value;
545
+ }
546
+ }
547
+
548
+ /** Callback function which can be used for customizing the tasks rendering. The Kanban calls it with 2 arguments - task html element and task data.
549
+ * Property type: any
550
+ */
551
+ get onTaskRender(): any {
552
+ return this.nativeElement ? this.nativeElement.onTaskRender : undefined;
553
+ }
554
+ set onTaskRender(value: any) {
555
+ if (this.nativeElement) {
556
+ this.nativeElement.onTaskRender = value;
557
+ }
558
+ }
559
+
560
+ /** Callback function which can be used for customizing the filter items. The function is called with 1 argument - Array of items which will be displayed in the filter drop down. You can modify that array to remove or update items to filter by.
561
+ * Property type: any
562
+ */
563
+ get onFilterPrepare(): any {
564
+ return this.nativeElement ? this.nativeElement.onFilterPrepare : undefined;
565
+ }
566
+ set onFilterPrepare(value: any) {
567
+ if (this.nativeElement) {
568
+ this.nativeElement.onFilterPrepare = value;
569
+ }
570
+ }
571
+
572
+ /** Callback function which can be used for customizing the sort items. The function is called with 1 argument - Array of items which will be displayed in the sort drop down. You can modify that array to remove or update items to sort by.
573
+ * Property type: any
574
+ */
575
+ get onSortPrepare(): any {
576
+ return this.nativeElement ? this.nativeElement.onSortPrepare : undefined;
577
+ }
578
+ set onSortPrepare(value: any) {
579
+ if (this.nativeElement) {
580
+ this.nativeElement.onSortPrepare = value;
581
+ }
582
+ }
583
+
584
+ /** Callback function which can be used for customizing the column header rendering. The Kanban calls it with 3 arguments - column header html element and column data and column data field.
585
+ * Property type: any
586
+ */
587
+ get onColumnHeaderRender(): any {
588
+ return this.nativeElement ? this.nativeElement.onColumnHeaderRender : undefined;
589
+ }
590
+ set onColumnHeaderRender(value: any) {
591
+ if (this.nativeElement) {
592
+ this.nativeElement.onColumnHeaderRender = value;
593
+ }
594
+ }
595
+
596
+ /** Callback function which can be used for customizing the column footer rendering. The Kanban calls it with 3 arguments - column header html element and column data and column data field.
597
+ * Property type: any
598
+ */
599
+ get onColumnFooterRender(): any {
600
+ return this.nativeElement ? this.nativeElement.onColumnFooterRender : undefined;
601
+ }
602
+ set onColumnFooterRender(value: any) {
603
+ if (this.nativeElement) {
604
+ this.nativeElement.onColumnFooterRender = value;
605
+ }
606
+ }
607
+
608
+ /** Determines selection mode.
609
+ * Property type: KanbanSelectionMode | string
610
+ */
611
+ get selectionMode(): KanbanSelectionMode | string {
612
+ return this.nativeElement ? this.nativeElement.selectionMode : undefined;
613
+ }
614
+ set selectionMode(value: KanbanSelectionMode | string) {
615
+ if (this.nativeElement) {
616
+ this.nativeElement.selectionMode = value;
617
+ }
618
+ }
619
+
620
+ /** Sets or gets whether the tasks history will be stored and displayed in the task dialog.
621
+ * Property type: boolean
622
+ */
623
+ get storeHistory(): boolean {
624
+ return this.nativeElement ? this.nativeElement.storeHistory : undefined;
625
+ }
626
+ set storeHistory(value: boolean) {
627
+ if (this.nativeElement) {
628
+ this.nativeElement.storeHistory = value;
629
+ }
630
+ }
631
+
632
+ /** Sets or gets the task history items that will be stored when storeHistory is enabled.
633
+ * Property type: number
634
+ */
635
+ get storeHistoryItems(): number {
636
+ return this.nativeElement ? this.nativeElement.storeHistoryItems : undefined;
637
+ }
638
+ set storeHistoryItems(value: number) {
639
+ if (this.nativeElement) {
640
+ this.nativeElement.storeHistoryItems = value;
641
+ }
642
+ }
643
+
644
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
645
+ * Property type: boolean
646
+ */
647
+ get rightToLeft(): boolean {
648
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
649
+ }
650
+ set rightToLeft(value: boolean) {
651
+ if (this.nativeElement) {
652
+ this.nativeElement.rightToLeft = value;
653
+ }
654
+ }
655
+
656
+ /** Sets or gets whether the edit dialog is displayed in readonly mode. In that mode it shows only the task details, but the editing is disabled. However, if comments are enabled, you will be able to add comments in the dialog.
657
+ * Property type: boolean
658
+ */
659
+ get readonly(): boolean {
660
+ return this.nativeElement ? this.nativeElement.readonly : undefined;
661
+ }
662
+ set readonly(value: boolean) {
663
+ if (this.nativeElement) {
664
+ this.nativeElement.readonly = value;
665
+ }
666
+ }
667
+
668
+ /** Describes the swimlanes in the kanban board. Sub-columns are not applicable when swimlanes are present.
669
+ * Property type: KanbanSwimlane[]
670
+ */
671
+ get swimlanes(): KanbanSwimlane[] {
672
+ return this.nativeElement ? this.nativeElement.swimlanes : undefined;
673
+ }
674
+ set swimlanes(value: KanbanSwimlane[]) {
675
+ if (this.nativeElement) {
676
+ this.nativeElement.swimlanes = value;
677
+ }
678
+ }
679
+
680
+ /** Sets or gets the index of the column at which to start the swimlanes.
681
+ * Property type: number
682
+ */
683
+ get swimlanesFrom(): number {
684
+ return this.nativeElement ? this.nativeElement.swimlanesFrom : undefined;
685
+ }
686
+ set swimlanesFrom(value: number) {
687
+ if (this.nativeElement) {
688
+ this.nativeElement.swimlanesFrom = value;
689
+ }
690
+ }
691
+
692
+ /** Sets or gets the index of the column at which to end the swimlanes. By default, swimlanes end at the last column.
693
+ * Property type: number
694
+ */
695
+ get swimlanesTo(): number {
696
+ return this.nativeElement ? this.nativeElement.swimlanesTo : undefined;
697
+ }
698
+ set swimlanesTo(value: number) {
699
+ if (this.nativeElement) {
700
+ this.nativeElement.swimlanesTo = value;
701
+ }
702
+ }
703
+
704
+ /** Sets or gets the allowed tags. If no tags are listed, all tags from the data source are allowed.
705
+ * Property type: any[]
706
+ */
707
+ get tags(): any[] {
708
+ return this.nativeElement ? this.nativeElement.tags : undefined;
709
+ }
710
+ set tags(value: any[]) {
711
+ if (this.nativeElement) {
712
+ this.nativeElement.tags = value;
713
+ }
714
+ }
715
+
716
+ /** Toggles the visibility of the task actions icon.
717
+ * Property type: boolean
718
+ */
719
+ get taskActions(): boolean {
720
+ return this.nativeElement ? this.nativeElement.taskActions : undefined;
721
+ }
722
+ set taskActions(value: boolean) {
723
+ if (this.nativeElement) {
724
+ this.nativeElement.taskActions = value;
725
+ }
726
+ }
727
+
728
+ /** Represents a callback function which is called when the task actions menu is created. The task actions element is passed as parameter and allows you to customize the menu. Example: (list) => { list.innerHTML = 'Custom Item'; list.onclick = () => { alert('clicked'); }}
729
+ * Property type: any
730
+ */
731
+ get taskActionsRendered(): any {
732
+ return this.nativeElement ? this.nativeElement.taskActionsRendered : undefined;
733
+ }
734
+ set taskActionsRendered(value: any) {
735
+ if (this.nativeElement) {
736
+ this.nativeElement.taskActionsRendered = value;
737
+ }
738
+ }
739
+
740
+ /** Toggles the visibility of the task comments icon.
741
+ * Property type: boolean
742
+ */
743
+ get taskComments(): boolean {
744
+ return this.nativeElement ? this.nativeElement.taskComments : undefined;
745
+ }
746
+ set taskComments(value: boolean) {
747
+ if (this.nativeElement) {
748
+ this.nativeElement.taskComments = value;
749
+ }
750
+ }
751
+
752
+ /** Toggles the visibility of the task due icon.
753
+ * Property type: boolean
754
+ */
755
+ get taskDue(): boolean {
756
+ return this.nativeElement ? this.nativeElement.taskDue : undefined;
757
+ }
758
+ set taskDue(value: boolean) {
759
+ if (this.nativeElement) {
760
+ this.nativeElement.taskDue = value;
761
+ }
762
+ }
763
+
764
+ /** Sets or gets whether tasks can be shown in all levels of column hierarchy or only on leaf columns.
765
+ * Property type: KanbanTaskPosition | string
766
+ */
767
+ get taskPosition(): KanbanTaskPosition | string {
768
+ return this.nativeElement ? this.nativeElement.taskPosition : undefined;
769
+ }
770
+ set taskPosition(value: KanbanTaskPosition | string) {
771
+ if (this.nativeElement) {
772
+ this.nativeElement.taskPosition = value;
773
+ }
774
+ }
775
+
776
+ /** Toggles the visibility of the task priority icon (shown when priority is low or high).
777
+ * Property type: boolean
778
+ */
779
+ get taskPriority(): boolean {
780
+ return this.nativeElement ? this.nativeElement.taskPriority : undefined;
781
+ }
782
+ set taskPriority(value: boolean) {
783
+ if (this.nativeElement) {
784
+ this.nativeElement.taskPriority = value;
785
+ }
786
+ }
787
+
788
+ /** Toggles the visibility of task progress bar and the completed sub-tasks label.
789
+ * Property type: boolean
790
+ */
791
+ get taskProgress(): boolean {
792
+ return this.nativeElement ? this.nativeElement.taskProgress : undefined;
793
+ }
794
+ set taskProgress(value: boolean) {
795
+ if (this.nativeElement) {
796
+ this.nativeElement.taskProgress = value;
797
+ }
798
+ }
799
+
800
+ /** Sets the task custom fields displayed in the card. Each array item should have 'dataField', 'label' 'dataType' and optionally 'visible', 'image' and 'cover' properties. The 'dataField' determines the value, the label is displayed as title, 'dataType' is used for formatting and 'visible' determines whether the field will be displayed. If your string represents an image either URL or Base64, set image: true. If you want to display that image as a cover image, set cover:true, too.
801
+ * Property type: any
802
+ */
803
+ get taskCustomFields(): any {
804
+ return this.nativeElement ? this.nativeElement.taskCustomFields : undefined;
805
+ }
806
+ set taskCustomFields(value: any) {
807
+ if (this.nativeElement) {
808
+ this.nativeElement.taskCustomFields = value;
809
+ }
810
+ }
811
+
812
+ /** The task's background color depends on the task's color property. By default the color is rendered within the task's left border.
813
+ * Property type: boolean
814
+ */
815
+ get taskColorEntireSurface(): boolean {
816
+ return this.nativeElement ? this.nativeElement.taskColorEntireSurface : undefined;
817
+ }
818
+ set taskColorEntireSurface(value: boolean) {
819
+ if (this.nativeElement) {
820
+ this.nativeElement.taskColorEntireSurface = value;
821
+ }
822
+ }
823
+
824
+ /** Displays an input in the task's card for adding dynamically a sub task. The 'taskSubTasks' property should be set to a value different than 'none'.
825
+ * Property type: boolean
826
+ */
827
+ get taskSubTasksInput(): boolean {
828
+ return this.nativeElement ? this.nativeElement.taskSubTasksInput : undefined;
829
+ }
830
+ set taskSubTasksInput(value: boolean) {
831
+ if (this.nativeElement) {
832
+ this.nativeElement.taskSubTasksInput = value;
833
+ }
834
+ }
835
+
836
+ /** Sets the rendering mode of sub tasks. 'none' - default value. Sub tasks are displayed only in the edit dialog. 'onePerRow' - all sub tasks are displayed in the task's card. 'onlyUnfinished' - only tasks which are not completed are displayed in the task's card.
837
+ * Property type: KanbanTaskSubTasks | string
838
+ */
839
+ get taskSubTasks(): KanbanTaskSubTasks | string {
840
+ return this.nativeElement ? this.nativeElement.taskSubTasks : undefined;
841
+ }
842
+ set taskSubTasks(value: KanbanTaskSubTasks | string) {
843
+ if (this.nativeElement) {
844
+ this.nativeElement.taskSubTasks = value;
845
+ }
846
+ }
847
+
848
+ /** Toggles the visibility of task tags.
849
+ * Property type: boolean
850
+ */
851
+ get taskTags(): boolean {
852
+ return this.nativeElement ? this.nativeElement.taskTags : undefined;
853
+ }
854
+ set taskTags(value: boolean) {
855
+ if (this.nativeElement) {
856
+ this.nativeElement.taskTags = value;
857
+ }
858
+ }
859
+
860
+ /** Toggles the visibility of the task user icon.
861
+ * Property type: boolean
862
+ */
863
+ get taskUserIcon(): boolean {
864
+ return this.nativeElement ? this.nativeElement.taskUserIcon : undefined;
865
+ }
866
+ set taskUserIcon(value: boolean) {
867
+ if (this.nativeElement) {
868
+ this.nativeElement.taskUserIcon = value;
869
+ }
870
+ }
871
+
872
+ /** Sets or gets a template to be applied to task text. Can be a string beginning with # and referencing the id of a template element on the page. Can also be a function that modifies the task text or the template itself. Finally, it can also be a string that will be parsed.
873
+ * Property type: any
874
+ */
875
+ get textTemplate(): any {
876
+ return this.nativeElement ? this.nativeElement.textTemplate : undefined;
877
+ }
878
+ set textTemplate(value: any) {
879
+ if (this.nativeElement) {
880
+ this.nativeElement.textTemplate = value;
881
+ }
882
+ }
883
+
884
+ /** Determines the theme. Theme defines the look of the element
885
+ * Property type: string
886
+ */
887
+ get theme(): string {
888
+ return this.nativeElement ? this.nativeElement.theme : undefined;
889
+ }
890
+ set theme(value: string) {
891
+ if (this.nativeElement) {
892
+ this.nativeElement.theme = value;
893
+ }
894
+ }
895
+
896
+ /** Determines whether the priority list (as defined by the priority property) will be shown when clicking the priority icon. Only applicable if editable privileges are enabled.
897
+ * Property type: boolean
898
+ */
899
+ get priorityList(): boolean {
900
+ return this.nativeElement ? this.nativeElement.priorityList : undefined;
901
+ }
902
+ set priorityList(value: boolean) {
903
+ if (this.nativeElement) {
904
+ this.nativeElement.priorityList = value;
905
+ }
906
+ }
907
+
908
+ /** Determines the priority Kanban tasks can be assigned to. Example: [{label: 'low', value: 'low'}, {label: 'high', value: 'high'}]
909
+ * Property type: KanbanPriority[]
910
+ */
911
+ get priority(): KanbanPriority[] {
912
+ return this.nativeElement ? this.nativeElement.priority : undefined;
913
+ }
914
+ set priority(value: KanbanPriority[]) {
915
+ if (this.nativeElement) {
916
+ this.nativeElement.priority = value;
917
+ }
918
+ }
919
+
920
+ /** Determines whether the user list (as defined by the users property) will be shown when clicking the user icon. Only applicable if editable privileges are enabled.
921
+ * Property type: boolean
922
+ */
923
+ get userList(): boolean {
924
+ return this.nativeElement ? this.nativeElement.userList : undefined;
925
+ }
926
+ set userList(value: boolean) {
927
+ if (this.nativeElement) {
928
+ this.nativeElement.userList = value;
929
+ }
930
+ }
931
+
932
+ /** Determines the users Kanban tasks can be assigned to and their characteristics and privileges.
933
+ * Property type: KanbanUser[]
934
+ */
935
+ get users(): KanbanUser[] {
936
+ return this.nativeElement ? this.nativeElement.users : undefined;
937
+ }
938
+ set users(value: KanbanUser[]) {
939
+ if (this.nativeElement) {
940
+ this.nativeElement.users = value;
941
+ }
942
+ }
943
+
944
+
945
+ // Gets the properties of the React component.
946
+ get properties(): string[] {
947
+ return ["allowColumnReorder","allowColumnEdit","allowColumnRemove","allowColumnHide","addNewButton","addNewButtonDisplayMode","addNewColumn","addNewColumnWidth","allowDrag","allowDrop","allowDropPlaceholder","applyColumnColorToTasks","autoLoadState","autoSaveState","autoColumnHeight","collapsible","columnColors","columnWidth","columnColorEntireSurface","columnFooter","columns","columnActions","columnSummary","columnHeaderTemplate","columnEditMode","currentUser","disableDialog","dialogCustomizationFunction","dialogRendered","dataSource","dataSourceMap","dragOffset","editable","editMode","formatStringDate","formatStringTime","headerPosition","hierarchy","locale","messages","onTaskRender","onFilterPrepare","onSortPrepare","onColumnHeaderRender","onColumnFooterRender","selectionMode","storeHistory","storeHistoryItems","rightToLeft","readonly","swimlanes","swimlanesFrom","swimlanesTo","tags","taskActions","taskActionsRendered","taskComments","taskDue","taskPosition","taskPriority","taskProgress","taskCustomFields","taskColorEntireSurface","taskSubTasksInput","taskSubTasks","taskTags","taskUserIcon","textTemplate","theme","priorityList","priority","userList","users"];
948
+ }
949
+ /** This event is triggered when a task has been updated.
950
+ * @param event. The custom event. Custom event was created with: event.detail( oldValue, task, value)
951
+ * oldValue - The old data of the task
952
+ * task - The HTML element of the task whose data has been changed
953
+ * value - The new data of the task
954
+ */
955
+ onChange?: ((event?: Event) => void) | undefined
956
+ /** This event is triggered when the edit/prompt dialog is closed.
957
+ * @param event. The custom event. */
958
+ onClose?: ((event?: Event) => void) | undefined
959
+ /** This event is triggered when the edit/prompt dialog is about to be closed. The closing operation can be canceled by calling event.preventDefault() in the event handler function.
960
+ * @param event. The custom event. */
961
+ onClosing?: ((event?: Event) => void) | undefined
962
+ /** This event is triggered when a column is added.
963
+ * @param event. The custom event. Custom event was created with: event.detail( label, dataField, collapsed)
964
+ * label - The column label.
965
+ * dataField - The column data field.
966
+ * collapsed - The column's collapsed state.
967
+ */
968
+ onColumnAdd?: ((event?: Event) => void) | undefined
969
+ /** This event is triggered when a column is removed.
970
+ * @param event. The custom event. Custom event was created with: event.detail( label, dataField, collapsed)
971
+ * label - The column label.
972
+ * dataField - The column data field.
973
+ * collapsed - The column's collapsed state.
974
+ */
975
+ onColumnRemove?: ((event?: Event) => void) | undefined
976
+ /** This event is triggered when a column is reordered.
977
+ * @param event. The custom event. Custom event was created with: event.detail( oldIndex, index, column)
978
+ * oldIndex - The column's old index.
979
+ * index - The column's new index.
980
+ * column - The column's data object with 'label', 'dataField' and 'collapsed' fields.
981
+ */
982
+ onColumnReorder?: ((event?: Event) => void) | undefined
983
+ /** This event is triggered when a column is updated.
984
+ * @param event. The custom event. Custom event was created with: event.detail( oldValue, value, column)
985
+ * oldValue - The column's old label.
986
+ * value - The column's new label.
987
+ * column - The column's data object with 'label', 'dataField' and 'collapsed' fields.
988
+ */
989
+ onColumnUpdate?: ((event?: Event) => void) | undefined
990
+ /** This event is triggered when a column header is clicked.
991
+ * @param event. The custom event. Custom event was created with: event.detail( label, dataField, collapsed)
992
+ * label - The column label.
993
+ * dataField - The column data field.
994
+ * collapsed - The column's collapsed state.
995
+ */
996
+ onColumnClick?: ((event?: Event) => void) | undefined
997
+ /** This event is triggered when a column header is double clicked.
998
+ * @param event. The custom event. Custom event was created with: event.detail( label, dataField, collapsed)
999
+ * label - The column label.
1000
+ * dataField - The column data field.
1001
+ * collapsed - The column's collapsed state.
1002
+ */
1003
+ onColumnDoubleClick?: ((event?: Event) => void) | undefined
1004
+ /** This event is triggered when a column is shown by using the column's action menu or the Kanban's 'show' method.
1005
+ * @param event. The custom event. Custom event was created with: event.detail( label, dataField)
1006
+ * label - The column label.
1007
+ * dataField - The column data field.
1008
+ */
1009
+ onColumnShow?: ((event?: Event) => void) | undefined
1010
+ /** This event is triggered when a column is hidden by using the column's action menu or the Kanban's 'hide' method.
1011
+ * @param event. The custom event. Custom event was created with: event.detail( label, dataField)
1012
+ * label - The column label.
1013
+ * dataField - The column data field.
1014
+ */
1015
+ onColumnHide?: ((event?: Event) => void) | undefined
1016
+ /** This event is triggered when a column is collapsed by using the column's action menu or the Kanban's 'collapse' method.
1017
+ * @param event. The custom event. Custom event was created with: event.detail( label, dataField)
1018
+ * label - The column label.
1019
+ * dataField - The column data field.
1020
+ */
1021
+ onColumnCollapse?: ((event?: Event) => void) | undefined
1022
+ /** This event is triggered when a column is expanded by using the column's action menu or the Kanban's 'expand' method.
1023
+ * @param event. The custom event. Custom event was created with: event.detail( label, dataField)
1024
+ * label - The column label.
1025
+ * dataField - The column data field.
1026
+ */
1027
+ onColumnExpand?: ((event?: Event) => void) | undefined
1028
+ /** This event is triggered when a comment is added to the Kanban Task.
1029
+ * @param event. The custom event. Custom event was created with: event.detail( id, value)
1030
+ * id - The task's id.
1031
+ * value - The comment object. It has 'text: string, time: Date and userId:number' properties.
1032
+ */
1033
+ onCommentAdd?: ((event?: Event) => void) | undefined
1034
+ /** This event is triggered when a comment is removed from the Kanban Task.
1035
+ * @param event. The custom event. Custom event was created with: event.detail( id, value)
1036
+ * id - The task's id.
1037
+ * value - The comment object. It has 'text: string, time: Date and userId:number' properties.
1038
+ */
1039
+ onCommentRemove?: ((event?: Event) => void) | undefined
1040
+ /** This event is triggered when a comment is updated in the Kanban Task.
1041
+ * @param event. The custom event. Custom event was created with: event.detail( id, value)
1042
+ * id - The task's id.
1043
+ * value - The comment object. It has 'text: string, time: Date and userId:number' properties.
1044
+ */
1045
+ onCommentUpdate?: ((event?: Event) => void) | undefined
1046
+ /** This event is triggered when a task is dropped somewhere in the DOM. The dragging operation can be canceled by calling event.preventDefault() in the event handler function.
1047
+ * @param event. The custom event. Custom event was created with: event.detail( container, data, item, items, originalEvent, previousContainer, target)
1048
+ * container - the Kanban the dragged task(s) is dropped to
1049
+ * data - an object with additional drag details
1050
+ * item - the task that is dragged; if multiple tasks are dragged, this is the task that has been clicked when initiating the drag operation
1051
+ * items - an array with all dragged tasks
1052
+ * originalEvent - the original, browser, event that initiates the drag operation
1053
+ * previousContainer - the Kanban the dragged item(s) is dragged from
1054
+ * target - the element the dragged tasks are dropped to
1055
+ */
1056
+ onDragEnd?: ((event?: Event) => void) | undefined
1057
+ /** This event is triggered when the user is dragging a task.
1058
+ * @param event. The custom event. Custom event was created with: event.detail( data, item, items, originalEvent)
1059
+ * data - an object with additional drag details
1060
+ * item - the task that is dragged; if multiple tasks are dragged, this is the task that has been clicked when initiating the drag operation
1061
+ * items - an array with all dragged tasks
1062
+ * originalEvent - the original, browser, event that initiates the drag operation
1063
+ */
1064
+ onDragging?: ((event?: Event) => void) | undefined
1065
+ /** This event is triggered when the user starts dragging task(s). The dragging operation can be canceled by calling event.preventDefault() in the event handler function.
1066
+ * @param event. The custom event. Custom event was created with: event.detail( container, data, item, items, originalEvent, previousContainer)
1067
+ * container - the Kanban the dragged task(s) is dragged from
1068
+ * data - an object with additional drag details
1069
+ * item - the task that is dragged; if multiple tasks are dragged, this is the task that has been clicked when initiating the drag operation
1070
+ * items - an array with all dragged tasks
1071
+ * originalEvent - the original, browser, event that initiates the drag operation
1072
+ * previousContainer - the Kanban the dragged item(s) is dragged from
1073
+ */
1074
+ onDragStart?: ((event?: Event) => void) | undefined
1075
+ /** This event is triggered when a filter has been applied.
1076
+ * @param event. The custom event. */
1077
+ onFilter?: ((event?: Event) => void) | undefined
1078
+ /** This event is triggered when the edit/prompt dialog is opened.
1079
+ * @param event. The custom event. */
1080
+ onOpen?: ((event?: Event) => void) | undefined
1081
+ /** This event is triggered when the edit/prompt dialog is about to be opened. The opening operation can be canceled by calling event.preventDefault() in the event handler function. If you want to cancel the default Kanban dialog, call event.preventDefault();
1082
+ * @param event. The custom event. Custom event was created with: event.detail( comment, purpose, task)
1083
+ * comment - The comment that is about to be removed (if applicable).
1084
+ * purpose - The purpose of the dialog to be opened - <em>'edit'</em> or <em>'prompt'</em>.
1085
+ * task - The task that is about to be edited or removed (if applicable).
1086
+ */
1087
+ onOpening?: ((event?: Event) => void) | undefined
1088
+ /** This event is triggered when sorting has been applied.
1089
+ * @param event. The custom event. */
1090
+ onSort?: ((event?: Event) => void) | undefined
1091
+ /** This event is triggered before a new task is added. You can use the event.detail.value and event.detail.id to customize the new Task before adding it to the Kanban. Example: kanban.onTaskBeforeAdd = (event) => { const data = event.detail.value; const id = event.detail.id; event.detail.id = 'BG12';}
1092
+ * @param event. The custom event. Custom event was created with: event.detail( value, id)
1093
+ * value - The task data that is added to the Kanban.
1094
+ * id - The task data id.
1095
+ */
1096
+ onTaskBeforeAdd?: ((event?: Event) => void) | undefined
1097
+ /** This event is triggered when a new task is added. Example: kanban.onTaskAdd = (event) => { const data = event.detail.value; const id = event.detail.id; }
1098
+ * @param event. The custom event. Custom event was created with: event.detail( value, id)
1099
+ * value - The task data that is added to the Kanban.
1100
+ * id - The task data id.
1101
+ */
1102
+ onTaskAdd?: ((event?: Event) => void) | undefined
1103
+ /** This event is triggered when a task is removed.
1104
+ * @param event. The custom event. Custom event was created with: event.detail( value, id)
1105
+ * value - The task data that is removed from the Kanban.
1106
+ * id - The task data id.
1107
+ */
1108
+ onTaskRemove?: ((event?: Event) => void) | undefined
1109
+ /** This event is triggered when a task is updated.
1110
+ * @param event. The custom event. Custom event was created with: event.detail( value, oldValue, id)
1111
+ * value - The task data that is updated.
1112
+ * oldValue - The update task's old data.
1113
+ * id - The task data id.
1114
+ */
1115
+ onTaskUpdate?: ((event?: Event) => void) | undefined
1116
+ /** This event is triggered when a task is clicked.
1117
+ * @param event. The custom event. Custom event was created with: event.detail( value, id)
1118
+ * value - The task data.
1119
+ * id - The task data id.
1120
+ */
1121
+ onTaskClick?: ((event?: Event) => void) | undefined
1122
+ /** This event is triggered when a task is double clicked.
1123
+ * @param event. The custom event. Custom event was created with: event.detail( value, id)
1124
+ * value - The task data.
1125
+ * id - The task data id.
1126
+ */
1127
+ onTaskDoubleClick?: ((event?: Event) => void) | undefined
1128
+ /** This event occurs, when the React component is created.
1129
+ * @param event. The custom event. */
1130
+ onCreate?: ((event?: Event) => void) | undefined
1131
+ /** This event occurs, when the React component is completely rendered.
1132
+ * @param event. The custom event. */
1133
+ onReady?: ((event?: Event) => void) | undefined
1134
+
1135
+ // Gets the events of the React component.
1136
+ get eventListeners(): string[] {
1137
+ return ["onChange","onClose","onClosing","onColumnAdd","onColumnRemove","onColumnReorder","onColumnUpdate","onColumnClick","onColumnDoubleClick","onColumnShow","onColumnHide","onColumnCollapse","onColumnExpand","onCommentAdd","onCommentRemove","onCommentUpdate","onDragEnd","onDragging","onDragStart","onFilter","onOpen","onOpening","onSort","onTaskBeforeAdd","onTaskAdd","onTaskRemove","onTaskUpdate","onTaskClick","onTaskDoubleClick","onCreate","onReady"];
1138
+ }
1139
+ /** Adds filtering. Example: const filterGroup = new Smart.FilterGroup(); const filterObject = filterGroup.createFilter('string', 'Italy', 'contains'); filterGroup.addFilter('and', filterObject); kanban.addFilter([['Country', filterGroup]]);
1140
+ * @param {any} filters. Filter information. Example: kanban.addFilter([['Country', filterGroup]]);. Each array item is a sub array with two items - 'dataField' and 'filterGroup' object. The 'dataField' is any valid data field from the data source bound to the Kanban like 'dueDate', 'startDate' or custom fields like 'Country'. Filter conditions which you can use in the expressions: '=', 'EQUAL','&lt;&gt;', 'NOT_EQUAL', '!=', '&lt;', 'LESS_THAN','&gt;', 'GREATER_THAN', '&lt;=', 'LESS_THAN_OR_EQUAL', '&gt;=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
1141
+ * @param {string} operator?. Logical operator between the filters of different fields. Possible values are: 'and', 'or'.
1142
+ */
1143
+ public addFilter(filters: any, operator?: string): void {
1144
+ if (this.nativeElement.isRendered) {
1145
+ this.nativeElement.addFilter(filters, operator);
1146
+ }
1147
+ else
1148
+ {
1149
+ this.nativeElement.whenRendered(() => {
1150
+ this.nativeElement.addFilter(filters, operator);
1151
+ });
1152
+ }
1153
+ }
1154
+
1155
+ /** Adds sorting. Example: kanban.addSort(['Country'], 'ascending');
1156
+ * @param {[] | string} dataFields. The data field(s) to sort by
1157
+ * @param {[] | string} orderBy. The sort direction(s) to sort the data field(s) by. Possible values are: 'ascending' and 'descending'.
1158
+ */
1159
+ public addSort(dataFields: [] | string, orderBy: [] | string): void {
1160
+ if (this.nativeElement.isRendered) {
1161
+ this.nativeElement.addSort(dataFields, orderBy);
1162
+ }
1163
+ else
1164
+ {
1165
+ this.nativeElement.whenRendered(() => {
1166
+ this.nativeElement.addSort(dataFields, orderBy);
1167
+ });
1168
+ }
1169
+ }
1170
+
1171
+ /** Adds a task to a Kanban column. If no data is specified, an empty task is added to the first column.
1172
+ * @param {any} data?. An object containing the new task's data
1173
+ */
1174
+ public addTask(data?: any): void {
1175
+ if (this.nativeElement.isRendered) {
1176
+ this.nativeElement.addTask(data);
1177
+ }
1178
+ else
1179
+ {
1180
+ this.nativeElement.whenRendered(() => {
1181
+ this.nativeElement.addTask(data);
1182
+ });
1183
+ }
1184
+ }
1185
+
1186
+ /** Adds a column to a Kanban. If no data is specified, an empty column is added.
1187
+ * @param {any} data?. An object containing the new column's data
1188
+ */
1189
+ public addColumn(data?: any): void {
1190
+ if (this.nativeElement.isRendered) {
1191
+ this.nativeElement.addColumn(data);
1192
+ }
1193
+ else
1194
+ {
1195
+ this.nativeElement.whenRendered(() => {
1196
+ this.nativeElement.addColumn(data);
1197
+ });
1198
+ }
1199
+ }
1200
+
1201
+ /** Begins an edit operation
1202
+ * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
1203
+ */
1204
+ public beginEdit(task: number | string | HTMLElement): void {
1205
+ if (this.nativeElement.isRendered) {
1206
+ this.nativeElement.beginEdit(task);
1207
+ }
1208
+ else
1209
+ {
1210
+ this.nativeElement.whenRendered(() => {
1211
+ this.nativeElement.beginEdit(task);
1212
+ });
1213
+ }
1214
+ }
1215
+
1216
+ /** Ends the current edit operation and discards changes
1217
+ */
1218
+ public cancelEdit(): void {
1219
+ if (this.nativeElement.isRendered) {
1220
+ this.nativeElement.cancelEdit();
1221
+ }
1222
+ else
1223
+ {
1224
+ this.nativeElement.whenRendered(() => {
1225
+ this.nativeElement.cancelEdit();
1226
+ });
1227
+ }
1228
+ }
1229
+
1230
+ /** Closes any open header panel (drop down)
1231
+ */
1232
+ public closePanel(): void {
1233
+ if (this.nativeElement.isRendered) {
1234
+ this.nativeElement.closePanel();
1235
+ }
1236
+ else
1237
+ {
1238
+ this.nativeElement.whenRendered(() => {
1239
+ this.nativeElement.closePanel();
1240
+ });
1241
+ }
1242
+ }
1243
+
1244
+ /** Collapses a Kanban column.
1245
+ * @param {number | string} column. The index or dataField of the column to collapse
1246
+ */
1247
+ public collapse(column: number | string): void {
1248
+ if (this.nativeElement.isRendered) {
1249
+ this.nativeElement.collapse(column);
1250
+ }
1251
+ else
1252
+ {
1253
+ this.nativeElement.whenRendered(() => {
1254
+ this.nativeElement.collapse(column);
1255
+ });
1256
+ }
1257
+ }
1258
+
1259
+ /** Clears the Kanban's selection.
1260
+ */
1261
+ public clearSelection(): void {
1262
+ if (this.nativeElement.isRendered) {
1263
+ this.nativeElement.clearSelection();
1264
+ }
1265
+ else
1266
+ {
1267
+ this.nativeElement.whenRendered(() => {
1268
+ this.nativeElement.clearSelection();
1269
+ });
1270
+ }
1271
+ }
1272
+
1273
+ /** Hides a Kanban column.
1274
+ * @param {number | string} column. The index or dataField of the column to hide
1275
+ */
1276
+ public hide(column: number | string): void {
1277
+ if (this.nativeElement.isRendered) {
1278
+ this.nativeElement.hide(column);
1279
+ }
1280
+ else
1281
+ {
1282
+ this.nativeElement.whenRendered(() => {
1283
+ this.nativeElement.hide(column);
1284
+ });
1285
+ }
1286
+ }
1287
+
1288
+ /** Creates a copy of a task in the same column.
1289
+ * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
1290
+ */
1291
+ public copyTask(task: number | string | HTMLElement): void {
1292
+ if (this.nativeElement.isRendered) {
1293
+ this.nativeElement.copyTask(task);
1294
+ }
1295
+ else
1296
+ {
1297
+ this.nativeElement.whenRendered(() => {
1298
+ this.nativeElement.copyTask(task);
1299
+ });
1300
+ }
1301
+ }
1302
+
1303
+ /** Ends the current edit operation and saves changes
1304
+ */
1305
+ public endEdit(): void {
1306
+ if (this.nativeElement.isRendered) {
1307
+ this.nativeElement.endEdit();
1308
+ }
1309
+ else
1310
+ {
1311
+ this.nativeElement.whenRendered(() => {
1312
+ this.nativeElement.endEdit();
1313
+ });
1314
+ }
1315
+ }
1316
+
1317
+ /** Makes sure a task is visible by scrolling to it. If succcessful, the method returns the HTML element of the task.
1318
+ * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
1319
+ * @returns {HTMLElement}
1320
+ */
1321
+ public ensureVisible(task:number | string | HTMLElement) : any {
1322
+ const result: any = this.nativeElement.ensureVisible(task);
1323
+ return result;
1324
+ }
1325
+
1326
+ /** Expands a Kanban column.
1327
+ * @param {number | string} column. The index or dataField of the column to expand
1328
+ */
1329
+ public expand(column: number | string): void {
1330
+ if (this.nativeElement.isRendered) {
1331
+ this.nativeElement.expand(column);
1332
+ }
1333
+ else
1334
+ {
1335
+ this.nativeElement.whenRendered(() => {
1336
+ this.nativeElement.expand(column);
1337
+ });
1338
+ }
1339
+ }
1340
+
1341
+ /** Expands all Kanban columns.
1342
+ */
1343
+ public expandAll(): void {
1344
+ if (this.nativeElement.isRendered) {
1345
+ this.nativeElement.expandAll();
1346
+ }
1347
+ else
1348
+ {
1349
+ this.nativeElement.whenRendered(() => {
1350
+ this.nativeElement.expandAll();
1351
+ });
1352
+ }
1353
+ }
1354
+
1355
+ /** Exports the Kanban's data.
1356
+ * @param {string} dataFormat. The file format to export to. Supported formats: 'csv', 'html', 'json', 'pdf', 'tsv', 'xlsx', 'xml'.
1357
+ * @param {string} fileName. The name of the file to export to
1358
+ * @param {Function} callback?. A callback function to pass the exported data to (if fileName is not provided)
1359
+ * @returns {any}
1360
+ */
1361
+ public exportData(dataFormat:string, fileName:string, callback?:Function) : any {
1362
+ const result: any = this.nativeElement.exportData(dataFormat, fileName, callback);
1363
+ return result;
1364
+ }
1365
+
1366
+ /** Gets the data of a column. The returned value is a JSON object with the following fields: 'label', 'dataField', 'collapsed', 'collapsible', 'allowRemove', 'editable', 'reorder', 'orientation'.
1367
+ * @param {string} dataField. The column's data field
1368
+ * @returns {any}
1369
+ */
1370
+ public getColumn(dataField:string) : any {
1371
+ const result: any = this.nativeElement.getColumn(dataField);
1372
+ return result;
1373
+ }
1374
+
1375
+ /** Gets the data of a task. The returned value is a JSON object with the following fields: 'checklist', 'id', 'color', 'comments', 'history', 'dueDate', 'startDate', 'priority', 'progress', 'status', 'swimlane', 'tags', 'text', 'description', 'userId', 'createdUserId', 'createdDate', 'updatedUserId', 'updatedDate'
1376
+ * @param {number} id. The task's id
1377
+ * @returns {any}
1378
+ */
1379
+ public getTask(id:number) : any {
1380
+ const result: any = this.nativeElement.getTask(id);
1381
+ return result;
1382
+ }
1383
+
1384
+ /** Gets the selected ids. The returned value is an array. Each item in the array is the 'id' of a selected task.
1385
+ * @param {number} id. The task's id
1386
+ * @returns {any}
1387
+ */
1388
+ public getSelectedTasks(id:number) : any {
1389
+ const result: any = this.nativeElement.getSelectedTasks(id);
1390
+ return result;
1391
+ }
1392
+
1393
+ /** Gets the Kanban's state. Returns an object with the following type: { collapsed: {}, dataSource: [], filtering: { filters: [], operator: string }, selection: { selected: [], selectionStart?: number | string, selectionInColumn: string, swimlane: string }, sorting: { dataFields: [], dataTypes: [], orderBy: [] }, tabs: [], visibility: { taskActions: boolean, taskComments: boolean, taskDue: boolean, taskPriority: boolean, taskProgress: boolean, taskTags: boolean, taskUserIcon: boolean } }
1394
+ * @returns {any}
1395
+ */
1396
+ public getState() : any {
1397
+ const result: any = this.nativeElement.getState();
1398
+ return result;
1399
+ }
1400
+
1401
+ /** Loads the Kanban's state.
1402
+ * @param {{ collapsed: {}, dataSource: [], filtering: { filters: [], operator: string }, selection: { selected: [], selectionStart?: number | string, selectionInColumn: string, swimlane: string }, sorting: { dataFields: [], dataTypes: [], orderBy: [] }, tabs: [], visibility: { taskActions: boolean, taskComments: boolean, taskDue: boolean, taskPriority: boolean, taskProgress: boolean, taskTags: boolean, taskUserIcon: boolean } }} state?. An object returned by one of the methods getState or saveState. If not passed, gets saved state from the browser's localStorage.
1403
+ */
1404
+ public loadState(state?: { collapsed: {}, dataSource: [], filtering: { filters: [], operator: string }, selection: { selected: [], selectionStart?: number | string, selectionInColumn: string, swimlane: string }, sorting: { dataFields: [], dataTypes: [], orderBy: [] }, tabs: [], visibility: { taskActions: boolean, taskComments: boolean, taskDue: boolean, taskPriority: boolean, taskProgress: boolean, taskTags: boolean, taskUserIcon: boolean } }): void {
1405
+ if (this.nativeElement.isRendered) {
1406
+ this.nativeElement.loadState(state);
1407
+ }
1408
+ else
1409
+ {
1410
+ this.nativeElement.whenRendered(() => {
1411
+ this.nativeElement.loadState(state);
1412
+ });
1413
+ }
1414
+ }
1415
+
1416
+ /** Moves a task to a different column.
1417
+ * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
1418
+ * @param {string} newStatus. The new status of the task (its new column's dataField)
1419
+ */
1420
+ public moveTask(task: number | string | HTMLElement, newStatus: string): void {
1421
+ if (this.nativeElement.isRendered) {
1422
+ this.nativeElement.moveTask(task, newStatus);
1423
+ }
1424
+ else
1425
+ {
1426
+ this.nativeElement.whenRendered(() => {
1427
+ this.nativeElement.moveTask(task, newStatus);
1428
+ });
1429
+ }
1430
+ }
1431
+
1432
+ /** Opens the "Customize tasks" header panel (drop down)
1433
+ */
1434
+ public openCustomizePanel(): void {
1435
+ if (this.nativeElement.isRendered) {
1436
+ this.nativeElement.openCustomizePanel();
1437
+ }
1438
+ else
1439
+ {
1440
+ this.nativeElement.whenRendered(() => {
1441
+ this.nativeElement.openCustomizePanel();
1442
+ });
1443
+ }
1444
+ }
1445
+
1446
+ /** Opens the "Filter" header panel (drop down)
1447
+ */
1448
+ public openFilterPanel(): void {
1449
+ if (this.nativeElement.isRendered) {
1450
+ this.nativeElement.openFilterPanel();
1451
+ }
1452
+ else
1453
+ {
1454
+ this.nativeElement.whenRendered(() => {
1455
+ this.nativeElement.openFilterPanel();
1456
+ });
1457
+ }
1458
+ }
1459
+
1460
+ /** Opens the "Sort" header panel (drop down)
1461
+ */
1462
+ public openSortPanel(): void {
1463
+ if (this.nativeElement.isRendered) {
1464
+ this.nativeElement.openSortPanel();
1465
+ }
1466
+ else
1467
+ {
1468
+ this.nativeElement.whenRendered(() => {
1469
+ this.nativeElement.openSortPanel();
1470
+ });
1471
+ }
1472
+ }
1473
+
1474
+ /** Removes filtering
1475
+ */
1476
+ public removeFilter(): void {
1477
+ if (this.nativeElement.isRendered) {
1478
+ this.nativeElement.removeFilter();
1479
+ }
1480
+ else
1481
+ {
1482
+ this.nativeElement.whenRendered(() => {
1483
+ this.nativeElement.removeFilter();
1484
+ });
1485
+ }
1486
+ }
1487
+
1488
+ /** Removes sorting
1489
+ */
1490
+ public removeSort(): void {
1491
+ if (this.nativeElement.isRendered) {
1492
+ this.nativeElement.removeSort();
1493
+ }
1494
+ else
1495
+ {
1496
+ this.nativeElement.whenRendered(() => {
1497
+ this.nativeElement.removeSort();
1498
+ });
1499
+ }
1500
+ }
1501
+
1502
+ /** Removes a task.
1503
+ * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
1504
+ * @param {boolean} prompt?. Whether or not to prompt the user before removing the task
1505
+ */
1506
+ public removeTask(task: number | string | HTMLElement, prompt?: boolean): void {
1507
+ if (this.nativeElement.isRendered) {
1508
+ this.nativeElement.removeTask(task, prompt);
1509
+ }
1510
+ else
1511
+ {
1512
+ this.nativeElement.whenRendered(() => {
1513
+ this.nativeElement.removeTask(task, prompt);
1514
+ });
1515
+ }
1516
+ }
1517
+
1518
+ /** Removes a column.
1519
+ * @param {string} dataField. The column's data field
1520
+ */
1521
+ public removeColumn(dataField: string): void {
1522
+ if (this.nativeElement.isRendered) {
1523
+ this.nativeElement.removeColumn(dataField);
1524
+ }
1525
+ else
1526
+ {
1527
+ this.nativeElement.whenRendered(() => {
1528
+ this.nativeElement.removeColumn(dataField);
1529
+ });
1530
+ }
1531
+ }
1532
+
1533
+ /** Saves the Kanban's state to the browser's localStorage.
1534
+ */
1535
+ public saveState(): void {
1536
+ if (this.nativeElement.isRendered) {
1537
+ this.nativeElement.saveState();
1538
+ }
1539
+ else
1540
+ {
1541
+ this.nativeElement.whenRendered(() => {
1542
+ this.nativeElement.saveState();
1543
+ });
1544
+ }
1545
+ }
1546
+
1547
+ /** Shows a Kanban column.
1548
+ * @param {number | string} column. The index or dataField of the column to show
1549
+ */
1550
+ public show(column: number | string): void {
1551
+ if (this.nativeElement.isRendered) {
1552
+ this.nativeElement.show(column);
1553
+ }
1554
+ else
1555
+ {
1556
+ this.nativeElement.whenRendered(() => {
1557
+ this.nativeElement.show(column);
1558
+ });
1559
+ }
1560
+ }
1561
+
1562
+ /** Shows all Kanban columns.
1563
+ */
1564
+ public showAllColumns(): void {
1565
+ if (this.nativeElement.isRendered) {
1566
+ this.nativeElement.showAllColumns();
1567
+ }
1568
+ else
1569
+ {
1570
+ this.nativeElement.whenRendered(() => {
1571
+ this.nativeElement.showAllColumns();
1572
+ });
1573
+ }
1574
+ }
1575
+
1576
+ /** Selects a task.
1577
+ * @param {number | string} task. The task's id.
1578
+ */
1579
+ public selectTask(task: number | string): void {
1580
+ if (this.nativeElement.isRendered) {
1581
+ this.nativeElement.selectTask(task);
1582
+ }
1583
+ else
1584
+ {
1585
+ this.nativeElement.whenRendered(() => {
1586
+ this.nativeElement.selectTask(task);
1587
+ });
1588
+ }
1589
+ }
1590
+
1591
+ /** Unselects a task.
1592
+ * @param {number | string} task. The task's id.
1593
+ */
1594
+ public unselectTask(task: number | string): void {
1595
+ if (this.nativeElement.isRendered) {
1596
+ this.nativeElement.unselectTask(task);
1597
+ }
1598
+ else
1599
+ {
1600
+ this.nativeElement.whenRendered(() => {
1601
+ this.nativeElement.unselectTask(task);
1602
+ });
1603
+ }
1604
+ }
1605
+
1606
+ /** Updates a task.
1607
+ * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
1608
+ * @param {{}} newData. The new data to visualize in the task.
1609
+ */
1610
+ public updateTask(task: number | string | HTMLElement, newData: {}): void {
1611
+ if (this.nativeElement.isRendered) {
1612
+ this.nativeElement.updateTask(task, newData);
1613
+ }
1614
+ else
1615
+ {
1616
+ this.nativeElement.whenRendered(() => {
1617
+ this.nativeElement.updateTask(task, newData);
1618
+ });
1619
+ }
1620
+ }
1621
+
1622
+ /** Updates a column.
1623
+ * @param {string} dataField. The new column's data field
1624
+ * @param {{}} newData. The new data to visualize in the column.
1625
+ */
1626
+ public updateColumn(dataField: string, newData: {}): void {
1627
+ if (this.nativeElement.isRendered) {
1628
+ this.nativeElement.updateColumn(dataField, newData);
1629
+ }
1630
+ else
1631
+ {
1632
+ this.nativeElement.whenRendered(() => {
1633
+ this.nativeElement.updateColumn(dataField, newData);
1634
+ });
1635
+ }
1636
+ }
1637
+
1638
+
1639
+
1640
+ constructor(props: any) {
1641
+ super(props);
1642
+ this.componentRef = React.createRef();
1643
+ }
1644
+
1645
+ componentDidRender(initialize: boolean) {
1646
+ const that = this;
1647
+ const props: any = {};
1648
+ const events: any = {};
1649
+ let styles: any = null;
1650
+
1651
+ const stringifyCircularJSON = (obj: any) => {
1652
+ const seen = new WeakSet();
1653
+ return JSON.stringify(obj, (k, v) => {
1654
+ if (v !== null && typeof v === 'object') {
1655
+ if (seen.has(v)) return;
1656
+ seen.add(v);
1657
+ }
1658
+
1659
+ if (k === 'Smart') {
1660
+ return v;
1661
+ }
1662
+
1663
+ return v;
1664
+ });
1665
+ };
1666
+
1667
+ for(let prop in that.props) {
1668
+ if (prop === 'children') {
1669
+ continue;
1670
+ }
1671
+
1672
+ if (prop === 'style') {
1673
+ styles = that.props[prop];
1674
+ continue;
1675
+ }
1676
+
1677
+ if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
1678
+ events[prop] = that.props[prop];
1679
+ continue;
1680
+ }
1681
+
1682
+ props[prop] = that.props[prop];
1683
+ }
1684
+
1685
+ if (initialize) {
1686
+ that.nativeElement = this.componentRef.current;
1687
+ if (that.nativeElement && !that.nativeElement.isCompleted) {
1688
+ that.nativeElement.reactStateProps = JSON.parse(stringifyCircularJSON(props));
1689
+ }
1690
+ }
1691
+
1692
+ if (initialize && that.nativeElement && that.nativeElement.isCompleted) {
1693
+ // return;
1694
+ }
1695
+
1696
+
1697
+ for(let prop in props) {
1698
+ if (prop === 'class' || prop === 'className') {
1699
+ const classNames = props[prop].trim().split(' ');
1700
+
1701
+ if (that.nativeElement._classNames) {
1702
+ const oldClassNames = that.nativeElement._classNames;
1703
+ for(let className in oldClassNames) {
1704
+ if (that.nativeElement.classList.contains(oldClassNames[className]) && oldClassNames[className] !== "") {
1705
+ that.nativeElement.classList.remove(oldClassNames[className]);
1706
+ }
1707
+ }
1708
+ }
1709
+
1710
+ that.nativeElement._classNames = classNames;
1711
+
1712
+ for(let className in classNames) {
1713
+ if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
1714
+ that.nativeElement.classList.add(classNames[className]);
1715
+ }
1716
+ }
1717
+
1718
+ continue;
1719
+ }
1720
+
1721
+ if (props[prop] !== that.nativeElement[prop]) {
1722
+ const normalizeProp = (str: string) => {
1723
+ return str.replace(/-([a-z])/g, function (g) {
1724
+ return g[1].toUpperCase();
1725
+ });
1726
+ }
1727
+
1728
+ if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
1729
+ that.nativeElement.setAttribute(prop, '');
1730
+ }
1731
+
1732
+ const normalizedProp = normalizeProp(prop);
1733
+
1734
+ if (that.nativeElement[normalizedProp] === undefined) {
1735
+ that.nativeElement.setAttribute(prop, props[prop]);
1736
+ }
1737
+
1738
+ if (props[prop] !== undefined) {
1739
+ if (typeof props[prop] === 'object' && that.nativeElement.reactStateProps && !initialize) {
1740
+ if (stringifyCircularJSON(props[prop]) === stringifyCircularJSON(that.nativeElement.reactStateProps[normalizedProp])) {
1741
+ continue;
1742
+ }
1743
+ }
1744
+
1745
+ that.nativeElement[normalizedProp] = props[prop];
1746
+ }
1747
+ }
1748
+ }
1749
+
1750
+
1751
+ for(let eventName in events) {
1752
+ that[eventName] = events[eventName];
1753
+ that.nativeElement[eventName.toLowerCase()] = events[eventName];
1754
+ }
1755
+
1756
+ if (initialize) {
1757
+ Smart.Render();
1758
+
1759
+ if (that.onCreate) {
1760
+ that.onCreate();
1761
+ }
1762
+
1763
+ that.nativeElement.whenRendered(() => {
1764
+ if (that.onReady) {
1765
+ that.onReady();
1766
+ }
1767
+ });
1768
+ }
1769
+
1770
+ // setup styles.
1771
+
1772
+ if (styles) {
1773
+ for(let styleName in styles) {
1774
+ that.nativeElement.style[styleName] = styles[styleName];
1775
+ }
1776
+ }
1777
+ }
1778
+
1779
+ componentDidMount() {
1780
+ this.componentDidRender(true);
1781
+ }
1782
+
1783
+ componentDidUpdate() {
1784
+ this.componentDidRender(false);
1785
+ }
1786
+
1787
+ componentWillUnmount() {
1788
+ const that = this;
1789
+
1790
+ if (!that.nativeElement) {
1791
+ return;
1792
+ }
1793
+
1794
+ that.nativeElement.whenRenderedCallbacks = [];
1795
+
1796
+ for(let i = 0; i < that.eventListeners.length; i++){
1797
+ const eventName = that.eventListeners[i];
1798
+
1799
+ that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
1800
+ }
1801
+ }
1802
+
1803
+ render() {
1804
+ return (
1805
+ React.createElement("smart-kanban", { ref: this.componentRef }, this.props.children)
1806
+ )
1807
+ }
1808
+ }
1809
+
1810
+ export default Kanban;