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,622 @@
|
|
|
1
|
+
import { Tabs } from './../index';
|
|
2
|
+
import { Animation, TabsCloseButtonMode, Overflow, LayoutPosition, TabsScrollMode, TabSelectionMode, TabsTabLayout, TabPosition, Orientation, ElementRenderMode} from './../index';
|
|
3
|
+
import { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter, QueryList, ContentChildren } from '@angular/core';
|
|
4
|
+
import { BaseElement, Smart } from './smart.element';
|
|
5
|
+
export { Animation, TabsCloseButtonMode, Overflow, LayoutPosition, TabsScrollMode, TabSelectionMode, TabsTabLayout, TabPosition, Orientation, ElementRenderMode} from './../index';
|
|
6
|
+
export { Smart } from './smart.element';
|
|
7
|
+
export { Tabs } from './../index';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import { TabItemComponent } from './smart.tabitem';
|
|
11
|
+
|
|
12
|
+
import { TabItemsGroupComponent } from './smart.tabitemsgroup';
|
|
13
|
+
|
|
14
|
+
@Directive({
|
|
15
|
+
exportAs: 'smart-tabs', selector: 'smart-tabs, [smart-tabs]'
|
|
16
|
+
})
|
|
17
|
+
|
|
18
|
+
export class TabsComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {
|
|
19
|
+
|
|
20
|
+
constructor(ref: ElementRef<Tabs>) {
|
|
21
|
+
super(ref);
|
|
22
|
+
this.nativeElement = ref.nativeElement as Tabs;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
private eventHandlers: any[] = [];
|
|
26
|
+
|
|
27
|
+
public declare nativeElement: Tabs;
|
|
28
|
+
/** @description Creates the component on demand.
|
|
29
|
+
* @param properties An optional object of properties, which will be added to the template binded ones.
|
|
30
|
+
*/
|
|
31
|
+
public createComponent(properties = {}): any {
|
|
32
|
+
this.nativeElement = <Tabs>document.createElement('smart-tabs');
|
|
33
|
+
for (let propertyName in properties) {
|
|
34
|
+
this.nativeElement[propertyName] = properties[propertyName];
|
|
35
|
+
}
|
|
36
|
+
return this.nativeElement;
|
|
37
|
+
}
|
|
38
|
+
/** @description Sets or gets whether the "Add new tab" button (+) is displayed. */
|
|
39
|
+
@Input()
|
|
40
|
+
get addNewTab(): boolean {
|
|
41
|
+
return this.nativeElement ? this.nativeElement.addNewTab : undefined;
|
|
42
|
+
}
|
|
43
|
+
set addNewTab(value: boolean) {
|
|
44
|
+
this.nativeElement ? this.nativeElement.addNewTab = value : undefined;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** @description Allows toggle. If set to true, **selectedIndex** can be set to null (no selected tab). */
|
|
48
|
+
@Input()
|
|
49
|
+
get allowToggle(): boolean {
|
|
50
|
+
return this.nativeElement ? this.nativeElement.allowToggle : undefined;
|
|
51
|
+
}
|
|
52
|
+
set allowToggle(value: boolean) {
|
|
53
|
+
this.nativeElement ? this.nativeElement.allowToggle = value : undefined;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
|
|
57
|
+
@Input()
|
|
58
|
+
get animation(): Animation | string {
|
|
59
|
+
return this.nativeElement ? this.nativeElement.animation : undefined;
|
|
60
|
+
}
|
|
61
|
+
set animation(value: Animation | string) {
|
|
62
|
+
this.nativeElement ? this.nativeElement.animation = value : undefined;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** @description Sets or gets the close button mode. */
|
|
66
|
+
@Input()
|
|
67
|
+
get closeButtonMode(): TabsCloseButtonMode | string {
|
|
68
|
+
return this.nativeElement ? this.nativeElement.closeButtonMode : undefined;
|
|
69
|
+
}
|
|
70
|
+
set closeButtonMode(value: TabsCloseButtonMode | string) {
|
|
71
|
+
this.nativeElement ? this.nativeElement.closeButtonMode = value : undefined;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** @description Sets or gets whether close buttons are displayed. */
|
|
75
|
+
@Input()
|
|
76
|
+
get closeButtons(): boolean {
|
|
77
|
+
return this.nativeElement ? this.nativeElement.closeButtons : undefined;
|
|
78
|
+
}
|
|
79
|
+
set closeButtons(value: boolean) {
|
|
80
|
+
this.nativeElement ? this.nativeElement.closeButtons = value : undefined;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** @description Sets or gets whether the Tabs content section is collapsed. */
|
|
84
|
+
@Input()
|
|
85
|
+
get collapsed(): boolean {
|
|
86
|
+
return this.nativeElement ? this.nativeElement.collapsed : undefined;
|
|
87
|
+
}
|
|
88
|
+
set collapsed(value: boolean) {
|
|
89
|
+
this.nativeElement ? this.nativeElement.collapsed = value : undefined;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/** @description Enables or disables the collapsible feature. */
|
|
93
|
+
@Input()
|
|
94
|
+
get collapsible(): boolean {
|
|
95
|
+
return this.nativeElement ? this.nativeElement.collapsible : undefined;
|
|
96
|
+
}
|
|
97
|
+
set collapsible(value: boolean) {
|
|
98
|
+
this.nativeElement ? this.nativeElement.collapsible = value : undefined;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** @description Determines the data source that will be loaded to the Tabs. */
|
|
102
|
+
@Input()
|
|
103
|
+
get dataSource(): any {
|
|
104
|
+
return this.nativeElement ? this.nativeElement.dataSource : undefined;
|
|
105
|
+
}
|
|
106
|
+
set dataSource(value: any) {
|
|
107
|
+
this.nativeElement ? this.nativeElement.dataSource = value : undefined;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/** @description Enables or disables the element. */
|
|
111
|
+
@Input()
|
|
112
|
+
get disabled(): boolean {
|
|
113
|
+
return this.nativeElement ? this.nativeElement.disabled : undefined;
|
|
114
|
+
}
|
|
115
|
+
set disabled(value: boolean) {
|
|
116
|
+
this.nativeElement ? this.nativeElement.disabled = value : undefined;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** @description Enables or disables scrolling using the mouse wheel through overflowing tab labels in the tab strip. */
|
|
120
|
+
@Input()
|
|
121
|
+
get enableMouseWheelAction(): boolean {
|
|
122
|
+
return this.nativeElement ? this.nativeElement.enableMouseWheelAction : undefined;
|
|
123
|
+
}
|
|
124
|
+
set enableMouseWheelAction(value: boolean) {
|
|
125
|
+
this.nativeElement ? this.nativeElement.enableMouseWheelAction = value : undefined;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/** @description Sets or gets the locale. Used in conjunction with the property messages. */
|
|
129
|
+
@Input()
|
|
130
|
+
get locale(): string {
|
|
131
|
+
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
132
|
+
}
|
|
133
|
+
set locale(value: string) {
|
|
134
|
+
this.nativeElement ? this.nativeElement.locale = value : undefined;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** @description Callback, related to localization module. */
|
|
138
|
+
@Input()
|
|
139
|
+
get localizeFormatFunction(): any {
|
|
140
|
+
return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
|
|
141
|
+
}
|
|
142
|
+
set localizeFormatFunction(value: any) {
|
|
143
|
+
this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */
|
|
147
|
+
@Input()
|
|
148
|
+
get messages(): any {
|
|
149
|
+
return this.nativeElement ? this.nativeElement.messages : undefined;
|
|
150
|
+
}
|
|
151
|
+
set messages(value: any) {
|
|
152
|
+
this.nativeElement ? this.nativeElement.messages = value : undefined;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** @description Sets or gets the widget's name. */
|
|
156
|
+
@Input()
|
|
157
|
+
get name(): string {
|
|
158
|
+
return this.nativeElement ? this.nativeElement.name : undefined;
|
|
159
|
+
}
|
|
160
|
+
set name(value: string) {
|
|
161
|
+
this.nativeElement ? this.nativeElement.name = value : undefined;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/** @description Sets or gets the Tabs scroll buttons behavior. Applicable only when tabLayout is 'scroll'. */
|
|
165
|
+
@Input()
|
|
166
|
+
get overflow(): Overflow | string {
|
|
167
|
+
return this.nativeElement ? this.nativeElement.overflow : undefined;
|
|
168
|
+
}
|
|
169
|
+
set overflow(value: Overflow | string) {
|
|
170
|
+
this.nativeElement ? this.nativeElement.overflow = value : undefined;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** @description Disables user interaction with the element. */
|
|
174
|
+
@Input()
|
|
175
|
+
get readonly(): boolean {
|
|
176
|
+
return this.nativeElement ? this.nativeElement.readonly : undefined;
|
|
177
|
+
}
|
|
178
|
+
set readonly(value: boolean) {
|
|
179
|
+
this.nativeElement ? this.nativeElement.readonly = value : undefined;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/** @description Enables or disables the reorder feature. When this feature is enabled, the end-user can drag a tab and drop it over another tab. As a result the tabs will be reordered. */
|
|
183
|
+
@Input()
|
|
184
|
+
get reorder(): boolean {
|
|
185
|
+
return this.nativeElement ? this.nativeElement.reorder : undefined;
|
|
186
|
+
}
|
|
187
|
+
set reorder(value: boolean) {
|
|
188
|
+
this.nativeElement ? this.nativeElement.reorder = value : undefined;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/** @description Sets or gets whether tab labels can be resized by dragging with the mouse. */
|
|
192
|
+
@Input()
|
|
193
|
+
get resize(): boolean {
|
|
194
|
+
return this.nativeElement ? this.nativeElement.resize : undefined;
|
|
195
|
+
}
|
|
196
|
+
set resize(value: boolean) {
|
|
197
|
+
this.nativeElement ? this.nativeElement.resize = value : undefined;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
|
|
201
|
+
@Input()
|
|
202
|
+
get rightToLeft(): boolean {
|
|
203
|
+
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
|
|
204
|
+
}
|
|
205
|
+
set rightToLeft(value: boolean) {
|
|
206
|
+
this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/** @description Sets or gets the position of the scroll buttons. */
|
|
210
|
+
@Input()
|
|
211
|
+
get scrollButtonsPosition(): LayoutPosition | string {
|
|
212
|
+
return this.nativeElement ? this.nativeElement.scrollButtonsPosition : undefined;
|
|
213
|
+
}
|
|
214
|
+
set scrollButtonsPosition(value: LayoutPosition | string) {
|
|
215
|
+
this.nativeElement ? this.nativeElement.scrollButtonsPosition = value : undefined;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/** @description Sets or gets the behavior when scrolling the tab strip via the scroll buttons. */
|
|
219
|
+
@Input()
|
|
220
|
+
get scrollMode(): TabsScrollMode | string {
|
|
221
|
+
return this.nativeElement ? this.nativeElement.scrollMode : undefined;
|
|
222
|
+
}
|
|
223
|
+
set scrollMode(value: TabsScrollMode | string) {
|
|
224
|
+
this.nativeElement ? this.nativeElement.scrollMode = value : undefined;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/** @description Sets or gets which tab is selected. */
|
|
228
|
+
@Input()
|
|
229
|
+
get selectedIndex(): number | null {
|
|
230
|
+
return this.nativeElement ? this.nativeElement.selectedIndex : undefined;
|
|
231
|
+
}
|
|
232
|
+
set selectedIndex(value: number | null) {
|
|
233
|
+
this.nativeElement ? this.nativeElement.selectedIndex = value : undefined;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** @description Determines the way the user can switch between tabs. */
|
|
237
|
+
@Input()
|
|
238
|
+
get selectionMode(): TabSelectionMode | string {
|
|
239
|
+
return this.nativeElement ? this.nativeElement.selectionMode : undefined;
|
|
240
|
+
}
|
|
241
|
+
set selectionMode(value: TabSelectionMode | string) {
|
|
242
|
+
this.nativeElement ? this.nativeElement.selectionMode = value : undefined;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/** @description Applies one of four behaviors when the element is not wide enough to display all tab labels. */
|
|
246
|
+
@Input()
|
|
247
|
+
get tabLayout(): TabsTabLayout | string {
|
|
248
|
+
return this.nativeElement ? this.nativeElement.tabLayout : undefined;
|
|
249
|
+
}
|
|
250
|
+
set tabLayout(value: TabsTabLayout | string) {
|
|
251
|
+
this.nativeElement ? this.nativeElement.tabLayout = value : undefined;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/** @description Sets or gets where the tab strip is positioned. */
|
|
255
|
+
@Input()
|
|
256
|
+
get tabPosition(): TabPosition | string {
|
|
257
|
+
return this.nativeElement ? this.nativeElement.tabPosition : undefined;
|
|
258
|
+
}
|
|
259
|
+
set tabPosition(value: TabPosition | string) {
|
|
260
|
+
this.nativeElement ? this.nativeElement.tabPosition = value : undefined;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/** @description Sets or gets the orientation of the text in the tabs. */
|
|
264
|
+
@Input()
|
|
265
|
+
get tabTextOrientation(): Orientation | string {
|
|
266
|
+
return this.nativeElement ? this.nativeElement.tabTextOrientation : undefined;
|
|
267
|
+
}
|
|
268
|
+
set tabTextOrientation(value: Orientation | string) {
|
|
269
|
+
this.nativeElement ? this.nativeElement.tabTextOrientation = value : undefined;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/** @description Determines the theme. Theme defines the look of the element */
|
|
273
|
+
@Input()
|
|
274
|
+
get theme(): string {
|
|
275
|
+
return this.nativeElement ? this.nativeElement.theme : undefined;
|
|
276
|
+
}
|
|
277
|
+
set theme(value: string) {
|
|
278
|
+
this.nativeElement ? this.nativeElement.theme = value : undefined;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** @description If is set to true, the element cannot be focused. */
|
|
282
|
+
@Input()
|
|
283
|
+
get unfocusable(): boolean {
|
|
284
|
+
return this.nativeElement ? this.nativeElement.unfocusable : undefined;
|
|
285
|
+
}
|
|
286
|
+
set unfocusable(value: boolean) {
|
|
287
|
+
this.nativeElement ? this.nativeElement.unfocusable = value : undefined;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/** @description This event is triggered when the addNewTab is enabled and is clicked.
|
|
291
|
+
* @param event. The custom event. */
|
|
292
|
+
@Output() onAddNewTabClick: EventEmitter<CustomEvent> = new EventEmitter();
|
|
293
|
+
|
|
294
|
+
/** @description This event is triggered when the tab selection is changed.
|
|
295
|
+
* @param event. The custom event. Custom event was created with: event.detail( index, oldIndex)
|
|
296
|
+
* index - The tab's index.
|
|
297
|
+
* oldIndex - The tab's old index.
|
|
298
|
+
*/
|
|
299
|
+
@Output() onChange: EventEmitter<CustomEvent> = new EventEmitter();
|
|
300
|
+
|
|
301
|
+
/** @description This event is triggered when a tab is closed.
|
|
302
|
+
* @param event. The custom event. Custom event was created with: event.detail( index)
|
|
303
|
+
* index - The tab's index.
|
|
304
|
+
*/
|
|
305
|
+
@Output() onClose: EventEmitter<CustomEvent> = new EventEmitter();
|
|
306
|
+
|
|
307
|
+
/** @description This event is triggered when a tab is about to be closed. The closing operation can be canceled by calling event.preventDefault() in the event handler function.
|
|
308
|
+
* @param event. The custom event. Custom event was created with: event.detail( index)
|
|
309
|
+
* index - The tab's index.
|
|
310
|
+
*/
|
|
311
|
+
@Output() onClosing: EventEmitter<CustomEvent> = new EventEmitter();
|
|
312
|
+
|
|
313
|
+
/** @description This event is triggered when a drag operation has ended.
|
|
314
|
+
* @param event. The custom event. Custom event was created with: event.detail( left, top, index, label)
|
|
315
|
+
* left - The tab's left position.
|
|
316
|
+
* top - The tab's top position.
|
|
317
|
+
* index - The tab's index.
|
|
318
|
+
* label - The tab's label.
|
|
319
|
+
*/
|
|
320
|
+
@Output() onDragEnd: EventEmitter<CustomEvent> = new EventEmitter();
|
|
321
|
+
|
|
322
|
+
/** @description This event is triggered when a drag operation has started.
|
|
323
|
+
* @param event. The custom event. Custom event was created with: event.detail( left, top, index, label)
|
|
324
|
+
* left - The tab's left position.
|
|
325
|
+
* top - The tab's top position.
|
|
326
|
+
* index - The tab's index.
|
|
327
|
+
* label - The tab's label.
|
|
328
|
+
*/
|
|
329
|
+
@Output() onDragStart: EventEmitter<CustomEvent> = new EventEmitter();
|
|
330
|
+
|
|
331
|
+
/** @description This event is triggered when tabs have been reordered.
|
|
332
|
+
* @param event. The custom event. Custom event was created with: event.detail( index, oldIndex)
|
|
333
|
+
* index - The tab's index.
|
|
334
|
+
* oldIndex - The tab's old index.
|
|
335
|
+
*/
|
|
336
|
+
@Output() onReorder: EventEmitter<CustomEvent> = new EventEmitter();
|
|
337
|
+
|
|
338
|
+
/** @description Collapses the content section.
|
|
339
|
+
*/
|
|
340
|
+
public collapse(): void {
|
|
341
|
+
if (this.nativeElement.isRendered) {
|
|
342
|
+
this.nativeElement.collapse();
|
|
343
|
+
}
|
|
344
|
+
else
|
|
345
|
+
{
|
|
346
|
+
this.nativeElement.whenRendered(() => {
|
|
347
|
+
this.nativeElement.collapse();
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/** @description Returns the label of a Tab at given index.
|
|
353
|
+
* @param {number} index. The index of the tab.
|
|
354
|
+
* @returns {string}
|
|
355
|
+
*/
|
|
356
|
+
public async getTabLabel(index): Promise<any> {
|
|
357
|
+
const getResultOnRender = () => {
|
|
358
|
+
return new Promise(resolve => {
|
|
359
|
+
this.nativeElement.whenRendered(() => {
|
|
360
|
+
const result = this.nativeElement.getTabLabel(index);
|
|
361
|
+
resolve(result)
|
|
362
|
+
});
|
|
363
|
+
});
|
|
364
|
+
};
|
|
365
|
+
const result = await getResultOnRender();
|
|
366
|
+
|
|
367
|
+
return result;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/** @description Returns the content of a Tab at given index.
|
|
371
|
+
* @param {number} index. The index of the tab.
|
|
372
|
+
* @returns {HTMLElement}
|
|
373
|
+
*/
|
|
374
|
+
public async getTabContent(index): Promise<any> {
|
|
375
|
+
const getResultOnRender = () => {
|
|
376
|
+
return new Promise(resolve => {
|
|
377
|
+
this.nativeElement.whenRendered(() => {
|
|
378
|
+
const result = this.nativeElement.getTabContent(index);
|
|
379
|
+
resolve(result)
|
|
380
|
+
});
|
|
381
|
+
});
|
|
382
|
+
};
|
|
383
|
+
const result = await getResultOnRender();
|
|
384
|
+
|
|
385
|
+
return result;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/** @description Makes sure a tab is visible by scrolling to it.
|
|
389
|
+
* @param {number} index. The index of the tab to scroll to.
|
|
390
|
+
*/
|
|
391
|
+
public ensureVisible(index: number): void {
|
|
392
|
+
if (this.nativeElement.isRendered) {
|
|
393
|
+
this.nativeElement.ensureVisible(index);
|
|
394
|
+
}
|
|
395
|
+
else
|
|
396
|
+
{
|
|
397
|
+
this.nativeElement.whenRendered(() => {
|
|
398
|
+
this.nativeElement.ensureVisible(index);
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/** @description Expands the content section.
|
|
404
|
+
*/
|
|
405
|
+
public expand(): void {
|
|
406
|
+
if (this.nativeElement.isRendered) {
|
|
407
|
+
this.nativeElement.expand();
|
|
408
|
+
}
|
|
409
|
+
else
|
|
410
|
+
{
|
|
411
|
+
this.nativeElement.whenRendered(() => {
|
|
412
|
+
this.nativeElement.expand();
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/** @description Returns an array of the TabItems inside the element.
|
|
418
|
+
* @returns {TabItem[]}
|
|
419
|
+
*/
|
|
420
|
+
public async getTabs(): Promise<any> {
|
|
421
|
+
const getResultOnRender = () => {
|
|
422
|
+
return new Promise(resolve => {
|
|
423
|
+
this.nativeElement.whenRendered(() => {
|
|
424
|
+
const result = this.nativeElement.getTabs();
|
|
425
|
+
resolve(result)
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
};
|
|
429
|
+
const result = await getResultOnRender();
|
|
430
|
+
|
|
431
|
+
return result;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/** @description Returns the offset of the tab item container (smart-tab-item element) from the edge of the Tabs (smart-tabs element) where the tab strip is positioned.
|
|
435
|
+
* @param {number} index. The index of the tab item.
|
|
436
|
+
* @returns {number}
|
|
437
|
+
*/
|
|
438
|
+
public async getOffsetFromEdgeOfElement(index): Promise<any> {
|
|
439
|
+
const getResultOnRender = () => {
|
|
440
|
+
return new Promise(resolve => {
|
|
441
|
+
this.nativeElement.whenRendered(() => {
|
|
442
|
+
const result = this.nativeElement.getOffsetFromEdgeOfElement(index);
|
|
443
|
+
resolve(result)
|
|
444
|
+
});
|
|
445
|
+
});
|
|
446
|
+
};
|
|
447
|
+
const result = await getResultOnRender();
|
|
448
|
+
|
|
449
|
+
return result;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/** @description Inserts a new tab and an associated content section.
|
|
453
|
+
* @param {number} index. The index to insert a new tab at.
|
|
454
|
+
* @param {any} details. An Object with the fields "label", "labelSize", "content" and "group".
|
|
455
|
+
*/
|
|
456
|
+
public insert(index: number, details: any): void {
|
|
457
|
+
if (this.nativeElement.isRendered) {
|
|
458
|
+
this.nativeElement.insert(index, details);
|
|
459
|
+
}
|
|
460
|
+
else
|
|
461
|
+
{
|
|
462
|
+
this.nativeElement.whenRendered(() => {
|
|
463
|
+
this.nativeElement.insert(index, details);
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/** @description Refreshes the Tabs header section. Useful when the header contains elements (such as images) loaded slower than the Tabs itself.
|
|
469
|
+
*/
|
|
470
|
+
public refreshTabHeader(): void {
|
|
471
|
+
if (this.nativeElement.isRendered) {
|
|
472
|
+
this.nativeElement.refreshTabHeader();
|
|
473
|
+
}
|
|
474
|
+
else
|
|
475
|
+
{
|
|
476
|
+
this.nativeElement.whenRendered(() => {
|
|
477
|
+
this.nativeElement.refreshTabHeader();
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/** @description Removes a tab and its associated content section.
|
|
483
|
+
* @param {number} index. The index of the tab to remove.
|
|
484
|
+
*/
|
|
485
|
+
public removeAt(index: number): void {
|
|
486
|
+
if (this.nativeElement.isRendered) {
|
|
487
|
+
this.nativeElement.removeAt(index);
|
|
488
|
+
}
|
|
489
|
+
else
|
|
490
|
+
{
|
|
491
|
+
this.nativeElement.whenRendered(() => {
|
|
492
|
+
this.nativeElement.removeAt(index);
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/** @description Selects a tab.
|
|
498
|
+
* @param {number} index. The index of the tab to select.
|
|
499
|
+
*/
|
|
500
|
+
public select(index: number): void {
|
|
501
|
+
if (this.nativeElement.isRendered) {
|
|
502
|
+
this.nativeElement.select(index);
|
|
503
|
+
}
|
|
504
|
+
else
|
|
505
|
+
{
|
|
506
|
+
this.nativeElement.whenRendered(() => {
|
|
507
|
+
this.nativeElement.select(index);
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/** @description Updates a tab and its associated content section.
|
|
513
|
+
* @param {number} index. The index of the tab to update.
|
|
514
|
+
* @param {string} label. The new label of the tab. The value can be the id of an HTMLTemplateElement
|
|
515
|
+
* @param {string | HTMLElement} content. The new content of the tab.
|
|
516
|
+
*/
|
|
517
|
+
public update(index: number, label: string, content: string | HTMLElement): void {
|
|
518
|
+
if (this.nativeElement.isRendered) {
|
|
519
|
+
this.nativeElement.update(index, label, content);
|
|
520
|
+
}
|
|
521
|
+
else
|
|
522
|
+
{
|
|
523
|
+
this.nativeElement.whenRendered(() => {
|
|
524
|
+
this.nativeElement.update(index, label, content);
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
get isRendered(): boolean {
|
|
531
|
+
return this.nativeElement ? this.nativeElement.isRendered : false;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
ngOnInit() {
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
ngAfterViewInit() {
|
|
538
|
+
const that = this;
|
|
539
|
+
|
|
540
|
+
that.onCreate.emit(that.nativeElement);
|
|
541
|
+
|
|
542
|
+
Smart.Render();
|
|
543
|
+
|
|
544
|
+
this.nativeElement.classList.add('smart-angular');
|
|
545
|
+
|
|
546
|
+
this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });
|
|
547
|
+
this.listen();
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
ngOnDestroy() {
|
|
551
|
+
this.unlisten();
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
ngOnChanges(changes: SimpleChanges) {
|
|
555
|
+
if (this.nativeElement && this.nativeElement.isRendered) {
|
|
556
|
+
for (const propName in changes) {
|
|
557
|
+
if (changes.hasOwnProperty(propName)) {
|
|
558
|
+
this.nativeElement[propName] = changes[propName].currentValue;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/** @description Add event listeners. */
|
|
565
|
+
private listen(): void {
|
|
566
|
+
const that = this;
|
|
567
|
+
that.eventHandlers['addNewTabClickHandler'] = (event: CustomEvent) => { that.onAddNewTabClick.emit(event); }
|
|
568
|
+
that.nativeElement.addEventListener('addNewTabClick', that.eventHandlers['addNewTabClickHandler']);
|
|
569
|
+
|
|
570
|
+
that.eventHandlers['changeHandler'] = (event: CustomEvent) => { that.onChange.emit(event); }
|
|
571
|
+
that.nativeElement.addEventListener('change', that.eventHandlers['changeHandler']);
|
|
572
|
+
|
|
573
|
+
that.eventHandlers['closeHandler'] = (event: CustomEvent) => { that.onClose.emit(event); }
|
|
574
|
+
that.nativeElement.addEventListener('close', that.eventHandlers['closeHandler']);
|
|
575
|
+
|
|
576
|
+
that.eventHandlers['closingHandler'] = (event: CustomEvent) => { that.onClosing.emit(event); }
|
|
577
|
+
that.nativeElement.addEventListener('closing', that.eventHandlers['closingHandler']);
|
|
578
|
+
|
|
579
|
+
that.eventHandlers['dragEndHandler'] = (event: CustomEvent) => { that.onDragEnd.emit(event); }
|
|
580
|
+
that.nativeElement.addEventListener('dragEnd', that.eventHandlers['dragEndHandler']);
|
|
581
|
+
|
|
582
|
+
that.eventHandlers['dragStartHandler'] = (event: CustomEvent) => { that.onDragStart.emit(event); }
|
|
583
|
+
that.nativeElement.addEventListener('dragStart', that.eventHandlers['dragStartHandler']);
|
|
584
|
+
|
|
585
|
+
that.eventHandlers['reorderHandler'] = (event: CustomEvent) => { that.onReorder.emit(event); }
|
|
586
|
+
that.nativeElement.addEventListener('reorder', that.eventHandlers['reorderHandler']);
|
|
587
|
+
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/** @description Remove event listeners. */
|
|
591
|
+
private unlisten(): void {
|
|
592
|
+
const that = this;
|
|
593
|
+
if (that.eventHandlers['addNewTabClickHandler']) {
|
|
594
|
+
that.nativeElement.removeEventListener('addNewTabClick', that.eventHandlers['addNewTabClickHandler']);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
if (that.eventHandlers['changeHandler']) {
|
|
598
|
+
that.nativeElement.removeEventListener('change', that.eventHandlers['changeHandler']);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
if (that.eventHandlers['closeHandler']) {
|
|
602
|
+
that.nativeElement.removeEventListener('close', that.eventHandlers['closeHandler']);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
if (that.eventHandlers['closingHandler']) {
|
|
606
|
+
that.nativeElement.removeEventListener('closing', that.eventHandlers['closingHandler']);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
if (that.eventHandlers['dragEndHandler']) {
|
|
610
|
+
that.nativeElement.removeEventListener('dragEnd', that.eventHandlers['dragEndHandler']);
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
if (that.eventHandlers['dragStartHandler']) {
|
|
614
|
+
that.nativeElement.removeEventListener('dragStart', that.eventHandlers['dragStartHandler']);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
if (that.eventHandlers['reorderHandler']) {
|
|
618
|
+
that.nativeElement.removeEventListener('reorder', that.eventHandlers['reorderHandler']);
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
}
|
|
622
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|