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,1277 @@
1
+ import React from "react";
2
+ import { ComboBoxProperties } from "./../../index";
3
+ import { AutoComplete, DropDownButtonPosition, DropDownOpenMode, DropDownPosition, ComboBoxEscKeyMode, FilterMode, HorizontalScrollBarVisibility, SearchMode, ListItemMeasureMode, VerticalAlignment, ResizeMode, SelectionDisplayMode, ListSelectionMode, VerticalScrollBarVisibility} from './../../index';
4
+ import { ListItemProperties } from './../../index';
5
+ import { ListItem } from './listitem';
6
+ import { ListItemsGroupProperties } from './../../index';
7
+ import { ListItemsGroup } from './listitemsgroup';
8
+ export { ComboBoxProperties } from "./../../index";
9
+ export { AutoComplete, DropDownButtonPosition, DropDownOpenMode, DropDownPosition, ComboBoxEscKeyMode, FilterMode, HorizontalScrollBarVisibility, SearchMode, ListItemMeasureMode, VerticalAlignment, ResizeMode, SelectionDisplayMode, ListSelectionMode, VerticalScrollBarVisibility} from './../../index';
10
+ export { ListItem } from './listitem';
11
+ export { ListItemProperties } from "./../../index";
12
+ export { ListItemsGroup } from './listitemsgroup';
13
+ export { ListItemsGroupProperties } from "./../../index";
14
+
15
+ interface IWindow { Smart: any; }
16
+ declare const window: IWindow;
17
+ let Smart: any;
18
+ if (typeof window !== "undefined") {
19
+ Smart = window.Smart;
20
+ }
21
+ export interface ComboBoxProps extends ComboBoxProperties {
22
+ className?: string;
23
+ style?: React.CSSProperties;
24
+
25
+ onChange?: ((event?: Event) => void) | undefined;
26
+ onClose?: ((event?: Event) => void) | undefined;
27
+ onClosing?: ((event?: Event) => void) | undefined;
28
+ onItemClick?: ((event?: Event) => void) | undefined;
29
+ onOpen?: ((event?: Event) => void) | undefined;
30
+ onOpening?: ((event?: Event) => void) | undefined;
31
+ onResizeStart?: ((event?: Event) => void) | undefined;
32
+ onResizeEnd?: ((event?: Event) => void) | undefined;
33
+ onScrollBottomReached?: ((event?: Event) => void) | undefined;
34
+ onScrollTopReached?: ((event?: Event) => void) | undefined;
35
+ onTokenClick?: ((event?: Event) => void) | undefined;
36
+ onCreate?: ((event?: Event) => void) | undefined;
37
+ onReady?: ((event?: Event) => void) | undefined;
38
+
39
+ }
40
+ /**
41
+ ComboBox is the alternate for the HTML select tag with editable option. It supports data binding, auto-complete, filtering, grouping, cascading and more.
42
+ */
43
+ export class ComboBox extends React.Component<React.HTMLAttributes<Element> & ComboBoxProps, any> {
44
+ private _id: string;
45
+ private nativeElement: any;
46
+ private componentRef: any;
47
+
48
+ // Gets the id of the React component.
49
+ get id() {
50
+ if (!this._id) {
51
+ this._id = 'ComboBox' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
52
+ }
53
+
54
+ return this._id;
55
+ }
56
+ /** Used only when dropDownOpenMode is set to 'auto'. Determines the delay before the opened drop down closes if the pointer is not over the element.
57
+ * Property type: number
58
+ */
59
+ get autoCloseDelay(): number {
60
+ return this.nativeElement ? this.nativeElement.autoCloseDelay : undefined;
61
+ }
62
+ set autoCloseDelay(value: number) {
63
+ if (this.nativeElement) {
64
+ this.nativeElement.autoCloseDelay = value;
65
+ }
66
+ }
67
+
68
+ /** Determines the autocomplete mode. Auto complete modes filter the items from the dataSource and show only those that match the input.
69
+ * Property type: AutoComplete | string
70
+ */
71
+ get autoComplete(): AutoComplete | string {
72
+ return this.nativeElement ? this.nativeElement.autoComplete : undefined;
73
+ }
74
+ set autoComplete(value: AutoComplete | string) {
75
+ if (this.nativeElement) {
76
+ this.nativeElement.autoComplete = value;
77
+ }
78
+ }
79
+
80
+ /** Determines the delay before the drop down opens to show the matches from the auto complete operation. The delay is measured in miliseconds.
81
+ * Property type: number
82
+ */
83
+ get autoCompleteDelay(): number {
84
+ return this.nativeElement ? this.nativeElement.autoCompleteDelay : undefined;
85
+ }
86
+ set autoCompleteDelay(value: number) {
87
+ if (this.nativeElement) {
88
+ this.nativeElement.autoCompleteDelay = value;
89
+ }
90
+ }
91
+
92
+ /** Allows the user to define a custom key name ( or multiple key names) to open that popup with.
93
+ * Property type: string[]
94
+ */
95
+ get autoOpenShortcutKey(): string[] {
96
+ return this.nativeElement ? this.nativeElement.autoOpenShortcutKey : undefined;
97
+ }
98
+ set autoOpenShortcutKey(value: string[]) {
99
+ if (this.nativeElement) {
100
+ this.nativeElement.autoOpenShortcutKey = value;
101
+ }
102
+ }
103
+
104
+ /** Determines the data source that will be loaded to the ComboBox. The dataSource can be an array of strings/numbers or objects where the attributes represent the properties of a List Item. For example label, value, group. It can also be a callback that returns an Array of items as previously described.
105
+ * Property type: any
106
+ */
107
+ get dataSource(): any {
108
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
109
+ }
110
+ set dataSource(value: any) {
111
+ if (this.nativeElement) {
112
+ this.nativeElement.dataSource = value;
113
+ }
114
+ }
115
+
116
+ /** Enables or disables the combo box.
117
+ * Property type: boolean
118
+ */
119
+ get disabled(): boolean {
120
+ return this.nativeElement ? this.nativeElement.disabled : undefined;
121
+ }
122
+ set disabled(value: boolean) {
123
+ if (this.nativeElement) {
124
+ this.nativeElement.disabled = value;
125
+ }
126
+ }
127
+
128
+ /** Determines whether an indicator will appear during filtering and remote item loading.
129
+ * Property type: boolean
130
+ */
131
+ get displayLoadingIndicator(): boolean {
132
+ return this.nativeElement ? this.nativeElement.displayLoadingIndicator : undefined;
133
+ }
134
+ set displayLoadingIndicator(value: boolean) {
135
+ if (this.nativeElement) {
136
+ this.nativeElement.displayLoadingIndicator = value;
137
+ }
138
+ }
139
+
140
+ /** Sets or gets the displayMember. The displayMember specifies the name of a property to display. The name is contained in the collection specified by the 'dataSource' property.
141
+ * Property type: string
142
+ */
143
+ get displayMember(): string {
144
+ return this.nativeElement ? this.nativeElement.displayMember : undefined;
145
+ }
146
+ set displayMember(value: string) {
147
+ if (this.nativeElement) {
148
+ this.nativeElement.displayMember = value;
149
+ }
150
+ }
151
+
152
+ /** Determines the drop down parent. The expected value is CSS Selector, ID or 'body'. The drop down can be removed from the body of the element and continue to work in another container. This is usefull when one of the parents of the element doesn't allow overflowing, by settings this property to 'body' the drop down will be appended to the DOM and the popup will open/close as usual. dropDownAppendTo can be a string representing the id of an HTML element on the page or a direct reference to that element. Reseting it back to null will take the drop down back to it's original place.
153
+ * Property type: string
154
+ */
155
+ get dropDownAppendTo(): string {
156
+ return this.nativeElement ? this.nativeElement.dropDownAppendTo : undefined;
157
+ }
158
+ set dropDownAppendTo(value: string) {
159
+ if (this.nativeElement) {
160
+ this.nativeElement.dropDownAppendTo = value;
161
+ }
162
+ }
163
+
164
+ /** Determines the position of the drop down button.
165
+ * Property type: DropDownButtonPosition | string
166
+ */
167
+ get dropDownButtonPosition(): DropDownButtonPosition | string {
168
+ return this.nativeElement ? this.nativeElement.dropDownButtonPosition : undefined;
169
+ }
170
+ set dropDownButtonPosition(value: DropDownButtonPosition | string) {
171
+ if (this.nativeElement) {
172
+ this.nativeElement.dropDownButtonPosition = value;
173
+ }
174
+ }
175
+
176
+ /** Sets the height of the drop down. By default it's set to an empty string. In this case the height of the drop down is controlled by a CSS variable.
177
+ * Property type: string | number
178
+ */
179
+ get dropDownHeight(): string | number {
180
+ return this.nativeElement ? this.nativeElement.dropDownHeight : undefined;
181
+ }
182
+ set dropDownHeight(value: string | number) {
183
+ if (this.nativeElement) {
184
+ this.nativeElement.dropDownHeight = value;
185
+ }
186
+ }
187
+
188
+ /** Sets the maximum Height of the drop down. By default it's set to an empty string. In this case the maxHeight of the drop down is controlled by a CSS variable.
189
+ * Property type: string | number
190
+ */
191
+ get dropDownMaxHeight(): string | number {
192
+ return this.nativeElement ? this.nativeElement.dropDownMaxHeight : undefined;
193
+ }
194
+ set dropDownMaxHeight(value: string | number) {
195
+ if (this.nativeElement) {
196
+ this.nativeElement.dropDownMaxHeight = value;
197
+ }
198
+ }
199
+
200
+ /** Sets the maximum Width of the drop down. By default it's set to an empty string. In this case the maxWidth of the drop down is controlled by a CSS variable.
201
+ * Property type: string | number
202
+ */
203
+ get dropDownMaxWidth(): string | number {
204
+ return this.nativeElement ? this.nativeElement.dropDownMaxWidth : undefined;
205
+ }
206
+ set dropDownMaxWidth(value: string | number) {
207
+ if (this.nativeElement) {
208
+ this.nativeElement.dropDownMaxWidth = value;
209
+ }
210
+ }
211
+
212
+ /** Sets the minimum Height of the drop down. By default it's set to an empty string. In this case the minHeight of the drop down is controlled by a CSS variable.
213
+ * Property type: string | number
214
+ */
215
+ get dropDownMinHeight(): string | number {
216
+ return this.nativeElement ? this.nativeElement.dropDownMinHeight : undefined;
217
+ }
218
+ set dropDownMinHeight(value: string | number) {
219
+ if (this.nativeElement) {
220
+ this.nativeElement.dropDownMinHeight = value;
221
+ }
222
+ }
223
+
224
+ /** Sets the minimum Width of the drop down. By default it's set to an empty string. In this case the minWidth of the drop down is controlled by a CSS variable.
225
+ * Property type: string | number
226
+ */
227
+ get dropDownMinWidth(): string | number {
228
+ return this.nativeElement ? this.nativeElement.dropDownMinWidth : undefined;
229
+ }
230
+ set dropDownMinWidth(value: string | number) {
231
+ if (this.nativeElement) {
232
+ this.nativeElement.dropDownMinWidth = value;
233
+ }
234
+ }
235
+
236
+ /** Determines how the drop down is going to open.
237
+ * Property type: DropDownOpenMode | string
238
+ */
239
+ get dropDownOpenMode(): DropDownOpenMode | string {
240
+ return this.nativeElement ? this.nativeElement.dropDownOpenMode : undefined;
241
+ }
242
+ set dropDownOpenMode(value: DropDownOpenMode | string) {
243
+ if (this.nativeElement) {
244
+ this.nativeElement.dropDownOpenMode = value;
245
+ }
246
+ }
247
+
248
+ /** If this property is enabled, when the element's dropdown is opened, a transparent overlay is positioned between the dropdown and the rest of the document. The purpose of the overlay is to make sure that clicking anywhere outside the popup will will target the overlay and not the DOM.
249
+ * Property type: boolean
250
+ */
251
+ get dropDownOverlay(): boolean {
252
+ return this.nativeElement ? this.nativeElement.dropDownOverlay : undefined;
253
+ }
254
+ set dropDownOverlay(value: boolean) {
255
+ if (this.nativeElement) {
256
+ this.nativeElement.dropDownOverlay = value;
257
+ }
258
+ }
259
+
260
+ /** Determines the placeholder for the drop down, displayed when there are no items in it.
261
+ * Property type: string
262
+ */
263
+ get dropDownPlaceholder(): string {
264
+ return this.nativeElement ? this.nativeElement.dropDownPlaceholder : undefined;
265
+ }
266
+ set dropDownPlaceholder(value: string) {
267
+ if (this.nativeElement) {
268
+ this.nativeElement.dropDownPlaceholder = value;
269
+ }
270
+ }
271
+
272
+ /** Determines the position of the drop down when opened.
273
+ * Property type: DropDownPosition | string
274
+ */
275
+ get dropDownPosition(): DropDownPosition | string {
276
+ return this.nativeElement ? this.nativeElement.dropDownPosition : undefined;
277
+ }
278
+ set dropDownPosition(value: DropDownPosition | string) {
279
+ if (this.nativeElement) {
280
+ this.nativeElement.dropDownPosition = value;
281
+ }
282
+ }
283
+
284
+ /** Sets the width of the drop down. By default it's set to an empty string. In this case the width of the drop down is controlled by a CSS variable.
285
+ * Property type: string | number
286
+ */
287
+ get dropDownWidth(): string | number {
288
+ return this.nativeElement ? this.nativeElement.dropDownWidth : undefined;
289
+ }
290
+ set dropDownWidth(value: string | number) {
291
+ if (this.nativeElement) {
292
+ this.nativeElement.dropDownWidth = value;
293
+ }
294
+ }
295
+
296
+ /** Determines the behavior of the element when Escape key is pressed.
297
+ * Property type: ComboBoxEscKeyMode | string
298
+ */
299
+ get escKeyMode(): ComboBoxEscKeyMode | string {
300
+ return this.nativeElement ? this.nativeElement.escKeyMode : undefined;
301
+ }
302
+ set escKeyMode(value: ComboBoxEscKeyMode | string) {
303
+ if (this.nativeElement) {
304
+ this.nativeElement.escKeyMode = value;
305
+ }
306
+ }
307
+
308
+ /** Determines whether filtering is enabled.
309
+ * Property type: boolean
310
+ */
311
+ get filterable(): boolean {
312
+ return this.nativeElement ? this.nativeElement.filterable : undefined;
313
+ }
314
+ set filterable(value: boolean) {
315
+ if (this.nativeElement) {
316
+ this.nativeElement.filterable = value;
317
+ }
318
+ }
319
+
320
+ /** Determines the placeholder for the drop down list filter input field.
321
+ * Property type: string
322
+ */
323
+ get filterInputPlaceholder(): string {
324
+ return this.nativeElement ? this.nativeElement.filterInputPlaceholder : undefined;
325
+ }
326
+ set filterInputPlaceholder(value: string) {
327
+ if (this.nativeElement) {
328
+ this.nativeElement.filterInputPlaceholder = value;
329
+ }
330
+ }
331
+
332
+ /** Determines the filtering mode of the Combo box.
333
+ * Property type: FilterMode | string
334
+ */
335
+ get filterMode(): FilterMode | string {
336
+ return this.nativeElement ? this.nativeElement.filterMode : undefined;
337
+ }
338
+ set filterMode(value: FilterMode | string) {
339
+ if (this.nativeElement) {
340
+ this.nativeElement.filterMode = value;
341
+ }
342
+ }
343
+
344
+ /** If enabled, the items will be grouped by their first letter. Can't be applied if the dataSource already contains groups.
345
+ * Property type: boolean
346
+ */
347
+ get grouped(): boolean {
348
+ return this.nativeElement ? this.nativeElement.grouped : undefined;
349
+ }
350
+ set grouped(value: boolean) {
351
+ if (this.nativeElement) {
352
+ this.nativeElement.grouped = value;
353
+ }
354
+ }
355
+
356
+ /** Determines which attribute from the dataSource object will be used as the group member for the items. If not set, by default 'group' property is used from the source object. groupMember is especially usefull when loading the data from a JSON file as a dataSource for the ListBox and there's a specific property that should be used to group the items.
357
+ * Property type: string
358
+ */
359
+ get groupMember(): string {
360
+ return this.nativeElement ? this.nativeElement.groupMember : undefined;
361
+ }
362
+ set groupMember(value: string) {
363
+ if (this.nativeElement) {
364
+ this.nativeElement.groupMember = value;
365
+ }
366
+ }
367
+
368
+ /** Sets additional helper text below the element. The hint is visible only when the element is focused.
369
+ * Property type: string
370
+ */
371
+ get hint(): string {
372
+ return this.nativeElement ? this.nativeElement.hint : undefined;
373
+ }
374
+ set hint(value: string) {
375
+ if (this.nativeElement) {
376
+ this.nativeElement.hint = value;
377
+ }
378
+ }
379
+
380
+ /** Determines the visibility of the horizontal Scroll bar inside the drop down.
381
+ * Property type: HorizontalScrollBarVisibility | string
382
+ */
383
+ get horizontalScrollBarVisibility(): HorizontalScrollBarVisibility | string {
384
+ return this.nativeElement ? this.nativeElement.horizontalScrollBarVisibility : undefined;
385
+ }
386
+ set horizontalScrollBarVisibility(value: HorizontalScrollBarVisibility | string) {
387
+ if (this.nativeElement) {
388
+ this.nativeElement.horizontalScrollBarVisibility = value;
389
+ }
390
+ }
391
+
392
+ /** Represents the property name of a List item. Determines the value of the input when a ListItem is selected. Usefull in cases where the user wants to display for example the value of an item instead of it's label. By default the label is displayed in the input.
393
+ * Property type: string
394
+ */
395
+ get inputMember(): string {
396
+ return this.nativeElement ? this.nativeElement.inputMember : undefined;
397
+ }
398
+ set inputMember(value: string) {
399
+ if (this.nativeElement) {
400
+ this.nativeElement.inputMember = value;
401
+ }
402
+ }
403
+
404
+ /** Sets the purpose of the input and what, if any, permission the user agent has to provide automated assistance in filling out the element's input when in a form, as well as guidance to the browser as to the type of information expected in the element. This value corresponds to the standard HTML autocomplete attribute and can be set to values such as 'on', 'name', 'organization', 'street-address', etc.
405
+ * Property type: string
406
+ */
407
+ get inputPurpose(): string {
408
+ return this.nativeElement ? this.nativeElement.inputPurpose : undefined;
409
+ }
410
+ set inputPurpose(value: string) {
411
+ if (this.nativeElement) {
412
+ this.nativeElement.inputPurpose = value;
413
+ }
414
+ }
415
+
416
+ /** IncrementalSearchDelay property specifies the time-interval in milliseconds until the previous search query is cleared. The timer starts when the user stops typing. A new query can be started only when the delay has passed.
417
+ * Property type: number
418
+ */
419
+ get incrementalSearchDelay(): number {
420
+ return this.nativeElement ? this.nativeElement.incrementalSearchDelay : undefined;
421
+ }
422
+ set incrementalSearchDelay(value: number) {
423
+ if (this.nativeElement) {
424
+ this.nativeElement.incrementalSearchDelay = value;
425
+ }
426
+ }
427
+
428
+ /** Sets ot gets the mode of the incremental search mode. Incremental search is enabled by default. Typing while the drop down is focused starts the incremental search.
429
+ * Property type: SearchMode | string
430
+ */
431
+ get incrementalSearchMode(): SearchMode | string {
432
+ return this.nativeElement ? this.nativeElement.incrementalSearchMode : undefined;
433
+ }
434
+ set incrementalSearchMode(value: SearchMode | string) {
435
+ if (this.nativeElement) {
436
+ this.nativeElement.incrementalSearchMode = value;
437
+ }
438
+ }
439
+
440
+ /** Sets the height for all list items. Used only when virtualization is enabled.
441
+ * Property type: number
442
+ */
443
+ get itemHeight(): number {
444
+ return this.nativeElement ? this.nativeElement.itemHeight : undefined;
445
+ }
446
+ set itemHeight(value: number) {
447
+ if (this.nativeElement) {
448
+ this.nativeElement.itemHeight = value;
449
+ }
450
+ }
451
+
452
+ /** Determines the item width measuring algorithm.
453
+ * Property type: ListItemMeasureMode | string
454
+ */
455
+ get itemMeasureMode(): ListItemMeasureMode | string {
456
+ return this.nativeElement ? this.nativeElement.itemMeasureMode : undefined;
457
+ }
458
+ set itemMeasureMode(value: ListItemMeasureMode | string) {
459
+ if (this.nativeElement) {
460
+ this.nativeElement.itemMeasureMode = value;
461
+ }
462
+ }
463
+
464
+ /** A getter that returns an array of all List items inside the drop down.
465
+ * Property type: {label: string, value: string}[]
466
+ */
467
+ get items(): {label: string, value: string}[] {
468
+ return this.nativeElement ? this.nativeElement.items : undefined;
469
+ }
470
+ set items(value: {label: string, value: string}[]) {
471
+ if (this.nativeElement) {
472
+ this.nativeElement.items = value;
473
+ }
474
+ }
475
+
476
+ /** The itemTemplate property is a string that represents the id of an HTMLTemplateElement in the DOM. It's used to set a customize the content of the list items.
477
+ * Property type: any
478
+ */
479
+ get itemTemplate(): any {
480
+ return this.nativeElement ? this.nativeElement.itemTemplate : undefined;
481
+ }
482
+ set itemTemplate(value: any) {
483
+ if (this.nativeElement) {
484
+ this.nativeElement.itemTemplate = value;
485
+ }
486
+ }
487
+
488
+ /** Sets a little text label above the element.
489
+ * Property type: string
490
+ */
491
+ get label(): string {
492
+ return this.nativeElement ? this.nativeElement.label : undefined;
493
+ }
494
+ set label(value: string) {
495
+ if (this.nativeElement) {
496
+ this.nativeElement.label = value;
497
+ }
498
+ }
499
+
500
+ /** Determines the text that will be displayed next to the loading indicator when the loader is visible and it's position is top or bottom.
501
+ * Property type: string
502
+ */
503
+ get loadingIndicatorPlaceholder(): string {
504
+ return this.nativeElement ? this.nativeElement.loadingIndicatorPlaceholder : undefined;
505
+ }
506
+ set loadingIndicatorPlaceholder(value: string) {
507
+ if (this.nativeElement) {
508
+ this.nativeElement.loadingIndicatorPlaceholder = value;
509
+ }
510
+ }
511
+
512
+ /** Determines the position of the loading indicator.
513
+ * Property type: VerticalAlignment | string
514
+ */
515
+ get loadingIndicatorPosition(): VerticalAlignment | string {
516
+ return this.nativeElement ? this.nativeElement.loadingIndicatorPosition : undefined;
517
+ }
518
+ set loadingIndicatorPosition(value: VerticalAlignment | string) {
519
+ if (this.nativeElement) {
520
+ this.nativeElement.loadingIndicatorPosition = value;
521
+ }
522
+ }
523
+
524
+ /** Sets or gets the language. Used in conjunction with the property messages.
525
+ * Property type: string
526
+ */
527
+ get locale(): string {
528
+ return this.nativeElement ? this.nativeElement.locale : undefined;
529
+ }
530
+ set locale(value: string) {
531
+ if (this.nativeElement) {
532
+ this.nativeElement.locale = value;
533
+ }
534
+ }
535
+
536
+ /** Callback used to customize the format of the messages that are returned from the Localization Module.
537
+ * Property type: any
538
+ */
539
+ get localizeFormatFunction(): any {
540
+ return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
541
+ }
542
+ set localizeFormatFunction(value: any) {
543
+ if (this.nativeElement) {
544
+ this.nativeElement.localizeFormatFunction = value;
545
+ }
546
+ }
547
+
548
+ /** Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale.
549
+ * Property type: any
550
+ */
551
+ get messages(): any {
552
+ return this.nativeElement ? this.nativeElement.messages : undefined;
553
+ }
554
+ set messages(value: any) {
555
+ if (this.nativeElement) {
556
+ this.nativeElement.messages = value;
557
+ }
558
+ }
559
+
560
+ /** Determines the minimum number of characters inside the input in order to trigger the autocomplete functionality
561
+ * Property type: number
562
+ */
563
+ get minLength(): number {
564
+ return this.nativeElement ? this.nativeElement.minLength : undefined;
565
+ }
566
+ set minLength(value: number) {
567
+ if (this.nativeElement) {
568
+ this.nativeElement.minLength = value;
569
+ }
570
+ }
571
+
572
+ /** Determines the maximum number of characters inside the input.
573
+ * Property type: number
574
+ */
575
+ get maxLength(): number {
576
+ return this.nativeElement ? this.nativeElement.maxLength : undefined;
577
+ }
578
+ set maxLength(value: number) {
579
+ if (this.nativeElement) {
580
+ this.nativeElement.maxLength = value;
581
+ }
582
+ }
583
+
584
+ /** Sets or gets the name attribute for the element. Name is used when submiting HTML forms.
585
+ * Property type: string
586
+ */
587
+ get name(): string {
588
+ return this.nativeElement ? this.nativeElement.name : undefined;
589
+ }
590
+ set name(value: string) {
591
+ if (this.nativeElement) {
592
+ this.nativeElement.name = value;
593
+ }
594
+ }
595
+
596
+ /** Determines whether the popup is opened or closed
597
+ * Property type: boolean
598
+ */
599
+ get opened(): boolean {
600
+ return this.nativeElement ? this.nativeElement.opened : undefined;
601
+ }
602
+ set opened(value: boolean) {
603
+ if (this.nativeElement) {
604
+ this.nativeElement.opened = value;
605
+ }
606
+ }
607
+
608
+ /** Determines the input's placeholder.
609
+ * Property type: string
610
+ */
611
+ get placeholder(): string {
612
+ return this.nativeElement ? this.nativeElement.placeholder : undefined;
613
+ }
614
+ set placeholder(value: string) {
615
+ if (this.nativeElement) {
616
+ this.nativeElement.placeholder = value;
617
+ }
618
+ }
619
+
620
+ /** Disables user interaction with the element.
621
+ * Property type: boolean
622
+ */
623
+ get readonly(): boolean {
624
+ return this.nativeElement ? this.nativeElement.readonly : undefined;
625
+ }
626
+ set readonly(value: boolean) {
627
+ if (this.nativeElement) {
628
+ this.nativeElement.readonly = value;
629
+ }
630
+ }
631
+
632
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
633
+ * Property type: boolean
634
+ */
635
+ get rightToLeft(): boolean {
636
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
637
+ }
638
+ set rightToLeft(value: boolean) {
639
+ if (this.nativeElement) {
640
+ this.nativeElement.rightToLeft = value;
641
+ }
642
+ }
643
+
644
+ /** Determines whether the resize indicator in the bottom right corner of the drop down is visible or not. This property is used in conjunction with resizeMode.
645
+ * Property type: boolean
646
+ */
647
+ get resizeIndicator(): boolean {
648
+ return this.nativeElement ? this.nativeElement.resizeIndicator : undefined;
649
+ }
650
+ set resizeIndicator(value: boolean) {
651
+ if (this.nativeElement) {
652
+ this.nativeElement.resizeIndicator = value;
653
+ }
654
+ }
655
+
656
+ /** Determines whether the dropDown can be resized or not. When resizing is enabled, a resize bar appears on the top/bottom side of the drop down.
657
+ * Property type: ResizeMode | string
658
+ */
659
+ get resizeMode(): ResizeMode | string {
660
+ return this.nativeElement ? this.nativeElement.resizeMode : undefined;
661
+ }
662
+ set resizeMode(value: ResizeMode | string) {
663
+ if (this.nativeElement) {
664
+ this.nativeElement.resizeMode = value;
665
+ }
666
+ }
667
+
668
+ /** Determines what will be displayed in the input.
669
+ * Property type: SelectionDisplayMode | string
670
+ */
671
+ get selectionDisplayMode(): SelectionDisplayMode | string {
672
+ return this.nativeElement ? this.nativeElement.selectionDisplayMode : undefined;
673
+ }
674
+ set selectionDisplayMode(value: SelectionDisplayMode | string) {
675
+ if (this.nativeElement) {
676
+ this.nativeElement.selectionDisplayMode = value;
677
+ }
678
+ }
679
+
680
+ /** Sets or gets the selected indexes. Selected indexes represents an array of the indexes of the items that should be selected.
681
+ * Property type: number[]
682
+ */
683
+ get selectedIndexes(): number[] {
684
+ return this.nativeElement ? this.nativeElement.selectedIndexes : undefined;
685
+ }
686
+ set selectedIndexes(value: number[]) {
687
+ if (this.nativeElement) {
688
+ this.nativeElement.selectedIndexes = value;
689
+ }
690
+ }
691
+
692
+ /** Sets or gets elected indexes. Selected values represents the values of the items that should be selected.
693
+ * Property type: string[]
694
+ */
695
+ get selectedValues(): string[] {
696
+ return this.nativeElement ? this.nativeElement.selectedValues : undefined;
697
+ }
698
+ set selectedValues(value: string[]) {
699
+ if (this.nativeElement) {
700
+ this.nativeElement.selectedValues = value;
701
+ }
702
+ }
703
+
704
+ /** Determines how many items can be selected.
705
+ * Property type: ListSelectionMode | string
706
+ */
707
+ get selectionMode(): ListSelectionMode | string {
708
+ return this.nativeElement ? this.nativeElement.selectionMode : undefined;
709
+ }
710
+ set selectionMode(value: ListSelectionMode | string) {
711
+ if (this.nativeElement) {
712
+ this.nativeElement.selectionMode = value;
713
+ }
714
+ }
715
+
716
+ /** Determines whether the items are sorted alphabetically or not
717
+ * Property type: boolean
718
+ */
719
+ get sorted(): boolean {
720
+ return this.nativeElement ? this.nativeElement.sorted : undefined;
721
+ }
722
+ set sorted(value: boolean) {
723
+ if (this.nativeElement) {
724
+ this.nativeElement.sorted = value;
725
+ }
726
+ }
727
+
728
+ /** Determines sorting direction - ascending(asc) or descending(desc)
729
+ * Property type: string
730
+ */
731
+ get sortDirection(): string {
732
+ return this.nativeElement ? this.nativeElement.sortDirection : undefined;
733
+ }
734
+ set sortDirection(value: string) {
735
+ if (this.nativeElement) {
736
+ this.nativeElement.sortDirection = value;
737
+ }
738
+ }
739
+
740
+ /** Determines the theme for the element. Themes define the look of the elements.
741
+ * Property type: string
742
+ */
743
+ get theme(): string {
744
+ return this.nativeElement ? this.nativeElement.theme : undefined;
745
+ }
746
+ set theme(value: string) {
747
+ if (this.nativeElement) {
748
+ this.nativeElement.theme = value;
749
+ }
750
+ }
751
+
752
+ /** Sets a custom content for the tokens when selectionDisplayMode is set to 'tokens'. Tokens are used only for multiple selection.
753
+ * Property type: any
754
+ */
755
+ get tokenTemplate(): any {
756
+ return this.nativeElement ? this.nativeElement.tokenTemplate : undefined;
757
+ }
758
+ set tokenTemplate(value: any) {
759
+ if (this.nativeElement) {
760
+ this.nativeElement.tokenTemplate = value;
761
+ }
762
+ }
763
+
764
+ /** If is set to true, the element cannot be focused.
765
+ * Property type: boolean
766
+ */
767
+ get unfocusable(): boolean {
768
+ return this.nativeElement ? this.nativeElement.unfocusable : undefined;
769
+ }
770
+ set unfocusable(value: boolean) {
771
+ if (this.nativeElement) {
772
+ this.nativeElement.unfocusable = value;
773
+ }
774
+ }
775
+
776
+ /** Sets or gets the value.
777
+ * Property type: string
778
+ */
779
+ get value(): string {
780
+ return this.nativeElement ? this.nativeElement.value : undefined;
781
+ }
782
+ set value(value: string) {
783
+ if (this.nativeElement) {
784
+ this.nativeElement.value = value;
785
+ }
786
+ }
787
+
788
+ /** Determines the value member of an item. Stored as value in the item object. Similar to groupMember, valueMember is especially usefull when using data from a JSON file as a dataSource for the ListBox and there's a specific property that should be used for the value the items.
789
+ * Property type: string
790
+ */
791
+ get valueMember(): string {
792
+ return this.nativeElement ? this.nativeElement.valueMember : undefined;
793
+ }
794
+ set valueMember(value: string) {
795
+ if (this.nativeElement) {
796
+ this.nativeElement.valueMember = value;
797
+ }
798
+ }
799
+
800
+ /** Determines the visibility of the vertical scroll bar.
801
+ * Property type: VerticalScrollBarVisibility | string
802
+ */
803
+ get verticalScrollBarVisibility(): VerticalScrollBarVisibility | string {
804
+ return this.nativeElement ? this.nativeElement.verticalScrollBarVisibility : undefined;
805
+ }
806
+ set verticalScrollBarVisibility(value: VerticalScrollBarVisibility | string) {
807
+ if (this.nativeElement) {
808
+ this.nativeElement.verticalScrollBarVisibility = value;
809
+ }
810
+ }
811
+
812
+ /** Determines weather or not Virtualization is used for the Combo box. Virtualization allows a huge amount of items to be loaded to the List box while preserving the performance. For example a milion items can be loaded to the list box.
813
+ * Property type: boolean
814
+ */
815
+ get virtualized(): boolean {
816
+ return this.nativeElement ? this.nativeElement.virtualized : undefined;
817
+ }
818
+ set virtualized(value: boolean) {
819
+ if (this.nativeElement) {
820
+ this.nativeElement.virtualized = value;
821
+ }
822
+ }
823
+
824
+
825
+ // Gets the properties of the React component.
826
+ get properties(): string[] {
827
+ return ["autoCloseDelay","autoComplete","autoCompleteDelay","autoOpenShortcutKey","dataSource","disabled","displayLoadingIndicator","displayMember","dropDownAppendTo","dropDownButtonPosition","dropDownHeight","dropDownMaxHeight","dropDownMaxWidth","dropDownMinHeight","dropDownMinWidth","dropDownOpenMode","dropDownOverlay","dropDownPlaceholder","dropDownPosition","dropDownWidth","escKeyMode","filterable","filterInputPlaceholder","filterMode","grouped","groupMember","hint","horizontalScrollBarVisibility","inputMember","inputPurpose","incrementalSearchDelay","incrementalSearchMode","itemHeight","itemMeasureMode","items","itemTemplate","label","loadingIndicatorPlaceholder","loadingIndicatorPosition","locale","localizeFormatFunction","messages","minLength","maxLength","name","opened","placeholder","readonly","rightToLeft","resizeIndicator","resizeMode","selectionDisplayMode","selectedIndexes","selectedValues","selectionMode","sorted","sortDirection","theme","tokenTemplate","unfocusable","value","valueMember","verticalScrollBarVisibility","virtualized"];
828
+ }
829
+ /** This event is triggered when the selection is changed.
830
+ * @param event. The custom event. Custom event was created with: event.detail( addedItems, disabled, index, label, removedItems, selected, value)
831
+ * addedItems - An array of List items that have been selected.
832
+ * disabled - A flag indicating whether or not the item that caused the change event is disabled.
833
+ * index - The index of the List item that triggered the event.
834
+ * label - The label of the List item that triggered the event.
835
+ * removedItems - An array of List items that have been unselected before the event was fired.
836
+ * selected - The selected state of the List item that triggered the event. If an item was selected the value will be true and vice versa.
837
+ * value - The value of the List item that triggered the event.
838
+ */
839
+ onChange?: ((event?: Event) => void) | undefined
840
+ /** This event is triggered when the drop down list is closed.
841
+ * @param event. The custom event. */
842
+ onClose?: ((event?: Event) => void) | undefined
843
+ /** This event is triggered when the drop down list is about to be closed. This event allows to cancel the closing operation calling event.preventDefault() in the event handler function.
844
+ * @param event. The custom event. */
845
+ onClosing?: ((event?: Event) => void) | undefined
846
+ /** This event is triggered when an item is clicked.
847
+ * @param event. The custom event. Custom event was created with: event.detail( disabled, index, label, selected, value)
848
+ * disabled - Indicates whether the List item that was clicked is disabled or not.
849
+ * index - Indicates the index of the List item that was clicked.
850
+ * label - The label of the List item that was clicked.
851
+ * selected - Indicates whether the List item that was clicked is selected or not.
852
+ * value - The value of the List item that was clicked.
853
+ */
854
+ onItemClick?: ((event?: Event) => void) | undefined
855
+ /** This event is triggered when the drop down list is opened.
856
+ * @param event. The custom event. */
857
+ onOpen?: ((event?: Event) => void) | undefined
858
+ /** This event is triggered when the drop down list is about to be opened. This event allows to cancel the opening operation calling event.preventDefault() in the event handler function.
859
+ * @param event. The custom event. */
860
+ onOpening?: ((event?: Event) => void) | undefined
861
+ /** This event is triggered when user starts resizing the drop down.
862
+ * @param event. The custom event. Custom event was created with: event.detail( position)
863
+ * position - An object containing the current left and top positions of the drop down.
864
+ */
865
+ onResizeStart?: ((event?: Event) => void) | undefined
866
+ /** This event is triggered when the resizing of the drop down is finished.
867
+ * @param event. The custom event. Custom event was created with: event.detail( position)
868
+ * position - An object containing the current left and top positions of the drop down.
869
+ */
870
+ onResizeEnd?: ((event?: Event) => void) | undefined
871
+ /** This event is triggered when user scrolls to the end of the dropDown list.
872
+ * @param event. The custom event. */
873
+ onScrollBottomReached?: ((event?: Event) => void) | undefined
874
+ /** This event is triggered when user scrolls to the start of the dropDown list.
875
+ * @param event. The custom event. */
876
+ onScrollTopReached?: ((event?: Event) => void) | undefined
877
+ /** This event is triggered when a token item(pill) has been clicked. This event allows to cancel the opening operation calling event.preventDefault() in the event handler function.
878
+ * @param event. The custom event. */
879
+ onTokenClick?: ((event?: Event) => void) | undefined
880
+ /** This event occurs, when the React component is created.
881
+ * @param event. The custom event. */
882
+ onCreate?: ((event?: Event) => void) | undefined
883
+ /** This event occurs, when the React component is completely rendered.
884
+ * @param event. The custom event. */
885
+ onReady?: ((event?: Event) => void) | undefined
886
+
887
+ // Gets the events of the React component.
888
+ get eventListeners(): string[] {
889
+ return ["onChange","onClose","onClosing","onItemClick","onOpen","onOpening","onResizeStart","onResizeEnd","onScrollBottomReached","onScrollTopReached","onTokenClick","onCreate","onReady"];
890
+ }
891
+ /** Appends a ListItem to the end of the list of items inside element.
892
+ * @param {Node} node. A ListItem element that should be added to the rest of the items as the last item.
893
+ * @returns {Node}
894
+ */
895
+ public appendChild(node:Node) : any {
896
+ const result: any = this.nativeElement.appendChild(node);
897
+ return result;
898
+ }
899
+
900
+ /** Adds a new item(s).
901
+ * @param {any} item. Describes the properties of the item that will be inserted. You can also pass an array of items.
902
+ */
903
+ public add(item: any): void {
904
+ if (this.nativeElement.isRendered) {
905
+ this.nativeElement.add(item);
906
+ }
907
+ else
908
+ {
909
+ this.nativeElement.whenRendered(() => {
910
+ this.nativeElement.add(item);
911
+ });
912
+ }
913
+ }
914
+
915
+ /** Removes all items from the drop down list.
916
+ */
917
+ public clearItems(): void {
918
+ if (this.nativeElement.isRendered) {
919
+ this.nativeElement.clearItems();
920
+ }
921
+ else
922
+ {
923
+ this.nativeElement.whenRendered(() => {
924
+ this.nativeElement.clearItems();
925
+ });
926
+ }
927
+ }
928
+
929
+ /** Unselects all items.
930
+ */
931
+ public clearSelection(): void {
932
+ if (this.nativeElement.isRendered) {
933
+ this.nativeElement.clearSelection();
934
+ }
935
+ else
936
+ {
937
+ this.nativeElement.whenRendered(() => {
938
+ this.nativeElement.clearSelection();
939
+ });
940
+ }
941
+ }
942
+
943
+ /** Closes the dropDown list.
944
+ */
945
+ public close(): void {
946
+ if (this.nativeElement.isRendered) {
947
+ this.nativeElement.close();
948
+ }
949
+ else
950
+ {
951
+ this.nativeElement.whenRendered(() => {
952
+ this.nativeElement.close();
953
+ });
954
+ }
955
+ }
956
+
957
+ /** Performs a data bind. This can be used to refresh the data source.
958
+ */
959
+ public dataBind(): void {
960
+ if (this.nativeElement.isRendered) {
961
+ this.nativeElement.dataBind();
962
+ }
963
+ else
964
+ {
965
+ this.nativeElement.whenRendered(() => {
966
+ this.nativeElement.dataBind();
967
+ });
968
+ }
969
+ }
970
+
971
+ /** Ensures the desired item is visible by scrolling to it.
972
+ * @param {HTMLElement | string} item. A list item or value of the desired item to be visible.
973
+ */
974
+ public ensureVisible(item: HTMLElement | string): void {
975
+ if (this.nativeElement.isRendered) {
976
+ this.nativeElement.ensureVisible(item);
977
+ }
978
+ else
979
+ {
980
+ this.nativeElement.whenRendered(() => {
981
+ this.nativeElement.ensureVisible(item);
982
+ });
983
+ }
984
+ }
985
+
986
+ /** Returns an item instance from the dropDown list.
987
+ * @param {string} value. The value of an item from the drop down list.
988
+ * @returns {HTMLElement}
989
+ */
990
+ public getItem(value:string) : any {
991
+ const result: any = this.nativeElement.getItem(value);
992
+ return result;
993
+ }
994
+
995
+ /** Inserts a new item at a specified position.
996
+ * @param {number} position. The position where the item must be inserted.
997
+ * @param {any} item. Describes the properties of the item that will be inserted. You can also pass an array of items.
998
+ */
999
+ public insert(position: number, item: any): void {
1000
+ if (this.nativeElement.isRendered) {
1001
+ this.nativeElement.insert(position, item);
1002
+ }
1003
+ else
1004
+ {
1005
+ this.nativeElement.whenRendered(() => {
1006
+ this.nativeElement.insert(position, item);
1007
+ });
1008
+ }
1009
+ }
1010
+
1011
+ /** Inserts a new ListItem before another in the list.
1012
+ * @param {Node} node. A ListItem element that should be added before the referenceItem in the list.
1013
+ * @param {Node | null} referenceNode. A ListItem element that acts as the reference item before which a new item is about to be inserted. The referenceNode must be in the same list as the node.
1014
+ * @returns {Node}
1015
+ */
1016
+ public insertBefore(node:Node, referenceNode:Node | null) : any {
1017
+ const result: any = this.nativeElement.insertBefore(node, referenceNode);
1018
+ return result;
1019
+ }
1020
+
1021
+ /** Opens the dropDown list.
1022
+ */
1023
+ public open(): void {
1024
+ if (this.nativeElement.isRendered) {
1025
+ this.nativeElement.open();
1026
+ }
1027
+ else
1028
+ {
1029
+ this.nativeElement.whenRendered(() => {
1030
+ this.nativeElement.open();
1031
+ });
1032
+ }
1033
+ }
1034
+
1035
+ /** Removes an item at a specified position.
1036
+ * @param {number} position. The position of the removed item.
1037
+ */
1038
+ public removeAt(position: number): void {
1039
+ if (this.nativeElement.isRendered) {
1040
+ this.nativeElement.removeAt(position);
1041
+ }
1042
+ else
1043
+ {
1044
+ this.nativeElement.whenRendered(() => {
1045
+ this.nativeElement.removeAt(position);
1046
+ });
1047
+ }
1048
+ }
1049
+
1050
+ /** Removes a ListItem from the list of items inside element.
1051
+ * @param {Node} node. A ListItem element that is part of the list of items inside the element.
1052
+ * @returns {Node}
1053
+ */
1054
+ public removeChild(node:Node) : any {
1055
+ const result: any = this.nativeElement.removeChild(node);
1056
+ return result;
1057
+ }
1058
+
1059
+ /** Selects an item from the dropDown list.
1060
+ * @param {string | HTMLElement} item. A string, representing the value of the item or an HTML Element referencing an item from the list
1061
+ */
1062
+ public select(item: string | HTMLElement): void {
1063
+ if (this.nativeElement.isRendered) {
1064
+ this.nativeElement.select(item);
1065
+ }
1066
+ else
1067
+ {
1068
+ this.nativeElement.whenRendered(() => {
1069
+ this.nativeElement.select(item);
1070
+ });
1071
+ }
1072
+ }
1073
+
1074
+ /** Unselects an item from the dropDown list.
1075
+ * @param {string | HTMLElement} item. A string, representing the value of the item or an HTML Element referencing an item from the list
1076
+ */
1077
+ public unselect(item: string | HTMLElement): void {
1078
+ if (this.nativeElement.isRendered) {
1079
+ this.nativeElement.unselect(item);
1080
+ }
1081
+ else
1082
+ {
1083
+ this.nativeElement.whenRendered(() => {
1084
+ this.nativeElement.unselect(item);
1085
+ });
1086
+ }
1087
+ }
1088
+
1089
+ /** Updates an item from the dropDown list.
1090
+ * @param {number} position. The position where the item must be updated.
1091
+ * @param {any} value. The value of the updated item.
1092
+ */
1093
+ public update(position: number, value: any): void {
1094
+ if (this.nativeElement.isRendered) {
1095
+ this.nativeElement.update(position, value);
1096
+ }
1097
+ else
1098
+ {
1099
+ this.nativeElement.whenRendered(() => {
1100
+ this.nativeElement.update(position, value);
1101
+ });
1102
+ }
1103
+ }
1104
+
1105
+
1106
+
1107
+ constructor(props: any) {
1108
+ super(props);
1109
+ this.componentRef = React.createRef();
1110
+ }
1111
+
1112
+ componentDidRender(initialize: boolean) {
1113
+ const that = this;
1114
+ const props: any = {};
1115
+ const events: any = {};
1116
+ let styles: any = null;
1117
+
1118
+ const stringifyCircularJSON = (obj: any) => {
1119
+ const seen = new WeakSet();
1120
+ return JSON.stringify(obj, (k, v) => {
1121
+ if (v !== null && typeof v === 'object') {
1122
+ if (seen.has(v)) return;
1123
+ seen.add(v);
1124
+ }
1125
+
1126
+ if (k === 'Smart') {
1127
+ return v;
1128
+ }
1129
+
1130
+ return v;
1131
+ });
1132
+ };
1133
+
1134
+ for(let prop in that.props) {
1135
+ if (prop === 'children') {
1136
+ continue;
1137
+ }
1138
+
1139
+ if (prop === 'style') {
1140
+ styles = that.props[prop];
1141
+ continue;
1142
+ }
1143
+
1144
+ if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
1145
+ events[prop] = that.props[prop];
1146
+ continue;
1147
+ }
1148
+
1149
+ props[prop] = that.props[prop];
1150
+ }
1151
+
1152
+ if (initialize) {
1153
+ that.nativeElement = this.componentRef.current;
1154
+ if (that.nativeElement && !that.nativeElement.isCompleted) {
1155
+ that.nativeElement.reactStateProps = JSON.parse(stringifyCircularJSON(props));
1156
+ }
1157
+ }
1158
+
1159
+ if (initialize && that.nativeElement && that.nativeElement.isCompleted) {
1160
+ // return;
1161
+ }
1162
+
1163
+
1164
+ for(let prop in props) {
1165
+ if (prop === 'class' || prop === 'className') {
1166
+ const classNames = props[prop].trim().split(' ');
1167
+
1168
+ if (that.nativeElement._classNames) {
1169
+ const oldClassNames = that.nativeElement._classNames;
1170
+ for(let className in oldClassNames) {
1171
+ if (that.nativeElement.classList.contains(oldClassNames[className]) && oldClassNames[className] !== "") {
1172
+ that.nativeElement.classList.remove(oldClassNames[className]);
1173
+ }
1174
+ }
1175
+ }
1176
+
1177
+ that.nativeElement._classNames = classNames;
1178
+
1179
+ for(let className in classNames) {
1180
+ if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
1181
+ that.nativeElement.classList.add(classNames[className]);
1182
+ }
1183
+ }
1184
+
1185
+ continue;
1186
+ }
1187
+
1188
+ if (props[prop] !== that.nativeElement[prop]) {
1189
+ const normalizeProp = (str: string) => {
1190
+ return str.replace(/-([a-z])/g, function (g) {
1191
+ return g[1].toUpperCase();
1192
+ });
1193
+ }
1194
+
1195
+ if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
1196
+ that.nativeElement.setAttribute(prop, '');
1197
+ }
1198
+
1199
+ const normalizedProp = normalizeProp(prop);
1200
+
1201
+ if (that.nativeElement[normalizedProp] === undefined) {
1202
+ that.nativeElement.setAttribute(prop, props[prop]);
1203
+ }
1204
+
1205
+ if (props[prop] !== undefined) {
1206
+ if (typeof props[prop] === 'object' && that.nativeElement.reactStateProps && !initialize) {
1207
+ if (stringifyCircularJSON(props[prop]) === stringifyCircularJSON(that.nativeElement.reactStateProps[normalizedProp])) {
1208
+ continue;
1209
+ }
1210
+ }
1211
+
1212
+ that.nativeElement[normalizedProp] = props[prop];
1213
+ }
1214
+ }
1215
+ }
1216
+
1217
+
1218
+ for(let eventName in events) {
1219
+ that[eventName] = events[eventName];
1220
+ that.nativeElement[eventName.toLowerCase()] = events[eventName];
1221
+ }
1222
+
1223
+ if (initialize) {
1224
+ Smart.Render();
1225
+
1226
+ if (that.onCreate) {
1227
+ that.onCreate();
1228
+ }
1229
+
1230
+ that.nativeElement.whenRendered(() => {
1231
+ if (that.onReady) {
1232
+ that.onReady();
1233
+ }
1234
+ });
1235
+ }
1236
+
1237
+ // setup styles.
1238
+
1239
+ if (styles) {
1240
+ for(let styleName in styles) {
1241
+ that.nativeElement.style[styleName] = styles[styleName];
1242
+ }
1243
+ }
1244
+ }
1245
+
1246
+ componentDidMount() {
1247
+ this.componentDidRender(true);
1248
+ }
1249
+
1250
+ componentDidUpdate() {
1251
+ this.componentDidRender(false);
1252
+ }
1253
+
1254
+ componentWillUnmount() {
1255
+ const that = this;
1256
+
1257
+ if (!that.nativeElement) {
1258
+ return;
1259
+ }
1260
+
1261
+ that.nativeElement.whenRenderedCallbacks = [];
1262
+
1263
+ for(let i = 0; i < that.eventListeners.length; i++){
1264
+ const eventName = that.eventListeners[i];
1265
+
1266
+ that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
1267
+ }
1268
+ }
1269
+
1270
+ render() {
1271
+ return (
1272
+ React.createElement("smart-combo-box", { ref: this.componentRef }, this.props.children)
1273
+ )
1274
+ }
1275
+ }
1276
+
1277
+ export default ComboBox;