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,2510 @@
1
+ import React from "react";
2
+ /**
3
+ Scheduler displays a set ot Events in Day, Week, Month, Agenda, Timeline Day, Timeline Week, Timeline Month views.
4
+ */
5
+ export class Scheduler extends React.Component {
6
+ // Gets the id of the React component.
7
+ get id() {
8
+ if (!this._id) {
9
+ this._id = 'Scheduler' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
10
+ }
11
+
12
+ return this._id;
13
+ }
14
+ /** Determines the scroll speed while dragging an event.
15
+ * Property type: number
16
+ */
17
+ get autoScrollStep() {
18
+ return this.nativeElement ? this.nativeElement.autoScrollStep : undefined;
19
+ }
20
+ set autoScrollStep(value) {
21
+ if (this.nativeElement) {
22
+ this.nativeElement.autoScrollStep = value;
23
+ }
24
+ }
25
+
26
+ /** Determines whether the all day cells in Day and Week views automatically change their height depending on the events count in these cells.
27
+ * Property type: boolean
28
+ */
29
+ get autoHeightAllDayCells() {
30
+ return this.nativeElement ? this.nativeElement.autoHeightAllDayCells : undefined;
31
+ }
32
+ set autoHeightAllDayCells(value) {
33
+ if (this.nativeElement) {
34
+ this.nativeElement.autoHeightAllDayCells = value;
35
+ }
36
+ }
37
+
38
+ /** Defines an array of objects with start and end fields, where start and end are Date objects. For example: [{ 'start': '2022-10-25T12:00.000Z', 'end': '2022-10-25T13:00.000Z' }].
39
+ * Property type: any
40
+ */
41
+ get available() {
42
+ return this.nativeElement ? this.nativeElement.available : undefined;
43
+ }
44
+ set available(value) {
45
+ if (this.nativeElement) {
46
+ this.nativeElement.available = value;
47
+ }
48
+ }
49
+
50
+ /** Determines the color scheme for the event background selector in the event window editor.
51
+ * Property type: string[]
52
+ */
53
+ get colorScheme() {
54
+ return this.nativeElement ? this.nativeElement.colorScheme : undefined;
55
+ }
56
+ set colorScheme(value) {
57
+ if (this.nativeElement) {
58
+ this.nativeElement.colorScheme = value;
59
+ }
60
+ }
61
+
62
+ /** Determines the current time of the Scheduler to use for the current time indicator functionality. By default the current time is Today.
63
+ * Property type: string | Date
64
+ */
65
+ get currentTime() {
66
+ return this.nativeElement ? this.nativeElement.currentTime : undefined;
67
+ }
68
+ set currentTime(value) {
69
+ if (this.nativeElement) {
70
+ this.nativeElement.currentTime = value;
71
+ }
72
+ }
73
+
74
+ /** Enables/Disables the current time indicator. Current time indicator shows the current time in the appropriate view cells.
75
+ * Property type: boolean
76
+ */
77
+ get currentTimeIndicator() {
78
+ return this.nativeElement ? this.nativeElement.currentTimeIndicator : undefined;
79
+ }
80
+ set currentTimeIndicator(value) {
81
+ if (this.nativeElement) {
82
+ this.nativeElement.currentTimeIndicator = value;
83
+ }
84
+ }
85
+
86
+ /** Determines the refresh interval in seconds for the currentTimeIndicator.
87
+ * Property type: number
88
+ */
89
+ get currentTimeIndicatorInterval() {
90
+ return this.nativeElement ? this.nativeElement.currentTimeIndicatorInterval : undefined;
91
+ }
92
+ set currentTimeIndicatorInterval(value) {
93
+ if (this.nativeElement) {
94
+ this.nativeElement.currentTimeIndicatorInterval = value;
95
+ }
96
+ }
97
+
98
+ /** Determines the context menu items that are visible when the Context Menu is opened.
99
+ * Property type: any[]
100
+ */
101
+ get contextMenuDataSource() {
102
+ return this.nativeElement ? this.nativeElement.contextMenuDataSource : undefined;
103
+ }
104
+ set contextMenuDataSource(value) {
105
+ if (this.nativeElement) {
106
+ this.nativeElement.contextMenuDataSource = value;
107
+ }
108
+ }
109
+
110
+ /** Determines whether the clipboard shortcuts for copy/paste/cut action of events are visible in the Scheduler context menu or not.
111
+ * Property type: boolean
112
+ */
113
+ get contextMenuClipboardActions() {
114
+ return this.nativeElement ? this.nativeElement.contextMenuClipboardActions : undefined;
115
+ }
116
+ set contextMenuClipboardActions(value) {
117
+ if (this.nativeElement) {
118
+ this.nativeElement.contextMenuClipboardActions = value;
119
+ }
120
+ }
121
+
122
+ /** Allows to customize the content of the event elements. It can be an HTMLTemplateElement that will be applied to all events or it's id as a string or a function that will be called for each event with the following parameters: eventContent - the content holder for the event,eventObj - the event object.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the corresponding object properties.
123
+ * Property type: any
124
+ */
125
+ get eventTemplate() {
126
+ return this.nativeElement ? this.nativeElement.eventTemplate : undefined;
127
+ }
128
+ set eventTemplate(value) {
129
+ if (this.nativeElement) {
130
+ this.nativeElement.eventTemplate = value;
131
+ }
132
+ }
133
+
134
+ /** Allows to customize the content of the event collector elements. It can be an HTMLTemplateElement that will be applied to all events or it's id as a string or a function that will be called for each event with the following parameters: eventContent - the content holder for the event,eventObj - the event object.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the corresponding object properties.
135
+ * Property type: any
136
+ */
137
+ get eventCollectorTemplate() {
138
+ return this.nativeElement ? this.nativeElement.eventCollectorTemplate : undefined;
139
+ }
140
+ set eventCollectorTemplate(value) {
141
+ if (this.nativeElement) {
142
+ this.nativeElement.eventCollectorTemplate = value;
143
+ }
144
+ }
145
+
146
+ /** Determines how the events inside the Scheduler are rendered.classic - the events are arranged next to each other and try to fit inside the cells.modern - the events obey the CSS property that determines their size and if there's not enough space inside the cell for all events to appear, an event collector is created to hold the rest of the events. On mobile phones only collectors are created.
147
+ * Property type: SchedulerEventRenderMode | string
148
+ */
149
+ get eventRenderMode() {
150
+ return this.nativeElement ? this.nativeElement.eventRenderMode : undefined;
151
+ }
152
+ set eventRenderMode(value) {
153
+ if (this.nativeElement) {
154
+ this.nativeElement.eventRenderMode = value;
155
+ }
156
+ }
157
+
158
+ /** Allows to customize the content of the event menu items (tooltip). When clicked on an event element an event menu with details opens. It can be an HTMLTemplateElement that will be applied to all events or it's id as a string or a function that will be called for each event with the following parameters: eventContent - the content holder for the event,eventObj - the event object.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the corresponding object properties.
159
+ * Property type: any
160
+ */
161
+ get eventTooltipTemplate() {
162
+ return this.nativeElement ? this.nativeElement.eventTooltipTemplate : undefined;
163
+ }
164
+ set eventTooltipTemplate(value) {
165
+ if (this.nativeElement) {
166
+ this.nativeElement.eventTooltipTemplate = value;
167
+ }
168
+ }
169
+
170
+ /** Allows to customize the content of the timeline cells. It can be an HTMLTemplateElement that will be applied to all cells or it's id as a string or a function that will be called for each cell with the following parameters: cellContent - the content holder for the cell,cellDate - the cell date.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the value of the cell.
171
+ * Property type: any
172
+ */
173
+ get cellTemplate() {
174
+ return this.nativeElement ? this.nativeElement.cellTemplate : undefined;
175
+ }
176
+ set cellTemplate(value) {
177
+ if (this.nativeElement) {
178
+ this.nativeElement.cellTemplate = value;
179
+ }
180
+ }
181
+
182
+ /** Determines the currently visible date for the Scheduler.
183
+ * Property type: string | Date
184
+ */
185
+ get dateCurrent() {
186
+ return this.nativeElement ? this.nativeElement.dateCurrent : undefined;
187
+ }
188
+ set dateCurrent(value) {
189
+ if (this.nativeElement) {
190
+ this.nativeElement.dateCurrent = value;
191
+ }
192
+ }
193
+
194
+ /** Sets the Schedulers's Data Export options.
195
+ * Property type: SchedulerDataExport
196
+ */
197
+ get dataExport() {
198
+ return this.nativeElement ? this.nativeElement.dataExport : undefined;
199
+ }
200
+ set dataExport(value) {
201
+ if (this.nativeElement) {
202
+ this.nativeElement.dataExport = value;
203
+ }
204
+ }
205
+
206
+ /** Determines the events that will be loaded inside the Timeline. Each event represents an object that should contain the following properties:
207
+ * Property type: SchedulerEvent[]
208
+ */
209
+ get dataSource() {
210
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
211
+ }
212
+ set dataSource(value) {
213
+ if (this.nativeElement) {
214
+ this.nativeElement.dataSource = value;
215
+ }
216
+ }
217
+
218
+ /** A callback that can be used to customize the text inside the date selector located in the header. The callback has one parameter - the current date.
219
+ * Property type: any
220
+ */
221
+ get dateSelectorFormatFunction() {
222
+ return this.nativeElement ? this.nativeElement.dateSelectorFormatFunction : undefined;
223
+ }
224
+ set dateSelectorFormatFunction(value) {
225
+ if (this.nativeElement) {
226
+ this.nativeElement.dateSelectorFormatFunction = value;
227
+ }
228
+ }
229
+
230
+ /** Determines the day format of the dates in the timeline.
231
+ * Property type: SchedulerDayFormat | string
232
+ */
233
+ get dayFormat() {
234
+ return this.nativeElement ? this.nativeElement.dayFormat : undefined;
235
+ }
236
+ set dayFormat(value) {
237
+ if (this.nativeElement) {
238
+ this.nativeElement.dayFormat = value;
239
+ }
240
+ }
241
+
242
+ /** Enables or disables the element.
243
+ * Property type: boolean
244
+ */
245
+ get disabled() {
246
+ return this.nativeElement ? this.nativeElement.disabled : undefined;
247
+ }
248
+ set disabled(value) {
249
+ if (this.nativeElement) {
250
+ this.nativeElement.disabled = value;
251
+ }
252
+ }
253
+
254
+ /** Disables auto scrolling of the timeline while dragging/resizing an event.
255
+ * Property type: boolean
256
+ */
257
+ get disableAutoScroll() {
258
+ return this.nativeElement ? this.nativeElement.disableAutoScroll : undefined;
259
+ }
260
+ set disableAutoScroll(value) {
261
+ if (this.nativeElement) {
262
+ this.nativeElement.disableAutoScroll = value;
263
+ }
264
+ }
265
+
266
+ /** Disables dragging of events.
267
+ * Property type: boolean
268
+ */
269
+ get disableDrag() {
270
+ return this.nativeElement ? this.nativeElement.disableDrag : undefined;
271
+ }
272
+ set disableDrag(value) {
273
+ if (this.nativeElement) {
274
+ this.nativeElement.disableDrag = value;
275
+ }
276
+ }
277
+
278
+ /** Disables dropping of events.
279
+ * Property type: boolean
280
+ */
281
+ get disableDrop() {
282
+ return this.nativeElement ? this.nativeElement.disableDrop : undefined;
283
+ }
284
+ set disableDrop(value) {
285
+ if (this.nativeElement) {
286
+ this.nativeElement.disableDrop = value;
287
+ }
288
+ }
289
+
290
+ /** Disables resizing of events.
291
+ * Property type: boolean
292
+ */
293
+ get disableResize() {
294
+ return this.nativeElement ? this.nativeElement.disableResize : undefined;
295
+ }
296
+ set disableResize(value) {
297
+ if (this.nativeElement) {
298
+ this.nativeElement.disableResize = value;
299
+ }
300
+ }
301
+
302
+ /** Disables the cell selection.
303
+ * Property type: boolean
304
+ */
305
+ get disableSelection() {
306
+ return this.nativeElement ? this.nativeElement.disableSelection : undefined;
307
+ }
308
+ set disableSelection(value) {
309
+ if (this.nativeElement) {
310
+ this.nativeElement.disableSelection = value;
311
+ }
312
+ }
313
+
314
+ /** Disables the window editor for the events.
315
+ * Property type: boolean
316
+ */
317
+ get disableWindowEditor() {
318
+ return this.nativeElement ? this.nativeElement.disableWindowEditor : undefined;
319
+ }
320
+ set disableWindowEditor(value) {
321
+ if (this.nativeElement) {
322
+ this.nativeElement.disableWindowEditor = value;
323
+ }
324
+ }
325
+
326
+ /** Disables the context menu of the events and cells.
327
+ * Property type: boolean
328
+ */
329
+ get disableContextMenu() {
330
+ return this.nativeElement ? this.nativeElement.disableContextMenu : undefined;
331
+ }
332
+ set disableContextMenu(value) {
333
+ if (this.nativeElement) {
334
+ this.nativeElement.disableContextMenu = value;
335
+ }
336
+ }
337
+
338
+ /** Disables the event menu that appears when an event/collector has been clicked.
339
+ * Property type: boolean
340
+ */
341
+ get disableEventMenu() {
342
+ return this.nativeElement ? this.nativeElement.disableEventMenu : undefined;
343
+ }
344
+ set disableEventMenu(value) {
345
+ if (this.nativeElement) {
346
+ this.nativeElement.disableEventMenu = value;
347
+ }
348
+ }
349
+
350
+ /** Disables the view menu that allows to select the current Scheduler view.
351
+ * Property type: boolean
352
+ */
353
+ get disableViewMenu() {
354
+ return this.nativeElement ? this.nativeElement.disableViewMenu : undefined;
355
+ }
356
+ set disableViewMenu(value) {
357
+ if (this.nativeElement) {
358
+ this.nativeElement.disableViewMenu = value;
359
+ }
360
+ }
361
+
362
+ /** Disables the date menu that allows to select the current Scheduler date.
363
+ * Property type: boolean
364
+ */
365
+ get disableDateMenu() {
366
+ return this.nativeElement ? this.nativeElement.disableDateMenu : undefined;
367
+ }
368
+ set disableDateMenu(value) {
369
+ if (this.nativeElement) {
370
+ this.nativeElement.disableDateMenu = value;
371
+ }
372
+ }
373
+
374
+ /** A callback that can be used to customize the drag feedback that appears when an event is dragged.
375
+ * Property type: any
376
+ */
377
+ get dragFeedbackFormatFunction() {
378
+ return this.nativeElement ? this.nativeElement.dragFeedbackFormatFunction : undefined;
379
+ }
380
+ set dragFeedbackFormatFunction(value) {
381
+ if (this.nativeElement) {
382
+ this.nativeElement.dragFeedbackFormatFunction = value;
383
+ }
384
+ }
385
+
386
+ /** Determines the offset for the drag feedback from the pointer.
387
+ * Property type: any
388
+ */
389
+ get dragOffset() {
390
+ return this.nativeElement ? this.nativeElement.dragOffset : undefined;
391
+ }
392
+ set dragOffset(value) {
393
+ if (this.nativeElement) {
394
+ this.nativeElement.dragOffset = value;
395
+ }
396
+ }
397
+
398
+ /** Determines the filtering condition for the events.The filter property takes an array of objects or a function. Each object represents a single filtering condition with the following attributes: name - the name of the Scheduler event property that will be filtered by.value - the filtering condition value. The value will be used to compare the events based on the filterMode, for example: [{ name: 'price', value: 25 }]. The value can also be a function. The function accepts a single arguemnt - the value that corresponds to the filtered attribute. The function allows to apply custom condition that is different from the default filter modes. It should return true ( if the evnet passes the filtering condition ) or false ( if the event does not meet the filtering condition ). Here's an example: [{ name: 'roomId', value: (id) => ['2', '3'].indexOf(id + '') > -1 }]. In the example the events that do not have a 'roomId' property that is equal to '2' or '3' will be filtered out.. If a function is set to the filter property instead, it allows to completely customize the filtering logic. The function passes a single argument - each Scheduler event that will be displayed. The function should return true ( if the condition is met ) or false ( if not ).
399
+ * Property type: any
400
+ */
401
+ get filter() {
402
+ return this.nativeElement ? this.nativeElement.filter : undefined;
403
+ }
404
+ set filter(value) {
405
+ if (this.nativeElement) {
406
+ this.nativeElement.filter = value;
407
+ }
408
+ }
409
+
410
+ /** Determines whether Scheduler's filtering is enabled or not.
411
+ * Property type: any
412
+ */
413
+ get filterable() {
414
+ return this.nativeElement ? this.nativeElement.filterable : undefined;
415
+ }
416
+ set filterable(value) {
417
+ if (this.nativeElement) {
418
+ this.nativeElement.filterable = value;
419
+ }
420
+ }
421
+
422
+ /** Determines the filter mode.
423
+ * Property type: FilterMode | string
424
+ */
425
+ get filterMode() {
426
+ return this.nativeElement ? this.nativeElement.filterMode : undefined;
427
+ }
428
+ set filterMode(value) {
429
+ if (this.nativeElement) {
430
+ this.nativeElement.filterMode = value;
431
+ }
432
+ }
433
+
434
+ /** A getter that returns an array of all Scheduler events.
435
+ * Property type: SchedulerEvent[]
436
+ */
437
+ get events() {
438
+ return this.nativeElement ? this.nativeElement.events : undefined;
439
+ }
440
+ set events(value) {
441
+ if (this.nativeElement) {
442
+ this.nativeElement.events = value;
443
+ }
444
+ }
445
+
446
+ /** Determines the first day of week for the Scheduler. By default it's Sunday.
447
+ * Property type: number
448
+ */
449
+ get firstDayOfWeek() {
450
+ return this.nativeElement ? this.nativeElement.firstDayOfWeek : undefined;
451
+ }
452
+ set firstDayOfWeek(value) {
453
+ if (this.nativeElement) {
454
+ this.nativeElement.firstDayOfWeek = value;
455
+ }
456
+ }
457
+
458
+ /** Allows to customize the footer of the Scheduler. It can be an HTMLTemplateElement, it's id as a string or a function with the following parameters: footerContainer - the footer container..
459
+ * Property type: any
460
+ */
461
+ get footerTemplate() {
462
+ return this.nativeElement ? this.nativeElement.footerTemplate : undefined;
463
+ }
464
+ set footerTemplate(value) {
465
+ if (this.nativeElement) {
466
+ this.nativeElement.footerTemplate = value;
467
+ }
468
+ }
469
+
470
+ /** Determines whether the events will be grouped by date.
471
+ * Property type: boolean
472
+ */
473
+ get groupByDate() {
474
+ return this.nativeElement ? this.nativeElement.groupByDate : undefined;
475
+ }
476
+ set groupByDate(value) {
477
+ if (this.nativeElement) {
478
+ this.nativeElement.groupByDate = value;
479
+ }
480
+ }
481
+
482
+ /** Determines the grouping orientation.
483
+ * Property type: SchedulerGroupOrientation | string
484
+ */
485
+ get groupOrientation() {
486
+ return this.nativeElement ? this.nativeElement.groupOrientation : undefined;
487
+ }
488
+ set groupOrientation(value) {
489
+ if (this.nativeElement) {
490
+ this.nativeElement.groupOrientation = value;
491
+ }
492
+ }
493
+
494
+ /** Allows to customize the content of the group cells that are visible inside the header. It can be an HTMLTemplateElement that will be applied to all cells or it's id as a string or a function that will be called for each group cell with the following parameters: cellContent - the content holder for the group cell.cellObj - the group cell object.. When using an HTMLTemplateElement it's possible to add property bindings inside the template that will be mapped to the corresponding object properties.
495
+ * Property type: any
496
+ */
497
+ get groupTemplate() {
498
+ return this.nativeElement ? this.nativeElement.groupTemplate : undefined;
499
+ }
500
+ set groupTemplate(value) {
501
+ if (this.nativeElement) {
502
+ this.nativeElement.groupTemplate = value;
503
+ }
504
+ }
505
+
506
+ /** Determines the resources that the events are grouped by.
507
+ * Property type: any
508
+ */
509
+ get groups() {
510
+ return this.nativeElement ? this.nativeElement.groups : undefined;
511
+ }
512
+ set groups(value) {
513
+ if (this.nativeElement) {
514
+ this.nativeElement.groups = value;
515
+ }
516
+ }
517
+
518
+ /** Determines the end hour that will be displayed in 'day' and 'week' views.
519
+ * Property type: number
520
+ */
521
+ get hourEnd() {
522
+ return this.nativeElement ? this.nativeElement.hourEnd : undefined;
523
+ }
524
+ set hourEnd(value) {
525
+ if (this.nativeElement) {
526
+ this.nativeElement.hourEnd = value;
527
+ }
528
+ }
529
+
530
+ /** Determines the start hour that will be displayed in 'day' and 'week' views.
531
+ * Property type: number
532
+ */
533
+ get hourStart() {
534
+ return this.nativeElement ? this.nativeElement.hourStart : undefined;
535
+ }
536
+ set hourStart(value) {
537
+ if (this.nativeElement) {
538
+ this.nativeElement.hourStart = value;
539
+ }
540
+ }
541
+
542
+ /** Determines the formatting of hours inside the element.
543
+ * Property type: SchedulerHourFormat | string
544
+ */
545
+ get hourFormat() {
546
+ return this.nativeElement ? this.nativeElement.hourFormat : undefined;
547
+ }
548
+ set hourFormat(value) {
549
+ if (this.nativeElement) {
550
+ this.nativeElement.hourFormat = value;
551
+ }
552
+ }
553
+
554
+ /** Allows to customize the header of the Scheduler. It can be an HTMLTemplateElement, it's id as a string or a function with the following parameters: headerContent - the header container..
555
+ * Property type: any
556
+ */
557
+ get headerTemplate() {
558
+ return this.nativeElement ? this.nativeElement.headerTemplate : undefined;
559
+ }
560
+ set headerTemplate(value) {
561
+ if (this.nativeElement) {
562
+ this.nativeElement.headerTemplate = value;
563
+ }
564
+ }
565
+
566
+ /** Determines the position of the Date selector inside the Header of the element.
567
+ * Property type: SchedulerHeaderDatePosition | string
568
+ */
569
+ get headerDatePosition() {
570
+ return this.nativeElement ? this.nativeElement.headerDatePosition : undefined;
571
+ }
572
+ set headerDatePosition(value) {
573
+ if (this.nativeElement) {
574
+ this.nativeElement.headerDatePosition = value;
575
+ }
576
+ }
577
+
578
+ /** Determines the styling of the Header navigation controls.
579
+ * Property type: SchedulerHeaderNavigationStyle | string
580
+ */
581
+ get headerNavigationStyle() {
582
+ return this.nativeElement ? this.nativeElement.headerNavigationStyle : undefined;
583
+ }
584
+ set headerNavigationStyle(value) {
585
+ if (this.nativeElement) {
586
+ this.nativeElement.headerNavigationStyle = value;
587
+ }
588
+ }
589
+
590
+ /** Determines the position of the view selector control inside the Header of the element.
591
+ * Property type: SchedulerHeaderViewPosition | string
592
+ */
593
+ get headerViewPosition() {
594
+ return this.nativeElement ? this.nativeElement.headerViewPosition : undefined;
595
+ }
596
+ set headerViewPosition(value) {
597
+ if (this.nativeElement) {
598
+ this.nativeElement.headerViewPosition = value;
599
+ }
600
+ }
601
+
602
+ /** Determines whether the 'All Day' container with the all day events is hidden or not.
603
+ * Property type: boolean
604
+ */
605
+ get hideAllDay() {
606
+ return this.nativeElement ? this.nativeElement.hideAllDay : undefined;
607
+ }
608
+ set hideAllDay(value) {
609
+ if (this.nativeElement) {
610
+ this.nativeElement.hideAllDay = value;
611
+ }
612
+ }
613
+
614
+ /** Determines whether the days set by 'nonworkingDays' property are hidden or not.
615
+ * Property type: boolean
616
+ */
617
+ get hideNonworkingWeekdays() {
618
+ return this.nativeElement ? this.nativeElement.hideNonworkingWeekdays : undefined;
619
+ }
620
+ set hideNonworkingWeekdays(value) {
621
+ if (this.nativeElement) {
622
+ this.nativeElement.hideNonworkingWeekdays = value;
623
+ }
624
+ }
625
+
626
+ /** Determines whether other month days are visible when view is set to month. When enabled, events that start on other month days are not displayed and the cells that represent such days do not allow the creation of new events on them. Also dragging and droping an event on other month days is not allowed. Reszing is also affected. Events can end on other month days, but cannot start on one.
627
+ * Property type: boolean
628
+ */
629
+ get hideOtherMonthDays() {
630
+ return this.nativeElement ? this.nativeElement.hideOtherMonthDays : undefined;
631
+ }
632
+ set hideOtherMonthDays(value) {
633
+ if (this.nativeElement) {
634
+ this.nativeElement.hideOtherMonthDays = value;
635
+ }
636
+ }
637
+
638
+ /** Determines whether the 'Today' button is hidden or not.
639
+ * Property type: boolean
640
+ */
641
+ get hideTodayButton() {
642
+ return this.nativeElement ? this.nativeElement.hideTodayButton : undefined;
643
+ }
644
+ set hideTodayButton(value) {
645
+ if (this.nativeElement) {
646
+ this.nativeElement.hideTodayButton = value;
647
+ }
648
+ }
649
+
650
+ /** Determines whether the checkable items in the view selection menu are hidden or not.
651
+ * Property type: boolean
652
+ */
653
+ get hideViewMenuCheckableItems() {
654
+ return this.nativeElement ? this.nativeElement.hideViewMenuCheckableItems : undefined;
655
+ }
656
+ set hideViewMenuCheckableItems(value) {
657
+ if (this.nativeElement) {
658
+ this.nativeElement.hideViewMenuCheckableItems = value;
659
+ }
660
+ }
661
+
662
+ /** Determines whether the weekend days are hidden or not.
663
+ * Property type: boolean
664
+ */
665
+ get hideWeekend() {
666
+ return this.nativeElement ? this.nativeElement.hideWeekend : undefined;
667
+ }
668
+ set hideWeekend(value) {
669
+ if (this.nativeElement) {
670
+ this.nativeElement.hideWeekend = value;
671
+ }
672
+ }
673
+
674
+ /** Determines the location of the legend inside the Scheduler. By default the location is inside the footer but it can also reside in the header.
675
+ * Property type: SchedulerLegendLocation | string
676
+ */
677
+ get legendLocation() {
678
+ return this.nativeElement ? this.nativeElement.legendLocation : undefined;
679
+ }
680
+ set legendLocation(value) {
681
+ if (this.nativeElement) {
682
+ this.nativeElement.legendLocation = value;
683
+ }
684
+ }
685
+
686
+ /** Determines the position of the legend. By default it's positioned to the near side but setting it to 'far' will change that.
687
+ * Property type: SchedulerLegendPosition | string
688
+ */
689
+ get legendPosition() {
690
+ return this.nativeElement ? this.nativeElement.legendPosition : undefined;
691
+ }
692
+ set legendPosition(value) {
693
+ if (this.nativeElement) {
694
+ this.nativeElement.legendPosition = value;
695
+ }
696
+ }
697
+
698
+ /** Determines the layout of the legend items.
699
+ * Property type: SchedulerLegendLayout | string
700
+ */
701
+ get legendLayout() {
702
+ return this.nativeElement ? this.nativeElement.legendLayout : undefined;
703
+ }
704
+ set legendLayout(value) {
705
+ if (this.nativeElement) {
706
+ this.nativeElement.legendLayout = value;
707
+ }
708
+ }
709
+
710
+ /** Determines the number of items when the legend switches automatically from horizontal list to menu.
711
+ * Property type: number
712
+ */
713
+ get legendLayoutMenuBreakpoint() {
714
+ return this.nativeElement ? this.nativeElement.legendLayoutMenuBreakpoint : undefined;
715
+ }
716
+ set legendLayoutMenuBreakpoint(value) {
717
+ if (this.nativeElement) {
718
+ this.nativeElement.legendLayoutMenuBreakpoint = value;
719
+ }
720
+ }
721
+
722
+ /** Determines the mouse wheel step. When this property is set to a positive number, the scroll step with mouse wheel or trackpad will depend on the property value.
723
+ * Property type: number
724
+ */
725
+ get mouseWheelStep() {
726
+ return this.nativeElement ? this.nativeElement.mouseWheelStep : undefined;
727
+ }
728
+ set mouseWheelStep(value) {
729
+ if (this.nativeElement) {
730
+ this.nativeElement.mouseWheelStep = value;
731
+ }
732
+ }
733
+
734
+ /** Determines weather or not horizontal scrollbar is shown.
735
+ * Property type: HorizontalScrollBarVisibility | string
736
+ */
737
+ get horizontalScrollBarVisibility() {
738
+ return this.nativeElement ? this.nativeElement.horizontalScrollBarVisibility : undefined;
739
+ }
740
+ set horizontalScrollBarVisibility(value) {
741
+ if (this.nativeElement) {
742
+ this.nativeElement.horizontalScrollBarVisibility = value;
743
+ }
744
+ }
745
+
746
+ /** Determines the language of the Scheduler.
747
+ * Property type: string
748
+ */
749
+ get locale() {
750
+ return this.nativeElement ? this.nativeElement.locale : undefined;
751
+ }
752
+ set locale(value) {
753
+ if (this.nativeElement) {
754
+ this.nativeElement.locale = value;
755
+ }
756
+ }
757
+
758
+ /** Detetmines the maximum view date for the Scheduler.
759
+ * Property type: string | Date
760
+ */
761
+ get max() {
762
+ return this.nativeElement ? this.nativeElement.max : undefined;
763
+ }
764
+ set max(value) {
765
+ if (this.nativeElement) {
766
+ this.nativeElement.max = value;
767
+ }
768
+ }
769
+
770
+ /** Detetmines the maximum number of events per Scheduler cell. By default this property is null which means that the number of events per cell is automatically determined by the size of the events.
771
+ * Property type: number | null
772
+ */
773
+ get maxEventsPerCell() {
774
+ return this.nativeElement ? this.nativeElement.maxEventsPerCell : undefined;
775
+ }
776
+ set maxEventsPerCell(value) {
777
+ if (this.nativeElement) {
778
+ this.nativeElement.maxEventsPerCell = value;
779
+ }
780
+ }
781
+
782
+ /** Detetmines the minimum view date for the Scheduler.
783
+ * Property type: string | Date
784
+ */
785
+ get min() {
786
+ return this.nativeElement ? this.nativeElement.min : undefined;
787
+ }
788
+ set min(value) {
789
+ if (this.nativeElement) {
790
+ this.nativeElement.min = value;
791
+ }
792
+ }
793
+
794
+ /** Sets or gets an object specifying strings used in the element that can be localized. Used in conjunction with the property locale.
795
+ * Property type: any
796
+ */
797
+ get messages() {
798
+ return this.nativeElement ? this.nativeElement.messages : undefined;
799
+ }
800
+ set messages(value) {
801
+ if (this.nativeElement) {
802
+ this.nativeElement.messages = value;
803
+ }
804
+ }
805
+
806
+ /** Determines the minute formatting inside the Scheduler.
807
+ * Property type: MinuteFormat | string
808
+ */
809
+ get minuteFormat() {
810
+ return this.nativeElement ? this.nativeElement.minuteFormat : undefined;
811
+ }
812
+ set minuteFormat(value) {
813
+ if (this.nativeElement) {
814
+ this.nativeElement.minuteFormat = value;
815
+ }
816
+ }
817
+
818
+ /** Determines the month name formatting inside the Scheduler.
819
+ * Property type: MonthFormat | string
820
+ */
821
+ get monthFormat() {
822
+ return this.nativeElement ? this.nativeElement.monthFormat : undefined;
823
+ }
824
+ set monthFormat(value) {
825
+ if (this.nativeElement) {
826
+ this.nativeElement.monthFormat = value;
827
+ }
828
+ }
829
+
830
+ /** Determines the nonworking days of the week from 0 to 6, where 0 is the first day of the week and 6 is the last day. Nonworking days will be colored differently inside the Timeline. The color is determined by a CSS variable.
831
+ * Property type: any
832
+ */
833
+ get nonworkingDays() {
834
+ return this.nativeElement ? this.nativeElement.nonworkingDays : undefined;
835
+ }
836
+ set nonworkingDays(value) {
837
+ if (this.nativeElement) {
838
+ this.nativeElement.nonworkingDays = value;
839
+ }
840
+ }
841
+
842
+ /** Determines the nonworking hours of the day. Hours are represented as numbers inside an array, however ranges of hours can be defined as an array with starting and ending hour separated by a comma. In the timline the cells that represent nonworking days are colored differently from the rest.
843
+ * Property type: any
844
+ */
845
+ get nonworkingHours() {
846
+ return this.nativeElement ? this.nativeElement.nonworkingHours : undefined;
847
+ }
848
+ set nonworkingHours(value) {
849
+ if (this.nativeElement) {
850
+ this.nativeElement.nonworkingHours = value;
851
+ }
852
+ }
853
+
854
+ /** Determines the interval (in seconds) at which the element will check for notifications.
855
+ * Property type: number
856
+ */
857
+ get notificationInterval() {
858
+ return this.nativeElement ? this.nativeElement.notificationInterval : undefined;
859
+ }
860
+ set notificationInterval(value) {
861
+ if (this.nativeElement) {
862
+ this.nativeElement.notificationInterval = value;
863
+ }
864
+ }
865
+
866
+ /** Determines the visibility of the resize handles.
867
+ * Property type: ResizeHandlesVisibility | string
868
+ */
869
+ get resizeHandlesVisibility() {
870
+ return this.nativeElement ? this.nativeElement.resizeHandlesVisibility : undefined;
871
+ }
872
+ set resizeHandlesVisibility(value) {
873
+ if (this.nativeElement) {
874
+ this.nativeElement.resizeHandlesVisibility = value;
875
+ }
876
+ }
877
+
878
+ /** Determines the rate at which the element will refresh it's content on element resize. By default it's refresh immediately. This property is used for element resize throttling
879
+ * Property type: number
880
+ */
881
+ get resizeInterval() {
882
+ return this.nativeElement ? this.nativeElement.resizeInterval : undefined;
883
+ }
884
+ set resizeInterval(value) {
885
+ if (this.nativeElement) {
886
+ this.nativeElement.resizeInterval = value;
887
+ }
888
+ }
889
+
890
+ /** An array of resources that can be assigned to the events.
891
+ * Property type: SchedulerResource[]
892
+ */
893
+ get resources() {
894
+ return this.nativeElement ? this.nativeElement.resources : undefined;
895
+ }
896
+ set resources(value) {
897
+ if (this.nativeElement) {
898
+ this.nativeElement.resources = value;
899
+ }
900
+ }
901
+
902
+ /** Defines an array of dates that are not allowed to have events on. Events that overlap restricted Dates or start/end on them will not be displayed.
903
+ * Property type: any
904
+ */
905
+ get restrictedDates() {
906
+ return this.nativeElement ? this.nativeElement.restrictedDates : undefined;
907
+ }
908
+ set restrictedDates(value) {
909
+ if (this.nativeElement) {
910
+ this.nativeElement.restrictedDates = value;
911
+ }
912
+ }
913
+
914
+ /** Defines an array of hours that are not allowed to have events on. Events that overlap restricted Hours or start/end on them will not be displayed.
915
+ * Property type: any
916
+ */
917
+ get restrictedHours() {
918
+ return this.nativeElement ? this.nativeElement.restrictedHours : undefined;
919
+ }
920
+ set restrictedHours(value) {
921
+ if (this.nativeElement) {
922
+ this.nativeElement.restrictedHours = value;
923
+ }
924
+ }
925
+
926
+ /** Defines an array of dates and hours that are not allowed to have events on. Events that overlap restricted Hours or start/end on them will not be displayed. Each array item is an Object and requires 2 fields - date and hours. For example: { date: new Date(2023, 10, 1), hours: [[0, 6], 12, [20, 23]] }. The hours define a range of restricted hours similartly to the restricted hours property, the date defines a date where the restricted hours will be applied.
927
+ * Property type: any
928
+ */
929
+ get restricted() {
930
+ return this.nativeElement ? this.nativeElement.restricted : undefined;
931
+ }
932
+ set restricted(value) {
933
+ if (this.nativeElement) {
934
+ this.nativeElement.restricted = value;
935
+ }
936
+ }
937
+
938
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
939
+ * Property type: boolean
940
+ */
941
+ get rightToLeft() {
942
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
943
+ }
944
+ set rightToLeft(value) {
945
+ if (this.nativeElement) {
946
+ this.nativeElement.rightToLeft = value;
947
+ }
948
+ }
949
+
950
+ /** Determines the position of the date navigation navigation buttons inside the header of the element.
951
+ * Property type: SchedulerScrollButtonsPosition | string
952
+ */
953
+ get scrollButtonsPosition() {
954
+ return this.nativeElement ? this.nativeElement.scrollButtonsPosition : undefined;
955
+ }
956
+ set scrollButtonsPosition(value) {
957
+ if (this.nativeElement) {
958
+ this.nativeElement.scrollButtonsPosition = value;
959
+ }
960
+ }
961
+
962
+ /** Enables/Disables the current time shader. If enabled all cells that represent past time will be shaded.
963
+ * Property type: boolean
964
+ */
965
+ get shadeUntilCurrentTime() {
966
+ return this.nativeElement ? this.nativeElement.shadeUntilCurrentTime : undefined;
967
+ }
968
+ set shadeUntilCurrentTime(value) {
969
+ if (this.nativeElement) {
970
+ this.nativeElement.shadeUntilCurrentTime = value;
971
+ }
972
+ }
973
+
974
+ /** Determines whether the resource legend is visible or not. The Legend shows the resources and their items in the footer section of the Scheduler. If filterable is enabled it is possible to filter by resource items by clicking on the corresponding resource item from the legend.
975
+ * Property type: boolean
976
+ */
977
+ get showLegend() {
978
+ return this.nativeElement ? this.nativeElement.showLegend : undefined;
979
+ }
980
+ set showLegend(value) {
981
+ if (this.nativeElement) {
982
+ this.nativeElement.showLegend = value;
983
+ }
984
+ }
985
+
986
+ /** Determines the name of the resource data item property that will be used for sorting the resource data defined as the resource.dataSource.
987
+ * Property type: string
988
+ */
989
+ get sortBy() {
990
+ return this.nativeElement ? this.nativeElement.sortBy : undefined;
991
+ }
992
+ set sortBy(value) {
993
+ if (this.nativeElement) {
994
+ this.nativeElement.sortBy = value;
995
+ }
996
+ }
997
+
998
+ /** Allows to define a custom sorting function that will be used to sort the resource data. The sortFunction is used when sortOrder is set to custom.
999
+ * Property type: any
1000
+ */
1001
+ get sortFunction() {
1002
+ return this.nativeElement ? this.nativeElement.sortFunction : undefined;
1003
+ }
1004
+ set sortFunction(value) {
1005
+ if (this.nativeElement) {
1006
+ this.nativeElement.sortFunction = value;
1007
+ }
1008
+ }
1009
+
1010
+ /** Determines the sorting order of the resource data items. When set to custom, a custom sorting function has to be defined for the sortFunction property. The asc stands for 'ascending' while desc means 'descending' sorting order.
1011
+ * Property type: SchedulerSortOrder | string
1012
+ */
1013
+ get sortOrder() {
1014
+ return this.nativeElement ? this.nativeElement.sortOrder : undefined;
1015
+ }
1016
+ set sortOrder(value) {
1017
+ if (this.nativeElement) {
1018
+ this.nativeElement.sortOrder = value;
1019
+ }
1020
+ }
1021
+
1022
+ /** Determines the repeating delay of the repeat buttons inside the header of the element. Such buttons are the Date navigation buttons and the view scroll buttons.
1023
+ * Property type: number
1024
+ */
1025
+ get spinButtonsDelay() {
1026
+ return this.nativeElement ? this.nativeElement.spinButtonsDelay : undefined;
1027
+ }
1028
+ set spinButtonsDelay(value) {
1029
+ if (this.nativeElement) {
1030
+ this.nativeElement.spinButtonsDelay = value;
1031
+ }
1032
+ }
1033
+
1034
+ /** Determines the initial delay of the repeat buttons inside the header of the element. Such buttons are the Date navigation buttons and the view scroll buttons.
1035
+ * Property type: number
1036
+ */
1037
+ get spinButtonsInitialDelay() {
1038
+ return this.nativeElement ? this.nativeElement.spinButtonsInitialDelay : undefined;
1039
+ }
1040
+ set spinButtonsInitialDelay(value) {
1041
+ if (this.nativeElement) {
1042
+ this.nativeElement.spinButtonsInitialDelay = value;
1043
+ }
1044
+ }
1045
+
1046
+ /** Defines the statuses that will be available for selection thourgh the window editor for the events.
1047
+ * Property type: SchedulerStatuse[]
1048
+ */
1049
+ get statuses() {
1050
+ return this.nativeElement ? this.nativeElement.statuses : undefined;
1051
+ }
1052
+ set statuses(value) {
1053
+ if (this.nativeElement) {
1054
+ this.nativeElement.statuses = value;
1055
+ }
1056
+ }
1057
+
1058
+ /** Sets or gets the element's visual theme.
1059
+ * Property type: string
1060
+ */
1061
+ get theme() {
1062
+ return this.nativeElement ? this.nativeElement.theme : undefined;
1063
+ }
1064
+ set theme(value) {
1065
+ if (this.nativeElement) {
1066
+ this.nativeElement.theme = value;
1067
+ }
1068
+ }
1069
+
1070
+ /** A format function for the Header of the Timeline. Allows to modify the date labels in the header cells.
1071
+ * Property type: any
1072
+ */
1073
+ get timelineHeaderFormatFunction() {
1074
+ return this.nativeElement ? this.nativeElement.timelineHeaderFormatFunction : undefined;
1075
+ }
1076
+ set timelineHeaderFormatFunction(value) {
1077
+ if (this.nativeElement) {
1078
+ this.nativeElement.timelineHeaderFormatFunction = value;
1079
+ }
1080
+ }
1081
+
1082
+ /** Determines the date scale for the timeline cells.
1083
+ * Property type: SchedulerTimelineDayScale | string
1084
+ */
1085
+ get timelineDayScale() {
1086
+ return this.nativeElement ? this.nativeElement.timelineDayScale : undefined;
1087
+ }
1088
+ set timelineDayScale(value) {
1089
+ if (this.nativeElement) {
1090
+ this.nativeElement.timelineDayScale = value;
1091
+ }
1092
+ }
1093
+
1094
+ /** Enables/Disables the tick marks next to the time cells in the vertical header of the element. Time header appears in 'day' and 'week' views.
1095
+ * Property type: boolean
1096
+ */
1097
+ get timeRulerTicks() {
1098
+ return this.nativeElement ? this.nativeElement.timeRulerTicks : undefined;
1099
+ }
1100
+ set timeRulerTicks(value) {
1101
+ if (this.nativeElement) {
1102
+ this.nativeElement.timeRulerTicks = value;
1103
+ }
1104
+ }
1105
+
1106
+ /** Determines the timeZone for the element. By default if the local time zone is used if the property is not set.
1107
+ * Property type: SchedulerTimeZone | string
1108
+ */
1109
+ get timeZone() {
1110
+ return this.nativeElement ? this.nativeElement.timeZone : undefined;
1111
+ }
1112
+ set timeZone(value) {
1113
+ if (this.nativeElement) {
1114
+ this.nativeElement.timeZone = value;
1115
+ }
1116
+ }
1117
+
1118
+ /** Allows to display additional timeZones at once along with the default that is set via the timeZone property. Accepts an array values that represent the ids of valid time zones. The possbile time zones can be viewed in the timeZone property description. By default the local time zone is displayed.
1119
+ * Property type: any
1120
+ */
1121
+ get timeZones() {
1122
+ return this.nativeElement ? this.nativeElement.timeZones : undefined;
1123
+ }
1124
+ set timeZones(value) {
1125
+ if (this.nativeElement) {
1126
+ this.nativeElement.timeZones = value;
1127
+ }
1128
+ }
1129
+
1130
+ /** Determines the delay ( in miliseconds) before the tooltip/menu appears.
1131
+ * Property type: number
1132
+ */
1133
+ get tooltipDelay() {
1134
+ return this.nativeElement ? this.nativeElement.tooltipDelay : undefined;
1135
+ }
1136
+ set tooltipDelay(value) {
1137
+ if (this.nativeElement) {
1138
+ this.nativeElement.tooltipDelay = value;
1139
+ }
1140
+ }
1141
+
1142
+ /** Determines the offset ot the tooltip/menu.
1143
+ * Property type: number[]
1144
+ */
1145
+ get tooltipOffset() {
1146
+ return this.nativeElement ? this.nativeElement.tooltipOffset : undefined;
1147
+ }
1148
+ set tooltipOffset(value) {
1149
+ if (this.nativeElement) {
1150
+ this.nativeElement.tooltipOffset = value;
1151
+ }
1152
+ }
1153
+
1154
+ /** Determines weather or not vertical scrollbar is shown.
1155
+ * Property type: VerticalScrollBarVisibility | string
1156
+ */
1157
+ get verticalScrollBarVisibility() {
1158
+ return this.nativeElement ? this.nativeElement.verticalScrollBarVisibility : undefined;
1159
+ }
1160
+ set verticalScrollBarVisibility(value) {
1161
+ if (this.nativeElement) {
1162
+ this.nativeElement.verticalScrollBarVisibility = value;
1163
+ }
1164
+ }
1165
+
1166
+ /** Determines the current view. The property accepts view values that are defined in the views property. Custom views should contain a valid value that will be set as the current view.
1167
+ * Property type: string
1168
+ */
1169
+ get view() {
1170
+ return this.nativeElement ? this.nativeElement.view : undefined;
1171
+ }
1172
+ set view(value) {
1173
+ if (this.nativeElement) {
1174
+ this.nativeElement.view = value;
1175
+ }
1176
+ }
1177
+
1178
+ /** Indicates the current Scheduler viewType. Custom views must contain a valid type property that corresponds to one of the view types. This property should not be set.
1179
+ * Property type: SchedulerViewType | string
1180
+ */
1181
+ get viewType() {
1182
+ return this.nativeElement ? this.nativeElement.viewType : undefined;
1183
+ }
1184
+ set viewType(value) {
1185
+ if (this.nativeElement) {
1186
+ this.nativeElement.viewType = value;
1187
+ }
1188
+ }
1189
+
1190
+ /** Determines the viewing date range of the timeline. The property should be set to an array of strings or view objects. When you set it to a string, you should use any of the following: 'day', 'week', 'month', 'agenda', 'timelineDay', 'timelineWeek', 'timelineMonth'. Custom views can be defined as objects instead of strings. The view object should contain the following properties: label - the label for the view.value - the value for the view. The value is the unique identifier for the view.type - the type of view. The type should be one of the default allowed values for a view.hideWeekend - an Optional property that allows to hide the weekend only for this specific view.hideNonworkingWeekdays - an Optional property that allows to hide the nonwrking weekdays for this specific view.shortcutKey - an Optional property that allows to set a custom shortcut key for the view.hideHours - an Optional property applicable only to timelineWeek view that allows to hide the hour cells and only show the day cells.
1191
+ * Property type: SchedulerViews | string
1192
+ */
1193
+ get views() {
1194
+ return this.nativeElement ? this.nativeElement.views : undefined;
1195
+ }
1196
+ set views(value) {
1197
+ if (this.nativeElement) {
1198
+ this.nativeElement.views = value;
1199
+ }
1200
+ }
1201
+
1202
+ /** Determines type of the view selector located in the header of the element.
1203
+ * Property type: SchedulerViewSelectorType | string
1204
+ */
1205
+ get viewSelectorType() {
1206
+ return this.nativeElement ? this.nativeElement.viewSelectorType : undefined;
1207
+ }
1208
+ set viewSelectorType(value) {
1209
+ if (this.nativeElement) {
1210
+ this.nativeElement.viewSelectorType = value;
1211
+ }
1212
+ }
1213
+
1214
+ /** Determines the Start Date rule. The Week and TimelineWeek views start by default from the current date taking into account the firstDayOfWeek property. When this property is set to 'dateCurrent', these views will start from the value of the 'dateCurrent'.
1215
+ * Property type: SchedulerViewStartDay | string
1216
+ */
1217
+ get viewStartDay() {
1218
+ return this.nativeElement ? this.nativeElement.viewStartDay : undefined;
1219
+ }
1220
+ set viewStartDay(value) {
1221
+ if (this.nativeElement) {
1222
+ this.nativeElement.viewStartDay = value;
1223
+ }
1224
+ }
1225
+
1226
+ /** Determines the format of the week days inside the element.
1227
+ * Property type: WeekDayFormat | string
1228
+ */
1229
+ get weekdayFormat() {
1230
+ return this.nativeElement ? this.nativeElement.weekdayFormat : undefined;
1231
+ }
1232
+ set weekdayFormat(value) {
1233
+ if (this.nativeElement) {
1234
+ this.nativeElement.weekdayFormat = value;
1235
+ }
1236
+ }
1237
+
1238
+ /** Determines the format of the dates inside the timeline header when they represent years.
1239
+ * Property type: YearFormat | string
1240
+ */
1241
+ get yearFormat() {
1242
+ return this.nativeElement ? this.nativeElement.yearFormat : undefined;
1243
+ }
1244
+ set yearFormat(value) {
1245
+ if (this.nativeElement) {
1246
+ this.nativeElement.yearFormat = value;
1247
+ }
1248
+ }
1249
+
1250
+ /** Sets or gets if the element can be focused.
1251
+ * Property type: boolean
1252
+ */
1253
+ get unfocusable() {
1254
+ return this.nativeElement ? this.nativeElement.unfocusable : undefined;
1255
+ }
1256
+ set unfocusable(value) {
1257
+ if (this.nativeElement) {
1258
+ this.nativeElement.unfocusable = value;
1259
+ }
1260
+ }
1261
+
1262
+ /** Determines the maximum number of redo/undo steps that will be remembered by the Scheduler. When the number is reached the oldest records are removed in order to add new.
1263
+ * Property type: number
1264
+ */
1265
+ get undoRedoSteps() {
1266
+ return this.nativeElement ? this.nativeElement.undoRedoSteps : undefined;
1267
+ }
1268
+ set undoRedoSteps(value) {
1269
+ if (this.nativeElement) {
1270
+ this.nativeElement.undoRedoSteps = value;
1271
+ }
1272
+ }
1273
+
1274
+ /** A function that can be used to completly customize the popup Window that is used to edit events. The function has the following arguments: target - the target popup Window that is about to be opened.type - the type of the window. The type determines the purpose of the window. The default type is an empty string which means that it's the default event editing window. The other type is 'confirm' ( confirmation window) that appears when clicking on a repeating event. eventObj - the event object that is going to be edited.
1275
+ * Property type: any
1276
+ */
1277
+ get windowCustomizationFunction() {
1278
+ return this.nativeElement ? this.nativeElement.windowCustomizationFunction : undefined;
1279
+ }
1280
+ set windowCustomizationFunction(value) {
1281
+ if (this.nativeElement) {
1282
+ this.nativeElement.windowCustomizationFunction = value;
1283
+ }
1284
+ }
1285
+
1286
+
1287
+ // Gets the properties of the React component.
1288
+ get properties() {
1289
+ return ["autoScrollStep","autoHeightAllDayCells","available","colorScheme","currentTime","currentTimeIndicator","currentTimeIndicatorInterval","contextMenuDataSource","contextMenuClipboardActions","eventTemplate","eventCollectorTemplate","eventRenderMode","eventTooltipTemplate","cellTemplate","dateCurrent","dataExport","dataSource","dateSelectorFormatFunction","dayFormat","disabled","disableAutoScroll","disableDrag","disableDrop","disableResize","disableSelection","disableWindowEditor","disableContextMenu","disableEventMenu","disableViewMenu","disableDateMenu","dragFeedbackFormatFunction","dragOffset","filter","filterable","filterMode","events","firstDayOfWeek","footerTemplate","groupByDate","groupOrientation","groupTemplate","groups","hourEnd","hourStart","hourFormat","headerTemplate","headerDatePosition","headerNavigationStyle","headerViewPosition","hideAllDay","hideNonworkingWeekdays","hideOtherMonthDays","hideTodayButton","hideViewMenuCheckableItems","hideWeekend","legendLocation","legendPosition","legendLayout","legendLayoutMenuBreakpoint","mouseWheelStep","horizontalScrollBarVisibility","locale","max","maxEventsPerCell","min","messages","minuteFormat","monthFormat","nonworkingDays","nonworkingHours","notificationInterval","resizeHandlesVisibility","resizeInterval","resources","restrictedDates","restrictedHours","restricted","rightToLeft","scrollButtonsPosition","shadeUntilCurrentTime","showLegend","sortBy","sortFunction","sortOrder","spinButtonsDelay","spinButtonsInitialDelay","statuses","theme","timelineHeaderFormatFunction","timelineDayScale","timeRulerTicks","timeZone","timeZones","tooltipDelay","tooltipOffset","verticalScrollBarVisibility","view","viewType","views","viewSelectorType","viewStartDay","weekdayFormat","yearFormat","unfocusable","undoRedoSteps","windowCustomizationFunction"];
1290
+ }
1291
+ /** This event is triggered when a batch update was started after executing the beginUpdate method.
1292
+ * @param event. The custom event. */
1293
+ _onBeginUpdate = null; get onBeginUpdate() {
1294
+ return this._onBeginUpdate;
1295
+ }
1296
+ set onBeginUpdate(value) {
1297
+ this._onBeginUpdate = value;
1298
+ }
1299
+ /** This event is triggered when a batch update was ended from after executing the endUpdate method.
1300
+ * @param event. The custom event. */
1301
+ _onEndUpdate = null; get onEndUpdate() {
1302
+ return this._onEndUpdate;
1303
+ }
1304
+ set onEndUpdate(value) {
1305
+ this._onEndUpdate = value;
1306
+ }
1307
+ /** This event is triggered when a new cell is selected/unselected.
1308
+ * @param event. The custom event. Custom event was created with: event.detail( value, oldValue)
1309
+ * value - The new selected Date.
1310
+ * oldValue - The previously selected Date.
1311
+ */
1312
+ _onChange = null; get onChange() {
1313
+ return this._onChange;
1314
+ }
1315
+ set onChange(value) {
1316
+ this._onChange = value;
1317
+ }
1318
+ /** This event is triggered when an Event has been updated/inserted/removed/dragged/resized or an exception of a repeating event has been added/updated/removed.
1319
+ * @param event. The custom event. Custom event was created with: event.detail( item, type)
1320
+ * item - An object that represents the actual item with it's attributes.
1321
+ * type - The type of change that is being done to the item.
1322
+ */
1323
+ _onItemChange = null; get onItemChange() {
1324
+ return this._onItemChange;
1325
+ }
1326
+ set onItemChange(value) {
1327
+ this._onItemChange = value;
1328
+ }
1329
+ /** This event is triggered when an Event is going to be updated/inserted/removed. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1330
+ * @param event. The custom event. Custom event was created with: event.detail( item, type)
1331
+ * item - An object that represents the actual item with it's attributes.
1332
+ * type - The type of change that is going to be made to the item (e.g. 'inserting', 'removing', 'updating', 'exceptionInserting', 'exceptionUpdating', 'exceptionRemoving').
1333
+ */
1334
+ _onItemChanging = null; get onItemChanging() {
1335
+ return this._onItemChanging;
1336
+ }
1337
+ set onItemChanging(value) {
1338
+ this._onItemChanging = value;
1339
+ }
1340
+ /** This event is triggered when en event, event item or a context menu item is clicked.
1341
+ * @param event. The custom event. Custom event was created with: event.detail( item, type, itemObj)
1342
+ * item - The HTMLElement for the event.
1343
+ * type - The type of item that is clicked. The possible values are: <ul><li>event - when an event item is clicked.</li><li>context - when a context menu item is clicked.</li></ul>.
1344
+ * itemObj - The event object.
1345
+ */
1346
+ _onItemClick = null; get onItemClick() {
1347
+ return this._onItemClick;
1348
+ }
1349
+ set onItemClick(value) {
1350
+ this._onItemClick = value;
1351
+ }
1352
+ /** This event is triggered when an Event is inserted.
1353
+ * @param event. The custom event. Custom event was created with: event.detail( item)
1354
+ * item - An object that represents the actual item with it's attributes.
1355
+ */
1356
+ _onItemInsert = null; get onItemInsert() {
1357
+ return this._onItemInsert;
1358
+ }
1359
+ set onItemInsert(value) {
1360
+ this._onItemInsert = value;
1361
+ }
1362
+ /** This event is triggered when an Event is removed.
1363
+ * @param event. The custom event. Custom event was created with: event.detail( item)
1364
+ * item - An object that represents the actual item with it's attributes.
1365
+ */
1366
+ _onItemRemove = null; get onItemRemove() {
1367
+ return this._onItemRemove;
1368
+ }
1369
+ set onItemRemove(value) {
1370
+ this._onItemRemove = value;
1371
+ }
1372
+ /** This event is triggered when an Event is updated.
1373
+ * @param event. The custom event. Custom event was created with: event.detail( type, item)
1374
+ * type - The type of item that has been modified.
1375
+ * item - An object that represents the actual item with it's attributes.
1376
+ */
1377
+ _onItemUpdate = null; get onItemUpdate() {
1378
+ return this._onItemUpdate;
1379
+ }
1380
+ set onItemUpdate(value) {
1381
+ this._onItemUpdate = value;
1382
+ }
1383
+ /** This event is triggered when the view is changed via user interaction.
1384
+ * @param event. The custom event. Custom event was created with: event.detail( oldValue, value)
1385
+ * oldValue - The value of the previously selected view.
1386
+ * value - The value of the new selected view.
1387
+ */
1388
+ _onViewChange = null; get onViewChange() {
1389
+ return this._onViewChange;
1390
+ }
1391
+ set onViewChange(value) {
1392
+ this._onViewChange = value;
1393
+ }
1394
+ /** This event is triggered before the view is changed via user interaction. The view change action can be canceled if event.preventDefault() is called on the event.
1395
+ * @param event. The custom event. Custom event was created with: event.detail( oldValue, value)
1396
+ * oldValue - The value of the previously selected view.
1397
+ * value - The value of the new selected view.
1398
+ */
1399
+ _onViewChanging = null; get onViewChanging() {
1400
+ return this._onViewChanging;
1401
+ }
1402
+ set onViewChanging(value) {
1403
+ this._onViewChanging = value;
1404
+ }
1405
+ /** This event is triggered when a shortcut key for an event is pressed. By default only 'Delete' key is used.
1406
+ * @param event. The custom event. Custom event was created with: event.detail( key, target, eventObj)
1407
+ * key - The shortcut key that was pressed.
1408
+ * target - The event target (HTMLElement).
1409
+ * eventObj - The scheduler Event object that affected by the keypress.
1410
+ */
1411
+ _onEventShortcutKey = null; get onEventShortcutKey() {
1412
+ return this._onEventShortcutKey;
1413
+ }
1414
+ set onEventShortcutKey(value) {
1415
+ this._onEventShortcutKey = value;
1416
+ }
1417
+ /** This event is triggered when the 'dateCurrent' property is changed. This can be caused by navigating to a different date.
1418
+ * @param event. The custom event. Custom event was created with: event.detail( oldValue, value)
1419
+ * oldValue - The previous current date that was in view.
1420
+ * value - The current date in view.
1421
+ */
1422
+ _onDateChange = null; get onDateChange() {
1423
+ return this._onDateChange;
1424
+ }
1425
+ set onDateChange(value) {
1426
+ this._onDateChange = value;
1427
+ }
1428
+ /** This event is triggered when dragging of an event begins. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1429
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, itemDateRange, originalEvent)
1430
+ * target - The HTMLElement that corresponds to the event that is going to be dragged.
1431
+ * item - The scheduler Event object that is going to be dragged.
1432
+ * itemDateRange - The start/end dates for the Scheduler Event.
1433
+ * originalEvent - The original event object.
1434
+ */
1435
+ _onDragStart = null; get onDragStart() {
1436
+ return this._onDragStart;
1437
+ }
1438
+ set onDragStart(value) {
1439
+ this._onDragStart = value;
1440
+ }
1441
+ /** This event is triggered when dragging of an event finishes.
1442
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, itemDateRange, originalEvent)
1443
+ * target - The HTMLElement that corresponds to the event that is dragged.
1444
+ * item - The scheduler Event object that is dragged.
1445
+ * itemDateRange - The new start/end dates for the dragged Scheduler Event.
1446
+ * originalEvent - The original event object.
1447
+ */
1448
+ _onDragEnd = null; get onDragEnd() {
1449
+ return this._onDragEnd;
1450
+ }
1451
+ set onDragEnd(value) {
1452
+ this._onDragEnd = value;
1453
+ }
1454
+ /** This event is triggered when the user drops an item over a cell.
1455
+ * @param event. The custom event. Custom event was created with: event.detail( target, date, allDay)
1456
+ * target - The HTMLElement that corresponds to the event that is dragged.
1457
+ * date - The cell's date under the pointer.
1458
+ * allDay - Boolean value, which is true when the cell under the pointer is all day cell.
1459
+ */
1460
+ _onDropoverCell = null; get onDropoverCell() {
1461
+ return this._onDropoverCell;
1462
+ }
1463
+ set onDropoverCell(value) {
1464
+ this._onDropoverCell = value;
1465
+ }
1466
+ /** This event is triggered when resizing of a task starts. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1467
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, itemDateRange, originalEvent)
1468
+ * target - The HTMLElement that corresponds to the event that is going to be resized.
1469
+ * item - The scheduler Event object that is going to be resized.
1470
+ * itemDateRange - The start/end dates for Scheduler Event that is going to be resized.
1471
+ * originalEvent - The original event object.
1472
+ */
1473
+ _onResizeStart = null; get onResizeStart() {
1474
+ return this._onResizeStart;
1475
+ }
1476
+ set onResizeStart(value) {
1477
+ this._onResizeStart = value;
1478
+ }
1479
+ /** This event is triggered when the resizing of an event finishes.
1480
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, itemDateRange, originalEvent)
1481
+ * target - The HTMLElement that corresponds to the event that is resized.
1482
+ * item - The scheduler Event object that is resized.
1483
+ * itemDateRange - The new start/end dates for the resized Scheduler Event.
1484
+ * originalEvent - The original event object.
1485
+ */
1486
+ _onResizeEnd = null; get onResizeEnd() {
1487
+ return this._onResizeEnd;
1488
+ }
1489
+ set onResizeEnd(value) {
1490
+ this._onResizeEnd = value;
1491
+ }
1492
+ /** This event is triggered when the user starts top open the event dialog window. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1493
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, type, eventObj)
1494
+ * target - The dialog window that is opening.
1495
+ * item - The event object that is going to be edited.
1496
+ * type - The type of window that is going to open. Two window types are available, the dafault which is an empty string ( does not have a type) and 'confirm' which is displayed when clicked on a repeating event.
1497
+ * eventObj - The event object that is the target of the menu.
1498
+ */
1499
+ _onEditDialogOpening = null; get onEditDialogOpening() {
1500
+ return this._onEditDialogOpening;
1501
+ }
1502
+ set onEditDialogOpening(value) {
1503
+ this._onEditDialogOpening = value;
1504
+ }
1505
+ /** This event is triggered when the user opens the event dialog window.
1506
+ * @param event. The custom event. Custom event was created with: event.detail( target, editors, item, eventObj)
1507
+ * target - The dialog window that is opened.
1508
+ * editors - An object containing all event editors that are present inside the window. This property is undefined when the window is of type 'confirm', because confirm windows do not contain editors.
1509
+ * item - The event object that is being edited.
1510
+ * eventObj - The event object that is the target of the menu.
1511
+ */
1512
+ _onEditDialogOpen = null; get onEditDialogOpen() {
1513
+ return this._onEditDialogOpen;
1514
+ }
1515
+ set onEditDialogOpen(value) {
1516
+ this._onEditDialogOpen = value;
1517
+ }
1518
+ /** This event is triggered when the user closes the event dialog window.
1519
+ * @param event. The custom event. Custom event was created with: event.detail( target, editors, item, eventObj)
1520
+ * target - The dialog window that is closed.
1521
+ * editors - An object containing all event editors that are present inside the window. This property is undefined when the window is of type 'confirm', because confirm windows do not contain editors.
1522
+ * item - The event object that is being edited.
1523
+ * eventObj - The event object that is the target of the menu.
1524
+ */
1525
+ _onEditDialogClose = null; get onEditDialogClose() {
1526
+ return this._onEditDialogClose;
1527
+ }
1528
+ set onEditDialogClose(value) {
1529
+ this._onEditDialogClose = value;
1530
+ }
1531
+ /** This event is triggered when the user is about to close the event dialog window. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1532
+ * @param event. The custom event. Custom event was created with: event.detail( target, item, type, eventObj)
1533
+ * target - The dialog window that is closing.
1534
+ * item - The event object that is edited.
1535
+ * type - The type of window that is going to be closed. Two window types are available, the dafault which is an empty string ( does not have a type) and 'confirm' which is displayed when clicked on a repeating event.
1536
+ * eventObj - The event object that is the target of the menu.
1537
+ */
1538
+ _onEditDialogClosing = null; get onEditDialogClosing() {
1539
+ return this._onEditDialogClosing;
1540
+ }
1541
+ set onEditDialogClosing(value) {
1542
+ this._onEditDialogClosing = value;
1543
+ }
1544
+ /** This event is triggered when the user begins to open the context menu on a timeline cell or an event element. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1545
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, cellObj, eventObj)
1546
+ * target - The context menu instance.
1547
+ * owner - The HTMLElement that the menu belongs to.
1548
+ * cellObj - The cell object that is the target of the menu. If the target is an event instead of a cell this parameter will be undefined.
1549
+ * eventObj - The event object that is the target of the menu. If the target is a cell instead of an event this paramter will be undefined.
1550
+ */
1551
+ _onContextMenuOpening = null; get onContextMenuOpening() {
1552
+ return this._onContextMenuOpening;
1553
+ }
1554
+ set onContextMenuOpening(value) {
1555
+ this._onContextMenuOpening = value;
1556
+ }
1557
+ /** This event is triggered when the context menu is opened.
1558
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, cellObj, eventObj)
1559
+ * target - The context menu instance.
1560
+ * owner - The HTMLElement that the menu belongs to.
1561
+ * cellObj - The cell object that is the target of the menu. If the target is an event instead of a cell this parameter will be undefined.
1562
+ * eventObj - The event object that is the target of the menu. If the target is a cell instead of an event this paramter will be undefined.
1563
+ */
1564
+ _onContextMenuOpen = null; get onContextMenuOpen() {
1565
+ return this._onContextMenuOpen;
1566
+ }
1567
+ set onContextMenuOpen(value) {
1568
+ this._onContextMenuOpen = value;
1569
+ }
1570
+ /** This event is triggered when the context menu is closed.
1571
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, cellObj, eventObj)
1572
+ * target - The context menu instance.
1573
+ * owner - The HTMLElement that the menu belongs to.
1574
+ * cellObj - The cell object that is the target of the menu. If the target is an event instead of a cell this parameter will be undefined.
1575
+ * eventObj - The event object that is the target of the menu. If the target is a cell instead of an event this paramter will be undefined.
1576
+ */
1577
+ _onContextMenuClose = null; get onContextMenuClose() {
1578
+ return this._onContextMenuClose;
1579
+ }
1580
+ set onContextMenuClose(value) {
1581
+ this._onContextMenuClose = value;
1582
+ }
1583
+ /** This event is triggered when the user is about to close the context menu. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1584
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, cellObj, eventObj)
1585
+ * target - The context menu instance.
1586
+ * owner - The HTMLElement that the menu belongs to.
1587
+ * cellObj - The cell object that is the target of the menu. If the target is an event instead of a cell this parameter will be undefined.
1588
+ * eventObj - The event object that is the target of the menu. If the target is a cell instead of an event this paramter will be undefined.
1589
+ */
1590
+ _onContextMenuClosing = null; get onContextMenuClosing() {
1591
+ return this._onContextMenuClosing;
1592
+ }
1593
+ set onContextMenuClosing(value) {
1594
+ this._onContextMenuClosing = value;
1595
+ }
1596
+ /** This event is triggered when the event menu is about to open. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1597
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, eventObj)
1598
+ * target - The menu instance.
1599
+ * owner - The HTMLElement of the event that the menu belongs to.
1600
+ * eventObj - The event object that is the target of the menu.
1601
+ */
1602
+ _onEventMenuOpening = null; get onEventMenuOpening() {
1603
+ return this._onEventMenuOpening;
1604
+ }
1605
+ set onEventMenuOpening(value) {
1606
+ this._onEventMenuOpening = value;
1607
+ }
1608
+ /** This event is triggered when the event menu is opened.
1609
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, eventObj)
1610
+ * target - The menu instance.
1611
+ * owner - The HTMLElement of the event that the menu belongs to.
1612
+ * eventObj - The event object that is the target of the menu.
1613
+ */
1614
+ _onEventMenuOpen = null; get onEventMenuOpen() {
1615
+ return this._onEventMenuOpen;
1616
+ }
1617
+ set onEventMenuOpen(value) {
1618
+ this._onEventMenuOpen = value;
1619
+ }
1620
+ /** This event is triggered when the event menu is closed.
1621
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, eventObj)
1622
+ * target - The menu instance.
1623
+ * owner - The HTMLElement of the event that the menu belongs to.
1624
+ * eventObj - The event object that is the target of the menu.
1625
+ */
1626
+ _onEventMenuClose = null; get onEventMenuClose() {
1627
+ return this._onEventMenuClose;
1628
+ }
1629
+ set onEventMenuClose(value) {
1630
+ this._onEventMenuClose = value;
1631
+ }
1632
+ /** This event is triggered when the evet menu is about to close. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
1633
+ * @param event. The custom event. Custom event was created with: event.detail( target, owner, eventObj)
1634
+ * target - The menu instance.
1635
+ * owner - The HTMLElement of the event that the menu belongs to.
1636
+ * eventObj - The event object that is the target of the menu.
1637
+ */
1638
+ _onEventMenuClosing = null; get onEventMenuClosing() {
1639
+ return this._onEventMenuClosing;
1640
+ }
1641
+ set onEventMenuClosing(value) {
1642
+ this._onEventMenuClosing = value;
1643
+ }
1644
+ /** This event is triggered when the date selection menu is opened.
1645
+ * @param event. The custom event. Custom event was created with: event.detail( target)
1646
+ * target - The menu instance.
1647
+ */
1648
+ _onDateMenuOpen = null; get onDateMenuOpen() {
1649
+ return this._onDateMenuOpen;
1650
+ }
1651
+ set onDateMenuOpen(value) {
1652
+ this._onDateMenuOpen = value;
1653
+ }
1654
+ /** This event is triggered when the date selection menu is closed.
1655
+ * @param event. The custom event. Custom event was created with: event.detail( target)
1656
+ * target - The menu instance.
1657
+ */
1658
+ _onDateMenuClose = null; get onDateMenuClose() {
1659
+ return this._onDateMenuClose;
1660
+ }
1661
+ set onDateMenuClose(value) {
1662
+ this._onDateMenuClose = value;
1663
+ }
1664
+ /** This event is triggered when the view selection menu is opened.
1665
+ * @param event. The custom event. Custom event was created with: event.detail( target)
1666
+ * target - The menu instance.
1667
+ */
1668
+ _onViewMenuOpen = null; get onViewMenuOpen() {
1669
+ return this._onViewMenuOpen;
1670
+ }
1671
+ set onViewMenuOpen(value) {
1672
+ this._onViewMenuOpen = value;
1673
+ }
1674
+ /** This event is triggered when the view selection menu is closed.
1675
+ * @param event. The custom event. Custom event was created with: event.detail( target)
1676
+ * target - The menu instance.
1677
+ */
1678
+ _onViewMenuClose = null; get onViewMenuClose() {
1679
+ return this._onViewMenuClose;
1680
+ }
1681
+ set onViewMenuClose(value) {
1682
+ this._onViewMenuClose = value;
1683
+ }
1684
+ /** This event is triggered when a notification is opened.
1685
+ * @param event. The custom event. Custom event was created with: event.detail( instance)
1686
+ * instance - The toast item instance that is opened.
1687
+ */
1688
+ _onNotificationOpen = null; get onNotificationOpen() {
1689
+ return this._onNotificationOpen;
1690
+ }
1691
+ set onNotificationOpen(value) {
1692
+ this._onNotificationOpen = value;
1693
+ }
1694
+ /** This event is triggered when a notification is closed.
1695
+ * @param event. The custom event. Custom event was created with: event.detail( instance)
1696
+ * instance - The toast item instance that is closed.
1697
+ */
1698
+ _onNotificationClose = null; get onNotificationClose() {
1699
+ return this._onNotificationClose;
1700
+ }
1701
+ set onNotificationClose(value) {
1702
+ this._onNotificationClose = value;
1703
+ }
1704
+
1705
+ // Gets the events of the React component.
1706
+ get eventListeners() {
1707
+ return ["onBeginUpdate","onEndUpdate","onChange","onItemChange","onItemChanging","onItemClick","onItemInsert","onItemRemove","onItemUpdate","onViewChange","onViewChanging","onEventShortcutKey","onDateChange","onDragStart","onDragEnd","onDropoverCell","onResizeStart","onResizeEnd","onEditDialogOpening","onEditDialogOpen","onEditDialogClose","onEditDialogClosing","onContextMenuOpening","onContextMenuOpen","onContextMenuClose","onContextMenuClosing","onEventMenuOpening","onEventMenuOpen","onEventMenuClose","onEventMenuClosing","onDateMenuOpen","onDateMenuClose","onViewMenuOpen","onViewMenuClose","onNotificationOpen","onNotificationClose"];
1708
+ }
1709
+ /** Adds an event to the Scheduler. Accepts an event object of the following format (same as the dataSource format): { label?: string, dateStart: date, dateEnd: date, description?: string, id?: string | number, class?: string, backgroundColor?: string, color?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], allDay?: boolean, disableDrag?: boolean, disableResize?: boolean, repeat?: { repeatFreq: string, repeatInterval: number, repeatOn?: number | number[] | date, repeatEnd?: number | date, exceptions?: { date: date, dateStart?: date, dateEnd?: date, hidden?: boolean, backgroundColor?: string, status?: string, label?: string, description?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], disableDrag?: boolean, disableResize?: boolean }[] }, status?: string }
1710
+ * @param {any} eventObj. An object describing a Scheduler event that is not already present in the element.
1711
+ */
1712
+ addEvent(eventObj){
1713
+ if (this.nativeElement.isRendered) {
1714
+ this.nativeElement.addEvent(eventObj);
1715
+ }
1716
+ else
1717
+ {
1718
+ this.nativeElement.whenRendered(() => {
1719
+ this.nativeElement.addEvent(eventObj);
1720
+ });
1721
+ }
1722
+ }
1723
+
1724
+ /** Adds a new view. Example: scheduler.addView('week', 'My View', 'myView', false, false, 10); scheduler.setView('myView');
1725
+ * @param {string} type. The view type.
1726
+ * @param {string} label. The view's label displayed in the header.
1727
+ * @param {string} value. The view's value used to identify the view.
1728
+ * @param {boolean} hideWeekend. Determines whether to hide the weekend.
1729
+ * @param {boolean} hideNonworkingWeekdays. Determines whether to hide the non working days.
1730
+ * @param {number} additionalDays. Determines whether to add additional days to the view.
1731
+ */
1732
+ addView(type, label, value, hideWeekend, hideNonworkingWeekdays, additionalDays){
1733
+ if (this.nativeElement.isRendered) {
1734
+ this.nativeElement.addView(type, label, value, hideWeekend, hideNonworkingWeekdays, additionalDays);
1735
+ }
1736
+ else
1737
+ {
1738
+ this.nativeElement.whenRendered(() => {
1739
+ this.nativeElement.addView(type, label, value, hideWeekend, hideNonworkingWeekdays, additionalDays);
1740
+ });
1741
+ }
1742
+ }
1743
+
1744
+ /** Starts an update operation. This is appropriate when calling multiple methods or set multiple properties at once.
1745
+ */
1746
+ beginUpdate(){
1747
+ if (this.nativeElement.isRendered) {
1748
+ this.nativeElement.beginUpdate();
1749
+ }
1750
+ else
1751
+ {
1752
+ this.nativeElement.whenRendered(() => {
1753
+ this.nativeElement.beginUpdate();
1754
+ });
1755
+ }
1756
+ }
1757
+
1758
+ /** Creates an event and adds it to the Scheduler.
1759
+ * @param {string} label. Event label.
1760
+ * @param {string} value. Event value.
1761
+ * @param {string} dateStart. Event date start.
1762
+ * @param {string} dateEnd. Event date end.
1763
+ * @param {boolean} allDay. Event all day. Set it to true to create all day event.
1764
+ */
1765
+ createEvent(label, value, dateStart, dateEnd, allDay){
1766
+ if (this.nativeElement.isRendered) {
1767
+ this.nativeElement.createEvent(label, value, dateStart, dateEnd, allDay);
1768
+ }
1769
+ else
1770
+ {
1771
+ this.nativeElement.whenRendered(() => {
1772
+ this.nativeElement.createEvent(label, value, dateStart, dateEnd, allDay);
1773
+ });
1774
+ }
1775
+ }
1776
+
1777
+ /** Ends the update operation. This method will resume the rendering and will refresh the element.
1778
+ */
1779
+ endUpdate(){
1780
+ if (this.nativeElement.isRendered) {
1781
+ this.nativeElement.endUpdate();
1782
+ }
1783
+ else
1784
+ {
1785
+ this.nativeElement.whenRendered(() => {
1786
+ this.nativeElement.endUpdate();
1787
+ });
1788
+ }
1789
+ }
1790
+
1791
+ /** Returns an array of the start and end view dates.
1792
+ * @returns {Date[]}
1793
+ */
1794
+ getViewDates() {
1795
+ const result = this.nativeElement.getViewDates();
1796
+ return result;
1797
+ }
1798
+
1799
+ /** Refereshes the Scheduler by recalculating the Scrollbars.
1800
+ * @param {boolean} fullRefresh?. If set the Scheduler will be re-rendered completely.
1801
+ */
1802
+ refresh(fullRefresh){
1803
+ if (this.nativeElement.isRendered) {
1804
+ this.nativeElement.refresh(fullRefresh);
1805
+ }
1806
+ else
1807
+ {
1808
+ this.nativeElement.whenRendered(() => {
1809
+ this.nativeElement.refresh(fullRefresh);
1810
+ });
1811
+ }
1812
+ }
1813
+
1814
+ /** Exports the events from the Scheduler.
1815
+ * @param {string} dataFormat. Determines the format of the exported file. The following values are available: <ul><li><b>pdf</b></li><li><b>xlsx</b></li><li><b>html</b></li><li><b>iCal</b></li></ul>
1816
+ * @param {any} callback?. A callback that allows to format the exported data based on a condition. For additional details, refer ro the Smart Export Documentation.
1817
+ */
1818
+ exportData(dataFormat, callback){
1819
+ if (this.nativeElement.isRendered) {
1820
+ this.nativeElement.exportData(dataFormat, callback);
1821
+ }
1822
+ else
1823
+ {
1824
+ this.nativeElement.whenRendered(() => {
1825
+ this.nativeElement.exportData(dataFormat, callback);
1826
+ });
1827
+ }
1828
+ }
1829
+
1830
+ /** Returns a JSON representation of the events inside the Scheduler.
1831
+ * @returns {any}
1832
+ */
1833
+ getDataSource() {
1834
+ const result = this.nativeElement.getDataSource();
1835
+ return result;
1836
+ }
1837
+
1838
+ /** Returns a JSON representation of the resources inside the Scheduler.
1839
+ * @returns {any}
1840
+ */
1841
+ getResources() {
1842
+ const result = this.nativeElement.getResources();
1843
+ return result;
1844
+ }
1845
+
1846
+ /** Gets a date from coordinates
1847
+ * @param {number} x. X coordinate.
1848
+ * @param {number} y. Y coordinate.
1849
+ * @returns {string}
1850
+ */
1851
+ getDateFromCoordinates(x, y) {
1852
+ const result = this.nativeElement.getDateFromCoordinates(x, y);
1853
+ return result;
1854
+ }
1855
+
1856
+ /** Gets whether a cell is all day cell from coordinates
1857
+ * @param {number} x. X coordinate.
1858
+ * @param {number} y. Y coordinate.
1859
+ * @returns {boolean}
1860
+ */
1861
+ getIsAllDayCellFromCoordinates(x, y) {
1862
+ const result = this.nativeElement.getIsAllDayCellFromCoordinates(x, y);
1863
+ return result;
1864
+ }
1865
+
1866
+ /** Returns the current state of the Scheduler. Includes the current dateCurernt, dataSource and timeZone properties.
1867
+ * @returns {any}
1868
+ */
1869
+ getState() {
1870
+ const result = this.nativeElement.getState();
1871
+ return result;
1872
+ }
1873
+
1874
+ /** Removes a previously saved state of the element form LocalStorage according to it's id. Requires an id to be set to the element.
1875
+ */
1876
+ clearState(){
1877
+ if (this.nativeElement.isRendered) {
1878
+ this.nativeElement.clearState();
1879
+ }
1880
+ else
1881
+ {
1882
+ this.nativeElement.whenRendered(() => {
1883
+ this.nativeElement.clearState();
1884
+ });
1885
+ }
1886
+ }
1887
+
1888
+ /** Loads a previously saved state of the element or checks LocalStorage for any saved states if no argument is passed to the method.
1889
+ * @param {any[]} state?. An Array containing a valid structure of Scheduler events. If no state is provided, the element will check localStorage for a saved state.
1890
+ */
1891
+ loadState(state){
1892
+ if (this.nativeElement.isRendered) {
1893
+ this.nativeElement.loadState(state);
1894
+ }
1895
+ else
1896
+ {
1897
+ this.nativeElement.whenRendered(() => {
1898
+ this.nativeElement.loadState(state);
1899
+ });
1900
+ }
1901
+ }
1902
+
1903
+ /** Saves the current events of the element to LocalStorage. Requires an id to be set to the element.
1904
+ * @param {any[]} state?. An Array containing a valid structure of Scheduler events.
1905
+ */
1906
+ saveState(state){
1907
+ if (this.nativeElement.isRendered) {
1908
+ this.nativeElement.saveState(state);
1909
+ }
1910
+ else
1911
+ {
1912
+ this.nativeElement.whenRendered(() => {
1913
+ this.nativeElement.saveState(state);
1914
+ });
1915
+ }
1916
+ }
1917
+
1918
+ /** Sets the Scheduler's view. Example: scheduler.addView('week', 'My View', 'myView', false, false, 10); scheduler.setView('myView');
1919
+ * @param {string} view?. The view's value. For example: 'day'.
1920
+ */
1921
+ setView(view){
1922
+ if (this.nativeElement.isRendered) {
1923
+ this.nativeElement.setView(view);
1924
+ }
1925
+ else
1926
+ {
1927
+ this.nativeElement.whenRendered(() => {
1928
+ this.nativeElement.setView(view);
1929
+ });
1930
+ }
1931
+ }
1932
+
1933
+ /** Checks whether the Scheduler contains the event.
1934
+ * @param {any} eventObj. A Scheduler event object.
1935
+ * @returns {boolean}
1936
+ */
1937
+ containsEvent(eventObj) {
1938
+ const result = this.nativeElement.containsEvent(eventObj);
1939
+ return result;
1940
+ }
1941
+
1942
+ /** Inserts an event as object of the following format (same as the dataSource format): { label?: string, dateStart: date, dateEnd: date, description?: string, id?: string | number, class?: string, backgroundColor?: string, color?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], allDay?: boolean, disableDrag?: boolean, disableResize?: boolean, repeat?: { repeatFreq: string, repeatInterval: number, repeatOn?: number | number[] | date, repeatEnd?: number | date, exceptions?: { date: date, dateStart?: date, dateEnd?: date, hidden?: boolean, backgroundColor?: string, status?: string, label?: string, description?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], disableDrag?: boolean, disableResize?: boolean }[] }, status?: string }
1943
+ * @param {any} eventObj. An object describing a Scheduler event that is not already present in the element.
1944
+ * @param {number} index?. A number that represents the index to insert the event at. If not provided the event is inserted at the end of the list.
1945
+ */
1946
+ insertEvent(eventObj, index){
1947
+ if (this.nativeElement.isRendered) {
1948
+ this.nativeElement.insertEvent(eventObj, index);
1949
+ }
1950
+ else
1951
+ {
1952
+ this.nativeElement.whenRendered(() => {
1953
+ this.nativeElement.insertEvent(eventObj, index);
1954
+ });
1955
+ }
1956
+ }
1957
+
1958
+ /** Updates an event object of the following format (same as the dataSource format): { label?: string, dateStart: date, dateEnd: date, description?: string, id?: string | number, class?: string, backgroundColor?: string, color?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], allDay?: boolean, disableDrag?: boolean, disableResize?: boolean, repeat?: { repeatFreq: string, repeatInterval: number, repeatOn?: number | number[] | date, repeatEnd?: number | date, exceptions?: { date: date, dateStart?: date, dateEnd?: date, hidden?: boolean, backgroundColor?: string, status?: string, label?: string, description?: string, notifications?: { interval: numeric, type?: string, time: number[] }[], disableDrag?: boolean, disableResize?: boolean }[] }, status?: string }
1959
+ * @param {any} index. A number that represents the index of an event or a Scheduler event object.
1960
+ * @param {any} eventObj. An object describing a Scheduler event. The properties of this object will be applied to the desired event.
1961
+ */
1962
+ updateEvent(index, eventObj){
1963
+ if (this.nativeElement.isRendered) {
1964
+ this.nativeElement.updateEvent(index, eventObj);
1965
+ }
1966
+ else
1967
+ {
1968
+ this.nativeElement.whenRendered(() => {
1969
+ this.nativeElement.updateEvent(index, eventObj);
1970
+ });
1971
+ }
1972
+ }
1973
+
1974
+ /** Removes an existing event.
1975
+ * @param {any} index. A number that represents the index of an event or the actual event object to be removed.
1976
+ */
1977
+ removeEvent(index){
1978
+ if (this.nativeElement.isRendered) {
1979
+ this.nativeElement.removeEvent(index);
1980
+ }
1981
+ else
1982
+ {
1983
+ this.nativeElement.whenRendered(() => {
1984
+ this.nativeElement.removeEvent(index);
1985
+ });
1986
+ }
1987
+ }
1988
+
1989
+ /** Returns an array of all exceptions of the target repeating event.
1990
+ * @param {any} eventObj. The index, id or an object reference of an existing repeating Scheduler event.
1991
+ * @returns {any}
1992
+ */
1993
+ getEventExceptions(eventObj) {
1994
+ const result = this.nativeElement.getEventExceptions(eventObj);
1995
+ return result;
1996
+ }
1997
+
1998
+ /** Adds an event exception to a repeating event. The exception occurences for a repeating event can be gathered via the following methods: occurencesoccurrencesBetweenoccurrenceAfteroccurrenceBefore. Example usage: scheduler.addEventException(eventObj, { date: occuranceDate, dateStart: newDateStart, dateEnd: newDateEnd, label: 'Exception' });
1999
+ * @param {any} eventObj. The index, id or an object reference of an existing repeating Scheduler event.
2000
+ * @param {any} exceptionObj. An event object that describes an exception. Exception event objects must have a <b>date</b> attribute of type Date which indicates the date of occurence.
2001
+ */
2002
+ addEventException(eventObj, exceptionObj){
2003
+ if (this.nativeElement.isRendered) {
2004
+ this.nativeElement.addEventException(eventObj, exceptionObj);
2005
+ }
2006
+ else
2007
+ {
2008
+ this.nativeElement.whenRendered(() => {
2009
+ this.nativeElement.addEventException(eventObj, exceptionObj);
2010
+ });
2011
+ }
2012
+ }
2013
+
2014
+ /** Updates an event exception of a repeating event. The exception occurences for a repeating event can be gathered via the following methods: occurencesoccurrencesBetweenoccurrenceAfteroccurrenceBefore. Example usage: scheduler.updateEventException(eventObj, dateOfOccurance, { dateStart: newDateStart, dateEnd: newDateEnd, label: 'Updated Exception' });
2015
+ * @param {any} eventObj. The index, id or an object reference of an existing repeating Scheduler event.
2016
+ * @param {any} exceptionRef. The index, id, an occurence date of the exception or an object reference of an existing Scheduler repeating event exception.
2017
+ * @param {any} exceptionObj. An event object that describes an exception. All attributes of an exception can be updated except the occurance date (the <b>date</b> attribute).
2018
+ */
2019
+ updateEventException(eventObj, exceptionRef, exceptionObj){
2020
+ if (this.nativeElement.isRendered) {
2021
+ this.nativeElement.updateEventException(eventObj, exceptionRef, exceptionObj);
2022
+ }
2023
+ else
2024
+ {
2025
+ this.nativeElement.whenRendered(() => {
2026
+ this.nativeElement.updateEventException(eventObj, exceptionRef, exceptionObj);
2027
+ });
2028
+ }
2029
+ }
2030
+
2031
+ /** Removes an exception from a repeating event.
2032
+ * @param {any} eventObj. The index, id or an object reference of an existing repeating Scheduler event.
2033
+ * @param {any} index. The index, id, occurance date or an object reference of an event exception that belongs to the target repeating event.
2034
+ */
2035
+ removeEventException(eventObj, index){
2036
+ if (this.nativeElement.isRendered) {
2037
+ this.nativeElement.removeEventException(eventObj, index);
2038
+ }
2039
+ else
2040
+ {
2041
+ this.nativeElement.whenRendered(() => {
2042
+ this.nativeElement.removeEventException(eventObj, index);
2043
+ });
2044
+ }
2045
+ }
2046
+
2047
+ /** Opens the popup Window for specific event Editing.
2048
+ * @param {any} index. A number that represents the index of a event or the actual event object to be edited.
2049
+ */
2050
+ openWindow(index){
2051
+ if (this.nativeElement.isRendered) {
2052
+ this.nativeElement.openWindow(index);
2053
+ }
2054
+ else
2055
+ {
2056
+ this.nativeElement.whenRendered(() => {
2057
+ this.nativeElement.openWindow(index);
2058
+ });
2059
+ }
2060
+ }
2061
+
2062
+ /** Closes the popup window.
2063
+ */
2064
+ closeWindow(){
2065
+ if (this.nativeElement.isRendered) {
2066
+ this.nativeElement.closeWindow();
2067
+ }
2068
+ else
2069
+ {
2070
+ this.nativeElement.whenRendered(() => {
2071
+ this.nativeElement.closeWindow();
2072
+ });
2073
+ }
2074
+ }
2075
+
2076
+ /** Prepares the Scheduler for printing by opening the browser's Print Preview.
2077
+ */
2078
+ print(){
2079
+ if (this.nativeElement.isRendered) {
2080
+ this.nativeElement.print();
2081
+ }
2082
+ else
2083
+ {
2084
+ this.nativeElement.whenRendered(() => {
2085
+ this.nativeElement.print();
2086
+ });
2087
+ }
2088
+ }
2089
+
2090
+ /** Scrolls the Scheduler to a Date.
2091
+ * @param {Date} date. The date to scroll to.
2092
+ * @param {boolean} strictScroll?. Determines whether to scroll strictly to the date or not. This mean sthat the Scheduler wll scroll to the begining of the cell that corresponds to the target date.
2093
+ * @param {boolean} autoScroll?. Calculates the scroll positions and element bounds, then adds an offset to scroll within the middle of the view.
2094
+ */
2095
+ scrollToDate(date, strictScroll, autoScroll){
2096
+ if (this.nativeElement.isRendered) {
2097
+ this.nativeElement.scrollToDate(date, strictScroll, autoScroll);
2098
+ }
2099
+ else
2100
+ {
2101
+ this.nativeElement.whenRendered(() => {
2102
+ this.nativeElement.scrollToDate(date, strictScroll, autoScroll);
2103
+ });
2104
+ }
2105
+ }
2106
+
2107
+ /** Navigates the Scheduler to a Date.
2108
+ * @param {Date} date. The date to navigate to.
2109
+ */
2110
+ navigateToDate(date){
2111
+ if (this.nativeElement.isRendered) {
2112
+ this.nativeElement.navigateToDate(date);
2113
+ }
2114
+ else
2115
+ {
2116
+ this.nativeElement.whenRendered(() => {
2117
+ this.nativeElement.navigateToDate(date);
2118
+ });
2119
+ }
2120
+ }
2121
+
2122
+ /** Scrolls the Scheduler to an event.
2123
+ * @param {any} index. The index of a Scheduler event or the actual event object to scroll to.
2124
+ */
2125
+ scrollToEvent(index){
2126
+ if (this.nativeElement.isRendered) {
2127
+ this.nativeElement.scrollToEvent(index);
2128
+ }
2129
+ else
2130
+ {
2131
+ this.nativeElement.whenRendered(() => {
2132
+ this.nativeElement.scrollToEvent(index);
2133
+ });
2134
+ }
2135
+ }
2136
+
2137
+ /** Opens a custom notification.
2138
+ * @param {string} message. The notification message.
2139
+ * @param {any} toastSettings. Smart.Toast settings to be applied to the Toast element when opening the notification.
2140
+ */
2141
+ openNotification(message, toastSettings){
2142
+ if (this.nativeElement.isRendered) {
2143
+ this.nativeElement.openNotification(message, toastSettings);
2144
+ }
2145
+ else
2146
+ {
2147
+ this.nativeElement.whenRendered(() => {
2148
+ this.nativeElement.openNotification(message, toastSettings);
2149
+ });
2150
+ }
2151
+ }
2152
+
2153
+ /** Closes all notifications.
2154
+ */
2155
+ closeNotifications(){
2156
+ if (this.nativeElement.isRendered) {
2157
+ this.nativeElement.closeNotifications();
2158
+ }
2159
+ else
2160
+ {
2161
+ this.nativeElement.whenRendered(() => {
2162
+ this.nativeElement.closeNotifications();
2163
+ });
2164
+ }
2165
+ }
2166
+
2167
+ /** Returns all occurances of an event.
2168
+ * @param {any} eventObj. A Scheduler evnet object.
2169
+ * @param {number} count. The number of occurances to return. By default 100 date occurances of the event are returned.
2170
+ */
2171
+ occurrences(eventObj, count){
2172
+ if (this.nativeElement.isRendered) {
2173
+ this.nativeElement.occurrences(eventObj, count);
2174
+ }
2175
+ else
2176
+ {
2177
+ this.nativeElement.whenRendered(() => {
2178
+ this.nativeElement.occurrences(eventObj, count);
2179
+ });
2180
+ }
2181
+ }
2182
+
2183
+ /** Returns all occurances of an event between two dates.
2184
+ * @param {any} eventObj. A Scheduler event object.
2185
+ * @param {Date} dateFrom. The start date.
2186
+ * @param {Date} dateTo. The end date.
2187
+ */
2188
+ occurrencesBetween(eventObj, dateFrom, dateTo){
2189
+ if (this.nativeElement.isRendered) {
2190
+ this.nativeElement.occurrencesBetween(eventObj, dateFrom, dateTo);
2191
+ }
2192
+ else
2193
+ {
2194
+ this.nativeElement.whenRendered(() => {
2195
+ this.nativeElement.occurrencesBetween(eventObj, dateFrom, dateTo);
2196
+ });
2197
+ }
2198
+ }
2199
+
2200
+ /** Returns the first occurance of an event after a date.
2201
+ * @param {any} eventObj. A Scheduler event object.
2202
+ * @param {number} date. The date after which the first occurance of the event will be returned.
2203
+ */
2204
+ occurrenceAfter(eventObj, date){
2205
+ if (this.nativeElement.isRendered) {
2206
+ this.nativeElement.occurrenceAfter(eventObj, date);
2207
+ }
2208
+ else
2209
+ {
2210
+ this.nativeElement.whenRendered(() => {
2211
+ this.nativeElement.occurrenceAfter(eventObj, date);
2212
+ });
2213
+ }
2214
+ }
2215
+
2216
+ /** Returns the last occurance of an event before a date.
2217
+ * @param {any} eventObj. A Scheduler event object.
2218
+ * @param {number} date. The date before which the first occurance of the event will be returned.
2219
+ */
2220
+ occurrenceBefore(eventObj, date){
2221
+ if (this.nativeElement.isRendered) {
2222
+ this.nativeElement.occurrenceBefore(eventObj, date);
2223
+ }
2224
+ else
2225
+ {
2226
+ this.nativeElement.whenRendered(() => {
2227
+ this.nativeElement.occurrenceBefore(eventObj, date);
2228
+ });
2229
+ }
2230
+ }
2231
+
2232
+ /** Returns the dateStart/dateEnd of a timeline cell.
2233
+ * @param {HTMLElement} cell. A Scheduler timeline cell element.
2234
+ * @returns {any}
2235
+ */
2236
+ getCellDateRange(cell) {
2237
+ const result = this.nativeElement.getCellDateRange(cell);
2238
+ return result;
2239
+ }
2240
+
2241
+ /** Opens the tooltip(event menu) for an event.
2242
+ * @param {any} eventObj. A Scheduler event object or it's index.
2243
+ */
2244
+ openEventTooltip(eventObj){
2245
+ if (this.nativeElement.isRendered) {
2246
+ this.nativeElement.openEventTooltip(eventObj);
2247
+ }
2248
+ else
2249
+ {
2250
+ this.nativeElement.whenRendered(() => {
2251
+ this.nativeElement.openEventTooltip(eventObj);
2252
+ });
2253
+ }
2254
+ }
2255
+
2256
+ /** Closes the event tooltip (event menu).
2257
+ */
2258
+ closeEventTooltip(){
2259
+ if (this.nativeElement.isRendered) {
2260
+ this.nativeElement.closeEventTooltip();
2261
+ }
2262
+ else
2263
+ {
2264
+ this.nativeElement.whenRendered(() => {
2265
+ this.nativeElement.closeEventTooltip();
2266
+ });
2267
+ }
2268
+ }
2269
+
2270
+ /** Returns true or false whether the date is restricted or not.
2271
+ * @param {Date} date. A Date object.
2272
+ * @returns {boolean}
2273
+ */
2274
+ isDateRestricted(date) {
2275
+ const result = this.nativeElement.isDateRestricted(date);
2276
+ return result;
2277
+ }
2278
+
2279
+ /** Returns true or false whether the hour is restricted or not.
2280
+ * @param {number | Date} hour. A number that represents an hour ( 0 to 23 ) or a Date object.
2281
+ * @returns {boolean}
2282
+ */
2283
+ isHourRestricted(hour) {
2284
+ const result = this.nativeElement.isHourRestricted(hour);
2285
+ return result;
2286
+ }
2287
+
2288
+ /** Returns true or false whether the event is restricted or not.
2289
+ * @param {any} eventObj. A Scheduler event object or a direct event HTMLElement instance.
2290
+ * @returns {boolean}
2291
+ */
2292
+ isEventRestricted(eventObj) {
2293
+ const result = this.nativeElement.isEventRestricted(eventObj);
2294
+ return result;
2295
+ }
2296
+
2297
+ /** Deletes the current undo/redo history.
2298
+ * @returns {boolean}
2299
+ */
2300
+ deleteUndoRedoHistory() {
2301
+ const result = this.nativeElement.deleteUndoRedoHistory();
2302
+ return result;
2303
+ }
2304
+
2305
+ /** Indicates whether it is possible to redo an action.
2306
+ * @returns {boolean}
2307
+ */
2308
+ canRedo() {
2309
+ const result = this.nativeElement.canRedo();
2310
+ return result;
2311
+ }
2312
+
2313
+ /** Indicates whether it is possbile to undo an action.
2314
+ * @returns {boolean}
2315
+ */
2316
+ canUndo() {
2317
+ const result = this.nativeElement.canUndo();
2318
+ return result;
2319
+ }
2320
+
2321
+ /** Redo the next event modification.
2322
+ * @param {number} step?. A step to redo to.
2323
+ * @returns {boolean}
2324
+ */
2325
+ redo(step) {
2326
+ const result = this.nativeElement.redo(step);
2327
+ return result;
2328
+ }
2329
+
2330
+ /** Undo the last event modification.
2331
+ * @param {number} step?. A step to undo to.
2332
+ * @returns {boolean}
2333
+ */
2334
+ undo(step) {
2335
+ const result = this.nativeElement.undo(step);
2336
+ return result;
2337
+ }
2338
+
2339
+
2340
+
2341
+ constructor(props) {
2342
+ super(props);
2343
+ this.componentRef = React.createRef();
2344
+ }
2345
+
2346
+ componentDidRender(initialize) {
2347
+ const that = this;
2348
+ const props = {};
2349
+ const events = {};
2350
+ let styles = null;
2351
+ const stringifyCircularJSON = obj => {
2352
+ const seen = new WeakSet();
2353
+ return JSON.stringify(obj, (k, v) => {
2354
+ if (v !== null && typeof v === 'object') {
2355
+ if (seen.has(v)) return;
2356
+ seen.add(v);
2357
+ }
2358
+
2359
+ if (k === 'Smart') {
2360
+ return v;
2361
+ }
2362
+
2363
+ return v;
2364
+ });
2365
+ };
2366
+
2367
+ for(let prop in that.props) {
2368
+ if (prop === 'children') {
2369
+ continue;
2370
+ }
2371
+
2372
+ if (prop === 'style') {
2373
+ styles = that.props[prop];
2374
+ continue;
2375
+ }
2376
+
2377
+ if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
2378
+ events[prop] = that.props[prop];
2379
+ continue;
2380
+ }
2381
+
2382
+ props[prop] = that.props[prop];
2383
+ }
2384
+
2385
+ if (initialize) {
2386
+ that.nativeElement = this.componentRef.current;
2387
+ if (that.nativeElement && !that.nativeElement.isCompleted) {
2388
+ that.nativeElement.reactStateProps = JSON.parse(stringifyCircularJSON(props));
2389
+ }
2390
+ }
2391
+
2392
+ if (initialize && that.nativeElement && that.nativeElement.isCompleted) {
2393
+ // return;
2394
+ }
2395
+
2396
+
2397
+ for(let prop in props) {
2398
+ if (prop === 'class' || prop === 'className') {
2399
+ const classNames = props[prop].trim().split(' ');
2400
+
2401
+ if (that.nativeElement._classNames) {
2402
+ const oldClassNames = that.nativeElement._classNames;
2403
+ for(let className in oldClassNames) {
2404
+ if (that.nativeElement.classList.contains(oldClassNames[className]) && oldClassNames[className] !== "") {
2405
+ that.nativeElement.classList.remove(oldClassNames[className]);
2406
+ }
2407
+ }
2408
+ }
2409
+
2410
+ that.nativeElement._classNames = classNames;
2411
+
2412
+ for(let className in classNames) {
2413
+ if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
2414
+ that.nativeElement.classList.add(classNames[className]);
2415
+ }
2416
+ }
2417
+
2418
+ continue;
2419
+ }
2420
+
2421
+ if (props[prop] !== that.nativeElement[prop]) {
2422
+ const normalizeProp = (str) => {
2423
+ return str.replace(/-([a-z])/g, function (g) {
2424
+ return g[1].toUpperCase();
2425
+ });
2426
+ }
2427
+
2428
+ if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
2429
+ that.nativeElement.setAttribute(prop, '');
2430
+ }
2431
+
2432
+ const normalizedProp = normalizeProp(prop);
2433
+
2434
+ if (that.nativeElement[normalizedProp] === undefined) {
2435
+ that.nativeElement.setAttribute(prop, props[prop]);
2436
+ }
2437
+
2438
+ if (props[prop] !== undefined) {
2439
+ if (typeof props[prop] === 'object' && that.nativeElement.reactStateProps && !initialize) {
2440
+ if (stringifyCircularJSON(props[prop]) === stringifyCircularJSON(that.nativeElement.reactStateProps[normalizedProp])) {
2441
+ continue;
2442
+ }
2443
+ }
2444
+
2445
+ that.nativeElement[normalizedProp] = props[prop];
2446
+ }
2447
+ }
2448
+ }
2449
+
2450
+
2451
+ for(let eventName in events) {
2452
+ that[eventName] = events[eventName];
2453
+ that.nativeElement[eventName.toLowerCase()] = events[eventName];
2454
+ }
2455
+
2456
+ if (initialize) {
2457
+ Smart.Render();
2458
+
2459
+ if (that.onCreate) {
2460
+ that.onCreate();
2461
+ }
2462
+
2463
+ that.nativeElement.whenRendered(() => {
2464
+ if (that.onReady) {
2465
+ that.onReady();
2466
+ }
2467
+ });
2468
+ }
2469
+
2470
+ // setup styles.
2471
+
2472
+ if (styles) {
2473
+ for(let styleName in styles) {
2474
+ that.nativeElement.style[styleName] = styles[styleName];
2475
+ }
2476
+ }
2477
+ }
2478
+
2479
+ componentDidMount() {
2480
+ this.componentDidRender(true);
2481
+ }
2482
+
2483
+ componentDidUpdate() {
2484
+ this.componentDidRender(false);
2485
+ }
2486
+
2487
+ componentWillUnmount() {
2488
+ const that = this;
2489
+
2490
+ if (!that.nativeElement) {
2491
+ return;
2492
+ }
2493
+
2494
+ that.nativeElement.whenRenderedCallbacks = [];
2495
+
2496
+ for(let i = 0; i < that.eventListeners.length; i++){
2497
+ const eventName = that.eventListeners[i];
2498
+
2499
+ that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
2500
+ }
2501
+ }
2502
+
2503
+ render() {
2504
+ return (
2505
+ React.createElement("smart-scheduler", { ref: this.componentRef }, this.props.children)
2506
+ )
2507
+ }
2508
+ }
2509
+
2510
+ export default Scheduler;