smart-webcomponents 18.0.0 → 18.0.1

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