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,857 @@
1
+ import React from "react";
2
+ import { MenuProperties } from "./../../index";
3
+ import { Animation, MenuCheckMode, MenuCloseAction, MenuDropDownPosition, MenuMode, Overflow, MenuSelectionMode} from './../../index';
4
+ import { MenuItemProperties } from './../../index';
5
+ import { MenuItem } from './menuitem';
6
+ import { MenuItemsGroupProperties } from './../../index';
7
+ import { MenuItemsGroup } from './menuitemsgroup';
8
+ export { MenuProperties } from "./../../index";
9
+ export { Animation, MenuCheckMode, MenuCloseAction, MenuDropDownPosition, MenuMode, Overflow, MenuSelectionMode} from './../../index';
10
+ export { MenuItem } from './menuitem';
11
+ export { MenuItemProperties } from "./../../index";
12
+ export { MenuItemsGroup } from './menuitemsgroup';
13
+ export { MenuItemsGroupProperties } 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 MenuProps extends MenuProperties {
22
+ className?: string;
23
+ style?: React.CSSProperties;
24
+
25
+ onClose?: ((event?: Event) => void) | undefined;
26
+ onClosing?: ((event?: Event) => void) | undefined;
27
+ onCollapse?: ((event?: Event) => void) | undefined;
28
+ onCollapsing?: ((event?: Event) => void) | undefined;
29
+ onExpand?: ((event?: Event) => void) | undefined;
30
+ onExpanding?: ((event?: Event) => void) | undefined;
31
+ onItemCheckChange?: ((event?: Event) => void) | undefined;
32
+ onItemClick?: ((event?: Event) => void) | undefined;
33
+ onOpen?: ((event?: Event) => void) | undefined;
34
+ onOpening?: ((event?: Event) => void) | undefined;
35
+ onCreate?: ((event?: Event) => void) | undefined;
36
+ onReady?: ((event?: Event) => void) | undefined;
37
+
38
+ }
39
+ /**
40
+ Horizontal, Vertical and Popup Menu. Popup Menus appear when a user taps an interactive UI element such as an icon, button, action, or content, such as selected items or text.
41
+ */
42
+ export class Menu extends React.Component<React.HTMLAttributes<Element> & MenuProps, any> {
43
+ private _id: string;
44
+ private nativeElement: any;
45
+ private componentRef: any;
46
+
47
+ // Gets the id of the React component.
48
+ get id() {
49
+ if (!this._id) {
50
+ this._id = 'Menu' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
51
+ }
52
+
53
+ return this._id;
54
+ }
55
+ /** Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
56
+ * Property type: Animation | string
57
+ */
58
+ get animation(): Animation | string {
59
+ return this.nativeElement ? this.nativeElement.animation : undefined;
60
+ }
61
+ set animation(value: Animation | string) {
62
+ if (this.nativeElement) {
63
+ this.nativeElement.animation = value;
64
+ }
65
+ }
66
+
67
+ /** Determines delay (in milliseconds) before a Menu dropdown is closed when leaving the Menu with the mouse. Applicable only when selectionMode is 'mouseenter'.
68
+ * Property type: number
69
+ */
70
+ get autoCloseDelay(): number {
71
+ return this.nativeElement ? this.nativeElement.autoCloseDelay : undefined;
72
+ }
73
+ set autoCloseDelay(value: number) {
74
+ if (this.nativeElement) {
75
+ this.nativeElement.autoCloseDelay = value;
76
+ }
77
+ }
78
+
79
+ /** If set to true, on mouseenter, the element receives focus automatically.
80
+ * Property type: boolean
81
+ */
82
+ get autoFocusOnMouseenter(): boolean {
83
+ return this.nativeElement ? this.nativeElement.autoFocusOnMouseenter : undefined;
84
+ }
85
+ set autoFocusOnMouseenter(value: boolean) {
86
+ if (this.nativeElement) {
87
+ this.nativeElement.autoFocusOnMouseenter = value;
88
+ }
89
+ }
90
+
91
+ /** Allows top-level Menu items (immediate children of the Menu) to be checkable. Sublevels are controlled by setting checkable to the respective smart-menu-items-group.
92
+ * Property type: boolean
93
+ */
94
+ get checkable(): boolean {
95
+ return this.nativeElement ? this.nativeElement.checkable : undefined;
96
+ }
97
+ set checkable(value: boolean) {
98
+ if (this.nativeElement) {
99
+ this.nativeElement.checkable = value;
100
+ }
101
+ }
102
+
103
+ /** Sets or gets whether checkboxes and radio buttons can be displayed in the Menu. This property is applicable only to the Menu itself, and not its smart-menu-item/smart-menu-items-group subitems. See also the property checkable.
104
+ * Property type: boolean
105
+ */
106
+ get checkboxes(): boolean {
107
+ return this.nativeElement ? this.nativeElement.checkboxes : undefined;
108
+ }
109
+ set checkboxes(value: boolean) {
110
+ if (this.nativeElement) {
111
+ this.nativeElement.checkboxes = value;
112
+ }
113
+ }
114
+
115
+ /** Sets the check mode of top-level Menu items (immediate children of the Menu). checkMode can be set to 'checkbox', 'radioButton', or a comma-separated list containing 'checkbox', 'radioButton', or 'none' (e.g. 'checkbox, radioButton, none, checkbox'). When set to a list, each value in the list is applied to groups of Menu items separated by an item with separator (item after the one with separator is the start of a new checkMode context). Sublevels are controlled by setting checkMode to the respective smart-menu-items-group.
116
+ * Property type: MenuCheckMode | string
117
+ */
118
+ get checkMode(): MenuCheckMode | string {
119
+ return this.nativeElement ? this.nativeElement.checkMode : undefined;
120
+ }
121
+ set checkMode(value: MenuCheckMode | string) {
122
+ if (this.nativeElement) {
123
+ this.nativeElement.checkMode = value;
124
+ }
125
+ }
126
+
127
+ /** Sets the document event which closes any open Menu drop downs (or the Menu itself when mode is 'dropDown').
128
+ * Property type: MenuCloseAction | string
129
+ */
130
+ get closeAction(): MenuCloseAction | string {
131
+ return this.nativeElement ? this.nativeElement.closeAction : undefined;
132
+ }
133
+ set closeAction(value: MenuCloseAction | string) {
134
+ if (this.nativeElement) {
135
+ this.nativeElement.closeAction = value;
136
+ }
137
+ }
138
+
139
+ /** Determines the data source that will be loaded to the Menu. The data source represents an array of objects with the following properties: label - a string representing the text content of the item.value - the value of the item.shortcut - a string representing a shortuct for the item. It will be displayed inside the item.items - allows to define an array of sub menu items.
140
+ * Property type: any
141
+ */
142
+ get dataSource(): any {
143
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
144
+ }
145
+ set dataSource(value: any) {
146
+ if (this.nativeElement) {
147
+ this.nativeElement.dataSource = value;
148
+ }
149
+ }
150
+
151
+ /** Enables or disables element.
152
+ * Property type: boolean
153
+ */
154
+ get disabled(): boolean {
155
+ return this.nativeElement ? this.nativeElement.disabled : undefined;
156
+ }
157
+ set disabled(value: boolean) {
158
+ if (this.nativeElement) {
159
+ this.nativeElement.disabled = value;
160
+ }
161
+ }
162
+
163
+ /** Determines the field in the data source that corresponds to an item's label.
164
+ * Property type: string
165
+ */
166
+ get displayMember(): string {
167
+ return this.nativeElement ? this.nativeElement.displayMember : undefined;
168
+ }
169
+ set displayMember(value: string) {
170
+ if (this.nativeElement) {
171
+ this.nativeElement.displayMember = value;
172
+ }
173
+ }
174
+
175
+ /** Sets custom outer container, where all dropdown containers must be appended. By default they are inside the menu. The value of the property can be an HTML element or the id of an HTML element. In mode 'dropDown', the property dropDownAppendTo also controls the parent element of the whole Menu. The open method works relatively to the original place of the Menu in the DOM.
176
+ * Property type: string | HTMLElement
177
+ */
178
+ get dropDownAppendTo(): string | HTMLElement {
179
+ return this.nativeElement ? this.nativeElement.dropDownAppendTo : undefined;
180
+ }
181
+ set dropDownAppendTo(value: string | HTMLElement) {
182
+ if (this.nativeElement) {
183
+ this.nativeElement.dropDownAppendTo = value;
184
+ }
185
+ }
186
+
187
+ /** If this property is enabled, when an element's dropdown is opened, a transparent overlay is positioned between the dropdown and the rest of the document.
188
+ * Property type: boolean
189
+ */
190
+ get dropDownOverlay(): boolean {
191
+ return this.nativeElement ? this.nativeElement.dropDownOverlay : undefined;
192
+ }
193
+ set dropDownOverlay(value: boolean) {
194
+ if (this.nativeElement) {
195
+ this.nativeElement.dropDownOverlay = value;
196
+ }
197
+ }
198
+
199
+ /** Determines the opening direction of Menu dropdowns.
200
+ * Property type: MenuDropDownPosition | string
201
+ */
202
+ get dropDownPosition(): MenuDropDownPosition | string {
203
+ return this.nativeElement ? this.nativeElement.dropDownPosition : undefined;
204
+ }
205
+ set dropDownPosition(value: MenuDropDownPosition | string) {
206
+ if (this.nativeElement) {
207
+ this.nativeElement.dropDownPosition = value;
208
+ }
209
+ }
210
+
211
+ /** A getter that returns an array of all Menu items.
212
+ * Property type: any
213
+ */
214
+ get items(): any {
215
+ return this.nativeElement ? this.nativeElement.items : undefined;
216
+ }
217
+ set items(value: any) {
218
+ if (this.nativeElement) {
219
+ this.nativeElement.items = value;
220
+ }
221
+ }
222
+
223
+ /** Determines the field in the data source that corresponds to an item group's subitems collection.
224
+ * Property type: string
225
+ */
226
+ get itemsMember(): string {
227
+ return this.nativeElement ? this.nativeElement.itemsMember : undefined;
228
+ }
229
+ set itemsMember(value: string) {
230
+ if (this.nativeElement) {
231
+ this.nativeElement.itemsMember = value;
232
+ }
233
+ }
234
+
235
+ /** Sets or gets the language. Used in conjunction with the property messages.
236
+ * Property type: string
237
+ */
238
+ get locale(): string {
239
+ return this.nativeElement ? this.nativeElement.locale : undefined;
240
+ }
241
+ set locale(value: string) {
242
+ if (this.nativeElement) {
243
+ this.nativeElement.locale = value;
244
+ }
245
+ }
246
+
247
+ /** Callback used to customize the format of the messages that are returned from the Localization Module.
248
+ * Property type: any
249
+ */
250
+ get localizeFormatFunction(): any {
251
+ return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
252
+ }
253
+ set localizeFormatFunction(value: any) {
254
+ if (this.nativeElement) {
255
+ this.nativeElement.localizeFormatFunction = value;
256
+ }
257
+ }
258
+
259
+ /** Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale.
260
+ * Property type: any
261
+ */
262
+ get messages(): any {
263
+ return this.nativeElement ? this.nativeElement.messages : undefined;
264
+ }
265
+ set messages(value: any) {
266
+ if (this.nativeElement) {
267
+ this.nativeElement.messages = value;
268
+ }
269
+ }
270
+
271
+ /** Used to load a custom minimize icon from an HTMLTemplateElement object. The HTMLTemplateElement is selected by it's id.
272
+ * Property type: string
273
+ */
274
+ get minimizeIconTemplate(): string {
275
+ return this.nativeElement ? this.nativeElement.minimizeIconTemplate : undefined;
276
+ }
277
+ set minimizeIconTemplate(value: string) {
278
+ if (this.nativeElement) {
279
+ this.nativeElement.minimizeIconTemplate = value;
280
+ }
281
+ }
282
+
283
+ /** Determines the minimum width of the Menu at which it will switch from normal to minimized mode. If set to null, the Menu does not minimize automatically.
284
+ * Property type: number
285
+ */
286
+ get minimizeWidth(): number {
287
+ return this.nativeElement ? this.nativeElement.minimizeWidth : undefined;
288
+ }
289
+ set minimizeWidth(value: number) {
290
+ if (this.nativeElement) {
291
+ this.nativeElement.minimizeWidth = value;
292
+ }
293
+ }
294
+
295
+ /** Determines the menu's display mode.
296
+ * Property type: MenuMode | string
297
+ */
298
+ get mode(): MenuMode | string {
299
+ return this.nativeElement ? this.nativeElement.mode : undefined;
300
+ }
301
+ set mode(value: MenuMode | string) {
302
+ if (this.nativeElement) {
303
+ this.nativeElement.mode = value;
304
+ }
305
+ }
306
+
307
+ /** Opens or closes thte menu when it's in 'dropDown' mode.
308
+ * Property type: boolean
309
+ */
310
+ get opened(): boolean {
311
+ return this.nativeElement ? this.nativeElement.opened : undefined;
312
+ }
313
+ set opened(value: boolean) {
314
+ if (this.nativeElement) {
315
+ this.nativeElement.opened = value;
316
+ }
317
+ }
318
+
319
+ /** Sets or gets the menu's scroll buttons behavior. Applicable only when dropDownAppendTo is not null.
320
+ * Property type: Overflow | string
321
+ */
322
+ get overflow(): Overflow | string {
323
+ return this.nativeElement ? this.nativeElement.overflow : undefined;
324
+ }
325
+ set overflow(value: Overflow | string) {
326
+ if (this.nativeElement) {
327
+ this.nativeElement.overflow = value;
328
+ }
329
+ }
330
+
331
+ /** If set to true, prevents the closing of the Menu or its dropdowns when Menu items are checked/unchecked.
332
+ * Property type: boolean
333
+ */
334
+ get preventCloseOnCheck(): boolean {
335
+ return this.nativeElement ? this.nativeElement.preventCloseOnCheck : undefined;
336
+ }
337
+ set preventCloseOnCheck(value: boolean) {
338
+ if (this.nativeElement) {
339
+ this.nativeElement.preventCloseOnCheck = value;
340
+ }
341
+ }
342
+
343
+ /** If the element is readonly, users cannot interact with it.
344
+ * Property type: boolean
345
+ */
346
+ get readonly(): boolean {
347
+ return this.nativeElement ? this.nativeElement.readonly : undefined;
348
+ }
349
+ set readonly(value: boolean) {
350
+ if (this.nativeElement) {
351
+ this.nativeElement.readonly = value;
352
+ }
353
+ }
354
+
355
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
356
+ * Property type: boolean
357
+ */
358
+ get rightToLeft(): boolean {
359
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
360
+ }
361
+ set rightToLeft(value: boolean) {
362
+ if (this.nativeElement) {
363
+ this.nativeElement.rightToLeft = value;
364
+ }
365
+ }
366
+
367
+ /** Determines the menu's selection mode.
368
+ * Property type: MenuSelectionMode | string
369
+ */
370
+ get selectionMode(): MenuSelectionMode | string {
371
+ return this.nativeElement ? this.nativeElement.selectionMode : undefined;
372
+ }
373
+ set selectionMode(value: MenuSelectionMode | string) {
374
+ if (this.nativeElement) {
375
+ this.nativeElement.selectionMode = value;
376
+ }
377
+ }
378
+
379
+ /** Determines the theme. Theme defines the look of the element
380
+ * Property type: string
381
+ */
382
+ get theme(): string {
383
+ return this.nativeElement ? this.nativeElement.theme : undefined;
384
+ }
385
+ set theme(value: string) {
386
+ if (this.nativeElement) {
387
+ this.nativeElement.theme = value;
388
+ }
389
+ }
390
+
391
+ /** If is set to true, the element cannot be focused.
392
+ * Property type: boolean
393
+ */
394
+ get unfocusable(): boolean {
395
+ return this.nativeElement ? this.nativeElement.unfocusable : undefined;
396
+ }
397
+ set unfocusable(value: boolean) {
398
+ if (this.nativeElement) {
399
+ this.nativeElement.unfocusable = value;
400
+ }
401
+ }
402
+
403
+ /** Determines the field in the data source that corresponds to an item's value.
404
+ * Property type: string
405
+ */
406
+ get valueMember(): string {
407
+ return this.nativeElement ? this.nativeElement.valueMember : undefined;
408
+ }
409
+ set valueMember(value: string) {
410
+ if (this.nativeElement) {
411
+ this.nativeElement.valueMember = value;
412
+ }
413
+ }
414
+
415
+
416
+ // Gets the properties of the React component.
417
+ get properties(): string[] {
418
+ return ["animation","autoCloseDelay","autoFocusOnMouseenter","checkable","checkboxes","checkMode","closeAction","dataSource","disabled","displayMember","dropDownAppendTo","dropDownOverlay","dropDownPosition","items","itemsMember","locale","localizeFormatFunction","messages","minimizeIconTemplate","minimizeWidth","mode","opened","overflow","preventCloseOnCheck","readonly","rightToLeft","selectionMode","theme","unfocusable","valueMember"];
419
+ }
420
+ /** This event is triggered when the menu is closed. The event is fired only in 'dropDown' mode.
421
+ * @param event. The custom event. */
422
+ onClose?: ((event?: Event) => void) | undefined
423
+ /** This event is triggered when the menu is about to be closed. The closing operation can be canceled by calling event.preventDefault() in the event handler function. The event is fired only in 'dropDown' mode.
424
+ * @param event. The custom event. Custom event was created with: event.detail( trigger)
425
+ * trigger - Indicates whether the event was called from inside the element or programatically.
426
+ */
427
+ onClosing?: ((event?: Event) => void) | undefined
428
+ /** This event is triggered when a jqx-menu-items-group is collapsed.
429
+ * @param event. The custom event. Custom event was created with: event.detail( item, label, value, path, children)
430
+ * item - The menu item that was collapsed.
431
+ * label - The label of the toggled item that was collapsed.
432
+ * value - The value of the toggled item that was collapsed.
433
+ * path - The path of the toggled item that was collapsed, e.g. '0.1', '1.1.2'.
434
+ * children - The children items of the toggled item that was collapsed.
435
+ */
436
+ onCollapse?: ((event?: Event) => void) | undefined
437
+ /** This event is triggered when a jqx-menu-items-group is collapsing.
438
+ * @param event. The custom event. Custom event was created with: event.detail( item, label, value, path, children)
439
+ * item - The menu item that is going to be collapsed.
440
+ * label - The label of the toggled item that is going to be collapsed.
441
+ * value - The value of the toggled item that is going to be collapsed.
442
+ * path - The path of the toggled item that is going to be collapsed, e.g. '0.1', '1.1.2'.
443
+ * children - The children items of the toggled item that is going to be collapsed.
444
+ */
445
+ onCollapsing?: ((event?: Event) => void) | undefined
446
+ /** This event is triggered when a jqx-menu-items-group is expanded.
447
+ * @param event. The custom event. Custom event was created with: event.detail( item, label, value, path, children)
448
+ * item - The menu item that was expanded.
449
+ * label - The label of the toggled item that was expanded.
450
+ * value - The value of the toggled item that was expanded.
451
+ * path - The path of the toggled item that was expanded, e.g. '0.1', '1.1.2'.
452
+ * children - The children items of the toggled item that was expanded.
453
+ */
454
+ onExpand?: ((event?: Event) => void) | undefined
455
+ /** This event is triggered before a jqx-menu-items-group is expanded.
456
+ * @param event. The custom event. Custom event was created with: event.detail( item, label, value, path, children)
457
+ * item - The menu item that is going to be expanded.
458
+ * label - The label of the toggled item that is going to be expanded.
459
+ * value - The value of the toggled item that is going to be expanded.
460
+ * path - The path of the toggled item that is going to be expanded, e.g. '0.1', '1.1.2'.
461
+ * children - The children items of the toggled item that is going to be expanded.
462
+ */
463
+ onExpanding?: ((event?: Event) => void) | undefined
464
+ /** This event is triggered when a menu item check state is changed.
465
+ * @param event. The custom event. Custom event was created with: event.detail( item, label, value, checked)
466
+ * item - The menu item which state was changed.
467
+ * label - The label of the item which state was changed.
468
+ * value - The value of the item which state was changed.
469
+ * checked - The checked state of the toggled item. If false the item is not toggled.
470
+ */
471
+ onItemCheckChange?: ((event?: Event) => void) | undefined
472
+ /** This event is triggered when a menu item is clicked.
473
+ * @param event. The custom event. Custom event was created with: event.detail( item, label, value)
474
+ * item - The menu item that is toggled.
475
+ * label - The label of the toggled item.
476
+ * value - The value of the toggled item.
477
+ */
478
+ onItemClick?: ((event?: Event) => void) | undefined
479
+ /** This event is triggered when the menu is opened. The event is fired only in 'dropDown' mode.
480
+ * @param event. The custom event. */
481
+ onOpen?: ((event?: Event) => void) | undefined
482
+ /** This event is triggered when the menu is about to be opened. The opening operation can be canceled by calling event.preventDefault() in the event handler function. The event is fired only in 'dropDown' mode.
483
+ * @param event. The custom event. */
484
+ onOpening?: ((event?: Event) => void) | undefined
485
+ /** This event occurs, when the React component is created.
486
+ * @param event. The custom event. */
487
+ onCreate?: ((event?: Event) => void) | undefined
488
+ /** This event occurs, when the React component is completely rendered.
489
+ * @param event. The custom event. */
490
+ onReady?: ((event?: Event) => void) | undefined
491
+
492
+ // Gets the events of the React component.
493
+ get eventListeners(): string[] {
494
+ return ["onClose","onClosing","onCollapse","onCollapsing","onExpand","onExpanding","onItemCheckChange","onItemClick","onOpen","onOpening","onCreate","onReady"];
495
+ }
496
+ /** Adds an item to the menu.
497
+ * @param {HTMLElement} Item. A jqx-menu-item to add to the Menu.
498
+ * @param {HTMLElement | string} Parent?. The jqx-menu-items-group or its id or numeric path to add the item to.
499
+ */
500
+ public addItem(Item: HTMLElement, Parent?: HTMLElement | string): void {
501
+ if (this.nativeElement.isRendered) {
502
+ this.nativeElement.addItem(Item, Parent);
503
+ }
504
+ else
505
+ {
506
+ this.nativeElement.whenRendered(() => {
507
+ this.nativeElement.addItem(Item, Parent);
508
+ });
509
+ }
510
+ }
511
+
512
+ /** Checks an item.
513
+ * @param {HTMLElement | string} item. jqx-menu-item/jqx-menu-items-group or its id or numeric path.
514
+ */
515
+ public checkItem(item: HTMLElement | string): void {
516
+ if (this.nativeElement.isRendered) {
517
+ this.nativeElement.checkItem(item);
518
+ }
519
+ else
520
+ {
521
+ this.nativeElement.whenRendered(() => {
522
+ this.nativeElement.checkItem(item);
523
+ });
524
+ }
525
+ }
526
+
527
+ /** Clears all Menu items.
528
+ */
529
+ public clear(): void {
530
+ if (this.nativeElement.isRendered) {
531
+ this.nativeElement.clear();
532
+ }
533
+ else
534
+ {
535
+ this.nativeElement.whenRendered(() => {
536
+ this.nativeElement.clear();
537
+ });
538
+ }
539
+ }
540
+
541
+ /** Clicks on an item programatically.
542
+ * @param {HTMLElement | string} item. jqx-menu-item/jqx-menu-items-group or its id or numeric path.
543
+ */
544
+ public clickItem(item: HTMLElement | string): void {
545
+ if (this.nativeElement.isRendered) {
546
+ this.nativeElement.clickItem(item);
547
+ }
548
+ else
549
+ {
550
+ this.nativeElement.whenRendered(() => {
551
+ this.nativeElement.clickItem(item);
552
+ });
553
+ }
554
+ }
555
+
556
+ /** Closes the Menu when mode is 'dropDown'.
557
+ */
558
+ public close(): void {
559
+ if (this.nativeElement.isRendered) {
560
+ this.nativeElement.close();
561
+ }
562
+ else
563
+ {
564
+ this.nativeElement.whenRendered(() => {
565
+ this.nativeElement.close();
566
+ });
567
+ }
568
+ }
569
+
570
+ /** Collapses an item.
571
+ * @param {HTMLElement | string} item?. jqx-menu-item/jqx-menu-items-group or its id or numeric path. If no item is passed, all open items are collapsed.
572
+ * @param {boolean} animation?. If set to false, disables collapse animation even if animation is enabled for the element.
573
+ */
574
+ public collapseItem(item?: HTMLElement | string, animation?: boolean): void {
575
+ if (this.nativeElement.isRendered) {
576
+ this.nativeElement.collapseItem(item, animation);
577
+ }
578
+ else
579
+ {
580
+ this.nativeElement.whenRendered(() => {
581
+ this.nativeElement.collapseItem(item, animation);
582
+ });
583
+ }
584
+ }
585
+
586
+ /** Expands an item.
587
+ * @param {HTMLElement | string} item. jqx-menu-item/jqx-menu-items-group or its id or numeric path.
588
+ * @param {boolean} animation?. If set to false, disables expand animation even if animation is enabled for the element.
589
+ */
590
+ public expandItem(item: HTMLElement | string, animation?: boolean): void {
591
+ if (this.nativeElement.isRendered) {
592
+ this.nativeElement.expandItem(item, animation);
593
+ }
594
+ else
595
+ {
596
+ this.nativeElement.whenRendered(() => {
597
+ this.nativeElement.expandItem(item, animation);
598
+ });
599
+ }
600
+ }
601
+
602
+ /** Gets an item by its id or numeric path.
603
+ * @param {string} id. The id or numeric path of an item
604
+ * @returns {HTMLElement}
605
+ */
606
+ public getItem(id:string) : any {
607
+ const result: any = this.nativeElement.getItem(id);
608
+ return result;
609
+ }
610
+
611
+ /** Maximizes the Menu.
612
+ */
613
+ public maximize(): void {
614
+ if (this.nativeElement.isRendered) {
615
+ this.nativeElement.maximize();
616
+ }
617
+ else
618
+ {
619
+ this.nativeElement.whenRendered(() => {
620
+ this.nativeElement.maximize();
621
+ });
622
+ }
623
+ }
624
+
625
+ /** Minimizes the Menu.
626
+ */
627
+ public minimize(): void {
628
+ if (this.nativeElement.isRendered) {
629
+ this.nativeElement.minimize();
630
+ }
631
+ else
632
+ {
633
+ this.nativeElement.whenRendered(() => {
634
+ this.nativeElement.minimize();
635
+ });
636
+ }
637
+ }
638
+
639
+ /** Opens the Menu when mode is 'dropDown'.
640
+ * @param {number} left. Horizontal position
641
+ * @param {number} top. Vertical position
642
+ */
643
+ public open(left: number, top: number): void {
644
+ if (this.nativeElement.isRendered) {
645
+ this.nativeElement.open(left, top);
646
+ }
647
+ else
648
+ {
649
+ this.nativeElement.whenRendered(() => {
650
+ this.nativeElement.open(left, top);
651
+ });
652
+ }
653
+ }
654
+
655
+ /** Removes an item from the menu.
656
+ * @param {HTMLElement | string} item. The jqx-menu-item/jqx-menu-items-group or its id or numeric path to remove.
657
+ */
658
+ public removeItem(item: HTMLElement | string): void {
659
+ if (this.nativeElement.isRendered) {
660
+ this.nativeElement.removeItem(item);
661
+ }
662
+ else
663
+ {
664
+ this.nativeElement.whenRendered(() => {
665
+ this.nativeElement.removeItem(item);
666
+ });
667
+ }
668
+ }
669
+
670
+ /** Unchecks an item.
671
+ * @param {HTMLElement | string} item. jqx-menu-item/jqx-menu-items-group (or its id or numeric path)
672
+ */
673
+ public uncheckItem(item: HTMLElement | string): void {
674
+ if (this.nativeElement.isRendered) {
675
+ this.nativeElement.uncheckItem(item);
676
+ }
677
+ else
678
+ {
679
+ this.nativeElement.whenRendered(() => {
680
+ this.nativeElement.uncheckItem(item);
681
+ });
682
+ }
683
+ }
684
+
685
+
686
+
687
+ constructor(props: any) {
688
+ super(props);
689
+ this.componentRef = React.createRef();
690
+ }
691
+
692
+ componentDidRender(initialize: boolean) {
693
+ const that = this;
694
+ const props: any = {};
695
+ const events: any = {};
696
+ let styles: any = null;
697
+
698
+ const stringifyCircularJSON = (obj: any) => {
699
+ const seen = new WeakSet();
700
+ return JSON.stringify(obj, (k, v) => {
701
+ if (v !== null && typeof v === 'object') {
702
+ if (seen.has(v)) return;
703
+ seen.add(v);
704
+ }
705
+
706
+ if (k === 'Smart') {
707
+ return v;
708
+ }
709
+
710
+ return v;
711
+ });
712
+ };
713
+
714
+ for(let prop in that.props) {
715
+ if (prop === 'children') {
716
+ continue;
717
+ }
718
+
719
+ if (prop === 'style') {
720
+ styles = that.props[prop];
721
+ continue;
722
+ }
723
+
724
+ if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
725
+ events[prop] = that.props[prop];
726
+ continue;
727
+ }
728
+
729
+ props[prop] = that.props[prop];
730
+ }
731
+
732
+ if (initialize) {
733
+ that.nativeElement = this.componentRef.current;
734
+ if (that.nativeElement && !that.nativeElement.isCompleted) {
735
+ that.nativeElement.reactStateProps = JSON.parse(stringifyCircularJSON(props));
736
+ }
737
+ }
738
+
739
+ if (initialize && that.nativeElement && that.nativeElement.isCompleted) {
740
+ // return;
741
+ }
742
+
743
+
744
+ for(let prop in props) {
745
+ if (prop === 'class' || prop === 'className') {
746
+ const classNames = props[prop].trim().split(' ');
747
+
748
+ if (that.nativeElement._classNames) {
749
+ const oldClassNames = that.nativeElement._classNames;
750
+ for(let className in oldClassNames) {
751
+ if (that.nativeElement.classList.contains(oldClassNames[className]) && oldClassNames[className] !== "") {
752
+ that.nativeElement.classList.remove(oldClassNames[className]);
753
+ }
754
+ }
755
+ }
756
+
757
+ that.nativeElement._classNames = classNames;
758
+
759
+ for(let className in classNames) {
760
+ if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
761
+ that.nativeElement.classList.add(classNames[className]);
762
+ }
763
+ }
764
+
765
+ continue;
766
+ }
767
+
768
+ if (props[prop] !== that.nativeElement[prop]) {
769
+ const normalizeProp = (str: string) => {
770
+ return str.replace(/-([a-z])/g, function (g) {
771
+ return g[1].toUpperCase();
772
+ });
773
+ }
774
+
775
+ if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
776
+ that.nativeElement.setAttribute(prop, '');
777
+ }
778
+
779
+ const normalizedProp = normalizeProp(prop);
780
+
781
+ if (that.nativeElement[normalizedProp] === undefined) {
782
+ that.nativeElement.setAttribute(prop, props[prop]);
783
+ }
784
+
785
+ if (props[prop] !== undefined) {
786
+ if (typeof props[prop] === 'object' && that.nativeElement.reactStateProps && !initialize) {
787
+ if (stringifyCircularJSON(props[prop]) === stringifyCircularJSON(that.nativeElement.reactStateProps[normalizedProp])) {
788
+ continue;
789
+ }
790
+ }
791
+
792
+ that.nativeElement[normalizedProp] = props[prop];
793
+ }
794
+ }
795
+ }
796
+
797
+
798
+ for(let eventName in events) {
799
+ that[eventName] = events[eventName];
800
+ that.nativeElement[eventName.toLowerCase()] = events[eventName];
801
+ }
802
+
803
+ if (initialize) {
804
+ Smart.Render();
805
+
806
+ if (that.onCreate) {
807
+ that.onCreate();
808
+ }
809
+
810
+ that.nativeElement.whenRendered(() => {
811
+ if (that.onReady) {
812
+ that.onReady();
813
+ }
814
+ });
815
+ }
816
+
817
+ // setup styles.
818
+
819
+ if (styles) {
820
+ for(let styleName in styles) {
821
+ that.nativeElement.style[styleName] = styles[styleName];
822
+ }
823
+ }
824
+ }
825
+
826
+ componentDidMount() {
827
+ this.componentDidRender(true);
828
+ }
829
+
830
+ componentDidUpdate() {
831
+ this.componentDidRender(false);
832
+ }
833
+
834
+ componentWillUnmount() {
835
+ const that = this;
836
+
837
+ if (!that.nativeElement) {
838
+ return;
839
+ }
840
+
841
+ that.nativeElement.whenRenderedCallbacks = [];
842
+
843
+ for(let i = 0; i < that.eventListeners.length; i++){
844
+ const eventName = that.eventListeners[i];
845
+
846
+ that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
847
+ }
848
+ }
849
+
850
+ render() {
851
+ return (
852
+ React.createElement("smart-menu", { ref: this.componentRef }, this.props.children)
853
+ )
854
+ }
855
+ }
856
+
857
+ export default Menu;