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.
- package/package.json +1 -1
- package/source/angular/accordion/index.ts +1 -0
- package/source/angular/accordion/public_api.ts +5 -0
- package/source/angular/accordion/smart.accordion.module.ts +13 -0
- package/source/angular/accordion/smart.accordion.ts +370 -0
- package/source/angular/accordion/smart.accordionitem.ts +142 -0
- package/source/angular/accordion/smart.element.ts +104 -0
- package/source/angular/array/index.ts +1 -0
- package/source/angular/array/public_api.ts +3 -0
- package/source/angular/array/smart.array.module.ts +12 -0
- package/source/angular/array/smart.array.ts +817 -0
- package/source/angular/array/smart.element.ts +104 -0
- package/source/angular/barcode/index.ts +1 -0
- package/source/angular/barcode/public_api.ts +3 -0
- package/source/angular/barcode/smart.barcode.module.ts +12 -0
- package/source/angular/barcode/smart.barcode.ts +306 -0
- package/source/angular/barcode/smart.element.ts +104 -0
- package/source/angular/bootstrap/bootstrap.button.ts +160 -0
- package/source/angular/bootstrap/bootstrap.checkbox.ts +165 -0
- package/source/angular/bootstrap/bootstrap.circular.ts +151 -0
- package/source/angular/bootstrap/bootstrap.dropdown.ts +253 -0
- package/source/angular/bootstrap/bootstrap.fileinput.ts +133 -0
- package/source/angular/bootstrap/bootstrap.input.ts +160 -0
- package/source/angular/bootstrap/bootstrap.inputgroup.ts +178 -0
- package/source/angular/bootstrap/bootstrap.modal.ts +204 -0
- package/source/angular/bootstrap/bootstrap.progressbar.ts +151 -0
- package/source/angular/bootstrap/bootstrap.radiobutton.ts +156 -0
- package/source/angular/bootstrap/bootstrap.range.ts +133 -0
- package/source/angular/bootstrap/bootstrap.splitbutton.ts +253 -0
- package/source/angular/bootstrap/bootstrap.switchbutton.ts +165 -0
- package/source/angular/bootstrap/bootstrap.tabs.ts +175 -0
- package/source/angular/bootstrap/bootstrap.textarea.ts +160 -0
- package/source/angular/bootstrap/bootstrap.togglebutton.ts +156 -0
- package/source/angular/bootstrap/index.ts +1 -0
- package/source/angular/bootstrap/public_api.ts +17 -0
- package/source/angular/bootstrap/smart.element.ts +104 -0
- package/source/angular/breadcrumb/index.ts +1 -0
- package/source/angular/breadcrumb/public_api.ts +3 -0
- package/source/angular/breadcrumb/smart.breadcrumb.module.ts +12 -0
- package/source/angular/breadcrumb/smart.breadcrumb.ts +306 -0
- package/source/angular/breadcrumb/smart.element.ts +104 -0
- package/source/angular/button/index.ts +1 -0
- package/source/angular/button/public_api.ts +9 -0
- package/source/angular/button/smart.button.module.ts +15 -0
- package/source/angular/button/smart.button.ts +230 -0
- package/source/angular/button/smart.element.ts +104 -0
- package/source/angular/button/smart.powerbutton.ts +283 -0
- package/source/angular/button/smart.repeatbutton.ts +214 -0
- package/source/angular/button/smart.togglebutton.ts +235 -0
- package/source/angular/buttongroup/index.ts +1 -0
- package/source/angular/buttongroup/public_api.ts +3 -0
- package/source/angular/buttongroup/smart.buttongroup.module.ts +12 -0
- package/source/angular/buttongroup/smart.buttongroup.ts +229 -0
- package/source/angular/buttongroup/smart.element.ts +104 -0
- package/source/angular/calendar/index.ts +1 -0
- package/source/angular/calendar/public_api.ts +3 -0
- package/source/angular/calendar/smart.calendar.module.ts +12 -0
- package/source/angular/calendar/smart.calendar.ts +787 -0
- package/source/angular/calendar/smart.element.ts +104 -0
- package/source/angular/card/index.ts +1 -0
- package/source/angular/card/public_api.ts +3 -0
- package/source/angular/card/smart.card.module.ts +12 -0
- package/source/angular/card/smart.card.ts +220 -0
- package/source/angular/card/smart.element.ts +104 -0
- package/source/angular/cardview/index.ts +1 -0
- package/source/angular/cardview/public_api.ts +3 -0
- package/source/angular/cardview/smart.cardview.module.ts +12 -0
- package/source/angular/cardview/smart.cardview.ts +573 -0
- package/source/angular/cardview/smart.element.ts +104 -0
- package/source/angular/carousel/index.ts +1 -0
- package/source/angular/carousel/public_api.ts +3 -0
- package/source/angular/carousel/smart.carousel.module.ts +12 -0
- package/source/angular/carousel/smart.carousel.ts +414 -0
- package/source/angular/carousel/smart.element.ts +104 -0
- package/source/angular/chart/index.ts +1 -0
- package/source/angular/chart/public_api.ts +3 -0
- package/source/angular/chart/smart.chart.module.ts +12 -0
- package/source/angular/chart/smart.chart.ts +930 -0
- package/source/angular/chart/smart.element.ts +104 -0
- package/source/angular/checkbox/index.ts +1 -0
- package/source/angular/checkbox/public_api.ts +3 -0
- package/source/angular/checkbox/smart.checkbox.module.ts +12 -0
- package/source/angular/checkbox/smart.checkbox.ts +341 -0
- package/source/angular/checkbox/smart.element.ts +104 -0
- package/source/angular/checkinput/index.ts +1 -0
- package/source/angular/checkinput/public_api.ts +3 -0
- package/source/angular/checkinput/smart.checkinput.module.ts +12 -0
- package/source/angular/checkinput/smart.checkinput.ts +497 -0
- package/source/angular/checkinput/smart.element.ts +104 -0
- package/source/angular/chip/index.ts +1 -0
- package/source/angular/chip/public_api.ts +3 -0
- package/source/angular/chip/smart.chip.module.ts +12 -0
- package/source/angular/chip/smart.chip.ts +221 -0
- package/source/angular/chip/smart.element.ts +104 -0
- package/source/angular/colorinput/index.ts +1 -0
- package/source/angular/colorinput/public_api.ts +3 -0
- package/source/angular/colorinput/smart.colorinput.module.ts +12 -0
- package/source/angular/colorinput/smart.colorinput.ts +456 -0
- package/source/angular/colorinput/smart.element.ts +104 -0
- package/source/angular/colorpanel/index.ts +1 -0
- package/source/angular/colorpanel/public_api.ts +3 -0
- package/source/angular/colorpanel/smart.colorpanel.module.ts +12 -0
- package/source/angular/colorpanel/smart.colorpanel.ts +501 -0
- package/source/angular/colorpanel/smart.element.ts +104 -0
- package/source/angular/colorpicker/index.ts +1 -0
- package/source/angular/colorpicker/public_api.ts +3 -0
- package/source/angular/colorpicker/smart.colorpicker.module.ts +12 -0
- package/source/angular/colorpicker/smart.colorpicker.ts +756 -0
- package/source/angular/colorpicker/smart.element.ts +104 -0
- package/source/angular/columnpanel/index.ts +1 -0
- package/source/angular/columnpanel/public_api.ts +3 -0
- package/source/angular/columnpanel/smart.columnpanel.module.ts +12 -0
- package/source/angular/columnpanel/smart.columnpanel.ts +183 -0
- package/source/angular/columnpanel/smart.element.ts +104 -0
- package/source/angular/combobox/index.ts +1 -0
- package/source/angular/combobox/public_api.ts +7 -0
- package/source/angular/combobox/smart.combobox.module.ts +14 -0
- package/source/angular/combobox/smart.combobox.ts +1154 -0
- package/source/angular/combobox/smart.element.ts +104 -0
- package/source/angular/combobox/smart.listitem.ts +162 -0
- package/source/angular/combobox/smart.listitemsgroup.ts +72 -0
- package/source/angular/countryinput/index.ts +1 -0
- package/source/angular/countryinput/public_api.ts +3 -0
- package/source/angular/countryinput/smart.countryinput.module.ts +12 -0
- package/source/angular/countryinput/smart.countryinput.ts +391 -0
- package/source/angular/countryinput/smart.element.ts +104 -0
- package/source/angular/customizationdialog/index.ts +1 -0
- package/source/angular/customizationdialog/public_api.ts +3 -0
- package/source/angular/customizationdialog/smart.customizationdialog.module.ts +12 -0
- package/source/angular/customizationdialog/smart.customizationdialog.ts +311 -0
- package/source/angular/customizationdialog/smart.element.ts +104 -0
- package/source/angular/dateinput/index.ts +1 -0
- package/source/angular/dateinput/public_api.ts +3 -0
- package/source/angular/dateinput/smart.dateinput.module.ts +12 -0
- package/source/angular/dateinput/smart.dateinput.ts +465 -0
- package/source/angular/dateinput/smart.element.ts +104 -0
- package/source/angular/daterangeinput/index.ts +1 -0
- package/source/angular/daterangeinput/public_api.ts +3 -0
- package/source/angular/daterangeinput/smart.daterangeinput.module.ts +12 -0
- package/source/angular/daterangeinput/smart.daterangeinput.ts +456 -0
- package/source/angular/daterangeinput/smart.element.ts +104 -0
- package/source/angular/datetimepicker/index.ts +1 -0
- package/source/angular/datetimepicker/public_api.ts +3 -0
- package/source/angular/datetimepicker/smart.datetimepicker.module.ts +12 -0
- package/source/angular/datetimepicker/smart.datetimepicker.ts +835 -0
- package/source/angular/datetimepicker/smart.element.ts +104 -0
- package/source/angular/dockinglayout/index.ts +1 -0
- package/source/angular/dockinglayout/public_api.ts +3 -0
- package/source/angular/dockinglayout/smart.dockinglayout.module.ts +12 -0
- package/source/angular/dockinglayout/smart.dockinglayout.ts +866 -0
- package/source/angular/dockinglayout/smart.element.ts +104 -0
- package/source/angular/dropdownbutton/index.ts +1 -0
- package/source/angular/dropdownbutton/public_api.ts +3 -0
- package/source/angular/dropdownbutton/smart.dropdownbutton.module.ts +12 -0
- package/source/angular/dropdownbutton/smart.dropdownbutton.ts +542 -0
- package/source/angular/dropdownbutton/smart.element.ts +104 -0
- package/source/angular/dropdownlist/index.ts +1 -0
- package/source/angular/dropdownlist/public_api.ts +7 -0
- package/source/angular/dropdownlist/smart.dropdownlist.module.ts +14 -0
- package/source/angular/dropdownlist/smart.dropdownlist.ts +1111 -0
- package/source/angular/dropdownlist/smart.element.ts +104 -0
- package/source/angular/dropdownlist/smart.listitem.ts +162 -0
- package/source/angular/dropdownlist/smart.listitemsgroup.ts +72 -0
- package/source/angular/editor/index.ts +1 -0
- package/source/angular/editor/public_api.ts +3 -0
- package/source/angular/editor/smart.editor.module.ts +12 -0
- package/source/angular/editor/smart.editor.ts +1353 -0
- package/source/angular/editor/smart.element.ts +104 -0
- package/source/angular/element/index.ts +1 -0
- package/source/angular/element/public_api.ts +3 -0
- package/source/angular/element/smart.element.module.ts +10 -0
- package/source/angular/element/smart.element.ts +104 -0
- package/source/angular/fileupload/index.ts +1 -0
- package/source/angular/fileupload/public_api.ts +3 -0
- package/source/angular/fileupload/smart.element.ts +104 -0
- package/source/angular/fileupload/smart.fileupload.module.ts +12 -0
- package/source/angular/fileupload/smart.fileupload.ts +517 -0
- package/source/angular/filterbuilder/index.ts +1 -0
- package/source/angular/filterbuilder/public_api.ts +3 -0
- package/source/angular/filterbuilder/smart.element.ts +104 -0
- package/source/angular/filterbuilder/smart.filterbuilder.module.ts +12 -0
- package/source/angular/filterbuilder/smart.filterbuilder.ts +506 -0
- package/source/angular/filterpanel/index.ts +1 -0
- package/source/angular/filterpanel/public_api.ts +3 -0
- package/source/angular/filterpanel/smart.element.ts +104 -0
- package/source/angular/filterpanel/smart.filterpanel.module.ts +12 -0
- package/source/angular/filterpanel/smart.filterpanel.ts +334 -0
- package/source/angular/form/index.ts +1 -0
- package/source/angular/form/public_api.ts +7 -0
- package/source/angular/form/smart.element.ts +104 -0
- package/source/angular/form/smart.form.module.ts +14 -0
- package/source/angular/form/smart.form.ts +288 -0
- package/source/angular/form/smart.formcontrol.ts +336 -0
- package/source/angular/form/smart.formgroup.ts +238 -0
- package/source/angular/ganttchart/index.ts +1 -0
- package/source/angular/ganttchart/public_api.ts +3 -0
- package/source/angular/ganttchart/smart.element.ts +104 -0
- package/source/angular/ganttchart/smart.ganttchart.module.ts +12 -0
- package/source/angular/ganttchart/smart.ganttchart.ts +2214 -0
- package/source/angular/gauge/index.ts +1 -0
- package/source/angular/gauge/public_api.ts +3 -0
- package/source/angular/gauge/smart.element.ts +104 -0
- package/source/angular/gauge/smart.gauge.module.ts +12 -0
- package/source/angular/gauge/smart.gauge.ts +650 -0
- package/source/angular/grid/index.ts +1 -0
- package/source/angular/grid/public_api.ts +3 -0
- package/source/angular/grid/smart.element.ts +104 -0
- package/source/angular/grid/smart.grid.module.ts +12 -0
- package/source/angular/grid/smart.grid.ts +3154 -0
- package/source/angular/grouppanel/index.ts +1 -0
- package/source/angular/grouppanel/public_api.ts +3 -0
- package/source/angular/grouppanel/smart.element.ts +104 -0
- package/source/angular/grouppanel/smart.grouppanel.module.ts +12 -0
- package/source/angular/grouppanel/smart.grouppanel.ts +220 -0
- package/source/angular/index.d.ts +33688 -0
- package/source/angular/input/index.ts +1 -0
- package/source/angular/input/public_api.ts +3 -0
- package/source/angular/input/smart.element.ts +104 -0
- package/source/angular/input/smart.input.module.ts +12 -0
- package/source/angular/input/smart.input.ts +590 -0
- package/source/angular/kanban/index.ts +1 -0
- package/source/angular/kanban/public_api.ts +3 -0
- package/source/angular/kanban/smart.element.ts +104 -0
- package/source/angular/kanban/smart.kanban.module.ts +12 -0
- package/source/angular/kanban/smart.kanban.ts +1700 -0
- package/source/angular/layout/index.ts +1 -0
- package/source/angular/layout/public_api.ts +11 -0
- package/source/angular/layout/smart.element.ts +104 -0
- package/source/angular/layout/smart.layout.module.ts +16 -0
- package/source/angular/layout/smart.layout.ts +363 -0
- package/source/angular/layout/smart.layoutgroup.ts +140 -0
- package/source/angular/layout/smart.layoutitem.ts +129 -0
- package/source/angular/layout/smart.tablayoutgroup.ts +147 -0
- package/source/angular/layout/smart.tablayoutitem.ts +138 -0
- package/source/angular/led/index.ts +1 -0
- package/source/angular/led/public_api.ts +3 -0
- package/source/angular/led/smart.element.ts +104 -0
- package/source/angular/led/smart.led.module.ts +12 -0
- package/source/angular/led/smart.led.ts +280 -0
- package/source/angular/listbox/index.ts +1 -0
- package/source/angular/listbox/public_api.ts +7 -0
- package/source/angular/listbox/smart.element.ts +104 -0
- package/source/angular/listbox/smart.listbox.module.ts +14 -0
- package/source/angular/listbox/smart.listbox.ts +1036 -0
- package/source/angular/listbox/smart.listitem.ts +162 -0
- package/source/angular/listbox/smart.listitemsgroup.ts +72 -0
- package/source/angular/listmenu/index.ts +1 -0
- package/source/angular/listmenu/public_api.ts +7 -0
- package/source/angular/listmenu/smart.element.ts +104 -0
- package/source/angular/listmenu/smart.listmenu.module.ts +14 -0
- package/source/angular/listmenu/smart.listmenu.ts +597 -0
- package/source/angular/listmenu/smart.menuitem.ts +126 -0
- package/source/angular/listmenu/smart.menuitemsgroup.ts +153 -0
- package/source/angular/map/index.ts +1 -0
- package/source/angular/map/public_api.ts +3 -0
- package/source/angular/map/smart.element.ts +104 -0
- package/source/angular/map/smart.map.module.ts +12 -0
- package/source/angular/map/smart.map.ts +128 -0
- package/source/angular/maskedtextbox/index.ts +1 -0
- package/source/angular/maskedtextbox/public_api.ts +3 -0
- package/source/angular/maskedtextbox/smart.element.ts +104 -0
- package/source/angular/maskedtextbox/smart.maskedtextbox.module.ts +12 -0
- package/source/angular/maskedtextbox/smart.maskedtextbox.ts +539 -0
- package/source/angular/menu/index.ts +1 -0
- package/source/angular/menu/public_api.ts +7 -0
- package/source/angular/menu/smart.element.ts +104 -0
- package/source/angular/menu/smart.menu.module.ts +14 -0
- package/source/angular/menu/smart.menu.ts +695 -0
- package/source/angular/menu/smart.menuitem.ts +126 -0
- package/source/angular/menu/smart.menuitemsgroup.ts +153 -0
- package/source/angular/multicolumnfilterpanel/index.ts +1 -0
- package/source/angular/multicolumnfilterpanel/public_api.ts +3 -0
- package/source/angular/multicolumnfilterpanel/smart.element.ts +104 -0
- package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.module.ts +12 -0
- package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.ts +256 -0
- package/source/angular/multicomboinput/index.ts +1 -0
- package/source/angular/multicomboinput/public_api.ts +3 -0
- package/source/angular/multicomboinput/smart.element.ts +104 -0
- package/source/angular/multicomboinput/smart.multicomboinput.module.ts +12 -0
- package/source/angular/multicomboinput/smart.multicomboinput.ts +542 -0
- package/source/angular/multiinput/index.ts +1 -0
- package/source/angular/multiinput/public_api.ts +3 -0
- package/source/angular/multiinput/smart.element.ts +104 -0
- package/source/angular/multiinput/smart.multiinput.module.ts +12 -0
- package/source/angular/multiinput/smart.multiinput.ts +497 -0
- package/source/angular/multilinetextbox/index.ts +1 -0
- package/source/angular/multilinetextbox/public_api.ts +7 -0
- package/source/angular/multilinetextbox/smart.element.ts +104 -0
- package/source/angular/multilinetextbox/smart.listitem.ts +162 -0
- package/source/angular/multilinetextbox/smart.listitemsgroup.ts +72 -0
- package/source/angular/multilinetextbox/smart.multilinetextbox.module.ts +14 -0
- package/source/angular/multilinetextbox/smart.multilinetextbox.ts +561 -0
- package/source/angular/multisplitbutton/index.ts +1 -0
- package/source/angular/multisplitbutton/public_api.ts +7 -0
- package/source/angular/multisplitbutton/smart.element.ts +104 -0
- package/source/angular/multisplitbutton/smart.listitem.ts +162 -0
- package/source/angular/multisplitbutton/smart.listitemsgroup.ts +72 -0
- package/source/angular/multisplitbutton/smart.multisplitbutton.module.ts +14 -0
- package/source/angular/multisplitbutton/smart.multisplitbutton.ts +620 -0
- package/source/angular/numberinput/index.ts +1 -0
- package/source/angular/numberinput/public_api.ts +3 -0
- package/source/angular/numberinput/smart.element.ts +104 -0
- package/source/angular/numberinput/smart.numberinput.module.ts +12 -0
- package/source/angular/numberinput/smart.numberinput.ts +398 -0
- package/source/angular/numerictextbox/index.ts +1 -0
- package/source/angular/numerictextbox/public_api.ts +3 -0
- package/source/angular/numerictextbox/smart.element.ts +104 -0
- package/source/angular/numerictextbox/smart.numerictextbox.module.ts +12 -0
- package/source/angular/numerictextbox/smart.numerictextbox.ts +648 -0
- package/source/angular/pager/index.ts +1 -0
- package/source/angular/pager/public_api.ts +3 -0
- package/source/angular/pager/smart.element.ts +104 -0
- package/source/angular/pager/smart.pager.module.ts +12 -0
- package/source/angular/pager/smart.pager.ts +386 -0
- package/source/angular/passwordinput/index.ts +1 -0
- package/source/angular/passwordinput/public_api.ts +3 -0
- package/source/angular/passwordinput/smart.element.ts +104 -0
- package/source/angular/passwordinput/smart.passwordinput.module.ts +12 -0
- package/source/angular/passwordinput/smart.passwordinput.ts +218 -0
- package/source/angular/passwordtextbox/index.ts +1 -0
- package/source/angular/passwordtextbox/public_api.ts +3 -0
- package/source/angular/passwordtextbox/smart.element.ts +104 -0
- package/source/angular/passwordtextbox/smart.passwordtextbox.module.ts +12 -0
- package/source/angular/passwordtextbox/smart.passwordtextbox.ts +463 -0
- package/source/angular/path/index.ts +1 -0
- package/source/angular/path/public_api.ts +3 -0
- package/source/angular/path/smart.element.ts +104 -0
- package/source/angular/path/smart.path.module.ts +12 -0
- package/source/angular/path/smart.path.ts +491 -0
- package/source/angular/phoneinput/index.ts +1 -0
- package/source/angular/phoneinput/public_api.ts +3 -0
- package/source/angular/phoneinput/smart.element.ts +104 -0
- package/source/angular/phoneinput/smart.phoneinput.module.ts +12 -0
- package/source/angular/phoneinput/smart.phoneinput.ts +493 -0
- package/source/angular/pivottable/index.ts +1 -0
- package/source/angular/pivottable/public_api.ts +3 -0
- package/source/angular/pivottable/smart.element.ts +104 -0
- package/source/angular/pivottable/smart.pivottable.module.ts +12 -0
- package/source/angular/pivottable/smart.pivottable.ts +840 -0
- package/source/angular/progressbar/index.ts +1 -0
- package/source/angular/progressbar/public_api.ts +5 -0
- package/source/angular/progressbar/smart.circularprogressbar.ts +223 -0
- package/source/angular/progressbar/smart.element.ts +104 -0
- package/source/angular/progressbar/smart.progressbar.module.ts +13 -0
- package/source/angular/progressbar/smart.progressbar.ts +235 -0
- package/source/angular/qrcode/index.ts +1 -0
- package/source/angular/qrcode/public_api.ts +3 -0
- package/source/angular/qrcode/smart.element.ts +104 -0
- package/source/angular/qrcode/smart.qrcode.module.ts +12 -0
- package/source/angular/qrcode/smart.qrcode.ts +333 -0
- package/source/angular/querybuilder/index.ts +1 -0
- package/source/angular/querybuilder/public_api.ts +3 -0
- package/source/angular/querybuilder/smart.element.ts +104 -0
- package/source/angular/querybuilder/smart.querybuilder.module.ts +12 -0
- package/source/angular/querybuilder/smart.querybuilder.ts +460 -0
- package/source/angular/radiobutton/index.ts +1 -0
- package/source/angular/radiobutton/public_api.ts +3 -0
- package/source/angular/radiobutton/smart.element.ts +104 -0
- package/source/angular/radiobutton/smart.radiobutton.module.ts +12 -0
- package/source/angular/radiobutton/smart.radiobutton.ts +350 -0
- package/source/angular/rating/index.ts +1 -0
- package/source/angular/rating/public_api.ts +3 -0
- package/source/angular/rating/smart.element.ts +104 -0
- package/source/angular/rating/smart.rating.module.ts +12 -0
- package/source/angular/rating/smart.rating.ts +309 -0
- package/source/angular/ribbon/index.ts +1 -0
- package/source/angular/ribbon/public_api.ts +9 -0
- package/source/angular/ribbon/smart.element.ts +104 -0
- package/source/angular/ribbon/smart.ribbon.module.ts +15 -0
- package/source/angular/ribbon/smart.ribbon.ts +427 -0
- package/source/angular/ribbon/smart.ribbongroup.ts +126 -0
- package/source/angular/ribbon/smart.ribbonitem.ts +180 -0
- package/source/angular/ribbon/smart.ribbontab.ts +99 -0
- package/source/angular/scheduler/index.ts +1 -0
- package/source/angular/scheduler/public_api.ts +3 -0
- package/source/angular/scheduler/smart.element.ts +104 -0
- package/source/angular/scheduler/smart.scheduler.module.ts +12 -0
- package/source/angular/scheduler/smart.scheduler.ts +2337 -0
- package/source/angular/scrollbar/index.ts +1 -0
- package/source/angular/scrollbar/public_api.ts +3 -0
- package/source/angular/scrollbar/smart.element.ts +104 -0
- package/source/angular/scrollbar/smart.scrollbar.module.ts +12 -0
- package/source/angular/scrollbar/smart.scrollbar.ts +260 -0
- package/source/angular/slider/index.ts +1 -0
- package/source/angular/slider/public_api.ts +3 -0
- package/source/angular/slider/smart.element.ts +104 -0
- package/source/angular/slider/smart.slider.module.ts +12 -0
- package/source/angular/slider/smart.slider.ts +632 -0
- package/source/angular/sortable/index.ts +1 -0
- package/source/angular/sortable/public_api.ts +3 -0
- package/source/angular/sortable/smart.element.ts +104 -0
- package/source/angular/sortable/smart.sortable.module.ts +12 -0
- package/source/angular/sortable/smart.sortable.ts +217 -0
- package/source/angular/sortpanel/index.ts +1 -0
- package/source/angular/sortpanel/public_api.ts +3 -0
- package/source/angular/sortpanel/smart.element.ts +104 -0
- package/source/angular/sortpanel/smart.sortpanel.module.ts +12 -0
- package/source/angular/sortpanel/smart.sortpanel.ts +180 -0
- package/source/angular/splitter/index.ts +1 -0
- package/source/angular/splitter/public_api.ts +7 -0
- package/source/angular/splitter/smart.element.ts +104 -0
- package/source/angular/splitter/smart.splitter.module.ts +14 -0
- package/source/angular/splitter/smart.splitter.ts +530 -0
- package/source/angular/splitter/smart.splitterbar.ts +121 -0
- package/source/angular/splitter/smart.splitteritem.ts +192 -0
- package/source/angular/switchbutton/index.ts +1 -0
- package/source/angular/switchbutton/public_api.ts +3 -0
- package/source/angular/switchbutton/smart.element.ts +104 -0
- package/source/angular/switchbutton/smart.switchbutton.module.ts +12 -0
- package/source/angular/switchbutton/smart.switchbutton.ts +386 -0
- package/source/angular/table/index.ts +1 -0
- package/source/angular/table/public_api.ts +3 -0
- package/source/angular/table/smart.element.ts +104 -0
- package/source/angular/table/smart.table.module.ts +12 -0
- package/source/angular/table/smart.table.ts +1507 -0
- package/source/angular/tabs/index.ts +1 -0
- package/source/angular/tabs/public_api.ts +7 -0
- package/source/angular/tabs/smart.element.ts +104 -0
- package/source/angular/tabs/smart.tabitem.ts +126 -0
- package/source/angular/tabs/smart.tabitemsgroup.ts +81 -0
- package/source/angular/tabs/smart.tabs.module.ts +14 -0
- package/source/angular/tabs/smart.tabs.ts +622 -0
- package/source/angular/tank/index.ts +1 -0
- package/source/angular/tank/public_api.ts +3 -0
- package/source/angular/tank/smart.element.ts +104 -0
- package/source/angular/tank/smart.tank.module.ts +12 -0
- package/source/angular/tank/smart.tank.ts +593 -0
- package/source/angular/textarea/index.ts +1 -0
- package/source/angular/textarea/public_api.ts +3 -0
- package/source/angular/textarea/smart.element.ts +104 -0
- package/source/angular/textarea/smart.textarea.module.ts +12 -0
- package/source/angular/textarea/smart.textarea.ts +519 -0
- package/source/angular/textbox/index.ts +1 -0
- package/source/angular/textbox/public_api.ts +7 -0
- package/source/angular/textbox/smart.element.ts +104 -0
- package/source/angular/textbox/smart.listitem.ts +162 -0
- package/source/angular/textbox/smart.listitemsgroup.ts +72 -0
- package/source/angular/textbox/smart.textbox.module.ts +14 -0
- package/source/angular/textbox/smart.textbox.ts +708 -0
- package/source/angular/threedchart/index.ts +1 -0
- package/source/angular/threedchart/public_api.ts +3 -0
- package/source/angular/threedchart/smart.element.ts +104 -0
- package/source/angular/threedchart/smart.threedchart.module.ts +12 -0
- package/source/angular/threedchart/smart.threedchart.ts +1052 -0
- package/source/angular/timeinput/index.ts +1 -0
- package/source/angular/timeinput/public_api.ts +3 -0
- package/source/angular/timeinput/smart.element.ts +104 -0
- package/source/angular/timeinput/smart.timeinput.module.ts +12 -0
- package/source/angular/timeinput/smart.timeinput.ts +427 -0
- package/source/angular/timepicker/index.ts +1 -0
- package/source/angular/timepicker/public_api.ts +3 -0
- package/source/angular/timepicker/smart.element.ts +104 -0
- package/source/angular/timepicker/smart.timepicker.module.ts +12 -0
- package/source/angular/timepicker/smart.timepicker.ts +370 -0
- package/source/angular/toast/index.ts +1 -0
- package/source/angular/toast/public_api.ts +3 -0
- package/source/angular/toast/smart.element.ts +104 -0
- package/source/angular/toast/smart.toast.module.ts +12 -0
- package/source/angular/toast/smart.toast.ts +405 -0
- package/source/angular/tooltip/index.ts +1 -0
- package/source/angular/tooltip/public_api.ts +3 -0
- package/source/angular/tooltip/smart.element.ts +104 -0
- package/source/angular/tooltip/smart.tooltip.module.ts +12 -0
- package/source/angular/tooltip/smart.tooltip.ts +339 -0
- package/source/angular/tree/index.ts +1 -0
- package/source/angular/tree/public_api.ts +7 -0
- package/source/angular/tree/smart.element.ts +104 -0
- package/source/angular/tree/smart.tree.module.ts +14 -0
- package/source/angular/tree/smart.tree.ts +1042 -0
- package/source/angular/tree/smart.treeitem.ts +135 -0
- package/source/angular/tree/smart.treeitemsgroup.ts +135 -0
- package/source/angular/validator/index.ts +1 -0
- package/source/angular/validator/public_api.ts +3 -0
- package/source/angular/validator/smart.element.ts +104 -0
- package/source/angular/validator/smart.validator.module.ts +12 -0
- package/source/angular/validator/smart.validator.ts +124 -0
- package/source/angular/window/index.ts +1 -0
- package/source/angular/window/public_api.ts +3 -0
- package/source/angular/window/smart.element.ts +104 -0
- package/source/angular/window/smart.window.module.ts +12 -0
- package/source/angular/window/smart.window.ts +1180 -0
- package/source/react/accordion/accordion.jsx +508 -0
- package/source/react/accordion/accordion.tsx +516 -0
- package/source/react/accordion/accordionitem.jsx +257 -0
- package/source/react/accordion/accordionitem.tsx +279 -0
- package/source/react/alertwindow/alertwindow.jsx +1437 -0
- package/source/react/alertwindow/alertwindow.tsx +1399 -0
- package/source/react/array/array.jsx +953 -0
- package/source/react/array/array.tsx +959 -0
- package/source/react/barcode/barcode.jsx +442 -0
- package/source/react/barcode/barcode.tsx +468 -0
- package/source/react/breadcrumb/breadcrumb.jsx +445 -0
- package/source/react/breadcrumb/breadcrumb.tsx +455 -0
- package/source/react/button/button.jsx +377 -0
- package/source/react/button/button.tsx +409 -0
- package/source/react/button/powerbutton.jsx +347 -0
- package/source/react/button/powerbutton.tsx +373 -0
- package/source/react/button/repeatbutton.jsx +371 -0
- package/source/react/button/repeatbutton.tsx +397 -0
- package/source/react/button/togglebutton.jsx +383 -0
- package/source/react/button/togglebutton.tsx +401 -0
- package/source/react/buttongroup/buttongroup.jsx +386 -0
- package/source/react/buttongroup/buttongroup.tsx +412 -0
- package/source/react/calendar/calendar.jsx +914 -0
- package/source/react/calendar/calendar.tsx +916 -0
- package/source/react/card/card.jsx +359 -0
- package/source/react/card/card.tsx +373 -0
- package/source/react/cardview/cardview.jsx +710 -0
- package/source/react/cardview/cardview.tsx +706 -0
- package/source/react/carousel/carousel.jsx +592 -0
- package/source/react/carousel/carousel.tsx +606 -0
- package/source/react/chart/chart.jsx +1060 -0
- package/source/react/chart/chart.tsx +1046 -0
- package/source/react/checkbox/checkbox.jsx +407 -0
- package/source/react/checkbox/checkbox.tsx +425 -0
- package/source/react/checkinput/checkinput.jsx +612 -0
- package/source/react/checkinput/checkinput.tsx +638 -0
- package/source/react/chip/chip.jsx +375 -0
- package/source/react/chip/chip.tsx +401 -0
- package/source/react/colorinput/colorinput.jsx +562 -0
- package/source/react/colorinput/colorinput.tsx +588 -0
- package/source/react/colorpanel/colorpanel.jsx +616 -0
- package/source/react/colorpanel/colorpanel.tsx +630 -0
- package/source/react/colorpicker/colorpicker.jsx +892 -0
- package/source/react/colorpicker/colorpicker.tsx +874 -0
- package/source/react/columnpanel/columnpanel.jsx +322 -0
- package/source/react/columnpanel/columnpanel.tsx +344 -0
- package/source/react/combobox/combobox.jsx +1287 -0
- package/source/react/combobox/combobox.tsx +1277 -0
- package/source/react/combobox/listitem.jsx +325 -0
- package/source/react/combobox/listitem.tsx +355 -0
- package/source/react/combobox/listitemsgroup.jsx +205 -0
- package/source/react/combobox/listitemsgroup.tsx +235 -0
- package/source/react/countryinput/countryinput.jsx +455 -0
- package/source/react/countryinput/countryinput.tsx +473 -0
- package/source/react/customizationdialog/customizationdialog.jsx +471 -0
- package/source/react/customizationdialog/customizationdialog.tsx +485 -0
- package/source/react/dateinput/dateinput.jsx +559 -0
- package/source/react/dateinput/dateinput.tsx +585 -0
- package/source/react/daterangeinput/daterangeinput.jsx +562 -0
- package/source/react/daterangeinput/daterangeinput.tsx +588 -0
- package/source/react/datetimepicker/datetimepicker.jsx +1013 -0
- package/source/react/datetimepicker/datetimepicker.tsx +1023 -0
- package/source/react/dialogwindow/dialogwindow.jsx +1437 -0
- package/source/react/dialogwindow/dialogwindow.tsx +1399 -0
- package/source/react/dockinglayout/dockinglayout.jsx +969 -0
- package/source/react/dockinglayout/dockinglayout.tsx +975 -0
- package/source/react/dropdownbutton/dropdownbutton.jsx +711 -0
- package/source/react/dropdownbutton/dropdownbutton.tsx +709 -0
- package/source/react/dropdownlist/dropdownlist.jsx +1223 -0
- package/source/react/dropdownlist/dropdownlist.tsx +1209 -0
- package/source/react/dropdownlist/listitem.jsx +325 -0
- package/source/react/dropdownlist/listitem.tsx +355 -0
- package/source/react/dropdownlist/listitemsgroup.jsx +205 -0
- package/source/react/dropdownlist/listitemsgroup.tsx +235 -0
- package/source/react/editor/editor.jsx +1465 -0
- package/source/react/editor/editor.tsx +1383 -0
- package/source/react/element/element.jsx +438 -0
- package/source/react/element/element.tsx +460 -0
- package/source/react/fileupload/fileupload.jsx +689 -0
- package/source/react/fileupload/fileupload.tsx +691 -0
- package/source/react/filterbuilder/filterbuilder.jsx +654 -0
- package/source/react/filterbuilder/filterbuilder.tsx +644 -0
- package/source/react/filterpanel/filterpanel.jsx +479 -0
- package/source/react/filterpanel/filterpanel.tsx +497 -0
- package/source/react/form/form.jsx +429 -0
- package/source/react/form/form.tsx +463 -0
- package/source/react/form/formcontrol.jsx +541 -0
- package/source/react/form/formcontrol.tsx +571 -0
- package/source/react/form/formgroup.jsx +380 -0
- package/source/react/form/formgroup.tsx +410 -0
- package/source/react/ganttchart/ganttchart.jsx +2344 -0
- package/source/react/ganttchart/ganttchart.tsx +2262 -0
- package/source/react/gauge/gauge.jsx +801 -0
- package/source/react/gauge/gauge.tsx +827 -0
- package/source/react/grid/grid.jsx +3021 -0
- package/source/react/grid/grid.tsx +2897 -0
- package/source/react/grouppanel/grouppanel.jsx +359 -0
- package/source/react/grouppanel/grouppanel.tsx +373 -0
- package/source/react/input/input.jsx +672 -0
- package/source/react/input/input.tsx +682 -0
- package/source/react/kanban/kanban.jsx +1894 -0
- package/source/react/kanban/kanban.tsx +1810 -0
- package/source/react/layout/layout.jsx +495 -0
- package/source/react/layout/layout.tsx +501 -0
- package/source/react/layout/layoutgroup.jsx +279 -0
- package/source/react/layout/layoutgroup.tsx +309 -0
- package/source/react/layout/layoutitem.jsx +265 -0
- package/source/react/layout/layoutitem.tsx +295 -0
- package/source/react/layout/tablayoutgroup.jsx +289 -0
- package/source/react/layout/tablayoutgroup.tsx +319 -0
- package/source/react/layout/tablayoutitem.jsx +277 -0
- package/source/react/layout/tablayoutitem.tsx +307 -0
- package/source/react/led/led.jsx +458 -0
- package/source/react/led/led.tsx +484 -0
- package/source/react/listbox/listbox.jsx +1119 -0
- package/source/react/listbox/listbox.tsx +1109 -0
- package/source/react/listbox/listitem.jsx +325 -0
- package/source/react/listbox/listitem.tsx +355 -0
- package/source/react/listbox/listitemsgroup.jsx +205 -0
- package/source/react/listbox/listitemsgroup.tsx +235 -0
- package/source/react/listmenu/listmenu.jsx +786 -0
- package/source/react/listmenu/listmenu.tsx +796 -0
- package/source/react/listmenu/menuitem.jsx +277 -0
- package/source/react/listmenu/menuitem.tsx +307 -0
- package/source/react/listmenu/menuitemsgroup.jsx +313 -0
- package/source/react/listmenu/menuitemsgroup.tsx +343 -0
- package/source/react/map/map.jsx +279 -0
- package/source/react/map/map.tsx +309 -0
- package/source/react/maskedtextbox/maskedtextbox.jsx +663 -0
- package/source/react/maskedtextbox/maskedtextbox.tsx +681 -0
- package/source/react/menu/menu.jsx +863 -0
- package/source/react/menu/menu.tsx +857 -0
- package/source/react/menu/menuitem.jsx +277 -0
- package/source/react/menu/menuitem.tsx +307 -0
- package/source/react/menu/menuitemsgroup.jsx +313 -0
- package/source/react/menu/menuitemsgroup.tsx +343 -0
- package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.jsx +407 -0
- package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.tsx +421 -0
- package/source/react/multicomboinput/multicomboinput.jsx +672 -0
- package/source/react/multicomboinput/multicomboinput.tsx +698 -0
- package/source/react/multiinput/multiinput.jsx +612 -0
- package/source/react/multiinput/multiinput.tsx +638 -0
- package/source/react/multilinetextbox/listitem.jsx +325 -0
- package/source/react/multilinetextbox/listitem.tsx +355 -0
- package/source/react/multilinetextbox/listitemsgroup.jsx +205 -0
- package/source/react/multilinetextbox/listitemsgroup.tsx +235 -0
- package/source/react/multilinetextbox/multilinetextbox.jsx +684 -0
- package/source/react/multilinetextbox/multilinetextbox.tsx +714 -0
- package/source/react/multilinewindow/multilinewindow.jsx +1437 -0
- package/source/react/multilinewindow/multilinewindow.tsx +1399 -0
- package/source/react/multisplitbutton/listitem.jsx +325 -0
- package/source/react/multisplitbutton/listitem.tsx +355 -0
- package/source/react/multisplitbutton/listitemsgroup.jsx +205 -0
- package/source/react/multisplitbutton/listitemsgroup.tsx +235 -0
- package/source/react/multisplitbutton/multisplitbutton.jsx +797 -0
- package/source/react/multisplitbutton/multisplitbutton.tsx +795 -0
- package/source/react/numberinput/numberinput.jsx +459 -0
- package/source/react/numberinput/numberinput.tsx +485 -0
- package/source/react/numerictextbox/numerictextbox.jsx +767 -0
- package/source/react/numerictextbox/numerictextbox.tsx +769 -0
- package/source/react/pager/pager.jsx +570 -0
- package/source/react/pager/pager.tsx +592 -0
- package/source/react/passwordinput/passwordinput.jsx +363 -0
- package/source/react/passwordinput/passwordinput.tsx +385 -0
- package/source/react/passwordtextbox/passwordtextbox.jsx +569 -0
- package/source/react/passwordtextbox/passwordtextbox.tsx +591 -0
- package/source/react/path/path.jsx +675 -0
- package/source/react/path/path.tsx +673 -0
- package/source/react/phoneinput/phoneinput.jsx +527 -0
- package/source/react/phoneinput/phoneinput.tsx +545 -0
- package/source/react/pivottable/pivottable.jsx +1036 -0
- package/source/react/pivottable/pivottable.tsx +1030 -0
- package/source/react/progressbar/circularprogressbar.jsx +383 -0
- package/source/react/progressbar/circularprogressbar.tsx +409 -0
- package/source/react/progressbar/progressbar.jsx +397 -0
- package/source/react/progressbar/progressbar.tsx +425 -0
- package/source/react/progresswindow/progresswindow.jsx +1437 -0
- package/source/react/progresswindow/progresswindow.tsx +1399 -0
- package/source/react/promptwindow/promptwindow.jsx +1437 -0
- package/source/react/promptwindow/promptwindow.tsx +1399 -0
- package/source/react/qrcode/qrcode.jsx +478 -0
- package/source/react/qrcode/qrcode.tsx +504 -0
- package/source/react/querybuilder/querybuilder.jsx +635 -0
- package/source/react/querybuilder/querybuilder.tsx +637 -0
- package/source/react/radiobutton/radiobutton.jsx +419 -0
- package/source/react/radiobutton/radiobutton.tsx +437 -0
- package/source/react/rating/rating.jsx +361 -0
- package/source/react/rating/rating.tsx +387 -0
- package/source/react/ribbon/ribbon.jsx +535 -0
- package/source/react/ribbon/ribbon.tsx +527 -0
- package/source/react/ribbon/ribbongroup.jsx +277 -0
- package/source/react/ribbon/ribbongroup.tsx +307 -0
- package/source/react/ribbon/ribbonitem.jsx +349 -0
- package/source/react/ribbon/ribbonitem.tsx +379 -0
- package/source/react/ribbon/ribbontab.jsx +241 -0
- package/source/react/ribbon/ribbontab.tsx +271 -0
- package/source/react/scheduler/scheduler.jsx +2510 -0
- package/source/react/scheduler/scheduler.tsx +2398 -0
- package/source/react/scrollbar/scrollbar.jsx +426 -0
- package/source/react/scrollbar/scrollbar.tsx +452 -0
- package/source/react/slider/slider.jsx +777 -0
- package/source/react/slider/slider.tsx +803 -0
- package/source/react/sortable/sortable.jsx +365 -0
- package/source/react/sortable/sortable.tsx +391 -0
- package/source/react/sortpanel/sortpanel.jsx +319 -0
- package/source/react/sortpanel/sortpanel.tsx +341 -0
- package/source/react/splitter/splitter.jsx +659 -0
- package/source/react/splitter/splitter.tsx +677 -0
- package/source/react/splitter/splitterbar.jsx +251 -0
- package/source/react/splitter/splitterbar.tsx +281 -0
- package/source/react/splitter/splitteritem.jsx +334 -0
- package/source/react/splitter/splitteritem.tsx +364 -0
- package/source/react/switchbutton/switchbutton.jsx +467 -0
- package/source/react/switchbutton/switchbutton.tsx +485 -0
- package/source/react/table/table.jsx +1688 -0
- package/source/react/table/table.tsx +1654 -0
- package/source/react/tabs/tabitem.jsx +265 -0
- package/source/react/tabs/tabitem.tsx +295 -0
- package/source/react/tabs/tabitemsgroup.jsx +217 -0
- package/source/react/tabs/tabitemsgroup.tsx +247 -0
- package/source/react/tabs/tabs.jsx +766 -0
- package/source/react/tabs/tabs.tsx +772 -0
- package/source/react/tabswindow/tabswindow.jsx +1437 -0
- package/source/react/tabswindow/tabswindow.tsx +1399 -0
- package/source/react/tank/tank.jsx +726 -0
- package/source/react/tank/tank.tsx +752 -0
- package/source/react/textarea/textarea.jsx +619 -0
- package/source/react/textarea/textarea.tsx +641 -0
- package/source/react/textbox/listitem.jsx +325 -0
- package/source/react/textbox/listitem.tsx +355 -0
- package/source/react/textbox/listitemsgroup.jsx +205 -0
- package/source/react/textbox/listitemsgroup.tsx +235 -0
- package/source/react/textbox/textbox.jsx +888 -0
- package/source/react/textbox/textbox.tsx +914 -0
- package/source/react/threedchart/threedchart.jsx +1182 -0
- package/source/react/threedchart/threedchart.tsx +1168 -0
- package/source/react/timeinput/timeinput.jsx +509 -0
- package/source/react/timeinput/timeinput.tsx +535 -0
- package/source/react/timepicker/timepicker.jsx +452 -0
- package/source/react/timepicker/timepicker.tsx +478 -0
- package/source/react/toast/toast.jsx +556 -0
- package/source/react/toast/toast.tsx +558 -0
- package/source/react/tooltip/tooltip.jsx +499 -0
- package/source/react/tooltip/tooltip.tsx +513 -0
- package/source/react/tree/tree.jsx +1222 -0
- package/source/react/tree/tree.tsx +1208 -0
- package/source/react/tree/treeitem.jsx +289 -0
- package/source/react/tree/treeitem.tsx +319 -0
- package/source/react/tree/treeitemsgroup.jsx +289 -0
- package/source/react/tree/treeitemsgroup.tsx +319 -0
- package/source/react/validator/validator.jsx +248 -0
- package/source/react/validator/validator.tsx +278 -0
- package/source/react/waitwindow/waitwindow.jsx +1437 -0
- package/source/react/waitwindow/waitwindow.tsx +1399 -0
- package/source/react/window/window.jsx +1421 -0
- package/source/react/window/window.tsx +1399 -0
|
@@ -0,0 +1,1168 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ThreeDChartProperties } from "./../../index";
|
|
3
|
+
import { Animation, ThreeDChartColorScheme, ThreeDChartLegendIndex, ThreeDChartSelectionMode, ThreeDChartSymbolType, ThreeDChartType, ThreeDChartRangeSelectorSerieType, ThreeDChartXAxisType, ThreeDChartCameraPosition, ThreeDChartSeriesGroup, ThreeDChartBand, ThreeDChartFormatSettings, ThreeDChartSeriesGroupSerie, ThreeDChartLabels, ThreeDChartOffset, ThreeDChartPadding, ThreeDChartValueAxis, ThreeDChartLines, ThreeDChartXAxis, ThreeDChartRangeSelector, ThreeDChartZAxis} from './../../index';
|
|
4
|
+
export { ThreeDChartProperties } from "./../../index";
|
|
5
|
+
export { Animation, ThreeDChartColorScheme, ThreeDChartLegendIndex, ThreeDChartSelectionMode, ThreeDChartSymbolType, ThreeDChartType, ThreeDChartRangeSelectorSerieType, ThreeDChartXAxisType, ThreeDChartCameraPosition, ThreeDChartSeriesGroup, ThreeDChartBand, ThreeDChartFormatSettings, ThreeDChartSeriesGroupSerie, ThreeDChartLabels, ThreeDChartOffset, ThreeDChartPadding, ThreeDChartValueAxis, ThreeDChartLines, ThreeDChartXAxis, ThreeDChartRangeSelector, ThreeDChartZAxis} from './../../index';
|
|
6
|
+
|
|
7
|
+
interface IWindow { Smart: any; }
|
|
8
|
+
declare const window: IWindow;
|
|
9
|
+
let Smart: any;
|
|
10
|
+
if (typeof window !== "undefined") {
|
|
11
|
+
Smart = window.Smart;
|
|
12
|
+
}
|
|
13
|
+
export interface ThreeDChartProps extends ThreeDChartProperties {
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
|
|
17
|
+
onItemClick?: ((event?: Event) => void) | undefined;
|
|
18
|
+
onShow?: ((event?: Event) => void) | undefined;
|
|
19
|
+
onHide?: ((event?: Event) => void) | undefined;
|
|
20
|
+
onSelect?: ((event?: Event) => void) | undefined;
|
|
21
|
+
onUnselect?: ((event?: Event) => void) | undefined;
|
|
22
|
+
onRangeSelectionChanged?: ((event?: Event) => void) | undefined;
|
|
23
|
+
onRangeSelectionChanging?: ((event?: Event) => void) | undefined;
|
|
24
|
+
onRefreshBegin?: ((event?: Event) => void) | undefined;
|
|
25
|
+
onRefreshEnd?: ((event?: Event) => void) | undefined;
|
|
26
|
+
onResizeBegin?: ((event?: Event) => void) | undefined;
|
|
27
|
+
onResizeEnd?: ((event?: Event) => void) | undefined;
|
|
28
|
+
onCreate?: ((event?: Event) => void) | undefined;
|
|
29
|
+
onReady?: ((event?: Event) => void) | undefined;
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
3D Chart is a feature-complete interactive WebGL 3D graph library that answers the data visualization needs of any modern web app.
|
|
34
|
+
*/
|
|
35
|
+
export class ThreeDChart extends React.Component<React.HTMLAttributes<Element> & ThreeDChartProps, any> {
|
|
36
|
+
private _id: string;
|
|
37
|
+
private nativeElement: any;
|
|
38
|
+
private componentRef: any;
|
|
39
|
+
|
|
40
|
+
// Gets the id of the React component.
|
|
41
|
+
get id() {
|
|
42
|
+
if (!this._id) {
|
|
43
|
+
this._id = 'ThreeDChart' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return this._id;
|
|
47
|
+
}
|
|
48
|
+
/** Sets or gets the animation mode. Animation is disabled when the property is set to 'none'.
|
|
49
|
+
* Property type: Animation | string
|
|
50
|
+
*/
|
|
51
|
+
get animation(): Animation | string {
|
|
52
|
+
return this.nativeElement ? this.nativeElement.animation : undefined;
|
|
53
|
+
}
|
|
54
|
+
set animation(value: Animation | string) {
|
|
55
|
+
if (this.nativeElement) {
|
|
56
|
+
this.nativeElement.animation = value;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** Determines the rate of the animation. The default animation rate is 1
|
|
61
|
+
* Property type: number
|
|
62
|
+
*/
|
|
63
|
+
get animationSpeed(): number {
|
|
64
|
+
return this.nativeElement ? this.nativeElement.animationSpeed : undefined;
|
|
65
|
+
}
|
|
66
|
+
set animationSpeed(value: number) {
|
|
67
|
+
if (this.nativeElement) {
|
|
68
|
+
this.nativeElement.animationSpeed = value;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** Sets whether the chart will rotate automatically.
|
|
73
|
+
* Property type: boolean
|
|
74
|
+
*/
|
|
75
|
+
get autoRotate(): boolean {
|
|
76
|
+
return this.nativeElement ? this.nativeElement.autoRotate : undefined;
|
|
77
|
+
}
|
|
78
|
+
set autoRotate(value: boolean) {
|
|
79
|
+
if (this.nativeElement) {
|
|
80
|
+
this.nativeElement.autoRotate = value;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/** Sets the speed of the automatic rotation.
|
|
85
|
+
* Property type: number
|
|
86
|
+
*/
|
|
87
|
+
get autoRotateSpeed(): number {
|
|
88
|
+
return this.nativeElement ? this.nativeElement.autoRotateSpeed : undefined;
|
|
89
|
+
}
|
|
90
|
+
set autoRotateSpeed(value: number) {
|
|
91
|
+
if (this.nativeElement) {
|
|
92
|
+
this.nativeElement.autoRotateSpeed = value;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** Sets the chart's background color. For example: '#DDFFE8'
|
|
97
|
+
* Property type: string | null
|
|
98
|
+
*/
|
|
99
|
+
get backgroundColor(): string | null {
|
|
100
|
+
return this.nativeElement ? this.nativeElement.backgroundColor : undefined;
|
|
101
|
+
}
|
|
102
|
+
set backgroundColor(value: string | null) {
|
|
103
|
+
if (this.nativeElement) {
|
|
104
|
+
this.nativeElement.backgroundColor = value;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** Sets the chart's background to a static linear gradient. The property must be set to an Array of Strings in the format: 'offset, color'
|
|
109
|
+
* Property type: any[]
|
|
110
|
+
*/
|
|
111
|
+
get backgroundGradient(): any[] {
|
|
112
|
+
return this.nativeElement ? this.nativeElement.backgroundGradient : undefined;
|
|
113
|
+
}
|
|
114
|
+
set backgroundGradient(value: any[]) {
|
|
115
|
+
if (this.nativeElement) {
|
|
116
|
+
this.nativeElement.backgroundGradient = value;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/** Sets the chart's background to a static image. For example: 'https://www.htmlelements.com/demos/images/stars.jpg'
|
|
121
|
+
* Property type: string
|
|
122
|
+
*/
|
|
123
|
+
get backgroundImage(): string {
|
|
124
|
+
return this.nativeElement ? this.nativeElement.backgroundImage : undefined;
|
|
125
|
+
}
|
|
126
|
+
set backgroundImage(value: string) {
|
|
127
|
+
if (this.nativeElement) {
|
|
128
|
+
this.nativeElement.backgroundImage = value;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Sets the chart's background to a dynamic background image which rotates with the camera. The property must be set an Array of 6 images. All images must have aspect ratio 1:1
|
|
133
|
+
* Property type: any[]
|
|
134
|
+
*/
|
|
135
|
+
get backgroundTexture(): any[] {
|
|
136
|
+
return this.nativeElement ? this.nativeElement.backgroundTexture : undefined;
|
|
137
|
+
}
|
|
138
|
+
set backgroundTexture(value: any[]) {
|
|
139
|
+
if (this.nativeElement) {
|
|
140
|
+
this.nativeElement.backgroundTexture = value;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/** Sets the camera's position. The property must be set to an {x, y, z} object.
|
|
145
|
+
* Property type: ThreeDChartCameraPosition
|
|
146
|
+
*/
|
|
147
|
+
get cameraPosition(): ThreeDChartCameraPosition {
|
|
148
|
+
return this.nativeElement ? this.nativeElement.cameraPosition : undefined;
|
|
149
|
+
}
|
|
150
|
+
set cameraPosition(value: ThreeDChartCameraPosition) {
|
|
151
|
+
if (this.nativeElement) {
|
|
152
|
+
this.nativeElement.cameraPosition = value;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/** Sets the intial camera zoom. The default value is 1
|
|
157
|
+
* Property type: number
|
|
158
|
+
*/
|
|
159
|
+
get cameraZoom(): number {
|
|
160
|
+
return this.nativeElement ? this.nativeElement.cameraZoom : undefined;
|
|
161
|
+
}
|
|
162
|
+
set cameraZoom(value: number) {
|
|
163
|
+
if (this.nativeElement) {
|
|
164
|
+
this.nativeElement.cameraZoom = value;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/** Sets the caption (title) of the chart.
|
|
169
|
+
* Property type: string
|
|
170
|
+
*/
|
|
171
|
+
get caption(): string {
|
|
172
|
+
return this.nativeElement ? this.nativeElement.caption : undefined;
|
|
173
|
+
}
|
|
174
|
+
set caption(value: string) {
|
|
175
|
+
if (this.nativeElement) {
|
|
176
|
+
this.nativeElement.caption = value;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/** Sets the chart's color pallete. jqxChart suppports 32 color schemes from 'scheme01' to 'scheme32'.
|
|
181
|
+
* Property type: ThreeDChartColorScheme | string
|
|
182
|
+
*/
|
|
183
|
+
get colorScheme(): ThreeDChartColorScheme | string {
|
|
184
|
+
return this.nativeElement ? this.nativeElement.colorScheme : undefined;
|
|
185
|
+
}
|
|
186
|
+
set colorScheme(value: ThreeDChartColorScheme | string) {
|
|
187
|
+
if (this.nativeElement) {
|
|
188
|
+
this.nativeElement.colorScheme = value;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/** Sets the chart's controls settings.
|
|
193
|
+
* Property type: any
|
|
194
|
+
*/
|
|
195
|
+
get controlsSettings(): any {
|
|
196
|
+
return this.nativeElement ? this.nativeElement.controlsSettings : undefined;
|
|
197
|
+
}
|
|
198
|
+
set controlsSettings(value: any) {
|
|
199
|
+
if (this.nativeElement) {
|
|
200
|
+
this.nativeElement.controlsSettings = value;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/** Allows substituting default items with custom 3D Objects. The property must be set to an Array of Objects in the format: { groupIndex, serieIndex, itemIndex, modelUrl }
|
|
205
|
+
* Property type: any[]
|
|
206
|
+
*/
|
|
207
|
+
get customModels(): any[] {
|
|
208
|
+
return this.nativeElement ? this.nativeElement.customModels : undefined;
|
|
209
|
+
}
|
|
210
|
+
set customModels(value: any[]) {
|
|
211
|
+
if (this.nativeElement) {
|
|
212
|
+
this.nativeElement.customModels = value;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** Sets the chart's data source.
|
|
217
|
+
* Property type: any[]
|
|
218
|
+
*/
|
|
219
|
+
get dataSource(): any[] {
|
|
220
|
+
return this.nativeElement ? this.nativeElement.dataSource : undefined;
|
|
221
|
+
}
|
|
222
|
+
set dataSource(value: any[]) {
|
|
223
|
+
if (this.nativeElement) {
|
|
224
|
+
this.nativeElement.dataSource = value;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/** Sets the description text of the chart.
|
|
229
|
+
* Property type: string
|
|
230
|
+
*/
|
|
231
|
+
get description(): string {
|
|
232
|
+
return this.nativeElement ? this.nativeElement.description : undefined;
|
|
233
|
+
}
|
|
234
|
+
set description(value: string) {
|
|
235
|
+
if (this.nativeElement) {
|
|
236
|
+
this.nativeElement.description = value;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** Enables or disables the chart.
|
|
241
|
+
* Property type: boolean
|
|
242
|
+
*/
|
|
243
|
+
get disabled(): boolean {
|
|
244
|
+
return this.nativeElement ? this.nativeElement.disabled : undefined;
|
|
245
|
+
}
|
|
246
|
+
set disabled(value: boolean) {
|
|
247
|
+
if (this.nativeElement) {
|
|
248
|
+
this.nativeElement.disabled = value;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/** Sets whether the chart's toolbar is enabled.
|
|
253
|
+
* Property type: boolean
|
|
254
|
+
*/
|
|
255
|
+
get enableControlsToolbar(): boolean {
|
|
256
|
+
return this.nativeElement ? this.nativeElement.enableControlsToolbar : undefined;
|
|
257
|
+
}
|
|
258
|
+
set enableControlsToolbar(value: boolean) {
|
|
259
|
+
if (this.nativeElement) {
|
|
260
|
+
this.nativeElement.enableControlsToolbar = value;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Property type: any
|
|
266
|
+
*/
|
|
267
|
+
get controlsToolbarItems(): any {
|
|
268
|
+
return this.nativeElement ? this.nativeElement.controlsToolbarItems : undefined;
|
|
269
|
+
}
|
|
270
|
+
set controlsToolbarItems(value: any) {
|
|
271
|
+
if (this.nativeElement) {
|
|
272
|
+
this.nativeElement.controlsToolbarItems = value;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** Sets the chart's grid options.
|
|
277
|
+
* Property type: any
|
|
278
|
+
*/
|
|
279
|
+
get gridOptions(): any {
|
|
280
|
+
return this.nativeElement ? this.nativeElement.gridOptions : undefined;
|
|
281
|
+
}
|
|
282
|
+
set gridOptions(value: any) {
|
|
283
|
+
if (this.nativeElement) {
|
|
284
|
+
this.nativeElement.gridOptions = value;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/** Sets whether the legend will be created based on the chart's series or serie groups. "auto" - the legend index will change depending on the Chart type
|
|
289
|
+
* Property type: ThreeDChartLegendIndex | string
|
|
290
|
+
*/
|
|
291
|
+
get legendIndex(): ThreeDChartLegendIndex | string {
|
|
292
|
+
return this.nativeElement ? this.nativeElement.legendIndex : undefined;
|
|
293
|
+
}
|
|
294
|
+
set legendIndex(value: ThreeDChartLegendIndex | string) {
|
|
295
|
+
if (this.nativeElement) {
|
|
296
|
+
this.nativeElement.legendIndex = value;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/** Sets the legend's layout.
|
|
301
|
+
* Property type: any
|
|
302
|
+
*/
|
|
303
|
+
get legendLayout(): any {
|
|
304
|
+
return this.nativeElement ? this.nativeElement.legendLayout : undefined;
|
|
305
|
+
}
|
|
306
|
+
set legendLayout(value: any) {
|
|
307
|
+
if (this.nativeElement) {
|
|
308
|
+
this.nativeElement.legendLayout = value;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/** Sets the light color of the 3D Scene.
|
|
313
|
+
* Property type: string
|
|
314
|
+
*/
|
|
315
|
+
get lightColor(): string {
|
|
316
|
+
return this.nativeElement ? this.nativeElement.lightColor : undefined;
|
|
317
|
+
}
|
|
318
|
+
set lightColor(value: string) {
|
|
319
|
+
if (this.nativeElement) {
|
|
320
|
+
this.nativeElement.lightColor = value;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/** Sets or gets the locale. Used in conjunction with the property messages.
|
|
325
|
+
* Property type: string
|
|
326
|
+
*/
|
|
327
|
+
get locale(): string {
|
|
328
|
+
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
329
|
+
}
|
|
330
|
+
set locale(value: string) {
|
|
331
|
+
if (this.nativeElement) {
|
|
332
|
+
this.nativeElement.locale = value;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/** Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale.
|
|
337
|
+
* Property type: any
|
|
338
|
+
*/
|
|
339
|
+
get messages(): any {
|
|
340
|
+
return this.nativeElement ? this.nativeElement.messages : undefined;
|
|
341
|
+
}
|
|
342
|
+
set messages(value: any) {
|
|
343
|
+
if (this.nativeElement) {
|
|
344
|
+
this.nativeElement.messages = value;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/** Sets or gets a value indicating whether the Chart's layout is mirrored.
|
|
349
|
+
* Property type: boolean
|
|
350
|
+
*/
|
|
351
|
+
get rightToLeft(): boolean {
|
|
352
|
+
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
|
|
353
|
+
}
|
|
354
|
+
set rightToLeft(value: boolean) {
|
|
355
|
+
if (this.nativeElement) {
|
|
356
|
+
this.nativeElement.rightToLeft = value;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** Determines the selection mode.
|
|
361
|
+
* Property type: ThreeDChartSelectionMode | string
|
|
362
|
+
*/
|
|
363
|
+
get selectionMode(): ThreeDChartSelectionMode | string {
|
|
364
|
+
return this.nativeElement ? this.nativeElement.selectionMode : undefined;
|
|
365
|
+
}
|
|
366
|
+
set selectionMode(value: ThreeDChartSelectionMode | string) {
|
|
367
|
+
if (this.nativeElement) {
|
|
368
|
+
this.nativeElement.selectionMode = value;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/** The seriesGroups property is used to describe all series displayed on the chart. jqxChart supports multiple series of different types and series grouping. Each series group may have its own Value Axis (Y-axis) which allows you to have values with different scales displayed on the same chart at the same time. It also allows you to display multiple series types together on the same chart. For example, you can display all series in one group as lines and the series in a second group as columns. seriesGroups is an array of objects where each object represents one group.
|
|
373
|
+
* Property type: ThreeDChartSeriesGroup[]
|
|
374
|
+
*/
|
|
375
|
+
get seriesGroups(): ThreeDChartSeriesGroup[] {
|
|
376
|
+
return this.nativeElement ? this.nativeElement.seriesGroups : undefined;
|
|
377
|
+
}
|
|
378
|
+
set seriesGroups(value: ThreeDChartSeriesGroup[]) {
|
|
379
|
+
if (this.nativeElement) {
|
|
380
|
+
this.nativeElement.seriesGroups = value;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/** Determines whether to show grid connecting lines when a chart item is hovered over.
|
|
385
|
+
* Property type: boolean
|
|
386
|
+
*/
|
|
387
|
+
get showConnectionLines(): boolean {
|
|
388
|
+
return this.nativeElement ? this.nativeElement.showConnectionLines : undefined;
|
|
389
|
+
}
|
|
390
|
+
set showConnectionLines(value: boolean) {
|
|
391
|
+
if (this.nativeElement) {
|
|
392
|
+
this.nativeElement.showConnectionLines = value;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/** Determines whether to show or hide the chart series legend.
|
|
397
|
+
* Property type: boolean
|
|
398
|
+
*/
|
|
399
|
+
get showLegend(): boolean {
|
|
400
|
+
return this.nativeElement ? this.nativeElement.showLegend : undefined;
|
|
401
|
+
}
|
|
402
|
+
set showLegend(value: boolean) {
|
|
403
|
+
if (this.nativeElement) {
|
|
404
|
+
this.nativeElement.showLegend = value;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/** Determines whether to show or hide the chart series legend table.
|
|
409
|
+
* Property type: boolean
|
|
410
|
+
*/
|
|
411
|
+
get showLegendTable(): boolean {
|
|
412
|
+
return this.nativeElement ? this.nativeElement.showLegendTable : undefined;
|
|
413
|
+
}
|
|
414
|
+
set showLegendTable(value: boolean) {
|
|
415
|
+
if (this.nativeElement) {
|
|
416
|
+
this.nativeElement.showLegendTable = value;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/** Enables or disables the chart tooltips.
|
|
421
|
+
* Property type: boolean
|
|
422
|
+
*/
|
|
423
|
+
get showToolTips(): boolean {
|
|
424
|
+
return this.nativeElement ? this.nativeElement.showToolTips : undefined;
|
|
425
|
+
}
|
|
426
|
+
set showToolTips(value: boolean) {
|
|
427
|
+
if (this.nativeElement) {
|
|
428
|
+
this.nativeElement.showToolTips = value;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/** Sets the padding of the chart's title (caption).
|
|
433
|
+
* Property type: ThreeDChartPadding
|
|
434
|
+
*/
|
|
435
|
+
get titlePadding(): ThreeDChartPadding {
|
|
436
|
+
return this.nativeElement ? this.nativeElement.titlePadding : undefined;
|
|
437
|
+
}
|
|
438
|
+
set titlePadding(value: ThreeDChartPadding) {
|
|
439
|
+
if (this.nativeElement) {
|
|
440
|
+
this.nativeElement.titlePadding = value;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/** Tooltip data formatting settings for the values in the serie.
|
|
445
|
+
* Property type: {(value?: any, index?: number, series?: any): string}
|
|
446
|
+
*/
|
|
447
|
+
get toolTipFormatFunction(): {(value?: any, index?: number, series?: any): string} {
|
|
448
|
+
return this.nativeElement ? this.nativeElement.toolTipFormatFunction : undefined;
|
|
449
|
+
}
|
|
450
|
+
set toolTipFormatFunction(value: {(value?: any, index?: number, series?: any): string}) {
|
|
451
|
+
if (this.nativeElement) {
|
|
452
|
+
this.nativeElement.toolTipFormatFunction = value;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/** Tooltip line color. By default it is set to the hovered item's color
|
|
457
|
+
* Property type: ThreeDChartFormatSettings
|
|
458
|
+
*/
|
|
459
|
+
get toolTipFormatSettings(): ThreeDChartFormatSettings {
|
|
460
|
+
return this.nativeElement ? this.nativeElement.toolTipFormatSettings : undefined;
|
|
461
|
+
}
|
|
462
|
+
set toolTipFormatSettings(value: ThreeDChartFormatSettings) {
|
|
463
|
+
if (this.nativeElement) {
|
|
464
|
+
this.nativeElement.toolTipFormatSettings = value;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/** An object with settings about the Chart's y-axis (value axis).
|
|
469
|
+
* Property type: string | null
|
|
470
|
+
*/
|
|
471
|
+
get toolTipLineColor(): string | null {
|
|
472
|
+
return this.nativeElement ? this.nativeElement.toolTipLineColor : undefined;
|
|
473
|
+
}
|
|
474
|
+
set toolTipLineColor(value: string | null) {
|
|
475
|
+
if (this.nativeElement) {
|
|
476
|
+
this.nativeElement.toolTipLineColor = value;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/** Sets the Chart's xAxis.
|
|
481
|
+
* Property type: ThreeDChartValueAxis
|
|
482
|
+
*/
|
|
483
|
+
get valueAxis(): ThreeDChartValueAxis {
|
|
484
|
+
return this.nativeElement ? this.nativeElement.valueAxis : undefined;
|
|
485
|
+
}
|
|
486
|
+
set valueAxis(value: ThreeDChartValueAxis) {
|
|
487
|
+
if (this.nativeElement) {
|
|
488
|
+
this.nativeElement.valueAxis = value;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/** Sets the Chart's zAxis.
|
|
493
|
+
* Property type: ThreeDChartXAxis
|
|
494
|
+
*/
|
|
495
|
+
get xAxis(): ThreeDChartXAxis {
|
|
496
|
+
return this.nativeElement ? this.nativeElement.xAxis : undefined;
|
|
497
|
+
}
|
|
498
|
+
set xAxis(value: ThreeDChartXAxis) {
|
|
499
|
+
if (this.nativeElement) {
|
|
500
|
+
this.nativeElement.xAxis = value;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/** undefined
|
|
505
|
+
* Property type: ThreeDChartZAxis
|
|
506
|
+
*/
|
|
507
|
+
get zAxis(): ThreeDChartZAxis {
|
|
508
|
+
return this.nativeElement ? this.nativeElement.zAxis : undefined;
|
|
509
|
+
}
|
|
510
|
+
set zAxis(value: ThreeDChartZAxis) {
|
|
511
|
+
if (this.nativeElement) {
|
|
512
|
+
this.nativeElement.zAxis = value;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
// Gets the properties of the React component.
|
|
518
|
+
get properties(): string[] {
|
|
519
|
+
return ["animation","animationSpeed","autoRotate","autoRotateSpeed","backgroundColor","backgroundGradient","backgroundImage","backgroundTexture","cameraPosition","cameraZoom","caption","colorScheme","controlsSettings","customModels","dataSource","description","disabled","enableControlsToolbar","controlsToolbarItems","gridOptions","legendIndex","legendLayout","lightColor","locale","messages","rightToLeft","selectionMode","seriesGroups","showConnectionLines","showLegend","showLegendTable","showToolTips","titlePadding","toolTipFormatFunction","toolTipFormatSettings","toolTipLineColor","valueAxis","xAxis","zAxis"];
|
|
520
|
+
}
|
|
521
|
+
/** The event is raised when the user clicks on a chart element.
|
|
522
|
+
* @param event. The custom event. Custom event was created with: event.detail( itemIndex, serieIndex, groupIndex)
|
|
523
|
+
* itemIndex - The item index of the item.
|
|
524
|
+
* serieIndex - The serie index of the item.
|
|
525
|
+
* groupIndex - The group index of the item.
|
|
526
|
+
*/
|
|
527
|
+
onItemClick?: ((event?: Event) => void) | undefined
|
|
528
|
+
/** The event is raised when a chart element is shown.
|
|
529
|
+
* @param event. The custom event. Custom event was created with: event.detail( itemIndex, serieIndex, groupIndex)
|
|
530
|
+
* itemIndex - The item index of the item.
|
|
531
|
+
* serieIndex - The serie index of the item.
|
|
532
|
+
* groupIndex - The group index of the item.
|
|
533
|
+
*/
|
|
534
|
+
onShow?: ((event?: Event) => void) | undefined
|
|
535
|
+
/** The event is raised when a chart element is hidden.
|
|
536
|
+
* @param event. The custom event. Custom event was created with: event.detail( itemIndex, serieIndex, groupIndex)
|
|
537
|
+
* itemIndex - The item index of the item.
|
|
538
|
+
* serieIndex - The serie index of the item.
|
|
539
|
+
* groupIndex - The group index of the item.
|
|
540
|
+
*/
|
|
541
|
+
onHide?: ((event?: Event) => void) | undefined
|
|
542
|
+
/** The event is raised when a chart element is selected.
|
|
543
|
+
* @param event. The custom event. Custom event was created with: event.detail( itemIndex, serieIndex, groupIndex)
|
|
544
|
+
* itemIndex - The item index of the item.
|
|
545
|
+
* serieIndex - The serie index of the item.
|
|
546
|
+
* groupIndex - The group index of the item.
|
|
547
|
+
*/
|
|
548
|
+
onSelect?: ((event?: Event) => void) | undefined
|
|
549
|
+
/** The event is raised when a chart element is unselected.
|
|
550
|
+
* @param event. The custom event. Custom event was created with: event.detail( itemIndex, serieIndex, groupIndex)
|
|
551
|
+
* itemIndex - The item index of the item.
|
|
552
|
+
* serieIndex - The serie index of the item.
|
|
553
|
+
* groupIndex - The group index of the item.
|
|
554
|
+
*/
|
|
555
|
+
onUnselect?: ((event?: Event) => void) | undefined
|
|
556
|
+
/** The event is raised after the chart's range selector position changes and after the chart ends rendering.
|
|
557
|
+
* @param event. The custom event. Custom event was created with: event.detail( minValue, maxValue)
|
|
558
|
+
* minValue - The start value of the range selector.
|
|
559
|
+
* maxValue - The end value of the range selector.
|
|
560
|
+
*/
|
|
561
|
+
onRangeSelectionChanged?: ((event?: Event) => void) | undefined
|
|
562
|
+
/** The event is raised when the chart's range selector position changes and before the chart starts rendering. The event can be default prevented to cancel the range selection change.
|
|
563
|
+
* @param event. The custom event. Custom event was created with: event.detail( minValue, maxValue, oldMinValue, oldMaxValue)
|
|
564
|
+
* minValue - The start value of the range selector.
|
|
565
|
+
* maxValue - The end value of the range selector.
|
|
566
|
+
* oldMinValue - The previous start value of the range selector.
|
|
567
|
+
* oldMaxValue - The previous end value of the range selector.
|
|
568
|
+
*/
|
|
569
|
+
onRangeSelectionChanging?: ((event?: Event) => void) | undefined
|
|
570
|
+
/** The event is raised when the chart begins rendering.
|
|
571
|
+
* @param event. The custom event. */
|
|
572
|
+
onRefreshBegin?: ((event?: Event) => void) | undefined
|
|
573
|
+
/** The event is raised when the chart finishes rendering.
|
|
574
|
+
* @param event. The custom event. */
|
|
575
|
+
onRefreshEnd?: ((event?: Event) => void) | undefined
|
|
576
|
+
/** The event is raised when the chart begins resizing.
|
|
577
|
+
* @param event. The custom event. */
|
|
578
|
+
onResizeBegin?: ((event?: Event) => void) | undefined
|
|
579
|
+
/** The event is raised when the chart finishes resizing.
|
|
580
|
+
* @param event. The custom event. */
|
|
581
|
+
onResizeEnd?: ((event?: Event) => void) | undefined
|
|
582
|
+
/** This event occurs, when the React component is created.
|
|
583
|
+
* @param event. The custom event. */
|
|
584
|
+
onCreate?: ((event?: Event) => void) | undefined
|
|
585
|
+
/** This event occurs, when the React component is completely rendered.
|
|
586
|
+
* @param event. The custom event. */
|
|
587
|
+
onReady?: ((event?: Event) => void) | undefined
|
|
588
|
+
|
|
589
|
+
// Gets the events of the React component.
|
|
590
|
+
get eventListeners(): string[] {
|
|
591
|
+
return ["onItemClick","onShow","onHide","onSelect","onUnselect","onRangeSelectionChanged","onRangeSelectionChanging","onRefreshBegin","onRefreshEnd","onResizeBegin","onResizeEnd","onCreate","onReady"];
|
|
592
|
+
}
|
|
593
|
+
/** Adds a new color sheme. If a scheme with the same name already exists, the method will update its colors.
|
|
594
|
+
* @param {string} schemeName. The name of the custom color scheme.
|
|
595
|
+
* @param {any[]} colorsArray. An array of color values.
|
|
596
|
+
*/
|
|
597
|
+
public addColorScheme(schemeName: string, colorsArray: any[]): void {
|
|
598
|
+
if (this.nativeElement.isRendered) {
|
|
599
|
+
this.nativeElement.addColorScheme(schemeName, colorsArray);
|
|
600
|
+
}
|
|
601
|
+
else
|
|
602
|
+
{
|
|
603
|
+
this.nativeElement.whenRendered(() => {
|
|
604
|
+
this.nativeElement.addColorScheme(schemeName, colorsArray);
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/** Begins an update of the chart. The chart will not be rendered until the endUpdate method is called.
|
|
610
|
+
*/
|
|
611
|
+
public beginUpdate(): void {
|
|
612
|
+
if (this.nativeElement.isRendered) {
|
|
613
|
+
this.nativeElement.beginUpdate();
|
|
614
|
+
}
|
|
615
|
+
else
|
|
616
|
+
{
|
|
617
|
+
this.nativeElement.whenRendered(() => {
|
|
618
|
+
this.nativeElement.beginUpdate();
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/** Ends an update of the chart. The chart will be rendered after the endUpdate method is called.
|
|
624
|
+
* @param {boolean} refresh?. If set to true, the chart will complete a full refresh.
|
|
625
|
+
*/
|
|
626
|
+
public endUpdate(refresh?: boolean): void {
|
|
627
|
+
if (this.nativeElement.isRendered) {
|
|
628
|
+
this.nativeElement.endUpdate(refresh);
|
|
629
|
+
}
|
|
630
|
+
else
|
|
631
|
+
{
|
|
632
|
+
this.nativeElement.whenRendered(() => {
|
|
633
|
+
this.nativeElement.endUpdate(refresh);
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/** Returns the colors of a color scheme by name. If the scheme doesn't exist the method returns undefined.
|
|
639
|
+
* @param {string} schemeName. The name of the color scheme.
|
|
640
|
+
* @returns {any[]}
|
|
641
|
+
*/
|
|
642
|
+
public getColorScheme(schemeName:string) : any {
|
|
643
|
+
const result: any = this.nativeElement.getColorScheme(schemeName);
|
|
644
|
+
return result;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/** Gets the item with the specified indexes.
|
|
648
|
+
* @param {number | null} groupIndex?. Series group index.
|
|
649
|
+
* @param {number | null} serieIndex?. Series index.
|
|
650
|
+
* @param {number | null} itemIndex?. Item (data point) index.
|
|
651
|
+
* @returns {any}
|
|
652
|
+
*/
|
|
653
|
+
public getItemByIndexes(groupIndex?:number | null, serieIndex?:number | null, itemIndex?:number | null) : any {
|
|
654
|
+
const result: any = this.nativeElement.getItemByIndexes(groupIndex, serieIndex, itemIndex);
|
|
655
|
+
return result;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/** Gets an arrat of the items with the specified indexes. Leaving an index null will return all items that match the other indexes.
|
|
659
|
+
* @param {number | null} groupIndex?. Series group index.
|
|
660
|
+
* @param {number | null} serieIndex?. Series index.
|
|
661
|
+
* @param {number | null} itemIndex?. Item (data point) index.
|
|
662
|
+
* @returns {any}
|
|
663
|
+
*/
|
|
664
|
+
public getItemsByIndexes(groupIndex?:number | null, serieIndex?:number | null, itemIndex?:number | null) : any {
|
|
665
|
+
const result: any = this.nativeElement.getItemsByIndexes(groupIndex, serieIndex, itemIndex);
|
|
666
|
+
return result;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/** Gets the indexes of the hidden series.
|
|
670
|
+
* @returns {{ groupIndex: number, serieIndex: number, itemIndex: number }[]}
|
|
671
|
+
*/
|
|
672
|
+
public getHidden() : any {
|
|
673
|
+
const result: any = this.nativeElement.getHidden();
|
|
674
|
+
return result;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/** Gets the selected items.
|
|
678
|
+
* @returns {any[]}
|
|
679
|
+
*/
|
|
680
|
+
public getSelection() : any {
|
|
681
|
+
const result: any = this.nativeElement.getSelection();
|
|
682
|
+
return result;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/** Gets the rendered values of the valueAxis labels.
|
|
686
|
+
* @returns {any}
|
|
687
|
+
*/
|
|
688
|
+
public getValueAxisLabels() : any {
|
|
689
|
+
const result: any = this.nativeElement.getValueAxisLabels();
|
|
690
|
+
return result;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
/** Gets the rendered values of the xAxis labels.
|
|
694
|
+
* @returns {any}
|
|
695
|
+
*/
|
|
696
|
+
public getXAxisLabels() : any {
|
|
697
|
+
const result: any = this.nativeElement.getXAxisLabels();
|
|
698
|
+
return result;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/** Gets the rendered values of the zAxis labels.
|
|
702
|
+
* @returns {any}
|
|
703
|
+
*/
|
|
704
|
+
public getZAxisLabels() : any {
|
|
705
|
+
const result: any = this.nativeElement.getZAxisLabels();
|
|
706
|
+
return result;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/** Hides all items of a chart group.
|
|
710
|
+
* @param {number} groupIndex. Series group index.
|
|
711
|
+
*/
|
|
712
|
+
public hideGroup(groupIndex: number): void {
|
|
713
|
+
if (this.nativeElement.isRendered) {
|
|
714
|
+
this.nativeElement.hideGroup(groupIndex);
|
|
715
|
+
}
|
|
716
|
+
else
|
|
717
|
+
{
|
|
718
|
+
this.nativeElement.whenRendered(() => {
|
|
719
|
+
this.nativeElement.hideGroup(groupIndex);
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/** Hides a chart item.
|
|
725
|
+
* @param {number} groupIndex. Series group index.
|
|
726
|
+
* @param {number} serieIndex. Series index.
|
|
727
|
+
* @param {number} itemIndex?. Item (data point) index.
|
|
728
|
+
*/
|
|
729
|
+
public hideItem(groupIndex: number, serieIndex: number, itemIndex?: number): void {
|
|
730
|
+
if (this.nativeElement.isRendered) {
|
|
731
|
+
this.nativeElement.hideItem(groupIndex, serieIndex, itemIndex);
|
|
732
|
+
}
|
|
733
|
+
else
|
|
734
|
+
{
|
|
735
|
+
this.nativeElement.whenRendered(() => {
|
|
736
|
+
this.nativeElement.hideItem(groupIndex, serieIndex, itemIndex);
|
|
737
|
+
});
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
/** Hides all items of a chart serie.
|
|
742
|
+
* @param {number} groupIndex. Series group index.
|
|
743
|
+
* @param {number} serieIndex. Series index.
|
|
744
|
+
*/
|
|
745
|
+
public hideSerie(groupIndex: number, serieIndex: number): void {
|
|
746
|
+
if (this.nativeElement.isRendered) {
|
|
747
|
+
this.nativeElement.hideSerie(groupIndex, serieIndex);
|
|
748
|
+
}
|
|
749
|
+
else
|
|
750
|
+
{
|
|
751
|
+
this.nativeElement.whenRendered(() => {
|
|
752
|
+
this.nativeElement.hideSerie(groupIndex, serieIndex);
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/** Refreshes the content of the chart element after a property or data update.
|
|
758
|
+
*/
|
|
759
|
+
public refresh(): void {
|
|
760
|
+
if (this.nativeElement.isRendered) {
|
|
761
|
+
this.nativeElement.refresh();
|
|
762
|
+
}
|
|
763
|
+
else
|
|
764
|
+
{
|
|
765
|
+
this.nativeElement.whenRendered(() => {
|
|
766
|
+
this.nativeElement.refresh();
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/** Removes an existing color scheme. If the scheme does not exist, the method has no effect.
|
|
772
|
+
* @param {string} schemeName. The name of the custom color scheme.
|
|
773
|
+
*/
|
|
774
|
+
public removeColorScheme(schemeName: string): void {
|
|
775
|
+
if (this.nativeElement.isRendered) {
|
|
776
|
+
this.nativeElement.removeColorScheme(schemeName);
|
|
777
|
+
}
|
|
778
|
+
else
|
|
779
|
+
{
|
|
780
|
+
this.nativeElement.whenRendered(() => {
|
|
781
|
+
this.nativeElement.removeColorScheme(schemeName);
|
|
782
|
+
});
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/** Exports the chart's content as JPEG image.
|
|
787
|
+
* @param {string} fileName?. File name.
|
|
788
|
+
* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.
|
|
789
|
+
* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.
|
|
790
|
+
*/
|
|
791
|
+
public saveAsJPEG(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void {
|
|
792
|
+
if (this.nativeElement.isRendered) {
|
|
793
|
+
this.nativeElement.saveAsJPEG(fileName, includeLegend, includeCaption);
|
|
794
|
+
}
|
|
795
|
+
else
|
|
796
|
+
{
|
|
797
|
+
this.nativeElement.whenRendered(() => {
|
|
798
|
+
this.nativeElement.saveAsJPEG(fileName, includeLegend, includeCaption);
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/** Exports the chart's content as PNG image.
|
|
804
|
+
* @param {string} fileName?. File name.
|
|
805
|
+
* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.
|
|
806
|
+
* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.
|
|
807
|
+
*/
|
|
808
|
+
public saveAsPNG(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void {
|
|
809
|
+
if (this.nativeElement.isRendered) {
|
|
810
|
+
this.nativeElement.saveAsPNG(fileName, includeLegend, includeCaption);
|
|
811
|
+
}
|
|
812
|
+
else
|
|
813
|
+
{
|
|
814
|
+
this.nativeElement.whenRendered(() => {
|
|
815
|
+
this.nativeElement.saveAsPNG(fileName, includeLegend, includeCaption);
|
|
816
|
+
});
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/** Exports the chart's content as PDF file.
|
|
821
|
+
* @param {string} fileName?. File name.
|
|
822
|
+
* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.
|
|
823
|
+
* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.
|
|
824
|
+
*/
|
|
825
|
+
public saveAsPDF(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void {
|
|
826
|
+
if (this.nativeElement.isRendered) {
|
|
827
|
+
this.nativeElement.saveAsPDF(fileName, includeLegend, includeCaption);
|
|
828
|
+
}
|
|
829
|
+
else
|
|
830
|
+
{
|
|
831
|
+
this.nativeElement.whenRendered(() => {
|
|
832
|
+
this.nativeElement.saveAsPDF(fileName, includeLegend, includeCaption);
|
|
833
|
+
});
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/** Selects a chart item. If selectionMode is 'one', the previous item will be unselected.
|
|
838
|
+
* @param {number} groupIndex. Series group index.
|
|
839
|
+
* @param {number} serieIndex. Series index.
|
|
840
|
+
* @param {number} itemIndex?. Item (data point) index.
|
|
841
|
+
*/
|
|
842
|
+
public selectItem(groupIndex: number, serieIndex: number, itemIndex?: number): void {
|
|
843
|
+
if (this.nativeElement.isRendered) {
|
|
844
|
+
this.nativeElement.selectItem(groupIndex, serieIndex, itemIndex);
|
|
845
|
+
}
|
|
846
|
+
else
|
|
847
|
+
{
|
|
848
|
+
this.nativeElement.whenRendered(() => {
|
|
849
|
+
this.nativeElement.selectItem(groupIndex, serieIndex, itemIndex);
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/** Shows all items of a chart group.
|
|
855
|
+
* @param {number} groupIndex. Series group index.
|
|
856
|
+
*/
|
|
857
|
+
public showGroup(groupIndex: number): void {
|
|
858
|
+
if (this.nativeElement.isRendered) {
|
|
859
|
+
this.nativeElement.showGroup(groupIndex);
|
|
860
|
+
}
|
|
861
|
+
else
|
|
862
|
+
{
|
|
863
|
+
this.nativeElement.whenRendered(() => {
|
|
864
|
+
this.nativeElement.showGroup(groupIndex);
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
/** Shows a chart item.
|
|
870
|
+
* @param {number} groupIndex. Series group index.
|
|
871
|
+
* @param {number} serieIndex. Series index.
|
|
872
|
+
* @param {number} itemIndex?. Item (data point) index.
|
|
873
|
+
*/
|
|
874
|
+
public showItem(groupIndex: number, serieIndex: number, itemIndex?: number): void {
|
|
875
|
+
if (this.nativeElement.isRendered) {
|
|
876
|
+
this.nativeElement.showItem(groupIndex, serieIndex, itemIndex);
|
|
877
|
+
}
|
|
878
|
+
else
|
|
879
|
+
{
|
|
880
|
+
this.nativeElement.whenRendered(() => {
|
|
881
|
+
this.nativeElement.showItem(groupIndex, serieIndex, itemIndex);
|
|
882
|
+
});
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/** Shows all items of a chart serie.
|
|
887
|
+
* @param {number} groupIndex. Series group index.
|
|
888
|
+
* @param {number} serieIndex. Series index.
|
|
889
|
+
*/
|
|
890
|
+
public showSerie(groupIndex: number, serieIndex: number): void {
|
|
891
|
+
if (this.nativeElement.isRendered) {
|
|
892
|
+
this.nativeElement.showSerie(groupIndex, serieIndex);
|
|
893
|
+
}
|
|
894
|
+
else
|
|
895
|
+
{
|
|
896
|
+
this.nativeElement.whenRendered(() => {
|
|
897
|
+
this.nativeElement.showSerie(groupIndex, serieIndex);
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
/** Sets the camera position to its position during the initialization.
|
|
903
|
+
*/
|
|
904
|
+
public setDefaultPosition(): void {
|
|
905
|
+
if (this.nativeElement.isRendered) {
|
|
906
|
+
this.nativeElement.setDefaultPosition();
|
|
907
|
+
}
|
|
908
|
+
else
|
|
909
|
+
{
|
|
910
|
+
this.nativeElement.whenRendered(() => {
|
|
911
|
+
this.nativeElement.setDefaultPosition();
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
/** Sets the camera mode. Different camera modes change the control actions of the mouse. Available modes are 'zoom', 'pan' and 'default'.
|
|
917
|
+
* @param {string} mode. Camera mode.
|
|
918
|
+
*/
|
|
919
|
+
public setCameraMode(mode: string): void {
|
|
920
|
+
if (this.nativeElement.isRendered) {
|
|
921
|
+
this.nativeElement.setCameraMode(mode);
|
|
922
|
+
}
|
|
923
|
+
else
|
|
924
|
+
{
|
|
925
|
+
this.nativeElement.whenRendered(() => {
|
|
926
|
+
this.nativeElement.setCameraMode(mode);
|
|
927
|
+
});
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/** Sets the camera position.
|
|
932
|
+
* @param {number} x. X coordinate.
|
|
933
|
+
* @param {number} y. Y coordinate.
|
|
934
|
+
* @param {number} z. Z coordinate.
|
|
935
|
+
* @param {boolean} animation?. Animation Enabled
|
|
936
|
+
*/
|
|
937
|
+
public setCameraPosition(x: number, y: number, z: number, animation?: boolean): void {
|
|
938
|
+
if (this.nativeElement.isRendered) {
|
|
939
|
+
this.nativeElement.setCameraPosition(x, y, z, animation);
|
|
940
|
+
}
|
|
941
|
+
else
|
|
942
|
+
{
|
|
943
|
+
this.nativeElement.whenRendered(() => {
|
|
944
|
+
this.nativeElement.setCameraPosition(x, y, z, animation);
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/** Sets the camera zoom.
|
|
950
|
+
* @param {number} level. Zoom level.
|
|
951
|
+
* @param {boolean} animation?. Animation Enabled
|
|
952
|
+
*/
|
|
953
|
+
public setCameraZoom(level: number, animation?: boolean): void {
|
|
954
|
+
if (this.nativeElement.isRendered) {
|
|
955
|
+
this.nativeElement.setCameraZoom(level, animation);
|
|
956
|
+
}
|
|
957
|
+
else
|
|
958
|
+
{
|
|
959
|
+
this.nativeElement.whenRendered(() => {
|
|
960
|
+
this.nativeElement.setCameraZoom(level, animation);
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/** Unelects a chart item.
|
|
966
|
+
* @param {number} groupIndex. Series group index.
|
|
967
|
+
* @param {number} serieIndex. Series index.
|
|
968
|
+
* @param {number} itemIndex?. Item (data point) index.
|
|
969
|
+
*/
|
|
970
|
+
public unselectItem(groupIndex: number, serieIndex: number, itemIndex?: number): void {
|
|
971
|
+
if (this.nativeElement.isRendered) {
|
|
972
|
+
this.nativeElement.unselectItem(groupIndex, serieIndex, itemIndex);
|
|
973
|
+
}
|
|
974
|
+
else
|
|
975
|
+
{
|
|
976
|
+
this.nativeElement.whenRendered(() => {
|
|
977
|
+
this.nativeElement.unselectItem(groupIndex, serieIndex, itemIndex);
|
|
978
|
+
});
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
/** Updates the values of the chart series without full refresh of the entire chart. The method should be used for animation of frequently changing values.
|
|
983
|
+
*/
|
|
984
|
+
public update(): void {
|
|
985
|
+
if (this.nativeElement.isRendered) {
|
|
986
|
+
this.nativeElement.update();
|
|
987
|
+
}
|
|
988
|
+
else
|
|
989
|
+
{
|
|
990
|
+
this.nativeElement.whenRendered(() => {
|
|
991
|
+
this.nativeElement.update();
|
|
992
|
+
});
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
constructor(props: any) {
|
|
999
|
+
super(props);
|
|
1000
|
+
this.componentRef = React.createRef();
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
componentDidRender(initialize: boolean) {
|
|
1004
|
+
const that = this;
|
|
1005
|
+
const props: any = {};
|
|
1006
|
+
const events: any = {};
|
|
1007
|
+
let styles: any = null;
|
|
1008
|
+
|
|
1009
|
+
const stringifyCircularJSON = (obj: any) => {
|
|
1010
|
+
const seen = new WeakSet();
|
|
1011
|
+
return JSON.stringify(obj, (k, v) => {
|
|
1012
|
+
if (v !== null && typeof v === 'object') {
|
|
1013
|
+
if (seen.has(v)) return;
|
|
1014
|
+
seen.add(v);
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
if (k === 'Smart') {
|
|
1018
|
+
return v;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
return v;
|
|
1022
|
+
});
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
for(let prop in that.props) {
|
|
1026
|
+
if (prop === 'children') {
|
|
1027
|
+
continue;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
if (prop === 'style') {
|
|
1031
|
+
styles = that.props[prop];
|
|
1032
|
+
continue;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
|
|
1036
|
+
events[prop] = that.props[prop];
|
|
1037
|
+
continue;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
props[prop] = that.props[prop];
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
if (initialize) {
|
|
1044
|
+
that.nativeElement = this.componentRef.current;
|
|
1045
|
+
if (that.nativeElement && !that.nativeElement.isCompleted) {
|
|
1046
|
+
that.nativeElement.reactStateProps = JSON.parse(stringifyCircularJSON(props));
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
if (initialize && that.nativeElement && that.nativeElement.isCompleted) {
|
|
1051
|
+
// return;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
for(let prop in props) {
|
|
1056
|
+
if (prop === 'class' || prop === 'className') {
|
|
1057
|
+
const classNames = props[prop].trim().split(' ');
|
|
1058
|
+
|
|
1059
|
+
if (that.nativeElement._classNames) {
|
|
1060
|
+
const oldClassNames = that.nativeElement._classNames;
|
|
1061
|
+
for(let className in oldClassNames) {
|
|
1062
|
+
if (that.nativeElement.classList.contains(oldClassNames[className]) && oldClassNames[className] !== "") {
|
|
1063
|
+
that.nativeElement.classList.remove(oldClassNames[className]);
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
that.nativeElement._classNames = classNames;
|
|
1069
|
+
|
|
1070
|
+
for(let className in classNames) {
|
|
1071
|
+
if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
|
|
1072
|
+
that.nativeElement.classList.add(classNames[className]);
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
continue;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
if (props[prop] !== that.nativeElement[prop]) {
|
|
1080
|
+
const normalizeProp = (str: string) => {
|
|
1081
|
+
return str.replace(/-([a-z])/g, function (g) {
|
|
1082
|
+
return g[1].toUpperCase();
|
|
1083
|
+
});
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
|
|
1087
|
+
that.nativeElement.setAttribute(prop, '');
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
const normalizedProp = normalizeProp(prop);
|
|
1091
|
+
|
|
1092
|
+
if (that.nativeElement[normalizedProp] === undefined) {
|
|
1093
|
+
that.nativeElement.setAttribute(prop, props[prop]);
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
if (props[prop] !== undefined) {
|
|
1097
|
+
if (typeof props[prop] === 'object' && that.nativeElement.reactStateProps && !initialize) {
|
|
1098
|
+
if (stringifyCircularJSON(props[prop]) === stringifyCircularJSON(that.nativeElement.reactStateProps[normalizedProp])) {
|
|
1099
|
+
continue;
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
that.nativeElement[normalizedProp] = props[prop];
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
for(let eventName in events) {
|
|
1110
|
+
that[eventName] = events[eventName];
|
|
1111
|
+
that.nativeElement[eventName.toLowerCase()] = events[eventName];
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
if (initialize) {
|
|
1115
|
+
Smart.Render();
|
|
1116
|
+
|
|
1117
|
+
if (that.onCreate) {
|
|
1118
|
+
that.onCreate();
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
that.nativeElement.whenRendered(() => {
|
|
1122
|
+
if (that.onReady) {
|
|
1123
|
+
that.onReady();
|
|
1124
|
+
}
|
|
1125
|
+
});
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
// setup styles.
|
|
1129
|
+
|
|
1130
|
+
if (styles) {
|
|
1131
|
+
for(let styleName in styles) {
|
|
1132
|
+
that.nativeElement.style[styleName] = styles[styleName];
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
componentDidMount() {
|
|
1138
|
+
this.componentDidRender(true);
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
componentDidUpdate() {
|
|
1142
|
+
this.componentDidRender(false);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
componentWillUnmount() {
|
|
1146
|
+
const that = this;
|
|
1147
|
+
|
|
1148
|
+
if (!that.nativeElement) {
|
|
1149
|
+
return;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
that.nativeElement.whenRenderedCallbacks = [];
|
|
1153
|
+
|
|
1154
|
+
for(let i = 0; i < that.eventListeners.length; i++){
|
|
1155
|
+
const eventName = that.eventListeners[i];
|
|
1156
|
+
|
|
1157
|
+
that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
render() {
|
|
1162
|
+
return (
|
|
1163
|
+
React.createElement("smart-3d-chart", { ref: this.componentRef }, this.props.children)
|
|
1164
|
+
)
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export default ThreeDChart;
|