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,1399 @@
1
+ import React from "react";
2
+ import { WindowProperties } from "./../../index";
3
+ import { Animation, WindowAutoCapitalize, WindowDisplayMode, WindowDropPosition, WindowFooterPosition, TabPosition, WindowResizeMode, TabSelectionMode, WindowTabCloseButtonMode, Overflow, LayoutPosition, Orientation, WindowWrap} from './../../index';
4
+ export { WindowProperties } from "./../../index";
5
+ export { Animation, WindowAutoCapitalize, WindowDisplayMode, WindowDropPosition, WindowFooterPosition, TabPosition, WindowResizeMode, TabSelectionMode, WindowTabCloseButtonMode, Overflow, LayoutPosition, Orientation, WindowWrap} from './../../index';
6
+
7
+ interface IWindow { Smart: any; }
8
+ declare const window: IWindow;
9
+ let Smart: any;
10
+ if (typeof window !== "undefined") {
11
+ Smart = window.Smart;
12
+ }
13
+ export interface MultilineWindowProps extends WindowProperties {
14
+ className?: string;
15
+ style?: React.CSSProperties;
16
+
17
+ onOpening?: ((event?: Event) => void) | undefined;
18
+ onOpen?: ((event?: Event) => void) | undefined;
19
+ onClosing?: ((event?: Event) => void) | undefined;
20
+ onClose?: ((event?: Event) => void) | undefined;
21
+ onCollapse?: ((event?: Event) => void) | undefined;
22
+ onDragEnd?: ((event?: Event) => void) | undefined;
23
+ onDragStart?: ((event?: Event) => void) | undefined;
24
+ onExpand?: ((event?: Event) => void) | undefined;
25
+ onMaximize?: ((event?: Event) => void) | undefined;
26
+ onMinimize?: ((event?: Event) => void) | undefined;
27
+ onResizeEnd?: ((event?: Event) => void) | undefined;
28
+ onResizeStart?: ((event?: Event) => void) | undefined;
29
+ onRestore?: ((event?: Event) => void) | undefined;
30
+ onCreate?: ((event?: Event) => void) | undefined;
31
+ onReady?: ((event?: Event) => void) | undefined;
32
+
33
+ }
34
+ /**
35
+ Window or Dialog displays the interactive custom confirmations, message boxes, alerts, warnings, errors, and modal dialogs.
36
+ */
37
+ export class MultilineWindow extends React.Component<React.HTMLAttributes<Element> & MultilineWindowProps, any> {
38
+ private _id: string;
39
+ private nativeElement: any;
40
+ private componentRef: any;
41
+
42
+ // Gets the id of the React component.
43
+ get id() {
44
+ if (!this._id) {
45
+ this._id = 'MultilineWindow' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
46
+ }
47
+
48
+ return this._id;
49
+ }
50
+ /** Determines if 'Add New' Tab inside the Tabs element is visible. Applicable only to TabsWindow
51
+ * Property type: boolean
52
+ */
53
+ get addNewTab(): boolean {
54
+ return this.nativeElement ? this.nativeElement.addNewTab : undefined;
55
+ }
56
+ set addNewTab(value: boolean) {
57
+ if (this.nativeElement) {
58
+ this.nativeElement.addNewTab = value;
59
+ }
60
+ }
61
+
62
+ /** Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
63
+ * Property type: Animation | string
64
+ */
65
+ get animation(): Animation | string {
66
+ return this.nativeElement ? this.nativeElement.animation : undefined;
67
+ }
68
+ set animation(value: Animation | string) {
69
+ if (this.nativeElement) {
70
+ this.nativeElement.animation = value;
71
+ }
72
+ }
73
+
74
+ /** Determines whether and how the value should be automatically capitalized as it is entered/edited by the user. Applicable only to MultilinePromptWindow.
75
+ * Property type: WindowAutoCapitalize | string
76
+ */
77
+ get autoCapitalize(): WindowAutoCapitalize | string {
78
+ return this.nativeElement ? this.nativeElement.autoCapitalize : undefined;
79
+ }
80
+ set autoCapitalize(value: WindowAutoCapitalize | string) {
81
+ if (this.nativeElement) {
82
+ this.nativeElement.autoCapitalize = value;
83
+ }
84
+ }
85
+
86
+ /** Determines whether element will auto expand when the input overflows vertically. Applicable only to MultilinePromptWindow.
87
+ * Property type: boolean
88
+ */
89
+ get autoExpand(): boolean {
90
+ return this.nativeElement ? this.nativeElement.autoExpand : undefined;
91
+ }
92
+ set autoExpand(value: boolean) {
93
+ if (this.nativeElement) {
94
+ this.nativeElement.autoExpand = value;
95
+ }
96
+ }
97
+
98
+ /** Determines the label for the 'cancel' button inside the Prompt Window.
99
+ * Property type: string
100
+ */
101
+ get cancelLabel(): string {
102
+ return this.nativeElement ? this.nativeElement.cancelLabel : undefined;
103
+ }
104
+ set cancelLabel(value: string) {
105
+ if (this.nativeElement) {
106
+ this.nativeElement.cancelLabel = value;
107
+ }
108
+ }
109
+
110
+ /** Determines the label for the 'Complete' button insinde the Progress Window.
111
+ * Property type: string
112
+ */
113
+ get completeLabel(): string {
114
+ return this.nativeElement ? this.nativeElement.completeLabel : undefined;
115
+ }
116
+ set completeLabel(value: string) {
117
+ if (this.nativeElement) {
118
+ this.nativeElement.completeLabel = value;
119
+ }
120
+ }
121
+
122
+ /** Determines the label for the 'Confirm' button insinde the Prompt Window.
123
+ * Property type: string
124
+ */
125
+ get confirmLabel(): string {
126
+ return this.nativeElement ? this.nativeElement.confirmLabel : undefined;
127
+ }
128
+ set confirmLabel(value: string) {
129
+ if (this.nativeElement) {
130
+ this.nativeElement.confirmLabel = value;
131
+ }
132
+ }
133
+
134
+ /** Determines if the window is collapsed or not. When collapsed the only the header of the window is visible.
135
+ * Property type: boolean
136
+ */
137
+ get collapsed(): boolean {
138
+ return this.nativeElement ? this.nativeElement.collapsed : undefined;
139
+ }
140
+ set collapsed(value: boolean) {
141
+ if (this.nativeElement) {
142
+ this.nativeElement.collapsed = value;
143
+ }
144
+ }
145
+
146
+ /** When a modal window is opened, thid property determines if clicking on the mask closes the window or not.
147
+ * Property type: boolean
148
+ */
149
+ get closeOnMaskClick(): boolean {
150
+ return this.nativeElement ? this.nativeElement.closeOnMaskClick : undefined;
151
+ }
152
+ set closeOnMaskClick(value: boolean) {
153
+ if (this.nativeElement) {
154
+ this.nativeElement.closeOnMaskClick = value;
155
+ }
156
+ }
157
+
158
+ /** Determines the data source that will be loaded to the TabsWindow. Applicable only to TabsWindow.
159
+ * Property type: {label: string, content: string}[]
160
+ */
161
+ get dataSource(): {label: string, content: string}[] {
162
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
163
+ }
164
+ set dataSource(value: {label: string, content: string}[]) {
165
+ if (this.nativeElement) {
166
+ this.nativeElement.dataSource = value;
167
+ }
168
+ }
169
+
170
+ /** Enables or disables the window.
171
+ * Property type: boolean
172
+ */
173
+ get disabled(): boolean {
174
+ return this.nativeElement ? this.nativeElement.disabled : undefined;
175
+ }
176
+ set disabled(value: boolean) {
177
+ if (this.nativeElement) {
178
+ this.nativeElement.disabled = value;
179
+ }
180
+ }
181
+
182
+ /** Enables or disables the window snapping feature.
183
+ * Property type: boolean
184
+ */
185
+ get disableSnap(): boolean {
186
+ return this.nativeElement ? this.nativeElement.disableSnap : undefined;
187
+ }
188
+ set disableSnap(value: boolean) {
189
+ if (this.nativeElement) {
190
+ this.nativeElement.disableSnap = value;
191
+ }
192
+ }
193
+
194
+ /** By default the window is closing after the 'Escape' key is pressed. Set this property to true, if you want to disable that.
195
+ * Property type: boolean
196
+ */
197
+ get disableEscape(): boolean {
198
+ return this.nativeElement ? this.nativeElement.disableEscape : undefined;
199
+ }
200
+ set disableEscape(value: boolean) {
201
+ if (this.nativeElement) {
202
+ this.nativeElement.disableEscape = value;
203
+ }
204
+ }
205
+
206
+ /** By default the window is handling keyboard keys like 'Arrows', 'Escape', etc. Set this property to true, if you want to disable that.
207
+ * Property type: boolean
208
+ */
209
+ get disableKeyboard(): boolean {
210
+ return this.nativeElement ? this.nativeElement.disableKeyboard : undefined;
211
+ }
212
+ set disableKeyboard(value: boolean) {
213
+ if (this.nativeElement) {
214
+ this.nativeElement.disableKeyboard = value;
215
+ }
216
+ }
217
+
218
+ /** Determines how the characters are displayed inside the input. Applicable to Prompt Window.
219
+ * Property type: WindowDisplayMode | string
220
+ */
221
+ get displayMode(): WindowDisplayMode | string {
222
+ return this.nativeElement ? this.nativeElement.displayMode : undefined;
223
+ }
224
+ set displayMode(value: WindowDisplayMode | string) {
225
+ if (this.nativeElement) {
226
+ this.nativeElement.displayMode = value;
227
+ }
228
+ }
229
+
230
+ /** Applicable to TabsWindow when docked inside a DockingLayout Custom Element. Determines where the window(it's tab items as well) can be dropped inside the DockingLayout. The property is an array that accepts multiple positions. Note: Positions with prefix 'layout-' are applied to the Tab item children of the TabsWidnow owner that is being dragged. The rest of the positions indicate the allowed drop position inside the hovered target(TabsWindow). Used only by jqxDockingLayout custom elements. Determines the possible drop position inside the DockingLayout. The following values are allowed.
231
+ * Property type: WindowDropPosition | string
232
+ */
233
+ get dropPosition(): WindowDropPosition | string {
234
+ return this.nativeElement ? this.nativeElement.dropPosition : undefined;
235
+ }
236
+ set dropPosition(value: WindowDropPosition | string) {
237
+ if (this.nativeElement) {
238
+ this.nativeElement.dropPosition = value;
239
+ }
240
+ }
241
+
242
+ /** A callback function defining the new format for the label of the Progress Bar. Applicable only to ProgressWindow.
243
+ * Property type: any
244
+ */
245
+ get formatFunction(): any {
246
+ return this.nativeElement ? this.nativeElement.formatFunction : undefined;
247
+ }
248
+ set formatFunction(value: any) {
249
+ if (this.nativeElement) {
250
+ this.nativeElement.formatFunction = value;
251
+ }
252
+ }
253
+
254
+ /** Determines the position of the footer of the window element.
255
+ * Property type: WindowFooterPosition | string
256
+ */
257
+ get footerPosition(): WindowFooterPosition | string {
258
+ return this.nativeElement ? this.nativeElement.footerPosition : undefined;
259
+ }
260
+ set footerPosition(value: WindowFooterPosition | string) {
261
+ if (this.nativeElement) {
262
+ this.nativeElement.footerPosition = value;
263
+ }
264
+ }
265
+
266
+ /** Determines the template for the Dialog section of the window. By default footerTemplate is null.
267
+ * Property type: any
268
+ */
269
+ get footerTemplate(): any {
270
+ return this.nativeElement ? this.nativeElement.footerTemplate : undefined;
271
+ }
272
+ set footerTemplate(value: any) {
273
+ if (this.nativeElement) {
274
+ this.nativeElement.footerTemplate = value;
275
+ }
276
+ }
277
+
278
+ /** Set's the buttons that will be visible in the header section.
279
+ * Property type: string[]
280
+ */
281
+ get headerButtons(): string[] {
282
+ return this.nativeElement ? this.nativeElement.headerButtons : undefined;
283
+ }
284
+ set headerButtons(value: string[]) {
285
+ if (this.nativeElement) {
286
+ this.nativeElement.headerButtons = value;
287
+ }
288
+ }
289
+
290
+ /** Determines the template for the Dialog section of the window. By default headerTemplate is null.
291
+ * Property type: any
292
+ */
293
+ get headerTemplate(): any {
294
+ return this.nativeElement ? this.nativeElement.headerTemplate : undefined;
295
+ }
296
+ set headerTemplate(value: any) {
297
+ if (this.nativeElement) {
298
+ this.nativeElement.headerTemplate = value;
299
+ }
300
+ }
301
+
302
+ /** Determines the position of the header of the window element.
303
+ * Property type: TabPosition | string
304
+ */
305
+ get headerPosition(): TabPosition | string {
306
+ return this.nativeElement ? this.nativeElement.headerPosition : undefined;
307
+ }
308
+ set headerPosition(value: TabPosition | string) {
309
+ if (this.nativeElement) {
310
+ this.nativeElement.headerPosition = value;
311
+ }
312
+ }
313
+
314
+ /** Sets additional helper text below the text box. The hint is visible only when the text box is focued. Applicable to Prompt Window.
315
+ * Property type: any
316
+ */
317
+ get hint(): any {
318
+ return this.nativeElement ? this.nativeElement.hint : undefined;
319
+ }
320
+ set hint(value: any) {
321
+ if (this.nativeElement) {
322
+ this.nativeElement.hint = value;
323
+ }
324
+ }
325
+
326
+ /** Sets the value of the Progress bar to indeterminate state(null) and starts the animation. Applicable only to ProgressWindow.
327
+ * Property type: boolean
328
+ */
329
+ get indeterminate(): boolean {
330
+ return this.nativeElement ? this.nativeElement.indeterminate : undefined;
331
+ }
332
+ set indeterminate(value: boolean) {
333
+ if (this.nativeElement) {
334
+ this.nativeElement.indeterminate = value;
335
+ }
336
+ }
337
+
338
+ /** Sets the filling direction of the Progress Bar. Applicable only to ProgressWindow.
339
+ * Property type: boolean
340
+ */
341
+ get inverted(): boolean {
342
+ return this.nativeElement ? this.nativeElement.inverted : undefined;
343
+ }
344
+ set inverted(value: boolean) {
345
+ if (this.nativeElement) {
346
+ this.nativeElement.inverted = value;
347
+ }
348
+ }
349
+
350
+ /** The label of the window that appears in the header area.
351
+ * Property type: string
352
+ */
353
+ get label(): string {
354
+ return this.nativeElement ? this.nativeElement.label : undefined;
355
+ }
356
+ set label(value: string) {
357
+ if (this.nativeElement) {
358
+ this.nativeElement.label = value;
359
+ }
360
+ }
361
+
362
+ /** When enabled the resizing operation happens live. By default it's not enabled and during resizing a highlighter around the edges of the window appears to outline the current size of the element.
363
+ * Property type: boolean
364
+ */
365
+ get liveResize(): boolean {
366
+ return this.nativeElement ? this.nativeElement.liveResize : undefined;
367
+ }
368
+ set liveResize(value: boolean) {
369
+ if (this.nativeElement) {
370
+ this.nativeElement.liveResize = value;
371
+ }
372
+ }
373
+
374
+ /** Applicable only to TabsWindow when used with a DockingLayout custom element.Used only by jqxDockingLayout. Determines the owner jqxDockingLayout that the window belongs to. When the tabsWindow has been removed from a DockingLayout element, the property is used to indicate that it belongs to that particular Dockinglayout. Accepts a string, representing the ID of a jqxDockingLayout on the page, or an instance of jqxDokcingLayout.
375
+ * Property type: any
376
+ */
377
+ get layout(): any {
378
+ return this.nativeElement ? this.nativeElement.layout : undefined;
379
+ }
380
+ set layout(value: any) {
381
+ if (this.nativeElement) {
382
+ this.nativeElement.layout = value;
383
+ }
384
+ }
385
+
386
+ /** Sets or gets the language. Used in conjunction with the property messages.
387
+ * Property type: string
388
+ */
389
+ get locale(): string {
390
+ return this.nativeElement ? this.nativeElement.locale : undefined;
391
+ }
392
+ set locale(value: string) {
393
+ if (this.nativeElement) {
394
+ this.nativeElement.locale = value;
395
+ }
396
+ }
397
+
398
+ /** Applicable only to TabsWindow when docked inside a DockingLayout Custom Element.Determines of the item can be resized or not.
399
+ * Property type: boolean
400
+ */
401
+ get locked(): boolean {
402
+ return this.nativeElement ? this.nativeElement.locked : undefined;
403
+ }
404
+ set locked(value: boolean) {
405
+ if (this.nativeElement) {
406
+ this.nativeElement.locked = value;
407
+ }
408
+ }
409
+
410
+ /** Callback, related to localization module.
411
+ * Property type: any
412
+ */
413
+ get localizeFormatFunction(): any {
414
+ return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
415
+ }
416
+ set localizeFormatFunction(value: any) {
417
+ if (this.nativeElement) {
418
+ this.nativeElement.localizeFormatFunction = value;
419
+ }
420
+ }
421
+
422
+ /** Determines if the window is maximized or not. When maximized the window covers the whole viewport.
423
+ * Property type: boolean
424
+ */
425
+ get maximized(): boolean {
426
+ return this.nativeElement ? this.nativeElement.maximized : undefined;
427
+ }
428
+ set maximized(value: boolean) {
429
+ if (this.nativeElement) {
430
+ this.nativeElement.maximized = value;
431
+ }
432
+ }
433
+
434
+ /** Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale.
435
+ * Property type: any
436
+ */
437
+ get messages(): any {
438
+ return this.nativeElement ? this.nativeElement.messages : undefined;
439
+ }
440
+ set messages(value: any) {
441
+ if (this.nativeElement) {
442
+ this.nativeElement.messages = value;
443
+ }
444
+ }
445
+
446
+ /** Determines if the window is modal or not. If true the user can only interact with the window and nothing else on the page.
447
+ * Property type: boolean
448
+ */
449
+ get modal(): boolean {
450
+ return this.nativeElement ? this.nativeElement.modal : undefined;
451
+ }
452
+ set modal(value: boolean) {
453
+ if (this.nativeElement) {
454
+ this.nativeElement.modal = value;
455
+ }
456
+ }
457
+
458
+ /** Applicable to TabsWindow when docked inside a DockingLayout Custom Element. Determines the max size of the item. Applicable to Progress Window by allowing the user to specify the maximum of the ProgressBar.
459
+ * Property type: string | number | null
460
+ */
461
+ get max(): string | number | null {
462
+ return this.nativeElement ? this.nativeElement.max : undefined;
463
+ }
464
+ set max(value: string | number | null) {
465
+ if (this.nativeElement) {
466
+ this.nativeElement.max = value;
467
+ }
468
+ }
469
+
470
+ /** Applicable to TabsWindow when docked inside DockingLayout Custom Element. Determines the min size of the item. Applicable to Progress Window by allowing the user to specify the minimu of the ProgressBar.
471
+ * Property type: string | number | null
472
+ */
473
+ get min(): string | number | null {
474
+ return this.nativeElement ? this.nativeElement.min : undefined;
475
+ }
476
+ set min(value: string | number | null) {
477
+ if (this.nativeElement) {
478
+ this.nativeElement.min = value;
479
+ }
480
+ }
481
+
482
+ /** Determines if the window is minimized or not. When minimized the window is docked at the bottom left corner of the viewport.
483
+ * Property type: boolean
484
+ */
485
+ get minimized(): boolean {
486
+ return this.nativeElement ? this.nativeElement.minimized : undefined;
487
+ }
488
+ set minimized(value: boolean) {
489
+ if (this.nativeElement) {
490
+ this.nativeElement.minimized = value;
491
+ }
492
+ }
493
+
494
+ /** Sets or gets the maximum number of characters that the user can enter. Applicable to Prompt/MultilinePrompt Window.
495
+ * Property type: number
496
+ */
497
+ get maxLength(): number {
498
+ return this.nativeElement ? this.nativeElement.maxLength : undefined;
499
+ }
500
+ set maxLength(value: number) {
501
+ if (this.nativeElement) {
502
+ this.nativeElement.maxLength = value;
503
+ }
504
+ }
505
+
506
+ /** Sets or gets the minimum number of characters that the user have to enter to trigger the auto complete functionality. Applicable to Prompt/MultilinePrompt Window.
507
+ * Property type: number
508
+ */
509
+ get minLength(): number {
510
+ return this.nativeElement ? this.nativeElement.minLength : undefined;
511
+ }
512
+ set minLength(value: number) {
513
+ if (this.nativeElement) {
514
+ this.nativeElement.minLength = value;
515
+ }
516
+ }
517
+
518
+ /** Determines if the window is visible or not.
519
+ * Property type: boolean
520
+ */
521
+ get opened(): boolean {
522
+ return this.nativeElement ? this.nativeElement.opened : undefined;
523
+ }
524
+ set opened(value: boolean) {
525
+ if (this.nativeElement) {
526
+ this.nativeElement.opened = value;
527
+ }
528
+ }
529
+
530
+ /** Determines if the window is pinned or not. Pinned window is a window that can't be dragged but can be resized.
531
+ * Property type: boolean
532
+ */
533
+ get pinned(): boolean {
534
+ return this.nativeElement ? this.nativeElement.pinned : undefined;
535
+ }
536
+ set pinned(value: boolean) {
537
+ if (this.nativeElement) {
538
+ this.nativeElement.pinned = value;
539
+ }
540
+ }
541
+
542
+ /** Determines the input's placeholder. Applicable to Prompt Window.
543
+ * Property type: string
544
+ */
545
+ get placeholder(): string {
546
+ return this.nativeElement ? this.nativeElement.placeholder : undefined;
547
+ }
548
+ set placeholder(value: string) {
549
+ if (this.nativeElement) {
550
+ this.nativeElement.placeholder = value;
551
+ }
552
+ }
553
+
554
+ /** Determines the label for the Input insinde the PromptWindow.
555
+ * Property type: string
556
+ */
557
+ get promptLabel(): string {
558
+ return this.nativeElement ? this.nativeElement.promptLabel : undefined;
559
+ }
560
+ set promptLabel(value: string) {
561
+ if (this.nativeElement) {
562
+ this.nativeElement.promptLabel = value;
563
+ }
564
+ }
565
+
566
+ /** If the element is readonly, users cannot interact with it.
567
+ * Property type: boolean
568
+ */
569
+ get readonly(): boolean {
570
+ return this.nativeElement ? this.nativeElement.readonly : undefined;
571
+ }
572
+ set readonly(value: boolean) {
573
+ if (this.nativeElement) {
574
+ this.nativeElement.readonly = value;
575
+ }
576
+ }
577
+
578
+ /** When applied a resize indicator is displayed in the bottom right corner of the window and resizing operation can be initiated only from its position.
579
+ * Property type: boolean
580
+ */
581
+ get resizeIndicator(): boolean {
582
+ return this.nativeElement ? this.nativeElement.resizeIndicator : undefined;
583
+ }
584
+ set resizeIndicator(value: boolean) {
585
+ if (this.nativeElement) {
586
+ this.nativeElement.resizeIndicator = value;
587
+ }
588
+ }
589
+
590
+ /** Determines the resizing mode of the window. Several modes are available: none - resizing is disabled. vertical - vertical resizing is allowed. horizontal - horizontal resizing is allowed. both - horizontal and vertical resizing is allowed. top - the window can only be resized from the top side. bottom - the window is resizable only from the bottom side. left - the window can be resized only from the left side. right - the window can be resized only from the right side.
591
+ * Property type: WindowResizeMode | string
592
+ */
593
+ get resizeMode(): WindowResizeMode | string {
594
+ return this.nativeElement ? this.nativeElement.resizeMode : undefined;
595
+ }
596
+ set resizeMode(value: WindowResizeMode | string) {
597
+ if (this.nativeElement) {
598
+ this.nativeElement.resizeMode = value;
599
+ }
600
+ }
601
+
602
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
603
+ * Property type: boolean
604
+ */
605
+ get rightToLeft(): boolean {
606
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
607
+ }
608
+ set rightToLeft(value: boolean) {
609
+ if (this.nativeElement) {
610
+ this.nativeElement.rightToLeft = value;
611
+ }
612
+ }
613
+
614
+ /** Specifies that the user must fill the input before submitting a form with the text box.Applicable to Prompt Window.
615
+ * Property type: boolean
616
+ */
617
+ get required(): boolean {
618
+ return this.nativeElement ? this.nativeElement.required : undefined;
619
+ }
620
+ set required(value: boolean) {
621
+ if (this.nativeElement) {
622
+ this.nativeElement.required = value;
623
+ }
624
+ }
625
+
626
+ /** Specifies the message that will appear if required is set and no value is provided in the input. Applicable to Prompt Window.
627
+ * Property type: string
628
+ */
629
+ get requiredMessage(): string {
630
+ return this.nativeElement ? this.nativeElement.requiredMessage : undefined;
631
+ }
632
+ set requiredMessage(value: string) {
633
+ if (this.nativeElement) {
634
+ this.nativeElement.requiredMessage = value;
635
+ }
636
+ }
637
+
638
+ /** Determines whether the content of the input will be selected on focus or not. Applicable to Prompt Window.
639
+ * Property type: boolean
640
+ */
641
+ get selectAllOnFocus(): boolean {
642
+ return this.nativeElement ? this.nativeElement.selectAllOnFocus : undefined;
643
+ }
644
+ set selectAllOnFocus(value: boolean) {
645
+ if (this.nativeElement) {
646
+ this.nativeElement.selectAllOnFocus = value;
647
+ }
648
+ }
649
+
650
+ /** Sets or gets which tab is selected. Applicable only to TabsWindow.
651
+ * Property type: number | null
652
+ */
653
+ get selectedIndex(): number | null {
654
+ return this.nativeElement ? this.nativeElement.selectedIndex : undefined;
655
+ }
656
+ set selectedIndex(value: number | null) {
657
+ if (this.nativeElement) {
658
+ this.nativeElement.selectedIndex = value;
659
+ }
660
+ }
661
+
662
+ /** Determines the way the user can switch between tabs. Applicable only to TabsWindow.
663
+ * Property type: TabSelectionMode | string
664
+ */
665
+ get selectionMode(): TabSelectionMode | string {
666
+ return this.nativeElement ? this.nativeElement.selectionMode : undefined;
667
+ }
668
+ set selectionMode(value: TabSelectionMode | string) {
669
+ if (this.nativeElement) {
670
+ this.nativeElement.selectionMode = value;
671
+ }
672
+ }
673
+
674
+ /** Indicates the index of the last character in the current selection. Applicable only to MultilinePromptWindow.
675
+ * Property type: number
676
+ */
677
+ get selectionEnd(): number {
678
+ return this.nativeElement ? this.nativeElement.selectionEnd : undefined;
679
+ }
680
+ set selectionEnd(value: number) {
681
+ if (this.nativeElement) {
682
+ this.nativeElement.selectionEnd = value;
683
+ }
684
+ }
685
+
686
+ /** Indicates the index to the first character in the current selection. Applicable only to MultilinePromptWindow.
687
+ * Property type: number
688
+ */
689
+ get selectionStart(): number {
690
+ return this.nativeElement ? this.nativeElement.selectionStart : undefined;
691
+ }
692
+ set selectionStart(value: number) {
693
+ if (this.nativeElement) {
694
+ this.nativeElement.selectionStart = value;
695
+ }
696
+ }
697
+
698
+ /** Enables/Disabled the label for the Progress Bar. Applicable only to Progress Window.
699
+ * Property type: boolean
700
+ */
701
+ get showProgressValue(): boolean {
702
+ return this.nativeElement ? this.nativeElement.showProgressValue : undefined;
703
+ }
704
+ set showProgressValue(value: boolean) {
705
+ if (this.nativeElement) {
706
+ this.nativeElement.showProgressValue = value;
707
+ }
708
+ }
709
+
710
+ /** A getter that returns the siblings (that share the same parent) of a LayoutPanel item that is docked inside a DockingLayout. The siblings are also DockingLayout items ( LayoutPanels).Applicable only to TabsWindow when docked inside a DockingLayout.
711
+ * Property type: any
712
+ */
713
+ get siblings(): any {
714
+ return this.nativeElement ? this.nativeElement.siblings : undefined;
715
+ }
716
+ set siblings(value: any) {
717
+ if (this.nativeElement) {
718
+ this.nativeElement.siblings = value;
719
+ }
720
+ }
721
+
722
+ /** Applicable to TabsWindow when nested inside a DockingLayout Custom Element. Determines the size of the item.
723
+ * Property type: string
724
+ */
725
+ get size(): string {
726
+ return this.nativeElement ? this.nativeElement.size : undefined;
727
+ }
728
+ set size(value: string) {
729
+ if (this.nativeElement) {
730
+ this.nativeElement.size = value;
731
+ }
732
+ }
733
+
734
+ /** Specifies whether the element is to have its spelling and grammar checked or not. Applicable only to MultilinePromptWindow.
735
+ * Property type: boolean
736
+ */
737
+ get spellCheck(): boolean {
738
+ return this.nativeElement ? this.nativeElement.spellCheck : undefined;
739
+ }
740
+ set spellCheck(value: boolean) {
741
+ if (this.nativeElement) {
742
+ this.nativeElement.spellCheck = value;
743
+ }
744
+ }
745
+
746
+ /** Sets or gets whether close buttons are displayed inside the Tab Strip of the TabsWindow. Applicable only to TabsWindow.
747
+ * Property type: boolean
748
+ */
749
+ get tabCloseButtons(): boolean {
750
+ return this.nativeElement ? this.nativeElement.tabCloseButtons : undefined;
751
+ }
752
+ set tabCloseButtons(value: boolean) {
753
+ if (this.nativeElement) {
754
+ this.nativeElement.tabCloseButtons = value;
755
+ }
756
+ }
757
+
758
+ /** Determines if the close button is visible on select or always. Applicable only to TabsWindow.
759
+ * Property type: WindowTabCloseButtonMode | string
760
+ */
761
+ get tabCloseButtonMode(): WindowTabCloseButtonMode | string {
762
+ return this.nativeElement ? this.nativeElement.tabCloseButtonMode : undefined;
763
+ }
764
+ set tabCloseButtonMode(value: WindowTabCloseButtonMode | string) {
765
+ if (this.nativeElement) {
766
+ this.nativeElement.tabCloseButtonMode = value;
767
+ }
768
+ }
769
+
770
+ /** Sets or gets the Tabs scroll buttons behavior. Applicable only when tabLayout is 'scroll'. Applicable only to TabsWindow.
771
+ * Property type: Overflow | string
772
+ */
773
+ get tabOverflow(): Overflow | string {
774
+ return this.nativeElement ? this.nativeElement.tabOverflow : undefined;
775
+ }
776
+ set tabOverflow(value: Overflow | string) {
777
+ if (this.nativeElement) {
778
+ this.nativeElement.tabOverflow = value;
779
+ }
780
+ }
781
+
782
+ /** Detetmines Tab Strip is positioned of the TabsWindow. Applicable only to TabsWindow.
783
+ * Property type: TabPosition | string
784
+ */
785
+ get tabPosition(): TabPosition | string {
786
+ return this.nativeElement ? this.nativeElement.tabPosition : undefined;
787
+ }
788
+ set tabPosition(value: TabPosition | string) {
789
+ if (this.nativeElement) {
790
+ this.nativeElement.tabPosition = value;
791
+ }
792
+ }
793
+
794
+ /** Sets or gets the position of the scroll buttons inside the Tab header of the TabsWindow. Applicable only to TabsWindow.
795
+ * Property type: LayoutPosition | string
796
+ */
797
+ get tabScrollButtonsPosition(): LayoutPosition | string {
798
+ return this.nativeElement ? this.nativeElement.tabScrollButtonsPosition : undefined;
799
+ }
800
+ set tabScrollButtonsPosition(value: LayoutPosition | string) {
801
+ if (this.nativeElement) {
802
+ this.nativeElement.tabScrollButtonsPosition = value;
803
+ }
804
+ }
805
+
806
+ /** Sets or gets the orientation of the text in the tabs labels of the TabsWindow. Applicable only to TabsWindow.
807
+ * Property type: Orientation | string
808
+ */
809
+ get tabTextOrientation(): Orientation | string {
810
+ return this.nativeElement ? this.nativeElement.tabTextOrientation : undefined;
811
+ }
812
+ set tabTextOrientation(value: Orientation | string) {
813
+ if (this.nativeElement) {
814
+ this.nativeElement.tabTextOrientation = value;
815
+ }
816
+ }
817
+
818
+ /** Determines the theme. Theme defines the look of the element
819
+ * Property type: string
820
+ */
821
+ get theme(): string {
822
+ return this.nativeElement ? this.nativeElement.theme : undefined;
823
+ }
824
+ set theme(value: string) {
825
+ if (this.nativeElement) {
826
+ this.nativeElement.theme = value;
827
+ }
828
+ }
829
+
830
+ /** If is set to true, the element cannot be focused.
831
+ * Property type: boolean
832
+ */
833
+ get unfocusable(): boolean {
834
+ return this.nativeElement ? this.nativeElement.unfocusable : undefined;
835
+ }
836
+ set unfocusable(value: boolean) {
837
+ if (this.nativeElement) {
838
+ this.nativeElement.unfocusable = value;
839
+ }
840
+ }
841
+
842
+ /** Determines the value of the TextBox/ProgressBar inside the Dialog/Prompt/Progress Window
843
+ * Property type: string | number
844
+ */
845
+ get value(): string | number {
846
+ return this.nativeElement ? this.nativeElement.value : undefined;
847
+ }
848
+ set value(value: string | number) {
849
+ if (this.nativeElement) {
850
+ this.nativeElement.value = value;
851
+ }
852
+ }
853
+
854
+ /** Determines the actual parent of the element. The window can size and move only in the area of that element.
855
+ * Property type: any
856
+ */
857
+ get windowParent(): any {
858
+ return this.nativeElement ? this.nativeElement.windowParent : undefined;
859
+ }
860
+ set windowParent(value: any) {
861
+ if (this.nativeElement) {
862
+ this.nativeElement.windowParent = value;
863
+ }
864
+ }
865
+
866
+ /** Indicates how the input wraps text. Applicable only to MultilinePromptWindow.
867
+ * Property type: WindowWrap | string
868
+ */
869
+ get wrap(): WindowWrap | string {
870
+ return this.nativeElement ? this.nativeElement.wrap : undefined;
871
+ }
872
+ set wrap(value: WindowWrap | string) {
873
+ if (this.nativeElement) {
874
+ this.nativeElement.wrap = value;
875
+ }
876
+ }
877
+
878
+
879
+ // Gets the properties of the React component.
880
+ get properties(): string[] {
881
+ return ["addNewTab","animation","autoCapitalize","autoExpand","cancelLabel","completeLabel","confirmLabel","collapsed","closeOnMaskClick","dataSource","disabled","disableSnap","disableEscape","disableKeyboard","displayMode","dropPosition","formatFunction","footerPosition","footerTemplate","headerButtons","headerTemplate","headerPosition","hint","indeterminate","inverted","label","liveResize","layout","locale","locked","localizeFormatFunction","maximized","messages","modal","max","min","minimized","maxLength","minLength","opened","pinned","placeholder","promptLabel","readonly","resizeIndicator","resizeMode","rightToLeft","required","requiredMessage","selectAllOnFocus","selectedIndex","selectionMode","selectionEnd","selectionStart","showProgressValue","siblings","size","spellCheck","tabCloseButtons","tabCloseButtonMode","tabOverflow","tabPosition","tabScrollButtonsPosition","tabTextOrientation","theme","unfocusable","value","windowParent","wrap"];
882
+ }
883
+ /** This event is triggered just before the window starts opening.
884
+ * @param event. The custom event. */
885
+ onOpening?: ((event?: Event) => void) | undefined
886
+ /** This event is triggered when the window is opened( visible ).
887
+ * @param event. The custom event. */
888
+ onOpen?: ((event?: Event) => void) | undefined
889
+ /** This event is triggered just before the window starts closing.
890
+ * @param event. The custom event. */
891
+ onClosing?: ((event?: Event) => void) | undefined
892
+ /** This event is triggered when the window is closed( hidden )
893
+ * @param event. The custom event. */
894
+ onClose?: ((event?: Event) => void) | undefined
895
+ /** This event is triggered when the window is collapsed.
896
+ * @param event. The custom event. */
897
+ onCollapse?: ((event?: Event) => void) | undefined
898
+ /** This event is triggered when window's dragging is ended.
899
+ * @param event. The custom event. */
900
+ onDragEnd?: ((event?: Event) => void) | undefined
901
+ /** This event is triggered when window's dragging is started.
902
+ * @param event. The custom event. */
903
+ onDragStart?: ((event?: Event) => void) | undefined
904
+ /** This event is triggered when the window is expanded.
905
+ * @param event. The custom event. */
906
+ onExpand?: ((event?: Event) => void) | undefined
907
+ /** This event is triggered when the window is maximized.
908
+ * @param event. The custom event. */
909
+ onMaximize?: ((event?: Event) => void) | undefined
910
+ /** This event is triggered when the window is minimized.
911
+ * @param event. The custom event. */
912
+ onMinimize?: ((event?: Event) => void) | undefined
913
+ /** This event is triggered when window's resizing is ended.
914
+ * @param event. The custom event. */
915
+ onResizeEnd?: ((event?: Event) => void) | undefined
916
+ /** This event is triggered when window's resizing is started.
917
+ * @param event. The custom event. */
918
+ onResizeStart?: ((event?: Event) => void) | undefined
919
+ /** This event is triggered when the window is restored to it's previous state before maximization.
920
+ * @param event. The custom event. */
921
+ onRestore?: ((event?: Event) => void) | undefined
922
+ /** This event occurs, when the React component is created.
923
+ * @param event. The custom event. */
924
+ onCreate?: ((event?: Event) => void) | undefined
925
+ /** This event occurs, when the React component is completely rendered.
926
+ * @param event. The custom event. */
927
+ onReady?: ((event?: Event) => void) | undefined
928
+
929
+ // Gets the events of the React component.
930
+ get eventListeners(): string[] {
931
+ return ["onOpening","onOpen","onClosing","onClose","onCollapse","onDragEnd","onDragStart","onExpand","onMaximize","onMinimize","onResizeEnd","onResizeStart","onRestore","onCreate","onReady"];
932
+ }
933
+ /** Appends a tabitem to the end of the list of tab items inside element.
934
+ * @param {Node} node. A TabItem element that should be added to the rest of the items as the last item.
935
+ * @returns {Node}
936
+ */
937
+ public appendChild(node:Node) : any {
938
+ const result: any = this.nativeElement.appendChild(node);
939
+ return result;
940
+ }
941
+
942
+ /** Sets the window to the top level so the user can interact with it.
943
+ */
944
+ public bringToFront(): void {
945
+ if (this.nativeElement.isRendered) {
946
+ this.nativeElement.bringToFront();
947
+ }
948
+ else
949
+ {
950
+ this.nativeElement.whenRendered(() => {
951
+ this.nativeElement.bringToFront();
952
+ });
953
+ }
954
+ }
955
+
956
+ /** Clears the content of the Window.
957
+ */
958
+ public clear(): void {
959
+ if (this.nativeElement.isRendered) {
960
+ this.nativeElement.clear();
961
+ }
962
+ else
963
+ {
964
+ this.nativeElement.whenRendered(() => {
965
+ this.nativeElement.clear();
966
+ });
967
+ }
968
+ }
969
+
970
+ /** Closes the window.
971
+ */
972
+ public close(): void {
973
+ if (this.nativeElement.isRendered) {
974
+ this.nativeElement.close();
975
+ }
976
+ else
977
+ {
978
+ this.nativeElement.whenRendered(() => {
979
+ this.nativeElement.close();
980
+ });
981
+ }
982
+ }
983
+
984
+ /** Collapses the window.
985
+ * @returns {HTMLElement}
986
+ */
987
+ public collapse() : any {
988
+ const result: any = this.nativeElement.collapse();
989
+ return result;
990
+ }
991
+
992
+ /** Makes sure a tab item is visible by scrolling to it. Applicable only to TabsWindow.
993
+ * @param {number} index. The index of the tab to scroll to.
994
+ */
995
+ public ensureVisible(index: number): void {
996
+ if (this.nativeElement.isRendered) {
997
+ this.nativeElement.ensureVisible(index);
998
+ }
999
+ else
1000
+ {
1001
+ this.nativeElement.whenRendered(() => {
1002
+ this.nativeElement.ensureVisible(index);
1003
+ });
1004
+ }
1005
+ }
1006
+
1007
+ /** Expands the window after being collapsed.
1008
+ * @returns {any[]}
1009
+ */
1010
+ public expand() : any {
1011
+ const result: any = this.nativeElement.expand();
1012
+ return result;
1013
+ }
1014
+
1015
+ /** Inserts a new tab and an associated content section. Applicable only to TabsWindow.
1016
+ * @param {number} index. The index to insert a new tab at.
1017
+ * @param {any} details. An Object with the fields "label", "labelSize", "content" and "group".
1018
+ */
1019
+ public insert(index: number, details: any): void {
1020
+ if (this.nativeElement.isRendered) {
1021
+ this.nativeElement.insert(index, details);
1022
+ }
1023
+ else
1024
+ {
1025
+ this.nativeElement.whenRendered(() => {
1026
+ this.nativeElement.insert(index, details);
1027
+ });
1028
+ }
1029
+ }
1030
+
1031
+ /** Inserts the specified "smart-tab-item" node before the reference "smart-tab-item" node. Applicable only to TabsWindow.
1032
+ * @param {Node} newNode. The "jqx-tab-item" node to insert.
1033
+ * @param {Node | null} referenceNode?. The "jqx-tab-item" node before which newNode is inserted.
1034
+ * @returns {Node}
1035
+ */
1036
+ public insertBefore(newNode:Node, referenceNode?:Node | null) : any {
1037
+ const result: any = this.nativeElement.insertBefore(newNode, referenceNode);
1038
+ return result;
1039
+ }
1040
+
1041
+ /** Moves the window to a new position
1042
+ * @param {string | number} left. Left position. For example: '100px'.
1043
+ * @param {string | number} top. Top position. For example: '100px'.
1044
+ */
1045
+ public move(left: string | number, top: string | number): void {
1046
+ if (this.nativeElement.isRendered) {
1047
+ this.nativeElement.move(left, top);
1048
+ }
1049
+ else
1050
+ {
1051
+ this.nativeElement.whenRendered(() => {
1052
+ this.nativeElement.move(left, top);
1053
+ });
1054
+ }
1055
+ }
1056
+
1057
+ /** Maximizes the window to fill the area.
1058
+ */
1059
+ public maximize(): void {
1060
+ if (this.nativeElement.isRendered) {
1061
+ this.nativeElement.maximize();
1062
+ }
1063
+ else
1064
+ {
1065
+ this.nativeElement.whenRendered(() => {
1066
+ this.nativeElement.maximize();
1067
+ });
1068
+ }
1069
+ }
1070
+
1071
+ /** Minimizes the window.
1072
+ */
1073
+ public minimize(): void {
1074
+ if (this.nativeElement.isRendered) {
1075
+ this.nativeElement.minimize();
1076
+ }
1077
+ else
1078
+ {
1079
+ this.nativeElement.whenRendered(() => {
1080
+ this.nativeElement.minimize();
1081
+ });
1082
+ }
1083
+ }
1084
+
1085
+ /** Opens the window
1086
+ */
1087
+ public open(): void {
1088
+ if (this.nativeElement.isRendered) {
1089
+ this.nativeElement.open();
1090
+ }
1091
+ else
1092
+ {
1093
+ this.nativeElement.whenRendered(() => {
1094
+ this.nativeElement.open();
1095
+ });
1096
+ }
1097
+ }
1098
+
1099
+ /** Pins the window. Disables window dragging.
1100
+ */
1101
+ public pin(): void {
1102
+ if (this.nativeElement.isRendered) {
1103
+ this.nativeElement.pin();
1104
+ }
1105
+ else
1106
+ {
1107
+ this.nativeElement.whenRendered(() => {
1108
+ this.nativeElement.pin();
1109
+ });
1110
+ }
1111
+ }
1112
+
1113
+ /** Removes a tab and its associated content section. Applicable only to TabsWindow.
1114
+ * @param {number} index. The index of the tab to remove.
1115
+ */
1116
+ public removeAt(index: number): void {
1117
+ if (this.nativeElement.isRendered) {
1118
+ this.nativeElement.removeAt(index);
1119
+ }
1120
+ else
1121
+ {
1122
+ this.nativeElement.whenRendered(() => {
1123
+ this.nativeElement.removeAt(index);
1124
+ });
1125
+ }
1126
+ }
1127
+
1128
+ /** Removes a child "smart-tab-item" node. Applicable only to TabsWindow.
1129
+ * @param {Node} node. The "jqx-tab-item" node to remove.
1130
+ * @returns {Node}
1131
+ */
1132
+ public removeChild(node:Node) : any {
1133
+ const result: any = this.nativeElement.removeChild(node);
1134
+ return result;
1135
+ }
1136
+
1137
+ /** Restores the window to it's previous size before maximization/minimization.
1138
+ */
1139
+ public restore(): void {
1140
+ if (this.nativeElement.isRendered) {
1141
+ this.nativeElement.restore();
1142
+ }
1143
+ else
1144
+ {
1145
+ this.nativeElement.whenRendered(() => {
1146
+ this.nativeElement.restore();
1147
+ });
1148
+ }
1149
+ }
1150
+
1151
+ /** Selects a tab. Applicalbe only to TabsWindow elements.
1152
+ * @param {number} index. The index of the tab to select.
1153
+ */
1154
+ public select(index: number): void {
1155
+ if (this.nativeElement.isRendered) {
1156
+ this.nativeElement.select(index);
1157
+ }
1158
+ else
1159
+ {
1160
+ this.nativeElement.whenRendered(() => {
1161
+ this.nativeElement.select(index);
1162
+ });
1163
+ }
1164
+ }
1165
+
1166
+ /** Unpins the window. Enables window dragging.
1167
+ */
1168
+ public unpin(): void {
1169
+ if (this.nativeElement.isRendered) {
1170
+ this.nativeElement.unpin();
1171
+ }
1172
+ else
1173
+ {
1174
+ this.nativeElement.whenRendered(() => {
1175
+ this.nativeElement.unpin();
1176
+ });
1177
+ }
1178
+ }
1179
+
1180
+ /** Updates the header label.
1181
+ * @param {string} label. The new label of the Header.
1182
+ */
1183
+ public updateLabel(label: string): void {
1184
+ if (this.nativeElement.isRendered) {
1185
+ this.nativeElement.updateLabel(label);
1186
+ }
1187
+ else
1188
+ {
1189
+ this.nativeElement.whenRendered(() => {
1190
+ this.nativeElement.updateLabel(label);
1191
+ });
1192
+ }
1193
+ }
1194
+
1195
+ /** Updates the content.
1196
+ * @param {string | HTMLElement} content. The new content of the window.
1197
+ */
1198
+ public updateContent(content: string | HTMLElement): void {
1199
+ if (this.nativeElement.isRendered) {
1200
+ this.nativeElement.updateContent(content);
1201
+ }
1202
+ else
1203
+ {
1204
+ this.nativeElement.whenRendered(() => {
1205
+ this.nativeElement.updateContent(content);
1206
+ });
1207
+ }
1208
+ }
1209
+
1210
+ /** Updates a TAB in TAB Window and its associated content section. Applies only to TabsWindow elements.
1211
+ * @param {number} index. The index of the tab to update.
1212
+ * @param {string} label. The new label of the tab. The value can be the id of an HTMLTemplateElement
1213
+ * @param {string | HTMLElement} content. The new content of the tab.
1214
+ */
1215
+ public update(index: number, label: string, content: string | HTMLElement): void {
1216
+ if (this.nativeElement.isRendered) {
1217
+ this.nativeElement.update(index, label, content);
1218
+ }
1219
+ else
1220
+ {
1221
+ this.nativeElement.whenRendered(() => {
1222
+ this.nativeElement.update(index, label, content);
1223
+ });
1224
+ }
1225
+ }
1226
+
1227
+
1228
+
1229
+ constructor(props: any) {
1230
+ super(props);
1231
+ this.componentRef = React.createRef();
1232
+ }
1233
+
1234
+ componentDidRender(initialize: boolean) {
1235
+ const that = this;
1236
+ const props: any = {};
1237
+ const events: any = {};
1238
+ let styles: any = null;
1239
+
1240
+ const stringifyCircularJSON = (obj: any) => {
1241
+ const seen = new WeakSet();
1242
+ return JSON.stringify(obj, (k, v) => {
1243
+ if (v !== null && typeof v === 'object') {
1244
+ if (seen.has(v)) return;
1245
+ seen.add(v);
1246
+ }
1247
+
1248
+ if (k === 'Smart') {
1249
+ return v;
1250
+ }
1251
+
1252
+ return v;
1253
+ });
1254
+ };
1255
+
1256
+ for(let prop in that.props) {
1257
+ if (prop === 'children') {
1258
+ continue;
1259
+ }
1260
+
1261
+ if (prop === 'style') {
1262
+ styles = that.props[prop];
1263
+ continue;
1264
+ }
1265
+
1266
+ if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
1267
+ events[prop] = that.props[prop];
1268
+ continue;
1269
+ }
1270
+
1271
+ props[prop] = that.props[prop];
1272
+ }
1273
+
1274
+ if (initialize) {
1275
+ that.nativeElement = this.componentRef.current;
1276
+ if (that.nativeElement && !that.nativeElement.isCompleted) {
1277
+ that.nativeElement.reactStateProps = JSON.parse(stringifyCircularJSON(props));
1278
+ }
1279
+ }
1280
+
1281
+ if (initialize && that.nativeElement && that.nativeElement.isCompleted) {
1282
+ // return;
1283
+ }
1284
+
1285
+
1286
+ for(let prop in props) {
1287
+ if (prop === 'class' || prop === 'className') {
1288
+ const classNames = props[prop].trim().split(' ');
1289
+
1290
+ if (that.nativeElement._classNames) {
1291
+ const oldClassNames = that.nativeElement._classNames;
1292
+ for(let className in oldClassNames) {
1293
+ if (that.nativeElement.classList.contains(oldClassNames[className]) && oldClassNames[className] !== "") {
1294
+ that.nativeElement.classList.remove(oldClassNames[className]);
1295
+ }
1296
+ }
1297
+ }
1298
+
1299
+ that.nativeElement._classNames = classNames;
1300
+
1301
+ for(let className in classNames) {
1302
+ if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
1303
+ that.nativeElement.classList.add(classNames[className]);
1304
+ }
1305
+ }
1306
+
1307
+ continue;
1308
+ }
1309
+
1310
+ if (props[prop] !== that.nativeElement[prop]) {
1311
+ const normalizeProp = (str: string) => {
1312
+ return str.replace(/-([a-z])/g, function (g) {
1313
+ return g[1].toUpperCase();
1314
+ });
1315
+ }
1316
+
1317
+ if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
1318
+ that.nativeElement.setAttribute(prop, '');
1319
+ }
1320
+
1321
+ const normalizedProp = normalizeProp(prop);
1322
+
1323
+ if (that.nativeElement[normalizedProp] === undefined) {
1324
+ that.nativeElement.setAttribute(prop, props[prop]);
1325
+ }
1326
+
1327
+ if (props[prop] !== undefined) {
1328
+ if (typeof props[prop] === 'object' && that.nativeElement.reactStateProps && !initialize) {
1329
+ if (stringifyCircularJSON(props[prop]) === stringifyCircularJSON(that.nativeElement.reactStateProps[normalizedProp])) {
1330
+ continue;
1331
+ }
1332
+ }
1333
+
1334
+ that.nativeElement[normalizedProp] = props[prop];
1335
+ }
1336
+ }
1337
+ }
1338
+
1339
+
1340
+ for(let eventName in events) {
1341
+ that[eventName] = events[eventName];
1342
+ that.nativeElement[eventName.toLowerCase()] = events[eventName];
1343
+ }
1344
+
1345
+ if (initialize) {
1346
+ Smart.Render();
1347
+
1348
+ if (that.onCreate) {
1349
+ that.onCreate();
1350
+ }
1351
+
1352
+ that.nativeElement.whenRendered(() => {
1353
+ if (that.onReady) {
1354
+ that.onReady();
1355
+ }
1356
+ });
1357
+ }
1358
+
1359
+ // setup styles.
1360
+
1361
+ if (styles) {
1362
+ for(let styleName in styles) {
1363
+ that.nativeElement.style[styleName] = styles[styleName];
1364
+ }
1365
+ }
1366
+ }
1367
+
1368
+ componentDidMount() {
1369
+ this.componentDidRender(true);
1370
+ }
1371
+
1372
+ componentDidUpdate() {
1373
+ this.componentDidRender(false);
1374
+ }
1375
+
1376
+ componentWillUnmount() {
1377
+ const that = this;
1378
+
1379
+ if (!that.nativeElement) {
1380
+ return;
1381
+ }
1382
+
1383
+ that.nativeElement.whenRenderedCallbacks = [];
1384
+
1385
+ for(let i = 0; i < that.eventListeners.length; i++){
1386
+ const eventName = that.eventListeners[i];
1387
+
1388
+ that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
1389
+ }
1390
+ }
1391
+
1392
+ render() {
1393
+ return (
1394
+ React.createElement("smart-multiline-window", { ref: this.componentRef }, this.props.children)
1395
+ )
1396
+ }
1397
+ }
1398
+
1399
+ export default MultilineWindow;