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