smart-webcomponents 15.0.1 → 15.0.11

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 (929) hide show
  1. package/bootstrap/source/smart.element.js +1 -1
  2. package/framework/smart.element.js +1 -1
  3. package/package.json +1 -1
  4. package/source/angular/accordion/index.ts +1 -0
  5. package/source/angular/accordion/public_api.ts +5 -0
  6. package/source/angular/accordion/smart.accordion.module.ts +13 -0
  7. package/source/angular/accordion/smart.accordion.ts +370 -0
  8. package/source/angular/accordion/smart.accordionitem.ts +142 -0
  9. package/source/angular/accordion/smart.element.ts +104 -0
  10. package/source/angular/array/index.ts +1 -0
  11. package/source/angular/array/public_api.ts +3 -0
  12. package/source/angular/array/smart.array.module.ts +12 -0
  13. package/source/angular/array/smart.array.ts +817 -0
  14. package/source/angular/array/smart.element.ts +104 -0
  15. package/source/angular/barcode/index.ts +1 -0
  16. package/source/angular/barcode/public_api.ts +3 -0
  17. package/source/angular/barcode/smart.barcode.module.ts +12 -0
  18. package/source/angular/barcode/smart.barcode.ts +288 -0
  19. package/source/angular/barcode/smart.element.ts +104 -0
  20. package/source/angular/bootstrap/bootstrap.button.ts +160 -0
  21. package/source/angular/bootstrap/bootstrap.checkbox.ts +165 -0
  22. package/source/angular/bootstrap/bootstrap.circular.ts +151 -0
  23. package/source/angular/bootstrap/bootstrap.dropdown.ts +253 -0
  24. package/source/angular/bootstrap/bootstrap.fileinput.ts +133 -0
  25. package/source/angular/bootstrap/bootstrap.input.ts +160 -0
  26. package/source/angular/bootstrap/bootstrap.inputgroup.ts +178 -0
  27. package/source/angular/bootstrap/bootstrap.modal.ts +204 -0
  28. package/source/angular/bootstrap/bootstrap.progressbar.ts +151 -0
  29. package/source/angular/bootstrap/bootstrap.radiobutton.ts +156 -0
  30. package/source/angular/bootstrap/bootstrap.range.ts +133 -0
  31. package/source/angular/bootstrap/bootstrap.splitbutton.ts +253 -0
  32. package/source/angular/bootstrap/bootstrap.switchbutton.ts +165 -0
  33. package/source/angular/bootstrap/bootstrap.tabs.ts +175 -0
  34. package/source/angular/bootstrap/bootstrap.textarea.ts +160 -0
  35. package/source/angular/bootstrap/bootstrap.togglebutton.ts +156 -0
  36. package/source/angular/bootstrap/index.ts +1 -0
  37. package/source/angular/bootstrap/public_api.ts +17 -0
  38. package/source/angular/bootstrap/smart.element.ts +104 -0
  39. package/source/angular/breadcrumb/index.ts +1 -0
  40. package/source/angular/breadcrumb/public_api.ts +3 -0
  41. package/source/angular/breadcrumb/smart.breadcrumb.module.ts +12 -0
  42. package/source/angular/breadcrumb/smart.breadcrumb.ts +306 -0
  43. package/source/angular/breadcrumb/smart.element.ts +104 -0
  44. package/source/angular/button/index.ts +1 -0
  45. package/source/angular/button/public_api.ts +9 -0
  46. package/source/angular/button/smart.button.module.ts +15 -0
  47. package/source/angular/button/smart.button.ts +230 -0
  48. package/source/angular/button/smart.element.ts +104 -0
  49. package/source/angular/button/smart.powerbutton.ts +283 -0
  50. package/source/angular/button/smart.repeatbutton.ts +214 -0
  51. package/source/angular/button/smart.togglebutton.ts +235 -0
  52. package/source/angular/buttongroup/index.ts +1 -0
  53. package/source/angular/buttongroup/public_api.ts +3 -0
  54. package/source/angular/buttongroup/smart.buttongroup.module.ts +12 -0
  55. package/source/angular/buttongroup/smart.buttongroup.ts +229 -0
  56. package/source/angular/buttongroup/smart.element.ts +104 -0
  57. package/source/angular/calendar/index.ts +1 -0
  58. package/source/angular/calendar/public_api.ts +3 -0
  59. package/source/angular/calendar/smart.calendar.module.ts +12 -0
  60. package/source/angular/calendar/smart.calendar.ts +787 -0
  61. package/source/angular/calendar/smart.element.ts +104 -0
  62. package/source/angular/card/index.ts +1 -0
  63. package/source/angular/card/public_api.ts +3 -0
  64. package/source/angular/card/smart.card.module.ts +12 -0
  65. package/source/angular/card/smart.card.ts +220 -0
  66. package/source/angular/card/smart.element.ts +104 -0
  67. package/source/angular/cardview/index.ts +1 -0
  68. package/source/angular/cardview/public_api.ts +3 -0
  69. package/source/angular/cardview/smart.cardview.module.ts +12 -0
  70. package/source/angular/cardview/smart.cardview.ts +573 -0
  71. package/source/angular/cardview/smart.element.ts +104 -0
  72. package/source/angular/carousel/index.ts +1 -0
  73. package/source/angular/carousel/public_api.ts +3 -0
  74. package/source/angular/carousel/smart.carousel.module.ts +12 -0
  75. package/source/angular/carousel/smart.carousel.ts +414 -0
  76. package/source/angular/carousel/smart.element.ts +104 -0
  77. package/source/angular/chart/index.ts +1 -0
  78. package/source/angular/chart/public_api.ts +3 -0
  79. package/source/angular/chart/smart.chart.module.ts +12 -0
  80. package/source/angular/chart/smart.chart.ts +930 -0
  81. package/source/angular/chart/smart.element.ts +104 -0
  82. package/source/angular/checkbox/index.ts +1 -0
  83. package/source/angular/checkbox/public_api.ts +3 -0
  84. package/source/angular/checkbox/smart.checkbox.module.ts +12 -0
  85. package/source/angular/checkbox/smart.checkbox.ts +341 -0
  86. package/source/angular/checkbox/smart.element.ts +104 -0
  87. package/source/angular/checkinput/index.ts +1 -0
  88. package/source/angular/checkinput/public_api.ts +3 -0
  89. package/source/angular/checkinput/smart.checkinput.module.ts +12 -0
  90. package/source/angular/checkinput/smart.checkinput.ts +497 -0
  91. package/source/angular/checkinput/smart.element.ts +104 -0
  92. package/source/angular/chip/index.ts +1 -0
  93. package/source/angular/chip/public_api.ts +3 -0
  94. package/source/angular/chip/smart.chip.module.ts +12 -0
  95. package/source/angular/chip/smart.chip.ts +221 -0
  96. package/source/angular/chip/smart.element.ts +104 -0
  97. package/source/angular/colorinput/index.ts +1 -0
  98. package/source/angular/colorinput/public_api.ts +3 -0
  99. package/source/angular/colorinput/smart.colorinput.module.ts +12 -0
  100. package/source/angular/colorinput/smart.colorinput.ts +456 -0
  101. package/source/angular/colorinput/smart.element.ts +104 -0
  102. package/source/angular/colorpanel/index.ts +1 -0
  103. package/source/angular/colorpanel/public_api.ts +3 -0
  104. package/source/angular/colorpanel/smart.colorpanel.module.ts +12 -0
  105. package/source/angular/colorpanel/smart.colorpanel.ts +501 -0
  106. package/source/angular/colorpanel/smart.element.ts +104 -0
  107. package/source/angular/colorpicker/index.ts +1 -0
  108. package/source/angular/colorpicker/public_api.ts +3 -0
  109. package/source/angular/colorpicker/smart.colorpicker.module.ts +12 -0
  110. package/source/angular/colorpicker/smart.colorpicker.ts +756 -0
  111. package/source/angular/colorpicker/smart.element.ts +104 -0
  112. package/source/angular/columnpanel/index.ts +1 -0
  113. package/source/angular/columnpanel/public_api.ts +3 -0
  114. package/source/angular/columnpanel/smart.columnpanel.module.ts +12 -0
  115. package/source/angular/columnpanel/smart.columnpanel.ts +183 -0
  116. package/source/angular/columnpanel/smart.element.ts +104 -0
  117. package/source/angular/combobox/index.ts +1 -0
  118. package/source/angular/combobox/public_api.ts +7 -0
  119. package/source/angular/combobox/smart.combobox.module.ts +14 -0
  120. package/source/angular/combobox/smart.combobox.ts +1125 -0
  121. package/source/angular/combobox/smart.element.ts +104 -0
  122. package/source/angular/combobox/smart.listitem.ts +162 -0
  123. package/source/angular/combobox/smart.listitemsgroup.ts +72 -0
  124. package/source/angular/countryinput/index.ts +1 -0
  125. package/source/angular/countryinput/public_api.ts +3 -0
  126. package/source/angular/countryinput/smart.countryinput.module.ts +12 -0
  127. package/source/angular/countryinput/smart.countryinput.ts +391 -0
  128. package/source/angular/countryinput/smart.element.ts +104 -0
  129. package/source/angular/customizationdialog/index.ts +1 -0
  130. package/source/angular/customizationdialog/public_api.ts +3 -0
  131. package/source/angular/customizationdialog/smart.customizationdialog.module.ts +12 -0
  132. package/source/angular/customizationdialog/smart.customizationdialog.ts +311 -0
  133. package/source/angular/customizationdialog/smart.element.ts +104 -0
  134. package/source/angular/dateinput/index.ts +1 -0
  135. package/source/angular/dateinput/public_api.ts +3 -0
  136. package/source/angular/dateinput/smart.dateinput.module.ts +12 -0
  137. package/source/angular/dateinput/smart.dateinput.ts +465 -0
  138. package/source/angular/dateinput/smart.element.ts +104 -0
  139. package/source/angular/daterangeinput/index.ts +1 -0
  140. package/source/angular/daterangeinput/public_api.ts +3 -0
  141. package/source/angular/daterangeinput/smart.daterangeinput.module.ts +12 -0
  142. package/source/angular/daterangeinput/smart.daterangeinput.ts +456 -0
  143. package/source/angular/daterangeinput/smart.element.ts +104 -0
  144. package/source/angular/datetimepicker/index.ts +1 -0
  145. package/source/angular/datetimepicker/public_api.ts +3 -0
  146. package/source/angular/datetimepicker/smart.datetimepicker.module.ts +12 -0
  147. package/source/angular/datetimepicker/smart.datetimepicker.ts +835 -0
  148. package/source/angular/datetimepicker/smart.element.ts +104 -0
  149. package/source/angular/dockinglayout/index.ts +1 -0
  150. package/source/angular/dockinglayout/public_api.ts +3 -0
  151. package/source/angular/dockinglayout/smart.dockinglayout.module.ts +12 -0
  152. package/source/angular/dockinglayout/smart.dockinglayout.ts +866 -0
  153. package/source/angular/dockinglayout/smart.element.ts +104 -0
  154. package/source/angular/dropdownbutton/index.ts +1 -0
  155. package/source/angular/dropdownbutton/public_api.ts +3 -0
  156. package/source/angular/dropdownbutton/smart.dropdownbutton.module.ts +12 -0
  157. package/source/angular/dropdownbutton/smart.dropdownbutton.ts +542 -0
  158. package/source/angular/dropdownbutton/smart.element.ts +104 -0
  159. package/source/angular/dropdownlist/index.ts +1 -0
  160. package/source/angular/dropdownlist/public_api.ts +7 -0
  161. package/source/angular/dropdownlist/smart.dropdownlist.module.ts +14 -0
  162. package/source/angular/dropdownlist/smart.dropdownlist.ts +1082 -0
  163. package/source/angular/dropdownlist/smart.element.ts +104 -0
  164. package/source/angular/dropdownlist/smart.listitem.ts +162 -0
  165. package/source/angular/dropdownlist/smart.listitemsgroup.ts +72 -0
  166. package/source/angular/editor/index.ts +1 -0
  167. package/source/angular/editor/public_api.ts +3 -0
  168. package/source/angular/editor/smart.editor.module.ts +12 -0
  169. package/source/angular/editor/smart.editor.ts +1307 -0
  170. package/source/angular/editor/smart.element.ts +104 -0
  171. package/source/angular/element/index.ts +1 -0
  172. package/source/angular/element/public_api.ts +3 -0
  173. package/source/angular/element/smart.element.module.ts +10 -0
  174. package/source/angular/element/smart.element.ts +104 -0
  175. package/source/angular/fileupload/index.ts +1 -0
  176. package/source/angular/fileupload/public_api.ts +3 -0
  177. package/source/angular/fileupload/smart.element.ts +104 -0
  178. package/source/angular/fileupload/smart.fileupload.module.ts +12 -0
  179. package/source/angular/fileupload/smart.fileupload.ts +517 -0
  180. package/source/angular/filterbuilder/index.ts +1 -0
  181. package/source/angular/filterbuilder/public_api.ts +3 -0
  182. package/source/angular/filterbuilder/smart.element.ts +104 -0
  183. package/source/angular/filterbuilder/smart.filterbuilder.module.ts +12 -0
  184. package/source/angular/filterbuilder/smart.filterbuilder.ts +506 -0
  185. package/source/angular/filterpanel/index.ts +1 -0
  186. package/source/angular/filterpanel/public_api.ts +3 -0
  187. package/source/angular/filterpanel/smart.element.ts +104 -0
  188. package/source/angular/filterpanel/smart.filterpanel.module.ts +12 -0
  189. package/source/angular/filterpanel/smart.filterpanel.ts +334 -0
  190. package/source/angular/form/index.ts +1 -0
  191. package/source/angular/form/public_api.ts +7 -0
  192. package/source/angular/form/smart.element.ts +104 -0
  193. package/source/angular/form/smart.form.module.ts +14 -0
  194. package/source/angular/form/smart.form.ts +288 -0
  195. package/source/angular/form/smart.formcontrol.ts +336 -0
  196. package/source/angular/form/smart.formgroup.ts +220 -0
  197. package/source/angular/ganttchart/index.ts +1 -0
  198. package/source/angular/ganttchart/public_api.ts +3 -0
  199. package/source/angular/ganttchart/smart.element.ts +104 -0
  200. package/source/angular/ganttchart/smart.ganttchart.module.ts +12 -0
  201. package/source/angular/ganttchart/smart.ganttchart.ts +2142 -0
  202. package/source/angular/gauge/index.ts +1 -0
  203. package/source/angular/gauge/public_api.ts +3 -0
  204. package/source/angular/gauge/smart.element.ts +104 -0
  205. package/source/angular/gauge/smart.gauge.module.ts +12 -0
  206. package/source/angular/gauge/smart.gauge.ts +650 -0
  207. package/source/angular/grid/index.ts +1 -0
  208. package/source/angular/grid/public_api.ts +3 -0
  209. package/source/angular/grid/smart.element.ts +104 -0
  210. package/source/angular/grid/smart.grid.module.ts +12 -0
  211. package/source/angular/grid/smart.grid.ts +3091 -0
  212. package/source/angular/grouppanel/index.ts +1 -0
  213. package/source/angular/grouppanel/public_api.ts +3 -0
  214. package/source/angular/grouppanel/smart.element.ts +104 -0
  215. package/source/angular/grouppanel/smart.grouppanel.module.ts +12 -0
  216. package/source/angular/grouppanel/smart.grouppanel.ts +220 -0
  217. package/source/angular/index.d.ts +32978 -0
  218. package/source/angular/input/index.ts +1 -0
  219. package/source/angular/input/public_api.ts +3 -0
  220. package/source/angular/input/smart.element.ts +104 -0
  221. package/source/angular/input/smart.input.module.ts +12 -0
  222. package/source/angular/input/smart.input.ts +590 -0
  223. package/source/angular/kanban/index.ts +1 -0
  224. package/source/angular/kanban/public_api.ts +3 -0
  225. package/source/angular/kanban/smart.element.ts +104 -0
  226. package/source/angular/kanban/smart.kanban.module.ts +12 -0
  227. package/source/angular/kanban/smart.kanban.ts +1682 -0
  228. package/source/angular/layout/index.ts +1 -0
  229. package/source/angular/layout/public_api.ts +11 -0
  230. package/source/angular/layout/smart.element.ts +104 -0
  231. package/source/angular/layout/smart.layout.module.ts +16 -0
  232. package/source/angular/layout/smart.layout.ts +363 -0
  233. package/source/angular/layout/smart.layoutgroup.ts +140 -0
  234. package/source/angular/layout/smart.layoutitem.ts +129 -0
  235. package/source/angular/layout/smart.tablayoutgroup.ts +147 -0
  236. package/source/angular/layout/smart.tablayoutitem.ts +138 -0
  237. package/source/angular/led/index.ts +1 -0
  238. package/source/angular/led/public_api.ts +3 -0
  239. package/source/angular/led/smart.element.ts +104 -0
  240. package/source/angular/led/smart.led.module.ts +12 -0
  241. package/source/angular/led/smart.led.ts +280 -0
  242. package/source/angular/listbox/index.ts +1 -0
  243. package/source/angular/listbox/public_api.ts +7 -0
  244. package/source/angular/listbox/smart.element.ts +104 -0
  245. package/source/angular/listbox/smart.listbox.module.ts +14 -0
  246. package/source/angular/listbox/smart.listbox.ts +1007 -0
  247. package/source/angular/listbox/smart.listitem.ts +162 -0
  248. package/source/angular/listbox/smart.listitemsgroup.ts +72 -0
  249. package/source/angular/listmenu/index.ts +1 -0
  250. package/source/angular/listmenu/public_api.ts +7 -0
  251. package/source/angular/listmenu/smart.element.ts +104 -0
  252. package/source/angular/listmenu/smart.listmenu.module.ts +14 -0
  253. package/source/angular/listmenu/smart.listmenu.ts +597 -0
  254. package/source/angular/listmenu/smart.menuitem.ts +126 -0
  255. package/source/angular/listmenu/smart.menuitemsgroup.ts +153 -0
  256. package/source/angular/map/index.ts +1 -0
  257. package/source/angular/map/public_api.ts +3 -0
  258. package/source/angular/map/smart.element.ts +104 -0
  259. package/source/angular/map/smart.map.module.ts +12 -0
  260. package/source/angular/map/smart.map.ts +128 -0
  261. package/source/angular/maskedtextbox/index.ts +1 -0
  262. package/source/angular/maskedtextbox/public_api.ts +3 -0
  263. package/source/angular/maskedtextbox/smart.element.ts +104 -0
  264. package/source/angular/maskedtextbox/smart.maskedtextbox.module.ts +12 -0
  265. package/source/angular/maskedtextbox/smart.maskedtextbox.ts +539 -0
  266. package/source/angular/menu/index.ts +1 -0
  267. package/source/angular/menu/public_api.ts +7 -0
  268. package/source/angular/menu/smart.element.ts +104 -0
  269. package/source/angular/menu/smart.menu.module.ts +14 -0
  270. package/source/angular/menu/smart.menu.ts +695 -0
  271. package/source/angular/menu/smart.menuitem.ts +126 -0
  272. package/source/angular/menu/smart.menuitemsgroup.ts +153 -0
  273. package/source/angular/multicolumnfilterpanel/index.ts +1 -0
  274. package/source/angular/multicolumnfilterpanel/public_api.ts +3 -0
  275. package/source/angular/multicolumnfilterpanel/smart.element.ts +104 -0
  276. package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.module.ts +12 -0
  277. package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.ts +256 -0
  278. package/source/angular/multicomboinput/index.ts +1 -0
  279. package/source/angular/multicomboinput/public_api.ts +3 -0
  280. package/source/angular/multicomboinput/smart.element.ts +104 -0
  281. package/source/angular/multicomboinput/smart.multicomboinput.module.ts +12 -0
  282. package/source/angular/multicomboinput/smart.multicomboinput.ts +542 -0
  283. package/source/angular/multiinput/index.ts +1 -0
  284. package/source/angular/multiinput/public_api.ts +3 -0
  285. package/source/angular/multiinput/smart.element.ts +104 -0
  286. package/source/angular/multiinput/smart.multiinput.module.ts +12 -0
  287. package/source/angular/multiinput/smart.multiinput.ts +497 -0
  288. package/source/angular/multilinetextbox/index.ts +1 -0
  289. package/source/angular/multilinetextbox/public_api.ts +7 -0
  290. package/source/angular/multilinetextbox/smart.element.ts +104 -0
  291. package/source/angular/multilinetextbox/smart.listitem.ts +162 -0
  292. package/source/angular/multilinetextbox/smart.listitemsgroup.ts +72 -0
  293. package/source/angular/multilinetextbox/smart.multilinetextbox.module.ts +14 -0
  294. package/source/angular/multilinetextbox/smart.multilinetextbox.ts +561 -0
  295. package/source/angular/multisplitbutton/index.ts +1 -0
  296. package/source/angular/multisplitbutton/public_api.ts +7 -0
  297. package/source/angular/multisplitbutton/smart.element.ts +104 -0
  298. package/source/angular/multisplitbutton/smart.listitem.ts +162 -0
  299. package/source/angular/multisplitbutton/smart.listitemsgroup.ts +72 -0
  300. package/source/angular/multisplitbutton/smart.multisplitbutton.module.ts +14 -0
  301. package/source/angular/multisplitbutton/smart.multisplitbutton.ts +620 -0
  302. package/source/angular/numberinput/index.ts +1 -0
  303. package/source/angular/numberinput/public_api.ts +3 -0
  304. package/source/angular/numberinput/smart.element.ts +104 -0
  305. package/source/angular/numberinput/smart.numberinput.module.ts +12 -0
  306. package/source/angular/numberinput/smart.numberinput.ts +398 -0
  307. package/source/angular/numerictextbox/index.ts +1 -0
  308. package/source/angular/numerictextbox/public_api.ts +3 -0
  309. package/source/angular/numerictextbox/smart.element.ts +104 -0
  310. package/source/angular/numerictextbox/smart.numerictextbox.module.ts +12 -0
  311. package/source/angular/numerictextbox/smart.numerictextbox.ts +644 -0
  312. package/source/angular/pager/index.ts +1 -0
  313. package/source/angular/pager/public_api.ts +3 -0
  314. package/source/angular/pager/smart.element.ts +104 -0
  315. package/source/angular/pager/smart.pager.module.ts +12 -0
  316. package/source/angular/pager/smart.pager.ts +386 -0
  317. package/source/angular/passwordinput/index.ts +1 -0
  318. package/source/angular/passwordinput/public_api.ts +3 -0
  319. package/source/angular/passwordinput/smart.element.ts +104 -0
  320. package/source/angular/passwordinput/smart.passwordinput.module.ts +12 -0
  321. package/source/angular/passwordinput/smart.passwordinput.ts +218 -0
  322. package/source/angular/passwordtextbox/index.ts +1 -0
  323. package/source/angular/passwordtextbox/public_api.ts +3 -0
  324. package/source/angular/passwordtextbox/smart.element.ts +104 -0
  325. package/source/angular/passwordtextbox/smart.passwordtextbox.module.ts +12 -0
  326. package/source/angular/passwordtextbox/smart.passwordtextbox.ts +463 -0
  327. package/source/angular/path/index.ts +1 -0
  328. package/source/angular/path/public_api.ts +3 -0
  329. package/source/angular/path/smart.element.ts +104 -0
  330. package/source/angular/path/smart.path.module.ts +12 -0
  331. package/source/angular/path/smart.path.ts +491 -0
  332. package/source/angular/phoneinput/index.ts +1 -0
  333. package/source/angular/phoneinput/public_api.ts +3 -0
  334. package/source/angular/phoneinput/smart.element.ts +104 -0
  335. package/source/angular/phoneinput/smart.phoneinput.module.ts +12 -0
  336. package/source/angular/phoneinput/smart.phoneinput.ts +493 -0
  337. package/source/angular/pivottable/index.ts +1 -0
  338. package/source/angular/pivottable/public_api.ts +3 -0
  339. package/source/angular/pivottable/smart.element.ts +104 -0
  340. package/source/angular/pivottable/smart.pivottable.module.ts +12 -0
  341. package/source/angular/pivottable/smart.pivottable.ts +840 -0
  342. package/source/angular/progressbar/index.ts +1 -0
  343. package/source/angular/progressbar/public_api.ts +5 -0
  344. package/source/angular/progressbar/smart.circularprogressbar.ts +223 -0
  345. package/source/angular/progressbar/smart.element.ts +104 -0
  346. package/source/angular/progressbar/smart.progressbar.module.ts +13 -0
  347. package/source/angular/progressbar/smart.progressbar.ts +235 -0
  348. package/source/angular/qrcode/index.ts +1 -0
  349. package/source/angular/qrcode/public_api.ts +3 -0
  350. package/source/angular/qrcode/smart.element.ts +104 -0
  351. package/source/angular/qrcode/smart.qrcode.module.ts +12 -0
  352. package/source/angular/qrcode/smart.qrcode.ts +306 -0
  353. package/source/angular/querybuilder/index.ts +1 -0
  354. package/source/angular/querybuilder/public_api.ts +3 -0
  355. package/source/angular/querybuilder/smart.element.ts +104 -0
  356. package/source/angular/querybuilder/smart.querybuilder.module.ts +12 -0
  357. package/source/angular/querybuilder/smart.querybuilder.ts +460 -0
  358. package/source/angular/radiobutton/index.ts +1 -0
  359. package/source/angular/radiobutton/public_api.ts +3 -0
  360. package/source/angular/radiobutton/smart.element.ts +104 -0
  361. package/source/angular/radiobutton/smart.radiobutton.module.ts +12 -0
  362. package/source/angular/radiobutton/smart.radiobutton.ts +350 -0
  363. package/source/angular/rating/index.ts +1 -0
  364. package/source/angular/rating/public_api.ts +3 -0
  365. package/source/angular/rating/smart.element.ts +104 -0
  366. package/source/angular/rating/smart.rating.module.ts +12 -0
  367. package/source/angular/rating/smart.rating.ts +309 -0
  368. package/source/angular/scheduler/index.ts +1 -0
  369. package/source/angular/scheduler/public_api.ts +3 -0
  370. package/source/angular/scheduler/smart.element.ts +104 -0
  371. package/source/angular/scheduler/smart.scheduler.module.ts +12 -0
  372. package/source/angular/scheduler/smart.scheduler.ts +2328 -0
  373. package/source/angular/scrollbar/index.ts +1 -0
  374. package/source/angular/scrollbar/public_api.ts +3 -0
  375. package/source/angular/scrollbar/smart.element.ts +104 -0
  376. package/source/angular/scrollbar/smart.scrollbar.module.ts +12 -0
  377. package/source/angular/scrollbar/smart.scrollbar.ts +260 -0
  378. package/source/angular/slider/index.ts +1 -0
  379. package/source/angular/slider/public_api.ts +3 -0
  380. package/source/angular/slider/smart.element.ts +104 -0
  381. package/source/angular/slider/smart.slider.module.ts +12 -0
  382. package/source/angular/slider/smart.slider.ts +632 -0
  383. package/source/angular/sortable/index.ts +1 -0
  384. package/source/angular/sortable/public_api.ts +3 -0
  385. package/source/angular/sortable/smart.element.ts +104 -0
  386. package/source/angular/sortable/smart.sortable.module.ts +12 -0
  387. package/source/angular/sortable/smart.sortable.ts +217 -0
  388. package/source/angular/sortpanel/index.ts +1 -0
  389. package/source/angular/sortpanel/public_api.ts +3 -0
  390. package/source/angular/sortpanel/smart.element.ts +104 -0
  391. package/source/angular/sortpanel/smart.sortpanel.module.ts +12 -0
  392. package/source/angular/sortpanel/smart.sortpanel.ts +180 -0
  393. package/source/angular/splitter/index.ts +1 -0
  394. package/source/angular/splitter/public_api.ts +7 -0
  395. package/source/angular/splitter/smart.element.ts +104 -0
  396. package/source/angular/splitter/smart.splitter.module.ts +14 -0
  397. package/source/angular/splitter/smart.splitter.ts +530 -0
  398. package/source/angular/splitter/smart.splitterbar.ts +121 -0
  399. package/source/angular/splitter/smart.splitteritem.ts +192 -0
  400. package/source/angular/switchbutton/index.ts +1 -0
  401. package/source/angular/switchbutton/public_api.ts +3 -0
  402. package/source/angular/switchbutton/smart.element.ts +104 -0
  403. package/source/angular/switchbutton/smart.switchbutton.module.ts +12 -0
  404. package/source/angular/switchbutton/smart.switchbutton.ts +386 -0
  405. package/source/angular/table/index.ts +1 -0
  406. package/source/angular/table/public_api.ts +3 -0
  407. package/source/angular/table/smart.element.ts +104 -0
  408. package/source/angular/table/smart.table.module.ts +12 -0
  409. package/source/angular/table/smart.table.ts +1493 -0
  410. package/source/angular/tabs/index.ts +1 -0
  411. package/source/angular/tabs/public_api.ts +7 -0
  412. package/source/angular/tabs/smart.element.ts +104 -0
  413. package/source/angular/tabs/smart.tabitem.ts +126 -0
  414. package/source/angular/tabs/smart.tabitemsgroup.ts +81 -0
  415. package/source/angular/tabs/smart.tabs.module.ts +14 -0
  416. package/source/angular/tabs/smart.tabs.ts +622 -0
  417. package/source/angular/tank/index.ts +1 -0
  418. package/source/angular/tank/public_api.ts +3 -0
  419. package/source/angular/tank/smart.element.ts +104 -0
  420. package/source/angular/tank/smart.tank.module.ts +12 -0
  421. package/source/angular/tank/smart.tank.ts +593 -0
  422. package/source/angular/textarea/index.ts +1 -0
  423. package/source/angular/textarea/public_api.ts +3 -0
  424. package/source/angular/textarea/smart.element.ts +104 -0
  425. package/source/angular/textarea/smart.textarea.module.ts +12 -0
  426. package/source/angular/textarea/smart.textarea.ts +484 -0
  427. package/source/angular/textbox/index.ts +1 -0
  428. package/source/angular/textbox/public_api.ts +7 -0
  429. package/source/angular/textbox/smart.element.ts +104 -0
  430. package/source/angular/textbox/smart.listitem.ts +162 -0
  431. package/source/angular/textbox/smart.listitemsgroup.ts +72 -0
  432. package/source/angular/textbox/smart.textbox.module.ts +14 -0
  433. package/source/angular/textbox/smart.textbox.ts +708 -0
  434. package/source/angular/threedchart/index.ts +1 -0
  435. package/source/angular/threedchart/public_api.ts +3 -0
  436. package/source/angular/threedchart/smart.element.ts +104 -0
  437. package/source/angular/threedchart/smart.threedchart.module.ts +12 -0
  438. package/source/angular/threedchart/smart.threedchart.ts +1043 -0
  439. package/source/angular/timeinput/index.ts +1 -0
  440. package/source/angular/timeinput/public_api.ts +3 -0
  441. package/source/angular/timeinput/smart.element.ts +104 -0
  442. package/source/angular/timeinput/smart.timeinput.module.ts +12 -0
  443. package/source/angular/timeinput/smart.timeinput.ts +427 -0
  444. package/source/angular/timepicker/index.ts +1 -0
  445. package/source/angular/timepicker/public_api.ts +3 -0
  446. package/source/angular/timepicker/smart.element.ts +104 -0
  447. package/source/angular/timepicker/smart.timepicker.module.ts +12 -0
  448. package/source/angular/timepicker/smart.timepicker.ts +370 -0
  449. package/source/angular/toast/index.ts +1 -0
  450. package/source/angular/toast/public_api.ts +3 -0
  451. package/source/angular/toast/smart.element.ts +104 -0
  452. package/source/angular/toast/smart.toast.module.ts +12 -0
  453. package/source/angular/toast/smart.toast.ts +405 -0
  454. package/source/angular/tooltip/index.ts +1 -0
  455. package/source/angular/tooltip/public_api.ts +3 -0
  456. package/source/angular/tooltip/smart.element.ts +104 -0
  457. package/source/angular/tooltip/smart.tooltip.module.ts +12 -0
  458. package/source/angular/tooltip/smart.tooltip.ts +339 -0
  459. package/source/angular/tree/index.ts +1 -0
  460. package/source/angular/tree/public_api.ts +7 -0
  461. package/source/angular/tree/smart.element.ts +104 -0
  462. package/source/angular/tree/smart.tree.module.ts +14 -0
  463. package/source/angular/tree/smart.tree.ts +1042 -0
  464. package/source/angular/tree/smart.treeitem.ts +135 -0
  465. package/source/angular/tree/smart.treeitemsgroup.ts +135 -0
  466. package/source/angular/validator/index.ts +1 -0
  467. package/source/angular/validator/public_api.ts +3 -0
  468. package/source/angular/validator/smart.element.ts +104 -0
  469. package/source/angular/validator/smart.validator.module.ts +12 -0
  470. package/source/angular/validator/smart.validator.ts +124 -0
  471. package/source/angular/window/index.ts +1 -0
  472. package/source/angular/window/public_api.ts +3 -0
  473. package/source/angular/window/smart.element.ts +104 -0
  474. package/source/angular/window/smart.window.module.ts +12 -0
  475. package/source/angular/window/smart.window.ts +1180 -0
  476. package/source/components/smart.ui.chart.js +1 -1
  477. package/source/components/smart.ui.pivottable.js +1 -1
  478. package/source/modules/smart.3dchart.js +1 -1
  479. package/source/modules/smart.accordion.js +1 -1
  480. package/source/modules/smart.array.js +1 -1
  481. package/source/modules/smart.barcode.js +1 -1
  482. package/source/modules/smart.breadcrumb.js +1 -1
  483. package/source/modules/smart.button.js +1 -1
  484. package/source/modules/smart.buttongroup.js +1 -1
  485. package/source/modules/smart.calendar.js +1 -1
  486. package/source/modules/smart.card.js +1 -1
  487. package/source/modules/smart.cardview.js +1 -1
  488. package/source/modules/smart.carousel.js +1 -1
  489. package/source/modules/smart.chart.js +2 -2
  490. package/source/modules/smart.checkbox.js +1 -1
  491. package/source/modules/smart.checkinput.js +1 -1
  492. package/source/modules/smart.chip.js +1 -1
  493. package/source/modules/smart.colorinput.js +1 -1
  494. package/source/modules/smart.colorpanel.js +1 -1
  495. package/source/modules/smart.colorpicker.js +1 -1
  496. package/source/modules/smart.combobox.js +1 -1
  497. package/source/modules/smart.common.js +1 -1
  498. package/source/modules/smart.countryinput.js +1 -1
  499. package/source/modules/smart.dateinput.js +1 -1
  500. package/source/modules/smart.daterangeinput.js +1 -1
  501. package/source/modules/smart.datetimepicker.js +1 -1
  502. package/source/modules/smart.dockinglayout.js +1 -1
  503. package/source/modules/smart.dropdownbutton.js +1 -1
  504. package/source/modules/smart.dropdownlist.js +1 -1
  505. package/source/modules/smart.editor.js +1 -1
  506. package/source/modules/smart.element.js +1 -1
  507. package/source/modules/smart.fileupload.js +1 -1
  508. package/source/modules/smart.form.js +1 -1
  509. package/source/modules/smart.formulaparser.js +1 -1
  510. package/source/modules/smart.ganttchart.js +1 -1
  511. package/source/modules/smart.gauge.js +1 -1
  512. package/source/modules/smart.grid.js +1 -1
  513. package/source/modules/smart.gridpanel.js +1 -1
  514. package/source/modules/smart.input.js +1 -1
  515. package/source/modules/smart.kanban.js +1 -1
  516. package/source/modules/smart.layout.js +1 -1
  517. package/source/modules/smart.led.js +1 -1
  518. package/source/modules/smart.listbox.js +1 -1
  519. package/source/modules/smart.listmenu.js +1 -1
  520. package/source/modules/smart.map.js +1 -1
  521. package/source/modules/smart.maskedtextbox.js +1 -1
  522. package/source/modules/smart.menu.js +1 -1
  523. package/source/modules/smart.multicomboinput.js +1 -1
  524. package/source/modules/smart.multiinput.js +1 -1
  525. package/source/modules/smart.multilinetextbox.js +1 -1
  526. package/source/modules/smart.multisplitbutton.js +1 -1
  527. package/source/modules/smart.numberinput.js +1 -1
  528. package/source/modules/smart.numerictextbox.js +1 -1
  529. package/source/modules/smart.pager.js +1 -1
  530. package/source/modules/smart.passwordinput.js +1 -1
  531. package/source/modules/smart.passwordtextbox.js +1 -1
  532. package/source/modules/smart.path.js +1 -1
  533. package/source/modules/smart.phoneinput.js +1 -1
  534. package/source/modules/smart.pivottable.js +2 -2
  535. package/source/modules/smart.progressbar.js +1 -1
  536. package/source/modules/smart.qrcode.js +1 -1
  537. package/source/modules/smart.querybuilder.js +1 -1
  538. package/source/modules/smart.radiobutton.js +1 -1
  539. package/source/modules/smart.rating.js +1 -1
  540. package/source/modules/smart.router.js +1 -1
  541. package/source/modules/smart.scheduler.js +1 -1
  542. package/source/modules/smart.scrollbar.js +1 -1
  543. package/source/modules/smart.slider.js +1 -1
  544. package/source/modules/smart.sortable.js +1 -1
  545. package/source/modules/smart.splitter.js +1 -1
  546. package/source/modules/smart.switchbutton.js +1 -1
  547. package/source/modules/smart.table.js +1 -1
  548. package/source/modules/smart.tabs.js +1 -1
  549. package/source/modules/smart.tank.js +1 -1
  550. package/source/modules/smart.textarea.js +1 -1
  551. package/source/modules/smart.textbox.js +1 -1
  552. package/source/modules/smart.timeinput.js +1 -1
  553. package/source/modules/smart.timepicker.js +1 -1
  554. package/source/modules/smart.toast.js +1 -1
  555. package/source/modules/smart.tooltip.js +1 -1
  556. package/source/modules/smart.tree.js +1 -1
  557. package/source/modules/smart.validator.js +1 -1
  558. package/source/modules/smart.window.js +1 -1
  559. package/source/react/accordion/accordion.jsx +462 -0
  560. package/source/react/accordion/accordion.tsx +466 -0
  561. package/source/react/accordion/accordionitem.jsx +211 -0
  562. package/source/react/accordion/accordionitem.tsx +229 -0
  563. package/source/react/alertwindow/alertwindow.jsx +1391 -0
  564. package/source/react/alertwindow/alertwindow.tsx +1349 -0
  565. package/source/react/array/array.jsx +907 -0
  566. package/source/react/array/array.tsx +909 -0
  567. package/source/react/barcode/barcode.jsx +372 -0
  568. package/source/react/barcode/barcode.tsx +394 -0
  569. package/source/react/breadcrumb/breadcrumb.jsx +399 -0
  570. package/source/react/breadcrumb/breadcrumb.tsx +405 -0
  571. package/source/react/button/button.jsx +331 -0
  572. package/source/react/button/button.tsx +359 -0
  573. package/source/react/button/powerbutton.jsx +301 -0
  574. package/source/react/button/powerbutton.tsx +323 -0
  575. package/source/react/button/repeatbutton.jsx +325 -0
  576. package/source/react/button/repeatbutton.tsx +347 -0
  577. package/source/react/button/togglebutton.jsx +337 -0
  578. package/source/react/button/togglebutton.tsx +351 -0
  579. package/source/react/buttongroup/buttongroup.jsx +340 -0
  580. package/source/react/buttongroup/buttongroup.tsx +362 -0
  581. package/source/react/calendar/calendar.jsx +868 -0
  582. package/source/react/calendar/calendar.tsx +866 -0
  583. package/source/react/card/card.jsx +313 -0
  584. package/source/react/card/card.tsx +323 -0
  585. package/source/react/cardview/cardview.jsx +664 -0
  586. package/source/react/cardview/cardview.tsx +656 -0
  587. package/source/react/carousel/carousel.jsx +546 -0
  588. package/source/react/carousel/carousel.tsx +556 -0
  589. package/source/react/chart/chart.jsx +1014 -0
  590. package/source/react/chart/chart.tsx +996 -0
  591. package/source/react/checkbox/checkbox.jsx +361 -0
  592. package/source/react/checkbox/checkbox.tsx +375 -0
  593. package/source/react/checkinput/checkinput.jsx +566 -0
  594. package/source/react/checkinput/checkinput.tsx +588 -0
  595. package/source/react/chip/chip.jsx +329 -0
  596. package/source/react/chip/chip.tsx +351 -0
  597. package/source/react/colorinput/colorinput.jsx +516 -0
  598. package/source/react/colorinput/colorinput.tsx +538 -0
  599. package/source/react/colorpanel/colorpanel.jsx +570 -0
  600. package/source/react/colorpanel/colorpanel.tsx +580 -0
  601. package/source/react/colorpicker/colorpicker.jsx +846 -0
  602. package/source/react/colorpicker/colorpicker.tsx +824 -0
  603. package/source/react/columnpanel/columnpanel.jsx +276 -0
  604. package/source/react/columnpanel/columnpanel.tsx +294 -0
  605. package/source/react/combobox/combobox.jsx +1212 -0
  606. package/source/react/combobox/combobox.tsx +1198 -0
  607. package/source/react/combobox/listitem.jsx +279 -0
  608. package/source/react/combobox/listitem.tsx +305 -0
  609. package/source/react/combobox/listitemsgroup.jsx +159 -0
  610. package/source/react/combobox/listitemsgroup.tsx +185 -0
  611. package/source/react/countryinput/countryinput.jsx +409 -0
  612. package/source/react/countryinput/countryinput.tsx +423 -0
  613. package/source/react/customizationdialog/customizationdialog.jsx +425 -0
  614. package/source/react/customizationdialog/customizationdialog.tsx +435 -0
  615. package/source/react/dateinput/dateinput.jsx +513 -0
  616. package/source/react/dateinput/dateinput.tsx +535 -0
  617. package/source/react/daterangeinput/daterangeinput.jsx +516 -0
  618. package/source/react/daterangeinput/daterangeinput.tsx +538 -0
  619. package/source/react/datetimepicker/datetimepicker.jsx +967 -0
  620. package/source/react/datetimepicker/datetimepicker.tsx +973 -0
  621. package/source/react/dialogwindow/dialogwindow.jsx +1391 -0
  622. package/source/react/dialogwindow/dialogwindow.tsx +1349 -0
  623. package/source/react/dockinglayout/dockinglayout.jsx +923 -0
  624. package/source/react/dockinglayout/dockinglayout.tsx +925 -0
  625. package/source/react/dropdownbutton/dropdownbutton.jsx +665 -0
  626. package/source/react/dropdownbutton/dropdownbutton.tsx +659 -0
  627. package/source/react/dropdownlist/dropdownlist.jsx +1148 -0
  628. package/source/react/dropdownlist/dropdownlist.tsx +1130 -0
  629. package/source/react/dropdownlist/listitem.jsx +279 -0
  630. package/source/react/dropdownlist/listitem.tsx +305 -0
  631. package/source/react/dropdownlist/listitemsgroup.jsx +159 -0
  632. package/source/react/dropdownlist/listitemsgroup.tsx +185 -0
  633. package/source/react/editor/editor.jsx +1373 -0
  634. package/source/react/editor/editor.tsx +1287 -0
  635. package/source/react/element/element.jsx +392 -0
  636. package/source/react/element/element.tsx +410 -0
  637. package/source/react/fileupload/fileupload.jsx +643 -0
  638. package/source/react/fileupload/fileupload.tsx +641 -0
  639. package/source/react/filterbuilder/filterbuilder.jsx +608 -0
  640. package/source/react/filterbuilder/filterbuilder.tsx +594 -0
  641. package/source/react/filterpanel/filterpanel.jsx +433 -0
  642. package/source/react/filterpanel/filterpanel.tsx +447 -0
  643. package/source/react/form/form.jsx +383 -0
  644. package/source/react/form/form.tsx +413 -0
  645. package/source/react/form/formcontrol.jsx +495 -0
  646. package/source/react/form/formcontrol.tsx +521 -0
  647. package/source/react/form/formgroup.jsx +310 -0
  648. package/source/react/form/formgroup.tsx +336 -0
  649. package/source/react/ganttchart/ganttchart.jsx +2202 -0
  650. package/source/react/ganttchart/ganttchart.tsx +2116 -0
  651. package/source/react/gauge/gauge.jsx +755 -0
  652. package/source/react/gauge/gauge.tsx +777 -0
  653. package/source/react/grid/grid.jsx +2906 -0
  654. package/source/react/grid/grid.tsx +2782 -0
  655. package/source/react/grouppanel/grouppanel.jsx +313 -0
  656. package/source/react/grouppanel/grouppanel.tsx +323 -0
  657. package/source/react/input/input.jsx +626 -0
  658. package/source/react/input/input.tsx +632 -0
  659. package/source/react/kanban/kanban.jsx +1824 -0
  660. package/source/react/kanban/kanban.tsx +1736 -0
  661. package/source/react/layout/layout.jsx +449 -0
  662. package/source/react/layout/layout.tsx +451 -0
  663. package/source/react/layout/layoutgroup.jsx +233 -0
  664. package/source/react/layout/layoutgroup.tsx +259 -0
  665. package/source/react/layout/layoutitem.jsx +219 -0
  666. package/source/react/layout/layoutitem.tsx +245 -0
  667. package/source/react/layout/tablayoutgroup.jsx +243 -0
  668. package/source/react/layout/tablayoutgroup.tsx +269 -0
  669. package/source/react/layout/tablayoutitem.jsx +231 -0
  670. package/source/react/layout/tablayoutitem.tsx +257 -0
  671. package/source/react/led/led.jsx +412 -0
  672. package/source/react/led/led.tsx +434 -0
  673. package/source/react/listbox/listbox.jsx +1044 -0
  674. package/source/react/listbox/listbox.tsx +1030 -0
  675. package/source/react/listbox/listitem.jsx +279 -0
  676. package/source/react/listbox/listitem.tsx +305 -0
  677. package/source/react/listbox/listitemsgroup.jsx +159 -0
  678. package/source/react/listbox/listitemsgroup.tsx +185 -0
  679. package/source/react/listmenu/listmenu.jsx +740 -0
  680. package/source/react/listmenu/listmenu.tsx +746 -0
  681. package/source/react/listmenu/menuitem.jsx +231 -0
  682. package/source/react/listmenu/menuitem.tsx +257 -0
  683. package/source/react/listmenu/menuitemsgroup.jsx +267 -0
  684. package/source/react/listmenu/menuitemsgroup.tsx +293 -0
  685. package/source/react/map/map.jsx +233 -0
  686. package/source/react/map/map.tsx +259 -0
  687. package/source/react/maskedtextbox/maskedtextbox.jsx +617 -0
  688. package/source/react/maskedtextbox/maskedtextbox.tsx +631 -0
  689. package/source/react/menu/menu.jsx +817 -0
  690. package/source/react/menu/menu.tsx +807 -0
  691. package/source/react/menu/menuitem.jsx +231 -0
  692. package/source/react/menu/menuitem.tsx +257 -0
  693. package/source/react/menu/menuitemsgroup.jsx +267 -0
  694. package/source/react/menu/menuitemsgroup.tsx +293 -0
  695. package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.jsx +361 -0
  696. package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.tsx +371 -0
  697. package/source/react/multicomboinput/multicomboinput.jsx +626 -0
  698. package/source/react/multicomboinput/multicomboinput.tsx +648 -0
  699. package/source/react/multiinput/multiinput.jsx +566 -0
  700. package/source/react/multiinput/multiinput.tsx +588 -0
  701. package/source/react/multilinetextbox/listitem.jsx +279 -0
  702. package/source/react/multilinetextbox/listitem.tsx +305 -0
  703. package/source/react/multilinetextbox/listitemsgroup.jsx +159 -0
  704. package/source/react/multilinetextbox/listitemsgroup.tsx +185 -0
  705. package/source/react/multilinetextbox/multilinetextbox.jsx +638 -0
  706. package/source/react/multilinetextbox/multilinetextbox.tsx +664 -0
  707. package/source/react/multilinewindow/multilinewindow.jsx +1391 -0
  708. package/source/react/multilinewindow/multilinewindow.tsx +1349 -0
  709. package/source/react/multisplitbutton/listitem.jsx +279 -0
  710. package/source/react/multisplitbutton/listitem.tsx +305 -0
  711. package/source/react/multisplitbutton/listitemsgroup.jsx +159 -0
  712. package/source/react/multisplitbutton/listitemsgroup.tsx +185 -0
  713. package/source/react/multisplitbutton/multisplitbutton.jsx +751 -0
  714. package/source/react/multisplitbutton/multisplitbutton.tsx +745 -0
  715. package/source/react/numberinput/numberinput.jsx +413 -0
  716. package/source/react/numberinput/numberinput.tsx +435 -0
  717. package/source/react/numerictextbox/numerictextbox.jsx +721 -0
  718. package/source/react/numerictextbox/numerictextbox.tsx +719 -0
  719. package/source/react/pager/pager.jsx +524 -0
  720. package/source/react/pager/pager.tsx +542 -0
  721. package/source/react/passwordinput/passwordinput.jsx +317 -0
  722. package/source/react/passwordinput/passwordinput.tsx +335 -0
  723. package/source/react/passwordtextbox/passwordtextbox.jsx +523 -0
  724. package/source/react/passwordtextbox/passwordtextbox.tsx +541 -0
  725. package/source/react/path/path.jsx +629 -0
  726. package/source/react/path/path.tsx +623 -0
  727. package/source/react/phoneinput/phoneinput.jsx +481 -0
  728. package/source/react/phoneinput/phoneinput.tsx +495 -0
  729. package/source/react/pivottable/pivottable.jsx +990 -0
  730. package/source/react/pivottable/pivottable.tsx +980 -0
  731. package/source/react/progressbar/circularprogressbar.jsx +337 -0
  732. package/source/react/progressbar/circularprogressbar.tsx +359 -0
  733. package/source/react/progressbar/progressbar.jsx +351 -0
  734. package/source/react/progressbar/progressbar.tsx +375 -0
  735. package/source/react/progresswindow/progresswindow.jsx +1391 -0
  736. package/source/react/progresswindow/progresswindow.tsx +1349 -0
  737. package/source/react/promptwindow/promptwindow.jsx +1391 -0
  738. package/source/react/promptwindow/promptwindow.tsx +1349 -0
  739. package/source/react/qrcode/qrcode.jsx +396 -0
  740. package/source/react/qrcode/qrcode.tsx +418 -0
  741. package/source/react/querybuilder/querybuilder.jsx +589 -0
  742. package/source/react/querybuilder/querybuilder.tsx +587 -0
  743. package/source/react/radiobutton/radiobutton.jsx +373 -0
  744. package/source/react/radiobutton/radiobutton.tsx +387 -0
  745. package/source/react/rating/rating.jsx +315 -0
  746. package/source/react/rating/rating.tsx +337 -0
  747. package/source/react/scheduler/scheduler.jsx +2452 -0
  748. package/source/react/scheduler/scheduler.tsx +2336 -0
  749. package/source/react/scrollbar/scrollbar.jsx +380 -0
  750. package/source/react/scrollbar/scrollbar.tsx +402 -0
  751. package/source/react/slider/slider.jsx +731 -0
  752. package/source/react/slider/slider.tsx +753 -0
  753. package/source/react/sortable/sortable.jsx +319 -0
  754. package/source/react/sortable/sortable.tsx +341 -0
  755. package/source/react/sortpanel/sortpanel.jsx +273 -0
  756. package/source/react/sortpanel/sortpanel.tsx +291 -0
  757. package/source/react/splitter/splitter.jsx +613 -0
  758. package/source/react/splitter/splitter.tsx +627 -0
  759. package/source/react/splitter/splitterbar.jsx +205 -0
  760. package/source/react/splitter/splitterbar.tsx +231 -0
  761. package/source/react/splitter/splitteritem.jsx +288 -0
  762. package/source/react/splitter/splitteritem.tsx +314 -0
  763. package/source/react/switchbutton/switchbutton.jsx +421 -0
  764. package/source/react/switchbutton/switchbutton.tsx +435 -0
  765. package/source/react/table/table.jsx +1628 -0
  766. package/source/react/table/table.tsx +1590 -0
  767. package/source/react/tabs/tabitem.jsx +219 -0
  768. package/source/react/tabs/tabitem.tsx +245 -0
  769. package/source/react/tabs/tabitemsgroup.jsx +171 -0
  770. package/source/react/tabs/tabitemsgroup.tsx +197 -0
  771. package/source/react/tabs/tabs.jsx +720 -0
  772. package/source/react/tabs/tabs.tsx +722 -0
  773. package/source/react/tabswindow/tabswindow.jsx +1391 -0
  774. package/source/react/tabswindow/tabswindow.tsx +1349 -0
  775. package/source/react/tank/tank.jsx +680 -0
  776. package/source/react/tank/tank.tsx +702 -0
  777. package/source/react/textarea/textarea.jsx +541 -0
  778. package/source/react/textarea/textarea.tsx +559 -0
  779. package/source/react/textbox/listitem.jsx +279 -0
  780. package/source/react/textbox/listitem.tsx +305 -0
  781. package/source/react/textbox/listitemsgroup.jsx +159 -0
  782. package/source/react/textbox/listitemsgroup.tsx +185 -0
  783. package/source/react/textbox/textbox.jsx +842 -0
  784. package/source/react/textbox/textbox.tsx +864 -0
  785. package/source/react/threedchart/threedchart.jsx +1124 -0
  786. package/source/react/threedchart/threedchart.tsx +1106 -0
  787. package/source/react/timeinput/timeinput.jsx +463 -0
  788. package/source/react/timeinput/timeinput.tsx +485 -0
  789. package/source/react/timepicker/timepicker.jsx +406 -0
  790. package/source/react/timepicker/timepicker.tsx +428 -0
  791. package/source/react/toast/toast.jsx +510 -0
  792. package/source/react/toast/toast.tsx +508 -0
  793. package/source/react/tooltip/tooltip.jsx +453 -0
  794. package/source/react/tooltip/tooltip.tsx +463 -0
  795. package/source/react/tree/tree.jsx +1176 -0
  796. package/source/react/tree/tree.tsx +1158 -0
  797. package/source/react/tree/treeitem.jsx +243 -0
  798. package/source/react/tree/treeitem.tsx +269 -0
  799. package/source/react/tree/treeitemsgroup.jsx +243 -0
  800. package/source/react/tree/treeitemsgroup.tsx +269 -0
  801. package/source/react/validator/validator.jsx +202 -0
  802. package/source/react/validator/validator.tsx +228 -0
  803. package/source/react/waitwindow/waitwindow.jsx +1391 -0
  804. package/source/react/waitwindow/waitwindow.tsx +1349 -0
  805. package/source/react/window/window.jsx +1375 -0
  806. package/source/react/window/window.tsx +1349 -0
  807. package/source/smart.3dchart.js +6 -0
  808. package/source/smart.accordion.js +6 -0
  809. package/source/smart.ajax.js +5 -0
  810. package/source/smart.array.js +6 -0
  811. package/source/smart.barcode.js +6 -0
  812. package/source/smart.bootstrap.js +6 -0
  813. package/source/smart.breadcrumb.js +6 -0
  814. package/source/smart.button.js +6 -0
  815. package/source/smart.buttongroup.js +6 -0
  816. package/source/smart.calendar.js +6 -0
  817. package/source/smart.card.js +6 -0
  818. package/source/smart.cardview.js +6 -0
  819. package/source/smart.carousel.js +6 -0
  820. package/source/smart.chart.annotations.js +6 -0
  821. package/source/smart.chart.api.js +6 -0
  822. package/source/smart.chart.core.js +6 -0
  823. package/source/smart.chart.js +6 -0
  824. package/source/smart.chart.rangeselector.js +6 -0
  825. package/source/smart.chart.waterfall.js +6 -0
  826. package/source/smart.checkbox.js +6 -0
  827. package/source/smart.checkinput.js +6 -0
  828. package/source/smart.chip.js +6 -0
  829. package/source/smart.colorinput.js +6 -0
  830. package/source/smart.colorpanel.js +6 -0
  831. package/source/smart.colorpicker.js +6 -0
  832. package/source/smart.combobox.js +6 -0
  833. package/source/smart.complex.js +6 -0
  834. package/source/smart.core.js +6 -0
  835. package/source/smart.countryinput.js +6 -0
  836. package/source/smart.data.js +6 -0
  837. package/source/smart.date.js +6 -0
  838. package/source/smart.dateformatpanel.js +6 -0
  839. package/source/smart.dateinput.js +6 -0
  840. package/source/smart.daterangeinput.js +6 -0
  841. package/source/smart.datetimepicker.js +6 -0
  842. package/source/smart.dockinglayout.js +6 -0
  843. package/source/smart.draw.js +6 -0
  844. package/source/smart.dropdownbutton.js +6 -0
  845. package/source/smart.dropdownlist.js +6 -0
  846. package/source/smart.editor.js +6 -0
  847. package/source/smart.element.js +6 -0
  848. package/source/smart.elements.js +3 -3
  849. package/source/smart.export.js +6 -0
  850. package/source/smart.fileupload.js +6 -0
  851. package/source/smart.filter.js +6 -0
  852. package/source/smart.filterbuilder.js +6 -0
  853. package/source/smart.filterpanel.js +6 -0
  854. package/source/smart.form.js +6 -0
  855. package/source/smart.format.js +6 -0
  856. package/source/smart.formulaparser.js +6 -0
  857. package/source/smart.ganttchart.js +6 -0
  858. package/source/smart.gauge.js +6 -0
  859. package/source/smart.grid.cell.js +6 -0
  860. package/source/smart.grid.chart.js +6 -0
  861. package/source/smart.grid.column.js +6 -0
  862. package/source/smart.grid.core.js +6 -0
  863. package/source/smart.grid.dialog.js +6 -0
  864. package/source/smart.grid.edit.js +6 -0
  865. package/source/smart.grid.export.js +6 -0
  866. package/source/smart.grid.filter.js +6 -0
  867. package/source/smart.grid.group.js +6 -0
  868. package/source/smart.grid.js +6 -0
  869. package/source/smart.grid.menu.js +6 -0
  870. package/source/smart.grid.pager.js +6 -0
  871. package/source/smart.grid.reorder.js +6 -0
  872. package/source/smart.grid.resize.js +6 -0
  873. package/source/smart.grid.row.js +6 -0
  874. package/source/smart.grid.select.js +6 -0
  875. package/source/smart.grid.sort.js +6 -0
  876. package/source/smart.grid.toolbar.js +6 -0
  877. package/source/smart.grid.tree.js +6 -0
  878. package/source/smart.grid.view.js +6 -0
  879. package/source/smart.gridpanel.js +6 -0
  880. package/source/smart.input.js +6 -0
  881. package/source/smart.kanban.js +6 -0
  882. package/source/smart.layout.js +6 -0
  883. package/source/smart.led.js +6 -0
  884. package/source/smart.listbox.js +6 -0
  885. package/source/smart.listmenu.js +6 -0
  886. package/source/smart.map.js +6 -0
  887. package/source/smart.maskedtextbox.js +6 -0
  888. package/source/smart.math.js +6 -0
  889. package/source/smart.menu.js +6 -0
  890. package/source/smart.multicomboinput.js +6 -0
  891. package/source/smart.multiinput.js +6 -0
  892. package/source/smart.multilinetextbox.js +6 -0
  893. package/source/smart.multisplitbutton.js +6 -0
  894. package/source/smart.numberformatpanel.js +6 -0
  895. package/source/smart.numberinput.js +6 -0
  896. package/source/smart.numeric.js +6 -0
  897. package/source/smart.numerictextbox.js +6 -0
  898. package/source/smart.pager.js +6 -0
  899. package/source/smart.passwordinput.js +6 -0
  900. package/source/smart.passwordtextbox.js +6 -0
  901. package/source/smart.path.js +6 -0
  902. package/source/smart.phoneinput.js +6 -0
  903. package/source/smart.pivottable.js +6 -0
  904. package/source/smart.powerbutton.js +6 -0
  905. package/source/smart.progressbar.js +6 -0
  906. package/source/smart.qrcode.js +6 -0
  907. package/source/smart.radiobutton.js +6 -0
  908. package/source/smart.rating.js +6 -0
  909. package/source/smart.router.js +6 -0
  910. package/source/smart.scheduler.js +6 -0
  911. package/source/smart.scrollbar.js +6 -0
  912. package/source/smart.slider.js +6 -0
  913. package/source/smart.sortable.js +6 -0
  914. package/source/smart.splitter.js +6 -0
  915. package/source/smart.switchbutton.js +6 -0
  916. package/source/smart.table.js +6 -0
  917. package/source/smart.tabs.js +6 -0
  918. package/source/smart.tank.js +6 -0
  919. package/source/smart.textarea.js +6 -0
  920. package/source/smart.textbox.js +6 -0
  921. package/source/smart.tickintervalhandler.js +6 -0
  922. package/source/smart.timeinput.js +6 -0
  923. package/source/smart.timepicker.js +6 -0
  924. package/source/smart.toast.js +6 -0
  925. package/source/smart.tooltip.js +6 -0
  926. package/source/smart.tree.js +6 -0
  927. package/source/smart.validationpanel.js +6 -0
  928. package/source/smart.validator.js +6 -0
  929. package/source/smart.window.js +6 -0
@@ -0,0 +1,1590 @@
1
+ import React from "react";
2
+ import { TableProperties } from "./../../index";
3
+ import { TableColumnDataType, TableColumnFreeze, TableConditionalFormattingCondition, TableConditionalFormattingFontFamily, TableConditionalFormattingFontSize, TableColumnSizeMode, TableDataSourceSettingsSanitizeHTML, TableDataSourceSettingsSanitizeHTMLRender, TableDataSourceSettingsDataFieldDataType, TableDataSourceSettingsDataSourceType, TableEditMode, TableLoadColumnStateBehavior, TablePageSize, TableSelectionMode, TableSortMode, TableColumnGroup, TableColumn, TableConditionalFormatting, TableDataSourceSettings, TableDataSourceSettingsDataField} from './../../index';
4
+ export { TableProperties } from "./../../index";
5
+ export { TableColumnDataType, TableColumnFreeze, TableConditionalFormattingCondition, TableConditionalFormattingFontFamily, TableConditionalFormattingFontSize, TableColumnSizeMode, TableDataSourceSettingsSanitizeHTML, TableDataSourceSettingsSanitizeHTMLRender, TableDataSourceSettingsDataFieldDataType, TableDataSourceSettingsDataSourceType, TableEditMode, TableLoadColumnStateBehavior, TablePageSize, TableSelectionMode, TableSortMode, TableColumnGroup, TableColumn, TableConditionalFormatting, TableDataSourceSettings, TableDataSourceSettingsDataField} from './../../index';
6
+
7
+ interface IWindow { Smart: any; }
8
+ declare const window: IWindow;
9
+ export const Smart = window.Smart;
10
+ export interface TableProps extends TableProperties {
11
+ className?: string;
12
+ style?: React.CSSProperties;
13
+
14
+ onCellBeginEdit?: ((event?: Event) => void) | undefined;
15
+ onCellClick?: ((event?: Event) => void) | undefined;
16
+ onCellEndEdit?: ((event?: Event) => void) | undefined;
17
+ onChange?: ((event?: Event) => void) | undefined;
18
+ onCollapse?: ((event?: Event) => void) | undefined;
19
+ onExpand?: ((event?: Event) => void) | undefined;
20
+ onColumnClick?: ((event?: Event) => void) | undefined;
21
+ onCloseColumnMenu?: ((event?: Event) => void) | undefined;
22
+ onColumnResize?: ((event?: Event) => void) | undefined;
23
+ onFilter?: ((event?: Event) => void) | undefined;
24
+ onGroup?: ((event?: Event) => void) | undefined;
25
+ onOpenColumnMenu?: ((event?: Event) => void) | undefined;
26
+ onPage?: ((event?: Event) => void) | undefined;
27
+ onRowBeginEdit?: ((event?: Event) => void) | undefined;
28
+ onRowEndEdit?: ((event?: Event) => void) | undefined;
29
+ onSort?: ((event?: Event) => void) | undefined;
30
+ onCreate?: ((event?: Event) => void) | undefined;
31
+ onReady?: ((event?: Event) => void) | undefined;
32
+
33
+ }
34
+ /**
35
+ Table is an alternative of the HTMLTableElement.
36
+ */
37
+ export class Table extends React.Component<React.HTMLAttributes<Element> & TableProps, any> {
38
+ private _id: string;
39
+ private nativeElement: any;
40
+ private componentRef: any;
41
+
42
+ // Gets the id of the React component.
43
+ get id() {
44
+ if (!this._id) {
45
+ this._id = 'Table' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
46
+ }
47
+
48
+ return this._id;
49
+ }
50
+ /** Enables or disables auto load state from the browser's localStorage. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is loaded, based on the value of the stateSettings property.
51
+ * Property type: boolean
52
+ */
53
+ get autoLoadState(): boolean {
54
+ return this.nativeElement ? this.nativeElement.autoLoadState : undefined;
55
+ }
56
+ set autoLoadState(value: boolean) {
57
+ if (this.nativeElement) {
58
+ this.nativeElement.autoLoadState = value;
59
+ }
60
+ }
61
+
62
+ /** Enables or disables auto save state to the browser's localStorage. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is saved, based on the value of the stateSettings property.
63
+ * Property type: boolean
64
+ */
65
+ get autoSaveState(): boolean {
66
+ return this.nativeElement ? this.nativeElement.autoSaveState : undefined;
67
+ }
68
+ set autoSaveState(value: boolean) {
69
+ if (this.nativeElement) {
70
+ this.nativeElement.autoSaveState = value;
71
+ }
72
+ }
73
+
74
+ /** Sets or gets a list of column groups that constitute the column header hierarchy. Note: when column header hierarchy is created, column resizing and auto-sizing is not supported.
75
+ * Property type: TableColumnGroup[]
76
+ */
77
+ get columnGroups(): TableColumnGroup[] {
78
+ return this.nativeElement ? this.nativeElement.columnGroups : undefined;
79
+ }
80
+ set columnGroups(value: TableColumnGroup[]) {
81
+ if (this.nativeElement) {
82
+ this.nativeElement.columnGroups = value;
83
+ }
84
+ }
85
+
86
+ /** Sets or gets the min width of columns when columnSizeMode is 'auto' or when resizing columns. This property has no effect on columns with programmatically set width.
87
+ * Property type: string | number
88
+ */
89
+ get columnMinWidth(): string | number {
90
+ return this.nativeElement ? this.nativeElement.columnMinWidth : undefined;
91
+ }
92
+ set columnMinWidth(value: string | number) {
93
+ if (this.nativeElement) {
94
+ this.nativeElement.columnMinWidth = value;
95
+ }
96
+ }
97
+
98
+ /** Sets or gets whether the reordering of columns is enabled.
99
+ * Property type: boolean
100
+ */
101
+ get columnReorder(): boolean {
102
+ return this.nativeElement ? this.nativeElement.columnReorder : undefined;
103
+ }
104
+ set columnReorder(value: boolean) {
105
+ if (this.nativeElement) {
106
+ this.nativeElement.columnReorder = value;
107
+ }
108
+ }
109
+
110
+ /** Sets or gets whether the resizing of columns is enabled. Note: column sizes continue to adhere to the behavior of the standard HTML table element's table-layout: fixed, upon which smart-table is based.
111
+ * Property type: boolean
112
+ */
113
+ get columnResize(): boolean {
114
+ return this.nativeElement ? this.nativeElement.columnResize : undefined;
115
+ }
116
+ set columnResize(value: boolean) {
117
+ if (this.nativeElement) {
118
+ this.nativeElement.columnResize = value;
119
+ }
120
+ }
121
+
122
+ /** This property affects the table sizing, when the columnSizeMode is 'default'. When 'columnResizeNormalize' is false, the Table will add an additional TH element, if all table columns have the 'width' property set. This is done in order to maintain your width settings. Otherwise, when the property is set to true, the Table will auto-fill the remaining space similar to the layout of standard HTML Tables.
123
+ * Property type: boolean
124
+ */
125
+ get columnResizeNormalize(): boolean {
126
+ return this.nativeElement ? this.nativeElement.columnResizeNormalize : undefined;
127
+ }
128
+ set columnResizeNormalize(value: boolean) {
129
+ if (this.nativeElement) {
130
+ this.nativeElement.columnResizeNormalize = value;
131
+ }
132
+ }
133
+
134
+ /** Sets or gets whether when resizing a column, a feedback showing the new column width in px will be displayed.
135
+ * Property type: boolean
136
+ */
137
+ get columnResizeFeedback(): boolean {
138
+ return this.nativeElement ? this.nativeElement.columnResizeFeedback : undefined;
139
+ }
140
+ set columnResizeFeedback(value: boolean) {
141
+ if (this.nativeElement) {
142
+ this.nativeElement.columnResizeFeedback = value;
143
+ }
144
+ }
145
+
146
+ /** Describes the columns properties.
147
+ * Property type: TableColumn[]
148
+ */
149
+ get columns(): TableColumn[] {
150
+ return this.nativeElement ? this.nativeElement.columns : undefined;
151
+ }
152
+ set columns(value: TableColumn[]) {
153
+ if (this.nativeElement) {
154
+ this.nativeElement.columns = value;
155
+ }
156
+ }
157
+
158
+ /** Sets or gets details about conditional formatting to be applied to the Table's cells.
159
+ * Property type: TableConditionalFormatting[]
160
+ */
161
+ get conditionalFormatting(): TableConditionalFormatting[] {
162
+ return this.nativeElement ? this.nativeElement.conditionalFormatting : undefined;
163
+ }
164
+ set conditionalFormatting(value: TableConditionalFormatting[]) {
165
+ if (this.nativeElement) {
166
+ this.nativeElement.conditionalFormatting = value;
167
+ }
168
+ }
169
+
170
+ /** Sets or gets the column menu. When you set this property to true, each column will have a column menu. From the column menu, you will be able to sort, filter, show or hide columns.
171
+ * Property type: boolean
172
+ */
173
+ get columnMenu(): boolean {
174
+ return this.nativeElement ? this.nativeElement.columnMenu : undefined;
175
+ }
176
+ set columnMenu(value: boolean) {
177
+ if (this.nativeElement) {
178
+ this.nativeElement.columnMenu = value;
179
+ }
180
+ }
181
+
182
+ /** Sets or gets the column sizing behavior. In 'auto' mode Columns are automatically sized based on their content and the value of the columnMinWidth property, unless there is not enough space in the Table, in which case ellipses are shown. User-set static column width is still respected. In 'default' mode Columns are sized according to the rules of the standard HTML table element's table-layout: fixed. Custom width can also be applied to columns in this case by setting the column width property.
183
+ * Property type: TableColumnSizeMode | string
184
+ */
185
+ get columnSizeMode(): TableColumnSizeMode | string {
186
+ return this.nativeElement ? this.nativeElement.columnSizeMode : undefined;
187
+ }
188
+ set columnSizeMode(value: TableColumnSizeMode | string) {
189
+ if (this.nativeElement) {
190
+ this.nativeElement.columnSizeMode = value;
191
+ }
192
+ }
193
+
194
+ /** Sets or gets whether the "Conditional Formatting" button appears in the Table's header (toolbar). Clicking this button opens a dialog with formatting options.
195
+ * Property type: boolean
196
+ */
197
+ get conditionalFormattingButton(): boolean {
198
+ return this.nativeElement ? this.nativeElement.conditionalFormattingButton : undefined;
199
+ }
200
+ set conditionalFormattingButton(value: boolean) {
201
+ if (this.nativeElement) {
202
+ this.nativeElement.conditionalFormattingButton = value;
203
+ }
204
+ }
205
+
206
+ /** This property determines the time in milliseconds after which the Table data is updated, when you vertically scroll.
207
+ * Property type: number
208
+ */
209
+ get deferredScrollDelay(): number {
210
+ return this.nativeElement ? this.nativeElement.deferredScrollDelay : undefined;
211
+ }
212
+ set deferredScrollDelay(value: number) {
213
+ if (this.nativeElement) {
214
+ this.nativeElement.deferredScrollDelay = value;
215
+ }
216
+ }
217
+
218
+ /** When binding the dataSource property directly to an array (as opposed to an instance of JQX.DataAdapter), sets or gets the name of the data field in the source array to bind row ids to.
219
+ * Property type: string
220
+ */
221
+ get dataRowId(): string {
222
+ return this.nativeElement ? this.nativeElement.dataRowId : undefined;
223
+ }
224
+ set dataRowId(value: string) {
225
+ if (this.nativeElement) {
226
+ this.nativeElement.dataRowId = value;
227
+ }
228
+ }
229
+
230
+ /** Determines the data source of the table component. The data source of the Table can be a regular Array or a DataAdapter instance. You can read more about the dataAdapter here - https://www.htmlelements.com/docs/data-adapter/.
231
+ * Property type: any
232
+ */
233
+ get dataSource(): any {
234
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
235
+ }
236
+ set dataSource(value: any) {
237
+ if (this.nativeElement) {
238
+ this.nativeElement.dataSource = value;
239
+ }
240
+ }
241
+
242
+ /** Sets the grid's data source settings when the dataSource property is set to an Array or URL.
243
+ * Property type: TableDataSourceSettings
244
+ */
245
+ get dataSourceSettings(): TableDataSourceSettings {
246
+ return this.nativeElement ? this.nativeElement.dataSourceSettings : undefined;
247
+ }
248
+ set dataSourceSettings(value: TableDataSourceSettings) {
249
+ if (this.nativeElement) {
250
+ this.nativeElement.dataSourceSettings = value;
251
+ }
252
+ }
253
+
254
+ /** Disables the interaction with the element.
255
+ * Property type: { (record: any): void }
256
+ */
257
+ get dataTransform(): { (record: any): void } {
258
+ return this.nativeElement ? this.nativeElement.dataTransform : undefined;
259
+ }
260
+ set dataTransform(value: { (record: any): void }) {
261
+ if (this.nativeElement) {
262
+ this.nativeElement.dataTransform = value;
263
+ }
264
+ }
265
+
266
+ /** Sets or gets whether the Table can be edited.
267
+ * Property type: boolean
268
+ */
269
+ get disabled(): boolean {
270
+ return this.nativeElement ? this.nativeElement.disabled : undefined;
271
+ }
272
+ set disabled(value: boolean) {
273
+ if (this.nativeElement) {
274
+ this.nativeElement.disabled = value;
275
+ }
276
+ }
277
+
278
+ /** Sets or gets the edit mode.
279
+ * Property type: boolean
280
+ */
281
+ get editing(): boolean {
282
+ return this.nativeElement ? this.nativeElement.editing : undefined;
283
+ }
284
+ set editing(value: boolean) {
285
+ if (this.nativeElement) {
286
+ this.nativeElement.editing = value;
287
+ }
288
+ }
289
+
290
+ /** Sets or gets whether Row hierarchies are expanded by default, when created. Use this property when you want your groups to be expanded by default, when the Table is grouped or when you use the Table in tree mode.
291
+ * Property type: TableEditMode | string
292
+ */
293
+ get editMode(): TableEditMode | string {
294
+ return this.nativeElement ? this.nativeElement.editMode : undefined;
295
+ }
296
+ set editMode(value: TableEditMode | string) {
297
+ if (this.nativeElement) {
298
+ this.nativeElement.editMode = value;
299
+ }
300
+ }
301
+
302
+ /** Sets or gets whether the Table can be filtered. By default, the Table can be filtered by all string and numeric columns through a filter input in the header.
303
+ * Property type: boolean
304
+ */
305
+ get expandHierarchy(): boolean {
306
+ return this.nativeElement ? this.nativeElement.expandHierarchy : undefined;
307
+ }
308
+ set expandHierarchy(value: boolean) {
309
+ if (this.nativeElement) {
310
+ this.nativeElement.expandHierarchy = value;
311
+ }
312
+ }
313
+
314
+ /** Sets or gets whether the Table can be filtered via a filter row.
315
+ * Property type: boolean
316
+ */
317
+ get filtering(): boolean {
318
+ return this.nativeElement ? this.nativeElement.filtering : undefined;
319
+ }
320
+ set filtering(value: boolean) {
321
+ if (this.nativeElement) {
322
+ this.nativeElement.filtering = value;
323
+ }
324
+ }
325
+
326
+ /** Sets or gets the Table's filter operator. It determines whether 'and' or 'or' is used when applying column filters - cellvalue1 && cellvalue2 vs cellvalue1 || cellvalue2
327
+ * Property type: boolean
328
+ */
329
+ get filterRow(): boolean {
330
+ return this.nativeElement ? this.nativeElement.filterRow : undefined;
331
+ }
332
+ set filterRow(value: boolean) {
333
+ if (this.nativeElement) {
334
+ this.nativeElement.filterRow = value;
335
+ }
336
+ }
337
+
338
+ /** Sets or gets the id of an HTML template element to be applied as a custom filter template.
339
+ * Property type: boolean
340
+ */
341
+ get filterOperator(): boolean {
342
+ return this.nativeElement ? this.nativeElement.filterOperator : undefined;
343
+ }
344
+ set filterOperator(value: boolean) {
345
+ if (this.nativeElement) {
346
+ this.nativeElement.filterOperator = value;
347
+ }
348
+ }
349
+
350
+ /** Sets or gets the id of an HTML template element to be applied as footer row(s).
351
+ * Property type: string
352
+ */
353
+ get filterTemplate(): string {
354
+ return this.nativeElement ? this.nativeElement.filterTemplate : undefined;
355
+ }
356
+ set filterTemplate(value: string) {
357
+ if (this.nativeElement) {
358
+ this.nativeElement.filterTemplate = value;
359
+ }
360
+ }
361
+
362
+ /** Sets or gets whether Excel-like formulas can be passed as cell values. Formulas are always preceded by the = sign and are re-evaluated when cell values are changed. This feature depends on the third-party free plug-in formula-parser (the file formula-parser.min.js has to be referenced).
363
+ * Property type: string
364
+ */
365
+ get footerRow(): string {
366
+ return this.nativeElement ? this.nativeElement.footerRow : undefined;
367
+ }
368
+ set footerRow(value: string) {
369
+ if (this.nativeElement) {
370
+ this.nativeElement.footerRow = value;
371
+ }
372
+ }
373
+
374
+ /** Sets or gets whether the Table's footer is sticky/frozen.
375
+ * Property type: boolean
376
+ */
377
+ get formulas(): boolean {
378
+ return this.nativeElement ? this.nativeElement.formulas : undefined;
379
+ }
380
+ set formulas(value: boolean) {
381
+ if (this.nativeElement) {
382
+ this.nativeElement.formulas = value;
383
+ }
384
+ }
385
+
386
+ /** Sets or gets whether the Table's column header is sticky/frozen.
387
+ * Property type: boolean
388
+ */
389
+ get freezeFooter(): boolean {
390
+ return this.nativeElement ? this.nativeElement.freezeFooter : undefined;
391
+ }
392
+ set freezeFooter(value: boolean) {
393
+ if (this.nativeElement) {
394
+ this.nativeElement.freezeFooter = value;
395
+ }
396
+ }
397
+
398
+ /** Sets or gets whether grouping the Table is enabled.
399
+ * Property type: boolean
400
+ */
401
+ get freezeHeader(): boolean {
402
+ return this.nativeElement ? this.nativeElement.freezeHeader : undefined;
403
+ }
404
+ set freezeHeader(value: boolean) {
405
+ if (this.nativeElement) {
406
+ this.nativeElement.freezeHeader = value;
407
+ }
408
+ }
409
+
410
+ /** Allows to customize the header of the element. The property accepts the id of an HTMLElement, HTMLTemplateElement, function or a string that will be parsed as HTML. When set to a function it contains one argument - the header element of the Table.
411
+ * Property type: boolean
412
+ */
413
+ get grouping(): boolean {
414
+ return this.nativeElement ? this.nativeElement.grouping : undefined;
415
+ }
416
+ set grouping(value: boolean) {
417
+ if (this.nativeElement) {
418
+ this.nativeElement.grouping = value;
419
+ }
420
+ }
421
+
422
+ /** Sets or gets whether navigation with the keyboard is enabled in the Table.
423
+ * Property type: { (settings: { value: any, row: string | number, column: string, template?: any }): void }
424
+ */
425
+ get groupFormatFunction(): { (settings: { value: any, row: string | number, column: string, template?: any }): void } {
426
+ return this.nativeElement ? this.nativeElement.groupFormatFunction : undefined;
427
+ }
428
+ set groupFormatFunction(value: { (settings: { value: any, row: string | number, column: string, template?: any }): void }) {
429
+ if (this.nativeElement) {
430
+ this.nativeElement.groupFormatFunction = value;
431
+ }
432
+ }
433
+
434
+ /** Sets or gets whether the checkboxes are displayed in the selection column.
435
+ * Property type: string | HTMLElement | Function
436
+ */
437
+ get headerRow(): string | HTMLElement | Function {
438
+ return this.nativeElement ? this.nativeElement.headerRow : undefined;
439
+ }
440
+ set headerRow(value: string | HTMLElement | Function) {
441
+ if (this.nativeElement) {
442
+ this.nativeElement.headerRow = value;
443
+ }
444
+ }
445
+
446
+ /** Sets or gets the behavior when loading column settings either via autoLoadState or loadState. Applicable only when stateSettings contains 'columns'.
447
+ * Property type: boolean
448
+ */
449
+ get keyboardNavigation(): boolean {
450
+ return this.nativeElement ? this.nativeElement.keyboardNavigation : undefined;
451
+ }
452
+ set keyboardNavigation(value: boolean) {
453
+ if (this.nativeElement) {
454
+ this.nativeElement.keyboardNavigation = value;
455
+ }
456
+ }
457
+
458
+ /** Sets or gets the language. Used in conjunction with the property messages.
459
+ * Property type: boolean
460
+ */
461
+ get hideSelectionColumn(): boolean {
462
+ return this.nativeElement ? this.nativeElement.hideSelectionColumn : undefined;
463
+ }
464
+ set hideSelectionColumn(value: boolean) {
465
+ if (this.nativeElement) {
466
+ this.nativeElement.hideSelectionColumn = value;
467
+ }
468
+ }
469
+
470
+ /** Sets or gets an object specifying strings used in the element that can be localized. Used in conjunction with the property locale.
471
+ * Property type: TableLoadColumnStateBehavior | string
472
+ */
473
+ get loadColumnStateBehavior(): TableLoadColumnStateBehavior | string {
474
+ return this.nativeElement ? this.nativeElement.loadColumnStateBehavior : undefined;
475
+ }
476
+ set loadColumnStateBehavior(value: TableLoadColumnStateBehavior | string) {
477
+ if (this.nativeElement) {
478
+ this.nativeElement.loadColumnStateBehavior = value;
479
+ }
480
+ }
481
+
482
+ /** Sets or gets the page size (when paging is enabled).
483
+ * Property type: string
484
+ */
485
+ get locale(): string {
486
+ return this.nativeElement ? this.nativeElement.locale : undefined;
487
+ }
488
+ set locale(value: string) {
489
+ if (this.nativeElement) {
490
+ this.nativeElement.locale = value;
491
+ }
492
+ }
493
+
494
+ /** Sets or gets the current (zero-based) page index (when paging is enabled).
495
+ * Property type: any
496
+ */
497
+ get messages(): any {
498
+ return this.nativeElement ? this.nativeElement.messages : undefined;
499
+ }
500
+ set messages(value: any) {
501
+ if (this.nativeElement) {
502
+ this.nativeElement.messages = value;
503
+ }
504
+ }
505
+
506
+ /** Sets or gets whether paging is enabled.
507
+ * Property type: { (data: any, dataField: string, value: any, cell: HTMLTableCellElement): void }
508
+ */
509
+ get onCellRender(): { (data: any, dataField: string, value: any, cell: HTMLTableCellElement): void } {
510
+ return this.nativeElement ? this.nativeElement.onCellRender : undefined;
511
+ }
512
+ set onCellRender(value: { (data: any, dataField: string, value: any, cell: HTMLTableCellElement): void }) {
513
+ if (this.nativeElement) {
514
+ this.nativeElement.onCellRender = value;
515
+ }
516
+ }
517
+
518
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
519
+ * Property type: { (dataField: string, headerCell: HTMLTableCellElement): void }
520
+ */
521
+ get onColumnRender(): { (dataField: string, headerCell: HTMLTableCellElement): void } {
522
+ return this.nativeElement ? this.nativeElement.onColumnRender : undefined;
523
+ }
524
+ set onColumnRender(value: { (dataField: string, headerCell: HTMLTableCellElement): void }) {
525
+ if (this.nativeElement) {
526
+ this.nativeElement.onColumnRender = value;
527
+ }
528
+ }
529
+
530
+ /** Sets or gets a string template to be applied as row detail template. Each cell value in the master row can be placed in the detail row by specifying the cell's data field in double curly brackets (e.g. {{price}}. The details can then be displayed by expanding the row by clicking it.
531
+ * Property type: { (): void }
532
+ */
533
+ get onInit(): { (): void } {
534
+ return this.nativeElement ? this.nativeElement.onInit : undefined;
535
+ }
536
+ set onInit(value: { (): void }) {
537
+ if (this.nativeElement) {
538
+ this.nativeElement.onInit = value;
539
+ }
540
+ }
541
+
542
+ /** Sets or gets an array of the Table's selected row's ids.
543
+ * Property type: { (): void }
544
+ */
545
+ get onLoad(): { (): void } {
546
+ return this.nativeElement ? this.nativeElement.onLoad : undefined;
547
+ }
548
+ set onLoad(value: { (): void }) {
549
+ if (this.nativeElement) {
550
+ this.nativeElement.onLoad = value;
551
+ }
552
+ }
553
+
554
+ /** Sets or gets whether row selection (via checkboxes) is enabled.
555
+ * Property type: { (): void }
556
+ */
557
+ get onUpdateComplete(): { (): void } {
558
+ return this.nativeElement ? this.nativeElement.onUpdateComplete : undefined;
559
+ }
560
+ set onUpdateComplete(value: { (): void }) {
561
+ if (this.nativeElement) {
562
+ this.nativeElement.onUpdateComplete = value;
563
+ }
564
+ }
565
+
566
+ /** Sets or gets the selection mode. Only applicable when selection is enabled.
567
+ * Property type: TablePageSize | string
568
+ */
569
+ get pageSize(): TablePageSize | string {
570
+ return this.nativeElement ? this.nativeElement.pageSize : undefined;
571
+ }
572
+ set pageSize(value: TablePageSize | string) {
573
+ if (this.nativeElement) {
574
+ this.nativeElement.pageSize = value;
575
+ }
576
+ }
577
+
578
+ /** Sets or gets whether row selection (via checkboxes) is hierarchical. When a parent row is selected, all sub rows are selected, too.
579
+ * Property type: number
580
+ */
581
+ get pageIndex(): number {
582
+ return this.nativeElement ? this.nativeElement.pageIndex : undefined;
583
+ }
584
+ set pageIndex(value: number) {
585
+ if (this.nativeElement) {
586
+ this.nativeElement.pageIndex = value;
587
+ }
588
+ }
589
+
590
+ /** Determines the sorting mode of the Table.
591
+ * Property type: boolean
592
+ */
593
+ get paging(): boolean {
594
+ return this.nativeElement ? this.nativeElement.paging : undefined;
595
+ }
596
+ set paging(value: boolean) {
597
+ if (this.nativeElement) {
598
+ this.nativeElement.paging = value;
599
+ }
600
+ }
601
+
602
+ /** Sets or gets what settings of the Table's state can be saved (by autoSaveState or saveState) or loaded (by autoLoadState or loadState).
603
+ * Property type: boolean
604
+ */
605
+ get rightToLeft(): boolean {
606
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
607
+ }
608
+ set rightToLeft(value: boolean) {
609
+ if (this.nativeElement) {
610
+ this.nativeElement.rightToLeft = value;
611
+ }
612
+ }
613
+
614
+ /** Determines the theme. Theme defines the look of the element
615
+ * Property type: string
616
+ */
617
+ get rowDetailTemplate(): string {
618
+ return this.nativeElement ? this.nativeElement.rowDetailTemplate : undefined;
619
+ }
620
+ set rowDetailTemplate(value: string) {
621
+ if (this.nativeElement) {
622
+ this.nativeElement.rowDetailTemplate = value;
623
+ }
624
+ }
625
+
626
+ /** Sets or gets whether when hovering a cell with truncated content, a tooltip with the full content will be shown.
627
+ * Property type: any[]
628
+ */
629
+ get selected(): any[] {
630
+ return this.nativeElement ? this.nativeElement.selected : undefined;
631
+ }
632
+ set selected(value: any[]) {
633
+ if (this.nativeElement) {
634
+ this.nativeElement.selected = value;
635
+ }
636
+ }
637
+
638
+ /** Enables or disables HTML virtualization. This functionality allows for only visible rows to be rendered, resulting in an increased Table performance.
639
+ * Property type: boolean
640
+ */
641
+ get selection(): boolean {
642
+ return this.nativeElement ? this.nativeElement.selection : undefined;
643
+ }
644
+ set selection(value: boolean) {
645
+ if (this.nativeElement) {
646
+ this.nativeElement.selection = value;
647
+ }
648
+ }
649
+
650
+ /** undefined
651
+ * Property type: TableSelectionMode | string
652
+ */
653
+ get selectionMode(): TableSelectionMode | string {
654
+ return this.nativeElement ? this.nativeElement.selectionMode : undefined;
655
+ }
656
+ set selectionMode(value: TableSelectionMode | string) {
657
+ if (this.nativeElement) {
658
+ this.nativeElement.selectionMode = value;
659
+ }
660
+ }
661
+
662
+ /** undefined
663
+ * Property type: boolean
664
+ */
665
+ get selectionByHierarchy(): boolean {
666
+ return this.nativeElement ? this.nativeElement.selectionByHierarchy : undefined;
667
+ }
668
+ set selectionByHierarchy(value: boolean) {
669
+ if (this.nativeElement) {
670
+ this.nativeElement.selectionByHierarchy = value;
671
+ }
672
+ }
673
+
674
+ /** undefined
675
+ * Property type: { (dataSource: any, sortColumns: string[], directions: string[], defaultCompareFunctions: { (firstRecord: any, secondRecord: any): number }[]): void }
676
+ */
677
+ get sort(): { (dataSource: any, sortColumns: string[], directions: string[], defaultCompareFunctions: { (firstRecord: any, secondRecord: any): number }[]): void } {
678
+ return this.nativeElement ? this.nativeElement.sort : undefined;
679
+ }
680
+ set sort(value: { (dataSource: any, sortColumns: string[], directions: string[], defaultCompareFunctions: { (firstRecord: any, secondRecord: any): number }[]): void }) {
681
+ if (this.nativeElement) {
682
+ this.nativeElement.sort = value;
683
+ }
684
+ }
685
+
686
+ /** undefined
687
+ * Property type: TableSortMode | string
688
+ */
689
+ get sortMode(): TableSortMode | string {
690
+ return this.nativeElement ? this.nativeElement.sortMode : undefined;
691
+ }
692
+ set sortMode(value: TableSortMode | string) {
693
+ if (this.nativeElement) {
694
+ this.nativeElement.sortMode = value;
695
+ }
696
+ }
697
+
698
+ /** undefined
699
+ * Property type: string[]
700
+ */
701
+ get stateSettings(): string[] {
702
+ return this.nativeElement ? this.nativeElement.stateSettings : undefined;
703
+ }
704
+ set stateSettings(value: string[]) {
705
+ if (this.nativeElement) {
706
+ this.nativeElement.stateSettings = value;
707
+ }
708
+ }
709
+
710
+ /** undefined
711
+ * Property type: string
712
+ */
713
+ get theme(): string {
714
+ return this.nativeElement ? this.nativeElement.theme : undefined;
715
+ }
716
+ set theme(value: string) {
717
+ if (this.nativeElement) {
718
+ this.nativeElement.theme = value;
719
+ }
720
+ }
721
+
722
+ /** undefined
723
+ * Property type: boolean
724
+ */
725
+ get tooltip(): boolean {
726
+ return this.nativeElement ? this.nativeElement.tooltip : undefined;
727
+ }
728
+ set tooltip(value: boolean) {
729
+ if (this.nativeElement) {
730
+ this.nativeElement.tooltip = value;
731
+ }
732
+ }
733
+
734
+ /** undefined
735
+ * Property type: boolean
736
+ */
737
+ get virtualization(): boolean {
738
+ return this.nativeElement ? this.nativeElement.virtualization : undefined;
739
+ }
740
+ set virtualization(value: boolean) {
741
+ if (this.nativeElement) {
742
+ this.nativeElement.virtualization = value;
743
+ }
744
+ }
745
+
746
+
747
+ // Gets the properties of the React component.
748
+ get properties(): string[] {
749
+ return ["autoLoadState","autoSaveState","columnGroups","columnMinWidth","columnReorder","columnResize","columnResizeNormalize","columnResizeFeedback","columns","conditionalFormatting","columnMenu","columnSizeMode","conditionalFormattingButton","deferredScrollDelay","dataRowId","dataSource","dataSourceSettings","dataTransform","disabled","editing","editMode","expandHierarchy","filtering","filterRow","filterOperator","filterTemplate","footerRow","formulas","freezeFooter","freezeHeader","grouping","groupFormatFunction","headerRow","keyboardNavigation","hideSelectionColumn","loadColumnStateBehavior","locale","messages","onCellRender","onColumnRender","onInit","onLoad","onUpdateComplete","pageSize","pageIndex","paging","rightToLeft","rowDetailTemplate","selected","selection","selectionMode","selectionByHierarchy","sort","sortMode","stateSettings","theme","tooltip","virtualization"];
750
+ }
751
+ /** This event is triggered when a cell edit operation has been initiated.
752
+ * @param event. The custom event. Custom event was created with: event.detail( id, dataField, row, value)
753
+ * id - The id of the row.
754
+ * dataField - The data field of the cell's column.
755
+ * row - The data of the cell's row.
756
+ * value - The data value of the cell.
757
+ */
758
+ onCellBeginEdit?: ((event?: Event) => void) | undefined
759
+ /** This event is triggered when a cell has been clicked.
760
+ * @param event. The custom event. Custom event was created with: event.detail( id, dataField, row, value, originalEvent)
761
+ * id - The cell's row id.
762
+ * dataField - The data field of the cell's column.
763
+ * row - The data of the cell's row.
764
+ * value - The data value of the cell.
765
+ * originalEvent - The 'click' event object.
766
+ */
767
+ onCellClick?: ((event?: Event) => void) | undefined
768
+ /** This event is triggered when a cell has been edited.
769
+ * @param event. The custom event. Custom event was created with: event.detail( id, dataField, row, value)
770
+ * id - The id of the row.
771
+ * dataField - The data field of the cell's column.
772
+ * row - The new data of the cell's row.
773
+ * value - The data value of the cell.
774
+ */
775
+ onCellEndEdit?: ((event?: Event) => void) | undefined
776
+ /** This event is triggered when the selection is changed. Within the event handler you can get the selection by using the 'getSelection' method.
777
+ * @param event. The custom event. Custom event was created with: event.detail( type)
778
+ * type - The type of action that initiated the selection change. Possible types: 'programmatic', 'interaction', 'remove'.
779
+ */
780
+ onChange?: ((event?: Event) => void) | undefined
781
+ /** This event is triggered when a row has been collapsed.
782
+ * @param event. The custom event. Custom event was created with: event.detail( id, record)
783
+ * id - The id of the collapsed row.
784
+ * record - The data of the collapsed row.
785
+ */
786
+ onCollapse?: ((event?: Event) => void) | undefined
787
+ /** This event is triggered when a row has been expanded.
788
+ * @param event. The custom event. Custom event was created with: event.detail( id, record)
789
+ * id - The id of the expanded row.
790
+ * record - The (aggregated) data of the expanded row.
791
+ */
792
+ onExpand?: ((event?: Event) => void) | undefined
793
+ /** This event is triggered when a column header cell has been clicked.
794
+ * @param event. The custom event. Custom event was created with: event.detail( dataField)
795
+ * dataField - The data field of the cell's column.
796
+ */
797
+ onColumnClick?: ((event?: Event) => void) | undefined
798
+ /** This event is triggered when a column menu is closed.
799
+ * @param event. The custom event. Custom event was created with: event.detail( dataField)
800
+ * dataField - The data field of the column.
801
+ */
802
+ onCloseColumnMenu?: ((event?: Event) => void) | undefined
803
+ /** This event is triggered when a column has been resized via dragging or double-click.
804
+ * @param event. The custom event. Custom event was created with: event.detail( dataField, headerCellElement, width)
805
+ * dataField - The data field of the column.
806
+ * headerCellElement - The column's header cell HTML element.
807
+ * width - The new width of the column.
808
+ */
809
+ onColumnResize?: ((event?: Event) => void) | undefined
810
+ /** This event is triggered when a filtering-related action is made.
811
+ * @param event. The custom event. Custom event was created with: event.detail( action, filters)
812
+ * action - The filtering action. Possible actions: 'add', 'remove'.
813
+ * filters - The added filters. Only when action is 'add'.
814
+ */
815
+ onFilter?: ((event?: Event) => void) | undefined
816
+ /** This event is triggered when a grouping-related action is made.
817
+ * @param event. The custom event. Custom event was created with: event.detail( action, dataField, label, path)
818
+ * action - The grouping action. Possible actions: 'add', 'collapse', 'expand', 'remove'.
819
+ * dataField - The data field of the column whose grouping is modified.
820
+ * label - The label of the group (only when collapsing/expanding).
821
+ * path - The group's path (only when collapsing/expanding). The path includes the path to the expanded/collapsed group starting from the root group. The indexes are joined with '.'. This parameter is available when the 'action' is 'expand' or 'collapse'.
822
+ */
823
+ onGroup?: ((event?: Event) => void) | undefined
824
+ /** This event is triggered when a column menu is opened.
825
+ * @param event. The custom event. Custom event was created with: event.detail( dataField)
826
+ * dataField - The data field of the column.
827
+ */
828
+ onOpenColumnMenu?: ((event?: Event) => void) | undefined
829
+ /** This event is triggered when a paging-related action is made.
830
+ * @param event. The custom event. Custom event was created with: event.detail( action)
831
+ * action - The paging action. Possible actions: 'pageIndexChange', 'pageSizeChange'.
832
+ */
833
+ onPage?: ((event?: Event) => void) | undefined
834
+ /** This event is triggered when a row edit operation has been initiated (only when editMode is 'row').
835
+ * @param event. The custom event. Custom event was created with: event.detail( id, row)
836
+ * id - The id of the row.
837
+ * row - The data of the row.
838
+ */
839
+ onRowBeginEdit?: ((event?: Event) => void) | undefined
840
+ /** This event is triggered when a row has been edited (only when editMode is 'row').
841
+ * @param event. The custom event. Custom event was created with: event.detail( id, row)
842
+ * id - The id of the row.
843
+ * row - The new data of the row.
844
+ */
845
+ onRowEndEdit?: ((event?: Event) => void) | undefined
846
+ /** This event is triggered when a column header cell has been clicked or sorting is applied programmatically using the Table API.
847
+ * @param event. The custom event. Custom event was created with: event.detail( columns, sortDataFields, sortOrders, sortDataTypes, type)
848
+ * columns - An array with information about the columns the Table has been sorted by.
849
+ * sortDataFields - An array with information about the data fields the Table has been sorted by.
850
+ * sortOrders - An array with information about the columns sort orders the Table has been sorted by.
851
+ * sortDataTypes - An array with information about the columns data types the Table has been sorted by.
852
+ * type - The type of action that initiated the data sort. Possible types: 'programmatic', 'interaction'
853
+ */
854
+ onSort?: ((event?: Event) => void) | undefined
855
+ /** This event occurs, when the React component is created.
856
+ * @param event. The custom event. */
857
+ onCreate?: ((event?: Event) => void) | undefined
858
+ /** This event occurs, when the React component is completely rendered.
859
+ * @param event. The custom event. */
860
+ onReady?: ((event?: Event) => void) | undefined
861
+
862
+ // Gets the events of the React component.
863
+ get eventListeners(): string[] {
864
+ return ["onCellBeginEdit","onCellClick","onCellEndEdit","onChange","onCollapse","onExpand","onColumnClick","onCloseColumnMenu","onColumnResize","onFilter","onGroup","onOpenColumnMenu","onPage","onRowBeginEdit","onRowEndEdit","onSort","onCreate","onReady"];
865
+ }
866
+ /** Adds a new row. When you invoke the method, pass a JSON object with the row's data.
867
+ * @param {any} data. JSON object with the new row's data. Sample JSON: {firstName: 'Peter', lastName: 'Fuller'}.
868
+ */
869
+ public addRow(data: any): void {
870
+ if (this.nativeElement.isRendered) {
871
+ this.nativeElement.addRow(data);
872
+ }
873
+ else
874
+ {
875
+ this.nativeElement.whenRendered(() => {
876
+ this.nativeElement.addRow(data);
877
+ });
878
+ }
879
+ }
880
+
881
+ /** Adds a filter to a specific column.
882
+ * @param {string} dataField. The column's data field.
883
+ * @param {any} filter. FilterGroup object or a Filter expression. Filter expression like: 'startsWith B'. Example 2: ['contains Andrew or contains Nancy'], Example 3: ['quantity', '&lt;= 3 and &gt;= 8']. 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'
884
+ */
885
+ public addFilter(dataField: string, filter: any): void {
886
+ if (this.nativeElement.isRendered) {
887
+ this.nativeElement.addFilter(dataField, filter);
888
+ }
889
+ else
890
+ {
891
+ this.nativeElement.whenRendered(() => {
892
+ this.nativeElement.addFilter(dataField, filter);
893
+ });
894
+ }
895
+ }
896
+
897
+ /** Groups by a column.
898
+ * @param {string} dataField. The column's data field.
899
+ */
900
+ public addGroup(dataField: string): void {
901
+ if (this.nativeElement.isRendered) {
902
+ this.nativeElement.addGroup(dataField);
903
+ }
904
+ else
905
+ {
906
+ this.nativeElement.whenRendered(() => {
907
+ this.nativeElement.addGroup(dataField);
908
+ });
909
+ }
910
+ }
911
+
912
+ /** Begins an edit operation.
913
+ * @param {string | number} row. The id of the row to edit.
914
+ * @param {string} dataField?. The dataField of the cell's column. May be omitted when <strong>editMode</strong> is <em>'row'</em>.
915
+ */
916
+ public beginEdit(row: string | number, dataField?: string): void {
917
+ if (this.nativeElement.isRendered) {
918
+ this.nativeElement.beginEdit(row, dataField);
919
+ }
920
+ else
921
+ {
922
+ this.nativeElement.whenRendered(() => {
923
+ this.nativeElement.beginEdit(row, dataField);
924
+ });
925
+ }
926
+ }
927
+
928
+ /** Begins an update operation. Suspends all table refreshes and renders.
929
+ */
930
+ public beginUpdate(): void {
931
+ if (this.nativeElement.isRendered) {
932
+ this.nativeElement.beginUpdate();
933
+ }
934
+ else
935
+ {
936
+ this.nativeElement.whenRendered(() => {
937
+ this.nativeElement.beginUpdate();
938
+ });
939
+ }
940
+ }
941
+
942
+ /** Ends the current edit operation and discards changes.
943
+ */
944
+ public cancelEdit(): void {
945
+ if (this.nativeElement.isRendered) {
946
+ this.nativeElement.cancelEdit();
947
+ }
948
+ else
949
+ {
950
+ this.nativeElement.whenRendered(() => {
951
+ this.nativeElement.cancelEdit();
952
+ });
953
+ }
954
+ }
955
+
956
+ /** Clears applied filters.
957
+ */
958
+ public clearFilters(): void {
959
+ if (this.nativeElement.isRendered) {
960
+ this.nativeElement.clearFilters();
961
+ }
962
+ else
963
+ {
964
+ this.nativeElement.whenRendered(() => {
965
+ this.nativeElement.clearFilters();
966
+ });
967
+ }
968
+ }
969
+
970
+ /** Clears grouping.
971
+ */
972
+ public clearGrouping(): void {
973
+ if (this.nativeElement.isRendered) {
974
+ this.nativeElement.clearGrouping();
975
+ }
976
+ else
977
+ {
978
+ this.nativeElement.whenRendered(() => {
979
+ this.nativeElement.clearGrouping();
980
+ });
981
+ }
982
+ }
983
+
984
+ /** Clears selection.
985
+ */
986
+ public clearSelection(): void {
987
+ if (this.nativeElement.isRendered) {
988
+ this.nativeElement.clearSelection();
989
+ }
990
+ else
991
+ {
992
+ this.nativeElement.whenRendered(() => {
993
+ this.nativeElement.clearSelection();
994
+ });
995
+ }
996
+ }
997
+
998
+ /** Clears the Table sorting.
999
+ */
1000
+ public clearSort(): void {
1001
+ if (this.nativeElement.isRendered) {
1002
+ this.nativeElement.clearSort();
1003
+ }
1004
+ else
1005
+ {
1006
+ this.nativeElement.whenRendered(() => {
1007
+ this.nativeElement.clearSort();
1008
+ });
1009
+ }
1010
+ }
1011
+
1012
+ /** Collapses all rows (in tree mode).
1013
+ */
1014
+ public collapseAllRows(): void {
1015
+ if (this.nativeElement.isRendered) {
1016
+ this.nativeElement.collapseAllRows();
1017
+ }
1018
+ else
1019
+ {
1020
+ this.nativeElement.whenRendered(() => {
1021
+ this.nativeElement.collapseAllRows();
1022
+ });
1023
+ }
1024
+ }
1025
+
1026
+ /** Collapses all groups (in tree mode).
1027
+ */
1028
+ public collapseAllGroups(): void {
1029
+ if (this.nativeElement.isRendered) {
1030
+ this.nativeElement.collapseAllGroups();
1031
+ }
1032
+ else
1033
+ {
1034
+ this.nativeElement.whenRendered(() => {
1035
+ this.nativeElement.collapseAllGroups();
1036
+ });
1037
+ }
1038
+ }
1039
+
1040
+ /** Collapses all row details. Rows that have details defined via the rowDetailTemplate will be collapsed.
1041
+ */
1042
+ public collapseAllRowDetails(): void {
1043
+ if (this.nativeElement.isRendered) {
1044
+ this.nativeElement.collapseAllRowDetails();
1045
+ }
1046
+ else
1047
+ {
1048
+ this.nativeElement.whenRendered(() => {
1049
+ this.nativeElement.collapseAllRowDetails();
1050
+ });
1051
+ }
1052
+ }
1053
+
1054
+ /** Collapses a group.
1055
+ * @param {string} index. The group's hierarchical index.
1056
+ */
1057
+ public collapseGroup(index: string): void {
1058
+ if (this.nativeElement.isRendered) {
1059
+ this.nativeElement.collapseGroup(index);
1060
+ }
1061
+ else
1062
+ {
1063
+ this.nativeElement.whenRendered(() => {
1064
+ this.nativeElement.collapseGroup(index);
1065
+ });
1066
+ }
1067
+ }
1068
+
1069
+ /** Collapses a row (in tree mode).
1070
+ * @param {string | number} rowId. The id of the row to collapse.
1071
+ */
1072
+ public collapseRow(rowId: string | number): void {
1073
+ if (this.nativeElement.isRendered) {
1074
+ this.nativeElement.collapseRow(rowId);
1075
+ }
1076
+ else
1077
+ {
1078
+ this.nativeElement.whenRendered(() => {
1079
+ this.nativeElement.collapseRow(rowId);
1080
+ });
1081
+ }
1082
+ }
1083
+
1084
+ /** Disables a selection of a row. When the 'selection' property is set to 'true', selection is enabled for all rows by default.
1085
+ * @param {string | number | (string | number)[]} rowId. The id of the row (or an array of row ids) to select.
1086
+ */
1087
+ public disableSelect(rowId: string | number | (string | number)[]): void {
1088
+ if (this.nativeElement.isRendered) {
1089
+ this.nativeElement.disableSelect(rowId);
1090
+ }
1091
+ else
1092
+ {
1093
+ this.nativeElement.whenRendered(() => {
1094
+ this.nativeElement.disableSelect(rowId);
1095
+ });
1096
+ }
1097
+ }
1098
+
1099
+ /** Enables a selection of a row, if it was previously disabled through a 'disableSelect' method call. When the 'selection' property is set to 'true', selection is enabled for all rows by default.
1100
+ * @param {string | number | (string | number)[]} rowId. The id of the row (or an array of row ids) to select.
1101
+ */
1102
+ public enableSelect(rowId: string | number | (string | number)[]): void {
1103
+ if (this.nativeElement.isRendered) {
1104
+ this.nativeElement.enableSelect(rowId);
1105
+ }
1106
+ else
1107
+ {
1108
+ this.nativeElement.whenRendered(() => {
1109
+ this.nativeElement.enableSelect(rowId);
1110
+ });
1111
+ }
1112
+ }
1113
+
1114
+ /** Ends the current edit operation and saves changes.
1115
+ */
1116
+ public endEdit(): void {
1117
+ if (this.nativeElement.isRendered) {
1118
+ this.nativeElement.endEdit();
1119
+ }
1120
+ else
1121
+ {
1122
+ this.nativeElement.whenRendered(() => {
1123
+ this.nativeElement.endEdit();
1124
+ });
1125
+ }
1126
+ }
1127
+
1128
+ /** Ends an update operation. Resumes all table refreshes and renders. Re-renders the Table.
1129
+ * @param {boolean} refresh?. Optionally you can pass 'false' in case you need to manually call the 'refresh' method. By default, the table is re-rendered.
1130
+ */
1131
+ public endUpdate(refresh?: boolean): void {
1132
+ if (this.nativeElement.isRendered) {
1133
+ this.nativeElement.endUpdate(refresh);
1134
+ }
1135
+ else
1136
+ {
1137
+ this.nativeElement.whenRendered(() => {
1138
+ this.nativeElement.endUpdate(refresh);
1139
+ });
1140
+ }
1141
+ }
1142
+
1143
+ /** Expands all rows (in tree mode).
1144
+ */
1145
+ public expandAllRows(): void {
1146
+ if (this.nativeElement.isRendered) {
1147
+ this.nativeElement.expandAllRows();
1148
+ }
1149
+ else
1150
+ {
1151
+ this.nativeElement.whenRendered(() => {
1152
+ this.nativeElement.expandAllRows();
1153
+ });
1154
+ }
1155
+ }
1156
+
1157
+ /** Expands all groups (in tree mode).
1158
+ */
1159
+ public expandAllGroups(): void {
1160
+ if (this.nativeElement.isRendered) {
1161
+ this.nativeElement.expandAllGroups();
1162
+ }
1163
+ else
1164
+ {
1165
+ this.nativeElement.whenRendered(() => {
1166
+ this.nativeElement.expandAllGroups();
1167
+ });
1168
+ }
1169
+ }
1170
+
1171
+ /** Expands all row details. Rows that have details defined via rowDetailTemplate will be expanded.
1172
+ */
1173
+ public expandAllRowDetails(): void {
1174
+ if (this.nativeElement.isRendered) {
1175
+ this.nativeElement.expandAllRowDetails();
1176
+ }
1177
+ else
1178
+ {
1179
+ this.nativeElement.whenRendered(() => {
1180
+ this.nativeElement.expandAllRowDetails();
1181
+ });
1182
+ }
1183
+ }
1184
+
1185
+ /** Expands a group.
1186
+ * @param {string} index. The group's hierarchical index.
1187
+ */
1188
+ public expandGroup(index: string): void {
1189
+ if (this.nativeElement.isRendered) {
1190
+ this.nativeElement.expandGroup(index);
1191
+ }
1192
+ else
1193
+ {
1194
+ this.nativeElement.whenRendered(() => {
1195
+ this.nativeElement.expandGroup(index);
1196
+ });
1197
+ }
1198
+ }
1199
+
1200
+ /** Expands a row (in tree mode).
1201
+ * @param {string | number} rowId. The id of the row to expand.
1202
+ */
1203
+ public expandRow(rowId: string | number): void {
1204
+ if (this.nativeElement.isRendered) {
1205
+ this.nativeElement.expandRow(rowId);
1206
+ }
1207
+ else
1208
+ {
1209
+ this.nativeElement.whenRendered(() => {
1210
+ this.nativeElement.expandRow(rowId);
1211
+ });
1212
+ }
1213
+ }
1214
+
1215
+ /** Exports the Table's data.
1216
+ * @param {string} dataFormat. The file format to export to. Supported formats: 'csv', 'html', 'json', 'pdf', 'tsv', 'xlsx', 'xml'.
1217
+ * @param {string} fileName?. The name of the file to export to
1218
+ * @param {boolean} exportFiltered?. If set to true, exports only filtered records
1219
+ * @param {Function} callback?. A callback function to pass the exported data to (if fileName is not provided)
1220
+ * @returns {any}
1221
+ */
1222
+ public exportData(dataFormat:string, fileName?:string, exportFiltered?:boolean, callback?:Function) : any {
1223
+ const result: any = this.nativeElement.exportData(dataFormat, fileName, exportFiltered, callback);
1224
+ return result;
1225
+ }
1226
+
1227
+ /** Returns an array of selected row ids.
1228
+ * @returns {(string | number)[]}
1229
+ */
1230
+ public getSelection() : any {
1231
+ const result: any = this.nativeElement.getSelection();
1232
+ return result;
1233
+ }
1234
+
1235
+ /** Returns the Table's state, containing information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns. It can then be stored or passed to the method loadState.
1236
+ * @returns {any}
1237
+ */
1238
+ public getState() : any {
1239
+ const result: any = this.nativeElement.getState();
1240
+ return result;
1241
+ }
1242
+
1243
+ /** Returns the value of a cell.
1244
+ * @param {string | number} row. The id of the cell's row.
1245
+ * @param {string} dataField. The dataField of the cell's column.
1246
+ * @returns {any}
1247
+ */
1248
+ public getValue(row:string | number, dataField:string) : any {
1249
+ const result: any = this.nativeElement.getValue(row, dataField);
1250
+ return result;
1251
+ }
1252
+
1253
+ /** Gets a column property.
1254
+ * @param {string} columnDataField. Column field name.
1255
+ * @param {string} propertyName. Column property name.
1256
+ * @returns {any}
1257
+ */
1258
+ public getColumnProperty(columnDataField:string, propertyName:string) : any {
1259
+ const result: any = this.nativeElement.getColumnProperty(columnDataField, propertyName);
1260
+ return result;
1261
+ }
1262
+
1263
+ /** Checks whether a group is expanded and returns true or false. false is returned when the group index is undefined, too.
1264
+ * @param {string} index. The group's hierarchical index.
1265
+ * @returns {boolean}
1266
+ */
1267
+ public isGroupExpanded(index:string) : any {
1268
+ const result: any = this.nativeElement.isGroupExpanded(index);
1269
+ return result;
1270
+ }
1271
+
1272
+ /** Loads the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is loaded, based on the value of the stateSettings property.
1273
+ * @param {any} state?. An object returned by one of the methods <strong>getState</strong> or <strong>saveState</strong>. If a state is not passed, the method tries to load the state from the browser's localStorage.
1274
+ */
1275
+ public loadState(state?: any): void {
1276
+ if (this.nativeElement.isRendered) {
1277
+ this.nativeElement.loadState(state);
1278
+ }
1279
+ else
1280
+ {
1281
+ this.nativeElement.whenRendered(() => {
1282
+ this.nativeElement.loadState(state);
1283
+ });
1284
+ }
1285
+ }
1286
+
1287
+ /** Navigates to a page.
1288
+ * @param {number} pageIndex. The zero-based page index to navigate to.
1289
+ */
1290
+ public navigateTo(pageIndex: number): void {
1291
+ if (this.nativeElement.isRendered) {
1292
+ this.nativeElement.navigateTo(pageIndex);
1293
+ }
1294
+ else
1295
+ {
1296
+ this.nativeElement.whenRendered(() => {
1297
+ this.nativeElement.navigateTo(pageIndex);
1298
+ });
1299
+ }
1300
+ }
1301
+
1302
+ /** Refreshes the table.
1303
+ */
1304
+ public refresh(): void {
1305
+ if (this.nativeElement.isRendered) {
1306
+ this.nativeElement.refresh();
1307
+ }
1308
+ else
1309
+ {
1310
+ this.nativeElement.whenRendered(() => {
1311
+ this.nativeElement.refresh();
1312
+ });
1313
+ }
1314
+ }
1315
+
1316
+ /** Removes filters applied to a specific column.
1317
+ * @param {string} dataField. The column's data field.
1318
+ */
1319
+ public removeFilter(dataField: string): void {
1320
+ if (this.nativeElement.isRendered) {
1321
+ this.nativeElement.removeFilter(dataField);
1322
+ }
1323
+ else
1324
+ {
1325
+ this.nativeElement.whenRendered(() => {
1326
+ this.nativeElement.removeFilter(dataField);
1327
+ });
1328
+ }
1329
+ }
1330
+
1331
+ /** Removes grouping by a column.
1332
+ * @param {string} dataField. The column's data field.
1333
+ */
1334
+ public removeGroup(dataField: string): void {
1335
+ if (this.nativeElement.isRendered) {
1336
+ this.nativeElement.removeGroup(dataField);
1337
+ }
1338
+ else
1339
+ {
1340
+ this.nativeElement.whenRendered(() => {
1341
+ this.nativeElement.removeGroup(dataField);
1342
+ });
1343
+ }
1344
+ }
1345
+
1346
+ /** Removes a row by its id.
1347
+ * @param {string | number} row. The id of the cell's row.
1348
+ */
1349
+ public removeRow(row: string | number): void {
1350
+ if (this.nativeElement.isRendered) {
1351
+ this.nativeElement.removeRow(row);
1352
+ }
1353
+ else
1354
+ {
1355
+ this.nativeElement.whenRendered(() => {
1356
+ this.nativeElement.removeRow(row);
1357
+ });
1358
+ }
1359
+ }
1360
+
1361
+ /** Saves the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is saved, based on the value of the stateSettings property.
1362
+ * @returns {any}
1363
+ */
1364
+ public saveState() : any {
1365
+ const result: any = this.nativeElement.saveState();
1366
+ return result;
1367
+ }
1368
+
1369
+ /** Selects one or more rows.
1370
+ * @param {string | number | (string | number)[]} rowId. The id of the row (or an array of row ids) to select.
1371
+ */
1372
+ public select(rowId: string | number | (string | number)[]): void {
1373
+ if (this.nativeElement.isRendered) {
1374
+ this.nativeElement.select(rowId);
1375
+ }
1376
+ else
1377
+ {
1378
+ this.nativeElement.whenRendered(() => {
1379
+ this.nativeElement.select(rowId);
1380
+ });
1381
+ }
1382
+ }
1383
+
1384
+ /** Sets the value of a cell.
1385
+ * @param {string | number} row. The id of the cell's row.
1386
+ * @param {string} dataField. The dataField of the cell's column.
1387
+ * @param {any} value. The new value of the cell.
1388
+ */
1389
+ public setValue(row: string | number, dataField: string, value: any): void {
1390
+ if (this.nativeElement.isRendered) {
1391
+ this.nativeElement.setValue(row, dataField, value);
1392
+ }
1393
+ else
1394
+ {
1395
+ this.nativeElement.whenRendered(() => {
1396
+ this.nativeElement.setValue(row, dataField, value);
1397
+ });
1398
+ }
1399
+ }
1400
+
1401
+ /** Sorts the Table by a column.
1402
+ * @param {string} columnDataField. Column field name.
1403
+ * @param {string} sortOrder?. Sort order. Possible values: 'asc' (ascending), 'desc' (descending), and null (removes sorting by column). If not provided, toggles the sorting.
1404
+ */
1405
+ public sortBy(columnDataField: string, sortOrder?: string): void {
1406
+ if (this.nativeElement.isRendered) {
1407
+ this.nativeElement.sortBy(columnDataField, sortOrder);
1408
+ }
1409
+ else
1410
+ {
1411
+ this.nativeElement.whenRendered(() => {
1412
+ this.nativeElement.sortBy(columnDataField, sortOrder);
1413
+ });
1414
+ }
1415
+ }
1416
+
1417
+ /** Sets a column property.
1418
+ * @param {string} columnDataField. Column field name.
1419
+ * @param {string} propertyName. Column property name.
1420
+ * @param {any} propertyValue. Property value.
1421
+ */
1422
+ public setColumnProperty(columnDataField: string, propertyName: string, propertyValue: any): void {
1423
+ if (this.nativeElement.isRendered) {
1424
+ this.nativeElement.setColumnProperty(columnDataField, propertyName, propertyValue);
1425
+ }
1426
+ else
1427
+ {
1428
+ this.nativeElement.whenRendered(() => {
1429
+ this.nativeElement.setColumnProperty(columnDataField, propertyName, propertyValue);
1430
+ });
1431
+ }
1432
+ }
1433
+
1434
+ /** Updates a table row. The method expects two parameters - row id and JSON object with the new row data.
1435
+ * @param {string | number} rowId. The id of the row.
1436
+ * @param {any} data. JSON object with the new row's data. Example: {firstName: 'Peter', lastName: 'Fuller'}.
1437
+ */
1438
+ public updateRow(rowId: string | number, data: any): void {
1439
+ if (this.nativeElement.isRendered) {
1440
+ this.nativeElement.updateRow(rowId, data);
1441
+ }
1442
+ else
1443
+ {
1444
+ this.nativeElement.whenRendered(() => {
1445
+ this.nativeElement.updateRow(rowId, data);
1446
+ });
1447
+ }
1448
+ }
1449
+
1450
+ /** Unselects one or more rows.
1451
+ * @param {string | number | (string | number)[]} rowId. The id of the row (or an array of row ids) to unselect.
1452
+ */
1453
+ public unselect(rowId: string | number | (string | number)[]): void {
1454
+ if (this.nativeElement.isRendered) {
1455
+ this.nativeElement.unselect(rowId);
1456
+ }
1457
+ else
1458
+ {
1459
+ this.nativeElement.whenRendered(() => {
1460
+ this.nativeElement.unselect(rowId);
1461
+ });
1462
+ }
1463
+ }
1464
+
1465
+
1466
+
1467
+ constructor(props: any) {
1468
+ super(props);
1469
+ this.componentRef = React.createRef();
1470
+ }
1471
+
1472
+ componentDidRender(initialize: boolean) {
1473
+ const that = this;
1474
+ const props: any = {};
1475
+ const events: any = {};
1476
+ let styles: any = null;
1477
+
1478
+ for(let prop in that.props) {
1479
+ if (prop === 'children') {
1480
+ continue;
1481
+ }
1482
+
1483
+ if (prop === 'style') {
1484
+ styles = that.props[prop];
1485
+ continue;
1486
+ }
1487
+
1488
+ if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
1489
+ events[prop] = that.props[prop];
1490
+ continue;
1491
+ }
1492
+
1493
+ props[prop] = that.props[prop];
1494
+ }
1495
+
1496
+ if (initialize) {
1497
+ that.nativeElement = this.componentRef.current;
1498
+ }
1499
+
1500
+ for(let prop in props) {
1501
+ if (prop === 'class' || prop === 'className') {
1502
+ const classNames = props[prop].trim().split(' ');
1503
+
1504
+ for(let className in classNames) {
1505
+ if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
1506
+ that.nativeElement.classList.add(classNames[className]);
1507
+ }
1508
+ }
1509
+
1510
+ continue;
1511
+ }
1512
+
1513
+ if (props[prop] !== that.nativeElement[prop]) {
1514
+ const normalizeProp = (str: string) => {
1515
+ return str.replace(/-([a-z])/g, function (g) {
1516
+ return g[1].toUpperCase();
1517
+ });
1518
+ }
1519
+
1520
+ if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
1521
+ that.nativeElement.setAttribute(prop, '');
1522
+ }
1523
+
1524
+ const normalizedProp = normalizeProp(prop);
1525
+
1526
+ that.nativeElement[normalizedProp] = props[prop];
1527
+ }
1528
+ }
1529
+
1530
+
1531
+ for(let eventName in events) {
1532
+ that[eventName] = events[eventName];
1533
+ that.nativeElement[eventName.toLowerCase()] = events[eventName];
1534
+ }
1535
+
1536
+ if (initialize) {
1537
+ Smart.Render();
1538
+
1539
+ if (that.onCreate) {
1540
+ that.onCreate();
1541
+ }
1542
+
1543
+ that.nativeElement.whenRendered(() => {
1544
+ if (that.onReady) {
1545
+ that.onReady();
1546
+ }
1547
+ });
1548
+ }
1549
+
1550
+ // setup styles.
1551
+
1552
+ if (styles) {
1553
+ for(let styleName in styles) {
1554
+ that.nativeElement.style[styleName] = styles[styleName];
1555
+ }
1556
+ }
1557
+ }
1558
+
1559
+ componentDidMount() {
1560
+ this.componentDidRender(true);
1561
+ }
1562
+
1563
+ componentDidUpdate() {
1564
+ this.componentDidRender(false);
1565
+ }
1566
+
1567
+ componentWillUnmount() {
1568
+ const that = this;
1569
+
1570
+ if (!that.nativeElement) {
1571
+ return;
1572
+ }
1573
+
1574
+ that.nativeElement.whenRenderedCallbacks = [];
1575
+
1576
+ for(let i = 0; i < that.eventListeners.length; i++){
1577
+ const eventName = that.eventListeners[i];
1578
+
1579
+ that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
1580
+ }
1581
+ }
1582
+
1583
+ render() {
1584
+ return (
1585
+ React.createElement("smart-table", { ref: this.componentRef }, this.props.children)
1586
+ )
1587
+ }
1588
+ }
1589
+
1590
+ export default Table;